<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[TIC Place]]></title><description><![CDATA[TIC Place]]></description><link>https://ticplace.hashnode.dev</link><image><url>https://cdn.hashnode.com/uploads/logos/6b1184d7a94a97915c8464c3/b94c5a3f-6dde-4e65-9901-f748769b6a42.png</url><title>TIC Place</title><link>https://ticplace.hashnode.dev</link></image><generator>RSS for Node</generator><lastBuildDate>Fri, 04 Dec 2026 22:57:26 GMT</lastBuildDate><atom:link href="https://ticplace.hashnode.dev/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[Four layers for an agent-run publishing pipeline, and the boring parts that make it safe]]></title><description><![CDATA[Agents, MCP servers, isolated workers and a control plane: how we split responsibilities so nothing publishes unseen]]></description><link>https://ticplace.hashnode.dev/four-layers-for-an-agent-run-publishing-pipeline-and-the-boring-parts-that-make-it-safe</link><guid isPermaLink="true">https://ticplace.hashnode.dev/four-layers-for-an-agent-run-publishing-pipeline-and-the-boring-parts-that-make-it-safe</guid><category><![CDATA[ai agents]]></category><category><![CDATA[mcp]]></category><category><![CDATA[architecture]]></category><category><![CDATA[automation]]></category><category><![CDATA[WordPress]]></category><dc:creator><![CDATA[TIC Place]]></dc:creator><pubDate>Thu, 03 Dec 2026 15:32:19 GMT</pubDate><content:encoded><![CDATA[<p>Publishing to a website, keeping SEO in order and feeding social channels eats hours every week, and most of it is repetitive. Handing it to AI agents is tempting. Handing it to an "AI that writes posts" with no checks is how you end up with invented figures, duplicate messages and posts nobody saw before they went live.</p>
<p>At TIC Place we run our own communication pipeline on agents and MCP servers. This post describes its architecture: what each layer does, where secrets live and how a human stays in control of anything irreversible.</p>
<h2>The four layers</h2>
<table>
<thead>
<tr>
<th>Layer</th>
<th>Pieces</th>
<th>Job</th>
</tr>
</thead>
<tbody><tr>
<td>1. Agents</td>
<td>Interactive agents (desktop or terminal) and scheduled agents</td>
<td>Understand the task, plan steps, call tools</td>
</tr>
<tr>
<td>2. MCP servers</td>
<td>CMS, project tracker, social networks</td>
<td>Expose narrow tools with minimal permissions and logging</td>
</tr>
<tr>
<td>3. Integrations</td>
<td>Social publisher, SEO and indexing, notifications</td>
<td>Isolated processes running queued jobs, with retries and alerts</td>
</tr>
<tr>
<td>4. Control</td>
<td>Task tracker as source of truth, human approvals, logs, kill switches</td>
<td>Record everything and decide what needs a person</td>
</tr>
</tbody></table>
<p>No layer depends on a single vendor, and each can be enabled, paused or replaced on its own.</p>
<p>The typical flow: an agent gets a task (or wakes on a schedule), reads what it needs through MCP servers, prepares the work, runs its checks and, if the action is sensitive, leaves it pending approval. Every step is recorded in the task tracker.</p>
<h2>Layer 2: MCP as the permission boundary</h2>
<p>The Model Context Protocol lets a server expose exactly what a system allows: "search an article", "create a draft", "update a page's meta description". Any compatible client can then use those tools. The value is that each tool defines what it can read and what it can change, so an agent can act without free access to everything.</p>
<p>Our CMS is WordPress, connected through MCP. The agent can read and edit content and SEO metadata. Risky changes stay pending until a person approves them, and every change can be reviewed and reverted.</p>
<h2>Layer 3: workers that hold the secrets</h2>
<p>The social publishing path is a good example of why integrations live outside the web layer.</p>
<p>When a new article goes live, the CMS doesn't call any social API. It only drops a job in a queue. A separate process, running with system permissions, holds the API key and does the work. The key never reaches the CMS.</p>
<p>That worker:</p>
<ul>
<li><strong>Waits five minutes</strong> after publication so SEO data and the featured image are ready.</li>
<li><strong>Spaces out</strong> posts when several articles are pending, so the timeline isn't flooded.</li>
<li><strong>Retries with progressive backoff</strong> and sends an email alert after two consecutive failures.</li>
<li>Generates <strong>three candidate posts</strong>, has a second model pick the clearest one, then validates length, checks that every figure appears in the article, rejects banned expressions and blocks duplicates.</li>
</ul>
<p>Posting goes through a social scheduling tool's API, which avoids paying for the X API directly. If that tool changes its free plan, the publisher can switch to the official API in about an hour, because the integration is isolated.</p>
<h2>SEO on every new article</h2>
<p>Each new article runs through the same circuit without manual work:</p>
<ul>
<li>If it was published without a focus keyphrase, the site's own AI fills one in, with validation and a fallback when the proposal is invalid.</li>
<li>An <strong>IndexNow</strong> ping at publication time.</li>
<li>A daily job asks <strong>Google Search Console</strong> to index new articles, up to the daily quota, and logs the result.</li>
<li><strong>Hreflang</strong> between language versions and structured data.</li>
</ul>
<p>Each step respects the services' quotas and leaves a record.</p>
<h2>Content checks before anything goes live</h2>
<p>A scheduled agent publishes AI news in Spanish, Catalan and English. Before publishing, it runs a checklist: sources cited, figures checked against the source, the three languages saying the same thing, featured image, categories and linked translations. If any check fails, the post stays in draft. Nobody sees half-finished content.</p>
<h2>Layer 4: the control plane</h2>
<p>All automated actions and all pending human decisions go into a task tracker (Vikunja, open source). Labels separate "a person must do this" from "agents do this", and agents update tasks and comment on results. Opening the board tells you what was done, what is blocked and what is waiting for a decision. There are no invisible actions.</p>
<p>The design rules:</p>
<ul>
<li><strong>Human in the loop</strong> for anything irreversible: sending, deleting, publishing risky changes.</li>
<li><strong>Secrets isolated</strong> from the web layer.</li>
<li><strong>Kill switches and dry-run modes</strong> per automation, so one can be paused without touching the rest.</li>
<li><strong>Everything logged:</strong> what each agent did, when and with what result.</li>
<li><strong>Data on your own infrastructure</strong>, in the EU or on-premise.</li>
</ul>
<h2>Takeaway</h2>
<p>The agents are the visible part. What makes the pipeline trustworthy is the boring scaffolding around them: narrow tools, workers that own the secrets, checks that fail closed into "draft", and one board where every action is visible.</p>
<hr />
<p><em>Originally published on the TIC Place blog.</em></p>
<p>At TIC Place, a software and applied AI shop headquartered in Masdenverge (Tarragona, Spain), our day job is designing AI agents, MCP servers and integrations for companies and institutions. Full article and contact: <a href="https://ticplace.com/en/2026/11/29/ai-agent-automation-communications-mcp/?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=ai-agent-automation-communications-mcp">ticplace.com</a>.</p>
]]></content:encoded></item></channel></rss>