<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="3.10.0">Jekyll</generator><link href="https://blog.stokoe.net/feed.xml" rel="self" type="application/atom+xml" /><link href="https://blog.stokoe.net/" rel="alternate" type="text/html" /><updated>2026-12-06T00:39:15+00:00</updated><id>https://blog.stokoe.net/feed.xml</id><title type="html">Martin’s Blog</title><subtitle>Thoughts, stories and ideas.</subtitle><author><name>Martin Stokoe</name></author><entry><title type="html">Closing the Push Gap: A2A Completion Notifications Across LangGraph Agent Servers</title><link href="https://blog.stokoe.net/closing-the-push-gap-a2a-completion-notifications-across-langgraph-agent-servers/" rel="alternate" type="text/html" title="Closing the Push Gap: A2A Completion Notifications Across LangGraph Agent Servers" /><published>2026-10-06T23:45:34+00:00</published><updated>2026-10-06T23:45:34+00:00</updated><id>https://blog.stokoe.net/closing-the-push-gap-a2a-completion-notifications-across-langgraph-agent-servers</id><content type="html" xml:base="https://blog.stokoe.net/closing-the-push-gap-a2a-completion-notifications-across-langgraph-agent-servers/"><![CDATA[<p><em>This article follows</em> <a href="/langstrata-a-blueprint-for-deploying-langgraph-with-dual-agent-servers/"><em>Langstrata: A blueprint for deploying LangGraph with dual-agent servers</em></a><em>, published 9 September 2026.</em></p>

<p><em>Readers who prefer to follow along in code will find hands-on tutorials in the</em> <a href="https://github.com/stokomax/langstrata#labs"><em>Langstrata README</em></a><em>. Four progressive labs run from a single development server to a self-hosted Docker Compose stack. Lab 3 demonstrates the completion notifier described here, using</em> <code class="language-plaintext highlighter-rouge">just a2a-demo</code>.</p>

<p>The earlier article proposed a split deployment, in which a supervisor and its workers run on separate <a href="https://docs.langchain.com/langsmith/agent-server">LangGraph Agent Servers</a>, the server processes that host LangGraph graphs. Here they are called the <em>supervisor’s Agent Server</em> and the <em>worker’s Agent Server</em>. The earlier article also committed to building a completion notifier, so that a worker could tell its supervisor when its work was done, and proposed packaging that notifier as an MCP server.</p>

<p>The notifier now exists as the <code class="language-plaintext highlighter-rouge">a2a_completion_notifier</code> bite in <a href="https://github.com/stokomax/langshark-bites">langshark-bites</a>, and <a href="https://github.com/stokomax/langstrata">Langstrata</a> integrates it. It has two halves. The <strong>emitter</strong> is <a href="https://docs.langchain.com/oss/python/langchain/middleware/overview">middleware</a> on each worker that posts a notice when the worker finishes. The <strong>A2A receiver</strong> is a small FastAPI application, hosted on the supervisor’s Agent Server, that accepts the notice and hands it to the supervisor.</p>

<p>This article covers four topics: how the A2A receiver coexists with the supervisor’s <a href="https://docs.langchain.com/langsmith/server-a2a">built-in A2A server</a>, the A2A implementation that every LangGraph Agent Server includes, what the emitter does, how a worker is configured to push, and what the supervisor’s model sees and decides when a notice arrives. The <a href="https://github.com/stokomax/langstrata">README</a> tutorials demonstrate the machinery itself.</p>

<h2 id="1-co-location-with-the-built-in-a2a-server">1. Co-location with the built-in A2A server</h2>

<p>Every LangGraph Agent Server includes a built-in A2A server, which serves the Agent Server’s <a href="https://docs.langchain.com/langsmith/assistants">assistants</a> over A2A. It handles the inbound half of the protocol: sending messages, streaming responses, and querying or cancelling tasks. In a split deployment, the supervisor acts as the A2A client, and the worker’s Agent Server executes the task as a <a href="https://docs.langchain.com/langsmith/runs">run</a>. In LangGraph, a run is one execution of an assistant’s graph on a <a href="https://docs.langchain.com/langsmith/use-threads">thread</a>, the thread holding the conversation’s state. It proceeds from its input until it reaches a final status such as success or error.</p>

<p>A2A’s answer to long-running tasks is push, and in a split deployment it would work in two steps:</p>

<ol>
  <li>The supervisor hosts a webhook and registers its URL with the worker’s Agent Server.</li>
  <li>When the task finishes, the worker’s Agent Server posts a notice to that webhook.</li>
</ol>

<p>Neither step is possible with today’s Langgraph server:</p>

<ul>
  <li>Its built-in A2A server does not implement A2A’s push methods, so the supervisor’s attempt to register its webhook returns “method not found”. And, nothing is sent when a worker’s run ends.</li>
  <li>Neither the supervisor Agent Server nor its built-in A2A server provides an endpoint where an incoming notice could land.</li>
</ul>

<p>The supervisor is therefore left to poll the worker’s Agent Server for status. The notifier supplies both missing halves: the emitter on the worker’s side and the A2A receiver on the supervisor’s.</p>

<p>The original plan filled that gap with a standalone MCP server. A simpler arrangement proved possible. A LangGraph Agent Server can host a <a href="https://docs.langchain.com/langsmith/custom-routes">custom web application</a> in its own process and on its own port, so the A2A receiver is mounted directly on the supervisor’s Agent Server. Its webhook routes sit beside those of the built-in A2A server without colliding: the built-in A2A server handles inbound A2A requests, and the A2A receiver handles completion notices.</p>

<p><img src="/assets/images/2026/10/image.png" alt="" /></p>

<p>The supervisor dispatches work with a push configuration attached. When the worker’s run ends, its emitter posts the completion notice to the A2A receiver, which shares the supervisor’s Agent Server with the built-in A2A server.</p>

<p>Co-location removes a separate process to deploy and secure. It also gives the A2A receiver direct access to the supervisor’s <a href="https://docs.langchain.com/oss/python/langgraph/stores">Store</a>, where notices wait until the supervisor reads them.</p>

<h2 id="2-the-emitter">2. The emitter</h2>

<p>The emitter is middleware on the worker graph. Its one job is to announce that the worker’s run has ended, whatever the outcome.</p>

<p>Making it middleware rather than a tool is the essential choice. A tool runs only if the model decides to call it. Middleware runs unconditionally, once when the agent finishes and also when a model call fails, so a failed run is reported as reliably as a successful one. A worker cannot forget to report.</p>

<p>The notice itself is a standard A2A task object, sparsely populated: the task ID, its terminal status, a short summary of the result, and the routing token the worker was given. The notice can be signed so the A2A receiver can verify the sender. Delivery is retried, and the A2A receiver discards duplicates. A delivery failure is logged rather than raised, so a broken webhook never takes down the worker’s own run.</p>

<h2 id="3-configuring-a-worker-to-push">3. Configuring a worker to push</h2>

<p>A worker can push only if it knows where to send the notice and which conversation it belongs to. Because the worker’s built-in A2A server offers no way to register a webhook, that information travels with the dispatch. When the supervisor starts a <a href="https://docs.langchain.com/langsmith/runs">run</a> on the worker’s Agent Server over <a href="https://github.com/langchain-ai/agent-protocol">Agent Protocol</a>, it attaches a push configuration: the A2A receiver’s URL and an opaque token that only the supervisor can read.</p>

<p>On the worker’s Agent Server, a <a href="https://docs.langchain.com/langsmith/graph-rebuild">graph factory</a> builds the worker afresh for each run from that configuration. If a push configuration is present, the factory attaches the emitter; if not, the worker runs as an ordinary agent. A per-run factory is necessary because middleware cannot read a run’s configuration on its own, so the decision has to be made when the graph is built.</p>

<p>Langstrata’s supervisor is a <a href="https://docs.langchain.com/oss/python/deepagents/overview">Deep Agent</a>, and Deep Agents launches workers as <a href="https://docs.langchain.com/oss/python/deepagents/async-subagents">async subagents</a> through its <code class="language-plaintext highlighter-rouge">AsyncSubAgentMiddleware</code>. That middleware gives the model five tools: <code class="language-plaintext highlighter-rouge">start_async_task</code> to launch a worker, and four more to check, update, cancel and list tasks. When <code class="language-plaintext highlighter-rouge">start_async_task</code> calls <code class="language-plaintext highlighter-rouge">runs.create</code> on the worker’s Agent Server, it sends only a <a href="https://docs.langchain.com/langsmith/use-threads">thread</a>, an <a href="https://docs.langchain.com/langsmith/assistants">assistant</a> and the task description. The supervisor run’s configuration is not forwarded, so the push configuration never reaches the worker.</p>

<p>Langstrata closes the gap with <code class="language-plaintext highlighter-rouge">ConfigForwardingAsyncSubAgentMiddleware</code>, defined in its <a href="https://github.com/stokomax/langstrata/blob/main/src/langstrata/a2a/a2a_dispatch_forwarder.py"><code class="language-plaintext highlighter-rouge">a2a_dispatch_forwarder.py</code></a> module. The class is a drop-in replacement for Deep Agents’ own <code class="language-plaintext highlighter-rouge">AsyncSubAgentMiddleware</code>. It is a subclass that behaves identically in every respect but one: its launch tool forwards the push configuration to the worker. The supervisor passes it to <code class="language-plaintext highlighter-rouge">create_deep_agent</code> alongside the same subagent definitions, and Deep Agents then uses it in place of the built-in middleware:</p>

<div class="language-python highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="kn">from</span> <span class="nn">langstrata.a2a.a2a_dispatch_forwarder</span> <span class="kn">import</span> <span class="n">ConfigForwardingAsyncSubAgentMiddleware</span>

<span class="n">supervisor</span> <span class="o">=</span> <span class="n">create_deep_agent</span><span class="p">(</span>
    <span class="n">model</span><span class="o">=</span><span class="n">model</span><span class="p">,</span>
    <span class="n">subagents</span><span class="o">=</span><span class="n">async_subagents</span><span class="p">,</span>
    <span class="n">middleware</span><span class="o">=</span><span class="p">[</span><span class="n">ConfigForwardingAsyncSubAgentMiddleware</span><span class="p">(</span><span class="n">async_subagents</span><span class="o">=</span><span class="n">async_subagents</span><span class="p">)],</span>
<span class="p">)</span>
</code></pre></div></div>

<h2 id="4-what-the-supervisor-sees">4. What the supervisor sees</h2>

<p>The A2A receiver stores each notice against the supervisor’s conversation. If the supervisor is idle, the A2A receiver also starts a new run so the notice is not left waiting. Middleware on the supervisor then injects the pending notices into the prompt history immediately before its next model call. Two kinds of message appear, both as ordinary user turns:</p>

<ul>
  <li><strong>A wake message</strong>, beginning <code class="language-plaintext highlighter-rouge">[completion notifier] wake:</code>. It carries no content; its only purpose is to give an idle supervisor a reason to run.</li>
  <li><strong>A completion notice</strong>, headed <code class="language-plaintext highlighter-rouge">[SUBAGENT COMPLETION NOTICE]</code>. It has three fields: the <code class="language-plaintext highlighter-rouge">task_id</code> of the delegated task, its <code class="language-plaintext highlighter-rouge">status</code> (such as <code class="language-plaintext highlighter-rouge">completed</code> or <code class="language-plaintext highlighter-rouge">failed</code>), and a short <code class="language-plaintext highlighter-rouge">summary</code> of the result. Notices that arrive together are combined into one message.</li>
</ul>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>[SUBAGENT COMPLETION NOTICE]
task_id: dispatch_1_abc123
status: completed
summary: Researched LangGraph store namespaces; key finding in §04.
</code></pre></div></div>

<p>Nothing visually marks these messages as injected. The model recognizes them by their content, which is why the supervisor’s system prompt should describe them.</p>

<h2 id="5-decisions-the-supervisor-can-make">5. Decisions the supervisor can make</h2>

<p>The notice arrives as context, not as the result of a tool the model chose to call, so the supervisor decides what it means. The useful choices are few:</p>

<ul>
  <li><strong>Proceed on the summary.</strong> If the summary answers the sub-task, the supervisor continues without fetching anything further.</li>
  <li><strong>Fetch the full result once.</strong> If the summary is insufficient, a Deep Agents supervisor calls its own <code class="language-plaintext highlighter-rouge">check_async_task</code>, which reads the result directly from the worker’s Agent Server. A supervisor built without Deep Agents has no such tool, so the notifier provides <code class="language-plaintext highlighter-rouge">get_async_result</code> instead. It fetches the result through the A2A receiver, which already knows which worker sent the notice and holds the credentials to reach it. Either way it is a single fetch, not a poll, because the notice has already established that the task is finished.</li>
  <li><strong>Respond to failure.</strong> A <code class="language-plaintext highlighter-rouge">failed</code> status tells the supervisor not to wait for a result that will never arrive. It can re-dispatch the task, send it to a different worker, or report the failure.</li>
  <li><strong>Wait for the rest, or move on.</strong> With several workers outstanding, the supervisor can hold its synthesis until every notice has arrived, or begin the next step with partial results.</li>
</ul>

<p>A short instruction in the supervisor’s system prompt is enough to establish this behaviour:</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>When you see a [SUBAGENT COMPLETION NOTICE]:
1. If the summary fully answers the sub-task, continue without fetching.
2. Otherwise call check_async_task(task_id) once -- never poll, never re-fetch.
3. Use the returned result and continue.
</code></pre></div></div>

<p>The result is a supervisor that reacts to its workers rather than asking after them. Each turn begins with whatever has finished, and the model spends its reasoning on what to do next.</p>

<h2 id="6-next-steps-a-federated-fleet-experiment">6. Next steps: a federated fleet experiment</h2>

<p>The work so far connects a LangGraph supervisor to LangGraph workers. The next step is an experiment with a federated fleet: agents built by different teams, with different harnesses, delegating work to one another inside a single organization.</p>

<p>The premise is that organizations will not standardize on one agent framework. Teams will choose Deep Agents, PydanticAI, Agno or whatever suits the job, and agents will appear organically. What those agents need in common is not a shared runtime, but a trusted way to hand off work and report back. The experiment’s promise is therefore <strong>bring your own harness</strong>: each team keeps the framework it chose, and the federation supplies only the hand-off and the trust.</p>

<p>The experiment has three parts:</p>

<ol>
  <li><strong>A Deep Agents A2A client.</strong> Today, a Deep Agents supervisor can delegate asynchronously only to Agent Protocol servers, and an <a href="https://github.com/langchain-ai/deepagents/issues/5532">open Deep Agents issue</a> asks for A2A support. The proposed client keeps the five async-subagent tools the model already knows, but lets each subagent use either Agent Protocol or A2A. One supervisor can then delegate to the whole fleet with a single vocabulary.</li>
  <li><strong>Push configuration in native A2A.</strong> The supervisor’s webhook and routing token would be registered in the A2A request itself, as the specification defines, and the A2A receiver would accept standard pushes from any compliant server. Its result fetch, <code class="language-plaintext highlighter-rouge">get_async_result</code>, would likewise learn to use A2A’s own <code class="language-plaintext highlighter-rouge">tasks/get</code>, making it the framework-neutral way to collect a finished worker’s output. The notifier’s extras become an optional A2A extension, advertised on the agent card: a signed sender, a short summary, and delivery that is safe to retry.</li>
  <li><strong>A push-capable server where a framework lacks one.</strong> PydanticAI’s A2A server does not yet send push notifications, so the experiment includes a small kit that serves PydanticAI agents through the <a href="https://github.com/a2aproject/a2a-python">official A2A SDK</a>, which does. Workers without push can still fall back to streaming or polling.</li>
</ol>

<p>Security runs through all three parts. Every completion notice carries a routing token that only the supervisor can read and, with the extension, a signature identifying the agent that sent it. An agent joins the fleet by publishing an agent card and being registered as a trusted issuer, not by adopting a shared framework.</p>

<h3 id="sharing-tools-an-mcp-gateway-or-per-agent-oauth">Sharing tools: an MCP gateway or per-agent OAuth</h3>

<p>A federated fleet must also share tools. Agents from different teams need the same MCP servers, and how they reach those servers decides whether a bring-your-own-harness deployment scales.</p>

<p>The direct approach gives each agent its own MCP connections, secured with OAuth or API keys. It works for one agent but multiplies poorly. Every harness has its own MCP client and its own auth support, so credentials, allowlists and audit end up scattered across teams. Unattended agents cannot complete an interactive OAuth consent flow, and stdio servers or servers on a private network offer no endpoint a remote agent can reach.</p>

<p>The alternative is an MCP gateway acting as a reverse proxy: one front door through which every agent reaches every tool. Gateways such as <a href="https://github.com/IBM/mcp-context-forge">IBM ContextForge</a>, <a href="https://github.com/docker/mcp-gateway">Docker MCP Gateway</a> and <a href="https://github.com/microsoft/mcp-gateway">Microsoft mcp-gateway</a> already take this shape. Each agent authenticates to the gateway with its own short-lived, scoped credential. The gateway holds the upstream credentials, and the <a href="https://modelcontextprotocol.io/specification/2026-07-28/basic/authorization">MCP authorization specification</a> forbids passing the agent’s token through to the server. A human completes OAuth consent once, out of band; the gateway stores the token, and the agent only ever holds a handle.</p>

<table>
  <thead>
    <tr>
      <th> </th>
      <th>Per-agent MCP with OAuth</th>
      <th>MCP gateway as reverse proxy</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>Credentials</td>
      <td>Held by each agent</td>
      <td>Held by the gateway; each agent holds a scoped handle</td>
    </tr>
    <tr>
      <td>OAuth consent</td>
      <td>Interactive, per agent</td>
      <td>Once, out of band, stored at the gateway</td>
    </tr>
    <tr>
      <td>stdio and private servers</td>
      <td>Unreachable from a remote agent</td>
      <td>Hosted or fronted by the gateway</td>
    </tr>
    <tr>
      <td>Policy and audit</td>
      <td>Per harness, per team</td>
      <td>Organization-wide at the gateway</td>
    </tr>
    <tr>
      <td>Adding a new harness</td>
      <td>Rebuild auth and policy for it</td>
      <td>Point its MCP client at the gateway</td>
    </tr>
  </tbody>
</table>

<p>The gateway does not remove the need for per-agent rules. Each agent still needs its own tool allowlist and context budget, supplied by a thin client-side middleware in front of the gateway. That pairing, a gateway for the organization and a small client for each agent, is the tool-side counterpart of the A2A receiver. In both cases the federation supplies the trust, and each team keeps its harness.</p>

<p>The experiment succeeds if a supervisor can delegate across harnesses with one set of tools, and learn of every completion by push with no polling turns. No completion may be lost or duplicated, a stock A2A server without the extension must still interoperate, and every agent must reach its tools through the gateway under its own credential. Whichever harness produced a result, the supervisor sees the same completion notice in its prompt history and makes the same decisions described above.</p>

<h2 id="summary">Summary</h2>

<p>The notifier changes very little about the agents themselves. What it supplies is the trusted hand-off between them: which task finished, with what status, for which conversation, and from which sender. That hand-off is exactly what a federated fleet needs. Whether a worker is built with Deep Agents, PydanticAI or Agno, the supervisor needs only a notice it can trust and a result it can fetch. The tools those agents share call for the same arrangement: one trusted front door, rather than credentials spread across every agent.</p>

<p>The next steps are an experiment, and their outcome is still open. To try the current design, the Langstrata README’s labs build it up one step at a time, and Lab 3 shows a completion notice arriving. Feedback, and results from other harnesses, are welcome.</p>]]></content><author><name>Martin Stokoe</name></author><summary type="html"><![CDATA[This article follows Langstrata: A blueprint for deploying LangGraph with dual-agent servers, published 9 September 2026.]]></summary></entry><entry><title type="html">Langstrata - A blueprint for deploying Langgraph with dual-agent servers</title><link href="https://blog.stokoe.net/langstrata-a-blueprint-for-deploying-langgraph-with-dual-agent-servers/" rel="alternate" type="text/html" title="Langstrata - A blueprint for deploying Langgraph with dual-agent servers" /><published>2026-09-09T18:10:47+00:00</published><updated>2026-09-09T18:10:47+00:00</updated><id>https://blog.stokoe.net/langstrata-a-blueprint-for-deploying-langgraph-with-dual-agent-servers</id><content type="html" xml:base="https://blog.stokoe.net/langstrata-a-blueprint-for-deploying-langgraph-with-dual-agent-servers/"><![CDATA[<p>Establishing a blueprint for how Langchain/Langgraph multi-agents are implemented, deployed and scaled is possible. The approach requires a bit more upfront infrastructure, but removes the constraints that make multi-agent systems difficult to scale and observe. Bespoke Langchain multi-agent development becomes a design choice rather than a requirement.</p>

<p>I propose a novel dual-agent server pattern consisting of a supervisor server and one or more subagent servers. The supervisor server hosts a dedicated deep agent. A second and additional agent servers host the subagents.</p>

<p><img src="/assets/images/2026/09/split-agent-server.png" alt="" /></p>

<p>Support for structured responses and asynchronous agents are essential to the design. The former improves supervisor orchestration of subagents and the latter simplifies scalability.</p>

<p>Deploying a Langchain dual-agent server requires implementing a secure and standardized mechanism that subagent’s integrate as middleware. In Langchain parlance, the supervisor and subagent infrastructure that a subagent employs to update the supervisor is called a completion notifier. The A2A <a href="https://a2a-protocol.org/latest/specification/#433-push-notification-payload">notifications</a> specification fills this gap. A2A was developed to facilitate interoperability and communication between independently designed agents. This proposal flips the use case to facilitate communication between agents designed for internal use. In lieu of building bespoke tools to fill gaps in existing frameworks, adopt A2 whenever possible. In this case, its choosing A2A notifications to build the completion notifier.</p>

<blockquote>
  <p>💡 Please refer to the code comments in the Langchain Deep agents example <a href="https://github.com/langchain-ai/async-deep-agents/blob/main/graphs/python/src/middleware/completion_notifier.py">completion_notifier.py</a> file to learn more about completion notifiers.</p>
</blockquote>

<p>The proposed A2A completion notifier will be packaged as a MCP server. Ensuring it integrates using the same configuration pattern as any other MCP tool and is not tied to any particular agent implementation. The implementation will automatically mitigate duplicate and bursts of subagent notifications. I plan to post the implementation to my <a href="https://github.com/stokomax/langshark-bites">stokomax/langshark-bites</a> repo when it is available. You simply incorporate the completion notifier in your agent the same way as existing <a href="https://stokomax.github.io/langshark-bites/">langshark-bites</a>.</p>

<p>The completion notifier hardens the supervisor and reduces it token consumption by making the supervisor event-driven.</p>

<p>Langshark-bites is a collection of bite-size add-ons and wrappers for building durable and scalable LangChain multi-agent solutions. I created the collection to solve common, everyday, infrastructure issues when building multi-agent solutions.</p>

<p><a href="https://stokomax.github.io/langshark-bites/">Learn more</a></p>

<p>The dual-agent server architecture isolates the supervisor server <a href="https://docs.langchain.com/oss/python/langgraph/pregel#langgraph-runtime">runtime</a> from the subagent server runtime. A supervisor can freely launch one or more ReAct agent threads as needed without those threads affecting the supervisor’s own scheduling. This guards the supervisor agent performance from runaway subagent activity.</p>

<p>The main classes of agent design patterns within Langchain are: <a href="https://docs.langchain.com/oss/python/langgraph/workflows-agents">workflows</a>, which have multiple variants, ReAct agents, and Deep Agents. You mix-and-match these as you choose. Workflows are efficient but rigid. That rigidity means error handling has to be designed in from the start, which is workable when the failure modes are known. Given LLM outputs are non-deterministic, hard coding error handling is a best effort at best.</p>

<p>A Deep Agent, designed well, provides a built-in a multi-agent management interface through its <a href="https://docs.langchain.com/oss/python/deepagents/frontend/todo-list">Todo</a> list feature. If a multi-agent execution happens to abort midway through several agent handoffs, a Deep Agent can recover with human-in-the-loop assistance. Well defined error patterns are incrementally added to the agent as needed – reducing the need for human intervention in the process. This is why I am all-in on building deployments with Deep Agents.</p>

<p>If you have interest, as I do, in experimenting with prompt versioning, Reflexion-style agent and evaluation frameworks, the deployment challenge is managing and observing that activity. I avoided experimenting with these features until I landed on a standardized deployment model. The dual-agent server solution ensures a robust runtime no matter the subagent activity and therefore is capable of hosting more complicated agent features.</p>

<p>Subagent servers should be deployed using a workflow (i.e. <code class="language-plaintext highlighter-rouge">StateGraph</code>) combined with map-reduce and the Send API, or as one or more ReAct agents. The workflow approach is the better choice for keeping resource requirements low while scaling horizontally — each worker is a lightweight graph node rather than a full agent process. The ReAct approach is simpler to build initially, though heavier in terms of thread and checkpoint resource usage.</p>

<p>The asynchronous agent requirement is a design mandate rather than a technical requirement. The goal is agents that are independent and cooperative from the start, not as an afterthought. Implementing your agents asynchronously is the best path toward that and provides natural scalability to your solution. I learned from my IoT and embedded background that when dealing with non-deterministic endpoints, an asynchronous listener implementation wins over synchronous approaches every time.</p>

<p>For self-hosted deployments, the Redis server and PostgreSQL server can be shared between agent servers. Adding a new agent server is a matter of adding a service to your compose file and assigning it a non-overlapping port. Multiple <code class="language-plaintext highlighter-rouge">langgraph dev</code> servers can be launched for prototyping without a full Postgres and Redis stack.</p>

<p><img src="/assets/images/2026/09/shared-network.png" alt="" /></p>

<p><em>Self-hosted Langgraph Servers</em></p>

<p>By adopting the <a href="https://github.com/stokomax/langstrata">Langstrata</a> blueprint you can scale agent experiments without wrestling with Langchain infrastructure. The architecture accommodates more agents, more complex subagent designs, and heavier workloads without requiring structural changes to the deployment.</p>

<p><a href="https://github.com/stokomax/langstrata"><img src="/assets/images/2026/09/fin_logo_v2-1.png" alt="CTA Image" /></a></p>

<p>Clone the <a href="https://github.com/stokomax/langstrata">langstrata</a> repo and run the examples.</p>

<p><a href="https://github.com/stokomax/langstrata">Learn more</a></p>

<p>Next steps:</p>

<ul>
  <li><strong>Make the langstrata demo agents your own.</strong> Replace the <code class="language-plaintext highlighter-rouge">researcher</code>, <code class="language-plaintext highlighter-rouge">coder</code> and <code class="language-plaintext highlighter-rouge">analyst</code> workers with graphs and tools that fit your domain,<br />
that regenerate the config files and Dockerfiles as described in the langstrata REAME.md file.</li>
  <li><strong>Harden your workers.</strong> As your workers fan out and call more<br />
external APIs, the <a href="https://stokomax.github.io/langshark-bites/">langshark-bites</a> collection addresses exactly those problems — rate limiting, visible backoff, provider failover, tolerant JSON output parsing, and reducers that merge parallel <code class="language-plaintext highlighter-rouge">Send</code> results without duplicates.</li>
  <li><strong>Make the supervisor event-driven.</strong> Today the supervisor <em>polls</em><br />
for worker completion — the deep-agent flow launches a subagent with<br />
<code class="language-plaintext highlighter-rouge">start_async_task</code> and then repeatedly checks <code class="language-plaintext highlighter-rouge">check_async_task</code> until<br />
it finishes, which burns supervisor turns and adds latency under load.<br />
The hardening step is to be <em>notified</em> when a worker completes instead<br />
of asking. That event-driven completion is the motivation behind the<br />
planned <code class="language-plaintext highlighter-rouge">completion_notify</code> bite; it isn’t available yet, so it remains<br />
a known gap in this template.</li>
</ul>]]></content><author><name>Martin Stokoe</name></author><summary type="html"><![CDATA[Establishing a blueprint for how Langchain/Langgraph multi-agents are implemented, deployed and scaled is possible. The approach requires a bit more upfront infrastructure, but removes the constraints that make multi-agent systems difficult to scale and observe. Bespoke Langchain multi-agent development becomes a design choice rather than a requirement.]]></summary></entry><entry><title type="html">Introducing Langshark</title><link href="https://blog.stokoe.net/introducing-langshark/" rel="alternate" type="text/html" title="Introducing Langshark" /><published>2026-08-27T17:53:43+00:00</published><updated>2026-08-27T17:53:43+00:00</updated><id>https://blog.stokoe.net/introducing-langshark</id><content type="html" xml:base="https://blog.stokoe.net/introducing-langshark/"><![CDATA[<p>My experience with implementing long running Langchain multi-agent solutions has become disconnected from the Internet news feed topics that land in my inbox. The news feeds highlight AI agent design solutions for sandboxing, prompt optimization, eval runs and runbooks. My day-to-day experience is less pondering “big think” topics and more about being “the practitioner” tackling provider rate limiting, token credit exhaustion, external API rate limiting and keeping span observability managable. And, not letting those issues rise to a level of complexity where they distract from my core agent design objectives.</p>

<p>It led me to create Langshark, a local-first TUI for monitoring Langchain runtime in real-time. Langshark supports easy inspection of what your under-development multi-agent application is doing or not doing. It optionally generates clickable handoff links to a locally installed Arize Phoenix server. The Phoenix server offers a broader view of the LLM transaction history.</p>

<p>The default view for Langshark displays the status of all the available threads. Select a thread using the up/down arrow keys. The details about the selected thread are displayed in the lower pane.</p>

<p><img src="/assets/images/2026/08/langshark-thread-list.png" alt="" /></p>

<p>Langshark is not intended to replace Langchain’s cloud-based LangSmith but serve as a instructional bridge for learning and debugging Langchain agents. Where many Langchain tutorials start in the cloud, I am, for better or worse, stubborn about starting locally and staying local for as long as possible. You can call me old-school for wanting to troubleshoot standing up an agent server with minimal infrastructure rather than relying solely on cloud-based tools. I wanted a raw and unfiltered view of what was occurring. That was my motivation for developing a tool that is both informational and instructional.</p>

<p>Before diving deeper into Langshark’s features, its worth knowing how the Langchain runtime processes your agent code. The Langchain runtime design is unique among the available agent harnesses. And, being familiar with Langchain runtime concepts will help you build agents that scale from day one.</p>

<p>Langchain is an evolving platform – especially the user facing features – offering multiple facets for developing rich agents. My view is the multitude of agent design patterns will eventually settle, as other AI technologies have.</p>

<p>MCP design is settling. MCP is now stateless, for example. The A2A specification has merged with ACP to be simply A2A. Skills.md and Agent.md file implementation patterns are converging on Anthropic as the golden format standard.</p>

<p>While Langchain’s agent coding facets: nodes and graphs, send-API with map reduce and deepagents are evolving, the runtime is shared and common to all Langchain deployments. The runtime is responsible for agent execution and becoming familiar with it is a one-time investment. Being concrete foundational technology, its not likely to change significantly.</p>

<p>Runtime execution is when your agent first begins to consume resources which means there will inevitably be constraints to manage. I am not talking about LLM provider or API gateway constraints, but Langchain runtime resources.</p>

<p>The Langchain tech stack vocabulary is large and a few terms are overloaded which can introduce confusion. Over time, this too will converge on a consistent vocabulary. The most common overloaded term is “thread”. In Langchain parlance, a thread refers to a runtime context and should not be confused with OS type threads used in Python and C++. A multi-agent deployment can require the Langchain runtime to manage multiple threads at once.</p>

<p>Langchain threads are non-preemptive and always run to completion. If another agent or user input requires a thread to run again, the thread is rescheduled by Langchain’s runtime. The natural lifecycle of a thread is to alternate between running and idle states. A thread is placed in an error state if its not able to be re-scheduled.</p>

<p>Langchain’s runtime switches threads only upon a running thread pausing for user input or reaching an idle state. The idle state is triggered when the tools, LLM responses, and middleware functions attached to a thread run to completion.</p>

<p>Every rescheduling of a thread is captured in a step, to use Langchain parlance. Langshark supports inspecting the contents of each step within a thread’s life as shown below:</p>

<p><img src="/assets/images/2026/08/langshark-checkpoint.png" alt="" /></p>

<p>A complex or poorly designed, non-converging, multi-agent deployment can exceed a hundred steps per thread. Whether this occurrence is categorized as an error or intended execution outcome is an engineering decision. This is why Langshark provides this level of agent visibility. By inspecting thread metadata and step data you get an unfiltered view of what a Langchain agent is doing in real-time.</p>

<p>The ability to inspect thread content is the direct result of the Langchain’s builtin checkpoint capabilities – where it maintains retrievable slices of runtime context in a database. The checkpoint feature is what gives Langchain agents their durability, repeatability, and inspectability.</p>

<p>Knowing how to navigate threads, steps and checkpoint data is foundational knowledge that accrues in the form of you developing robust troubleshooting skills as your agent server solution evolves. Using Langshark is a low-friction approach to becoming familiar with inner working Langchain’s runtime.</p>

<p>To learn more about Langshark please refer to the <a href="https://github.com/stokomax/langshark">README.md</a> on my <a href="https://github.com/stokomax/langshark">stokomax/langshark</a> repository.</p>]]></content><author><name>Martin Stokoe</name></author><summary type="html"><![CDATA[My experience with implementing long running Langchain multi-agent solutions has become disconnected from the Internet news feed topics that land in my inbox. The news feeds highlight AI agent design solutions for sandboxing, prompt optimization, eval runs and runbooks. My day-to-day experience is less pondering “big think” topics and more about being “the practitioner” tackling provider rate limiting, token credit exhaustion, external API rate limiting and keeping span observability managable. And, not letting those issues rise to a level of complexity where they distract from my core agent design objectives.]]></summary></entry><entry><title type="html">Lost at the Intersection: Re-Thinking AI Tooling When Everything Changes Monthly</title><link href="https://blog.stokoe.net/lost-at-the-intersection-re-thinking-ai-tooling-when-everything-changes-monthly/" rel="alternate" type="text/html" title="Lost at the Intersection: Re-Thinking AI Tooling When Everything Changes Monthly" /><published>2026-05-14T18:54:45+00:00</published><updated>2026-05-14T18:54:45+00:00</updated><id>https://blog.stokoe.net/lost-at-the-intersection-re-thinking-ai-tooling-when-everything-changes-monthly</id><content type="html" xml:base="https://blog.stokoe.net/lost-at-the-intersection-re-thinking-ai-tooling-when-everything-changes-monthly/"><![CDATA[<p>Tracking the developments in AI tooling is like driving in a foreign country and navigating a busy intersection after busy intersection. As soon as I learn and comprehend what one tool does or does not, a new tool with a new design philosophy comes available. It is making me do a re-think about how to use AI.</p>

<p>Let’s take Cline’s new <a href="https://cline.bot/kanban">Kanban</a> tool for managing multiple agents. It nudges the human-in-the-loop verification more towards automation than Cline CLI. It offers a much improved reviewing capability during code generation. Having the ability to make CR comments in-line with the diff output is a familiar workflow. There are other tools such as <a href="https://nimbalyst.com/">Nimbalyst</a> and <a href="https://github.com/BloopAI/vibe-kanban">Vibe Kanban</a> (recently open-sourced). The catch with Cline Kanban is being aware that changes are tracked on independent Git working trees. Those changes then have to be reconciled with the original local repo. A series of dynamic prompts are issued to the model guiding it on how best to merge or cherry-pick the code changes with the original repo. The new point of workflow friction is verifying the Git worktree reconciliation was successfully completed.</p>

<p>RAG and vector databases are becoming obsolete. The advancement in model capabilities is pushing out the point where adding complexity is warranted. Except for edge cases, having AI-generated code that’s good enough will become the norm.</p>

<p>I have already thrown away my own earlier MCP+RAG work and looking at Docker Agents. And disbanded my concerns about managing YAML frontmatter associated with sharing skill files. With Microsoft releasing a Go-compiled version of Typescript, providing a 10x performance improvement, I now wonder if it will flag the trajectory of Python’s popularity.</p>

<p><a href="https://nanoclaw.dev/">Nanoclaw</a> is a good example of the emerging model-centric agent implementations. Amazon’s <a href="https://strandsagents.com/">Strands</a> is another example of leveraging the model over conventional GenAI management tools. <a href="https://www.feynman.is/">Feyman</a>, an agentic researching tool is another. It’s built with <a href="https://pi.dev/">pi</a> and its <a href="https://pi.dev/docs/latest/extensions">pi extensions</a> are – you guessed it – written in Markdown.</p>

<p>My rethink: LLM providers aren’t selling compute, they’re minting currency. The token has a fixed dollar price, but its <em>purchasing power</em>—how much real work it buys—floats with the model behind it. A token of frontier reasoning can be worth ten tokens of a less-capable model on a hard task, and the ratio inverts on an easy one. Model provider selection is an arbitrage problem.</p>

<p>The exchange rate moves on three axes: capability per token, rate limits, and subscription structure. The teams that will benefit from this realization will be the ones treating model choice the way a trading desk treats FX exposure. Continuously monitoring, per workload, with a clear view of where each provider’s currency is strong and where it’s weak.</p>

<p>The practice of switching between models without losing context, mid-workflow, will be the norm. Tools similar to Opencode’s <a href="https://opencodex.cc/en/tutorials/provider-setup.html#multi-provider-strategy">multi-provide</a>r strategy or <a href="https://github.com/hjanuschka/pi-multi-pass">pi-multi-pass</a>, a pi extension, will become more common place.</p>

<p>For developers, coding without AI-assistance is going the way of the hammer in favor of nail-guns. Spec-driven AI design, phased implementations and extensive unit testing are the way forward.</p>

<p>Taking the time to optimize code is harder to justify. Instead, it’s worth waiting until the tooling and models improve given the current rate of product evolution.</p>

<p>I am both excited and unsettled.</p>

<p>NOTE: I have updated this article since its original publication.</p>]]></content><author><name>Martin Stokoe</name></author><summary type="html"><![CDATA[Tracking the developments in AI tooling is like driving in a foreign country and navigating a busy intersection after busy intersection. As soon as I learn and comprehend what one tool does or does not, a new tool with a new design philosophy comes available. It is making me do a re-think about how to use AI.]]></summary></entry><entry><title type="html">Obsidian + MCPVault</title><link href="https://blog.stokoe.net/obsidian-mcpvault/" rel="alternate" type="text/html" title="Obsidian + MCPVault" /><published>2026-04-21T22:21:31+00:00</published><updated>2026-04-21T22:21:31+00:00</updated><id>https://blog.stokoe.net/obsidian-mcpvault</id><content type="html" xml:base="https://blog.stokoe.net/obsidian-mcpvault/"><![CDATA[<p><img src="/assets/images/2026/04/image.png" alt="" /></p>

<p>Obsidian has always been my go to tool for capturing notes and doing research. The management of tags, links and content formatting was something I simply endured. Then came along MCPVault. A MCP server that integrates one or more of my Obsidian vaults with an AI agent.</p>

<p>It can read my vault notes, create notes and append content. My research literally flows; I can simultaneously dig for details and summarize topics. Ingesting of content is simplified and linking is friction-less with existing Obsidian vault content. Claude automatically adds frontmatter to my notes and creates internal links on the fly. MCPVault provides the automation plumbing.</p>

<p>I am not alone in coming to this realization. Andrej Karpathy’s <a href="https://x.com/karpathy/status/2039805659525644595?s=20">LLM Knowledge Base</a>  post on X describes a similar experience. The <a href="https://aimaker.substack.com/p/llm-wiki-obsidian-knowledge-base-andrej-karphaty">AI Maker</a> on Substack expounds on Karpathy’s post. Their approach does not leverage MCPVault. Instead, it’s based on a set of skills files and Obsidian’s native <a href="https://obsidian.md/cli">CLI</a>. The skills are hosted on <a href="https://github.com/kepano/obsidian-skills">github.com/kepano/obsidian-skills</a>. MCPVault uses a combination of Obsidian CLI commands and its own features.</p>

<blockquote>
  <p>💡 For a review of the obsidian-skills please read this <a href="https://vibecoding.app/blog/obsidian-skills-review">article</a>.</p>
</blockquote>

<p>The combination of Obsidian and MCPVault has hyper-accelerated my subject discovery process. And having the ability to summarize, refine and test my understanding by interacting with Claude accelerates my rate of comprehension.</p>

<p>I’ve been researching Quantum computing with a focus on Hybrid Quantum-Classical Computing (HQCC). It’s a mind-bending topic. Combining AI with Obsidian enables me to efficiently gain insight into the infrastructure and computation challenges translating from the tensor-based world of quantum with classical bits and bytes. And, to refresh my linear-algebra skills.</p>

<p>It’s helping with software design, too. My previous experience with Specification Driven Development (SDD) left me wanting a digital canvas to explore ideas and design approaches. Creating notes with embedded code snippets in Obsidian helps crystalize the project priorities, design and steps. Giving my project enough structure before embarking on casting the concrete features and requirements in a SDD document.</p>

<blockquote>
  <p>💡 For more on the state of SDD tools, check out this excellent <a href="https://martinfowler.com/articles/exploring-gen-ai/sdd-3-tools.html">article</a> on martinFowler.com.</p>
</blockquote>

<p>To unlock all this technical wonder, be sure to read the installation instructions on <a href="https://mcpvault.org/">mcpvault.org</a>.</p>

<p>I am running Claude Desktop on Windows 11 and encountered a few installation quirks. I explain how to resolve them in the steps below:</p>

<h3 id="problem-1-finding-and-editing-the-claude-desktop-configuration-file">Problem 1: Finding and Editing the Claude Desktop Configuration File.</h3>

<ol>
  <li>From the Claude Desktop client, select the File&gt;Settings.</li>
  <li>Then, navigate to the bottom of the left side of the Settings page and select <strong>Developer</strong>.</li>
  <li>Click the <strong>Edit Config</strong> button near the top of Developer page. A Windows dialog box will open and the “claude_desktop_config” file will be automatically selected. Before taking any action take note of the file path.</li>
</ol>

<p><img src="/assets/images/2026/04/image-1.png" alt="" /></p>

<h3 id="problem-2-getting-the-pathname-syntax-correct-and-command-syntax">Problem 2: Getting the pathname syntax correct and command syntax.</h3>

<ol>
  <li>Choose a text editor that is JSON aware. Notepad++ with the JSON Tools plugin installed is suffice. Open the <em>claude_desktop_config file. I</em> had to modify the JSON configuration as shown below:</li>
</ol>

<div class="language-json highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="p">{</span><span class="w">
  </span><span class="nl">"mcpServers"</span><span class="p">:</span><span class="w"> </span><span class="p">{</span><span class="w">
    </span><span class="nl">"obsidian-default"</span><span class="p">:</span><span class="w"> </span><span class="p">{</span><span class="w">
      </span><span class="nl">"command"</span><span class="p">:</span><span class="w"> </span><span class="s2">"C:</span><span class="se">\\</span><span class="s2">Program Files</span><span class="se">\\</span><span class="s2">nodejs</span><span class="se">\\</span><span class="s2">npx.cmd"</span><span class="p">,</span><span class="w">
      </span><span class="nl">"args"</span><span class="p">:</span><span class="w"> </span><span class="p">[</span><span class="w">
        </span><span class="s2">"@bitbonsai/mcpvault@latest"</span><span class="p">,</span><span class="w">
        </span><span class="s2">"/User/... path to your vault goes here"</span><span class="w">
      </span><span class="p">]</span><span class="w">
    </span><span class="p">}</span><span class="w">
  </span><span class="p">},</span><span class="w">
  </span><span class="nl">"preferences"</span><span class="p">:</span><span class="w"> </span><span class="p">{</span><span class="w">
    </span><span class="nl">"coworkScheduledTasksEnabled"</span><span class="p">:</span><span class="w"> </span><span class="kc">true</span><span class="p">,</span><span class="w">
    </span><span class="nl">"ccdScheduledTasksEnabled"</span><span class="p">:</span><span class="w"> </span><span class="kc">true</span><span class="p">,</span><span class="w">
    </span><span class="nl">"sidebarMode"</span><span class="p">:</span><span class="w"> </span><span class="s2">"chat"</span><span class="p">,</span><span class="w">
    </span><span class="nl">"coworkWebSearchEnabled"</span><span class="p">:</span><span class="w"> </span><span class="kc">true</span><span class="w">
  </span><span class="p">}</span><span class="w">
</span><span class="p">}</span><span class="w">
</span></code></pre></div></div>

<p>The <em>command s</em>tring requires a combination of backward slashes and backward slash escape characters. Use forward slashes when entering the vault path as part of the <em>args</em>.</p>

<h3 id="problem-3-restarting-claude-desktop">Problem 3: Restarting Claude Desktop</h3>

<ol>
  <li>Navigate to the Windows systems tray and select the chevron icon to view the available systems applications. Right-click on the Claude icon and select Quit. Simply exiting Claude desktop does not force the reloading of the JSON configuration file.</li>
  <li>Launch Claude and navigate back to the Claude Settings. Select the Developer option. The MCP server should be shown similar to below:</li>
</ol>

<p><img src="/assets/images/2026/04/claude-obsidian-mcp-view-1.png" alt="" /></p>

<h3 id="problem-3-installing-the-skills-file">Problem 3: Installing the skills file.</h3>

<p>Claude Desktop requires Skill files be archived to a Zip file and uploaded. And, yes, you need these Skills files. Once the skill files are uploaded, the skills will be listed as shown below:</p>

<p><img src="/assets/images/2026/04/Claude-obsidian-skills-view.png" alt="" /></p>

<ol>
  <li>You can download the skills using the command: <em>npx skills add bitbonsai/mcpvault.</em> Having prior experience with <a href="https://skills.sh/">skills.sh</a> will help in managing where the files are installed. Alternatively use the provided Zip file.</li>
  <li>Download the Zip file then upload it as shown below.</li>
</ol>

<p><a href="/assets/files/2026/04/mcpvault-skills.zip">mcpvault-skills.zip</a> (11 KB)</p>

<p><img src="/assets/images/2026/04/image-4.png" alt="" /></p>

<p><em>How to upload a skills file.</em></p>

<p>Now tinker around with Claude prompts. Be sure to include trigger words in your prompt that exist in the front matter of the skills. Otherwise the skills will not trigger. I typically use “vault” or “note”.</p>

<p>Do you feel it? Your getting smarter already.</p>]]></content><author><name>Martin Stokoe</name></author><summary type="html"><![CDATA[]]></summary></entry><entry><title type="html">“Agent.md &amp;amp; Skill.md: Why current practice is costing us tokens, safety, and sanity”</title><link href="https://blog.stokoe.net/agent-md-skill-md-why-current-practice-is-costing-us-tokens-safety-and-sanity/" rel="alternate" type="text/html" title="“Agent.md &amp;amp; Skill.md: Why current practice is costing us tokens, safety, and sanity”" /><published>2026-02-20T23:20:32+00:00</published><updated>2026-02-20T23:20:32+00:00</updated><id>https://blog.stokoe.net/agent-md-skill-md-why-current-practice-is-costing-us-tokens-safety-and-sanity</id><content type="html" xml:base="https://blog.stokoe.net/agent-md-skill-md-why-current-practice-is-costing-us-tokens-safety-and-sanity/"><![CDATA[<h3 id="tldr">TL;DR</h3>

<ul>
  <li>Agent and skill frontmatter is inconsistent across agent runtimes. That ambiguity causes brittle discovery, fragile installs, wasted tokens, and supply‑chain risk.</li>
  <li>I show a small, reproducible experiment (OpenClaw blogwatcher + Docker cagent) that exposes these frictions.</li>
  <li>In a future post, I will provide a versioned schema, define specification compliance tiers, provide a schema validator, and migration tooling to fix this.</li>
</ul>

<h2 id="a-simple-skillsmd-and-agentmd-migration-experiment">A Simple SKILLS.md and Agent.md Migration Experiment</h2>

<p>I grabbed the <a href="https://github.com/openclaw/openclaw/blob/main/skills/blogwatcher/SKILL.md">blogwatcher</a> skill from OpenClaw, dropped it into ~/.agents/skills, and tried to use Docker’s <a href="https://github.com/docker/cagent">cagent</a> to run an agent that invoked the skill. The skill didn’t show up in cagent’s TUI. After removing almost all frontmatter from SKILL.md except the name and description, the skill appeared and worked.</p>

<p>That tiny manual edit should not have been the make-or-break step. It revealed three realities: frontmatter is overloaded with tool and agent-specific metadata; discovery semantics vary between agent runtimes; and small differences in metadata can cause usability problems. The result is brittle workflows, surprised users, and — importantly — unnecessary token consumption and security exposure</p>

<p>At first glance, this looks like a implementation gap you can fix with guidance text in a agent.md or skill.md file. It isn’t. The current practice has three aspects:</p>

<ul>
  <li>Cost (token spend): Poorly structured skill/agent interactions increase the number and verbosity of LLM calls. Repeated agent-to-LLM interactions, long instructions, and ambiguous tool-call semantics translate directly into tokens and dollars.</li>
  <li>Safety and supply chain: Automatic installs with no checksums, signatures, or well-defined lifecycle are a potential operational risk.</li>
  <li>Developer experience and reproducibility: Teams must know exactly how agent runtimes discover and index skills. When discovery rules differ, CI, local dev, and production diverge, making deployments brittle.</li>
</ul>

<p>The current coding doctrine that we all need to be writing Agent.md and SKILL.md files has me wondering how are we to manage, discover, package and distribute these files. As much I want to believe that writing software begins with writing Agents.md and SKILL.md files, I remain skeptical. And, have been crawling through Openclaw and pi-mono code to gain insight into how they consume agents and skill files. And studying the <a href="https://agentskills.io/home">Agents Skills</a> specification in search of an answer.</p>

<p>Going into the experiment my focus was on the frontmatter that pi-mono and Openclaw require in the SKILL.md file. The Openclaw frontmatter is shown below. It leverages the <em>metadata</em> property to define the installation dependencies for a skill. The handling of the metadata is Openclaw specific and not within the scope of the Agents Skill specification.</p>

<div class="language-yaml highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="nn">---</span>
<span class="na">name</span><span class="pi">:</span> <span class="s">blogwatcher</span>
<span class="na">description</span><span class="pi">:</span> <span class="s">Monitor blogs and RSS/Atom feeds for updates using the blogwatcher CLI.</span>
<span class="na">homepage</span><span class="pi">:</span> <span class="s">https://github.com/Hyaxia/blogwatcher</span>
<span class="na">metadata</span><span class="pi">:</span>
  <span class="pi">{</span>
    <span class="s2">"</span><span class="s">openclaw"</span><span class="pi">:</span>
      <span class="pi">{</span>
        <span class="s2">"</span><span class="s">emoji"</span><span class="pi">:</span> <span class="s2">"</span><span class="s">📰"</span><span class="pi">,</span>
        <span class="s2">"</span><span class="s">requires"</span><span class="pi">:</span> <span class="pi">{</span> <span class="s2">"</span><span class="s">bins"</span><span class="pi">:</span> <span class="pi">[</span><span class="s2">"</span><span class="s">blogwatcher"</span><span class="pi">]</span> <span class="pi">},</span>
        <span class="s2">"</span><span class="s">install"</span><span class="pi">:</span>
          <span class="pi">[</span>
            <span class="pi">{</span>
              <span class="s2">"</span><span class="s">id"</span><span class="pi">:</span> <span class="s2">"</span><span class="s">go"</span><span class="pi">,</span>
              <span class="s2">"</span><span class="s">kind"</span><span class="pi">:</span> <span class="s2">"</span><span class="s">go"</span><span class="pi">,</span>
              <span class="s2">"</span><span class="s">module"</span><span class="pi">:</span> <span class="s2">"</span><span class="s">github.com/Hyaxia/blogwatcher/cmd/blogwatcher@latest"</span><span class="pi">,</span>
              <span class="s2">"</span><span class="s">bins"</span><span class="pi">:</span> <span class="pi">[</span><span class="s2">"</span><span class="s">blogwatcher"</span><span class="pi">],</span>
              <span class="s2">"</span><span class="s">label"</span><span class="pi">:</span> <span class="s2">"</span><span class="s">Install</span><span class="nv"> </span><span class="s">blogwatcher</span><span class="nv"> </span><span class="s">(go)"</span><span class="pi">,</span>
            <span class="pi">},</span>
          <span class="pi">],</span>
      <span class="pi">},</span>
  <span class="pi">}</span>
<span class="nn">---</span>
</code></pre></div></div>

<p>As I have mentioned in other posts, I am drawn to Docker’s multiple AI initiatives to ease the management of agents and MCP servers. I wrote a simple cagent that invokes the blogwatcher skill:</p>

<div class="language-yaml highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="na">agents</span><span class="pi">:</span>
  <span class="na">root</span><span class="pi">:</span>
    <span class="na">model</span><span class="pi">:</span> <span class="s">mistral/mistral-small</span>
    <span class="na">instruction</span><span class="pi">:</span> <span class="pi">|</span>
      <span class="s">You monitor a select list of user-provided blogging sites (provided as URL's) for new postings. Refer to the blogwatcher skill</span>
      <span class="s">for additional capabilities.</span>
    <span class="na">skills</span><span class="pi">:</span> <span class="no">true</span>
    <span class="na">toolsets</span><span class="pi">:</span>
      <span class="pi">-</span> <span class="na">type</span><span class="pi">:</span> <span class="s">filesystem</span>
      <span class="pi">-</span> <span class="na">type</span><span class="pi">:</span> <span class="s">shell</span>
</code></pre></div></div>

<p>The blogwatcher skill was downloaded from openclaw repository as-is. I placed it in my <em>~/.agents/skills</em> directory and the project folder under <em>.agents/skills</em>. Then launched cagent:</p>

<div class="language-yaml highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="s">cagent run blogwatcher.yaml</span>
</code></pre></div></div>

<p>The cagent TUI listed all discovered skills in the Settings section (Ctrl-k). Use the down-arrow to scroll past the <em>Settings:</em></p>

<p><img src="/assets/images/2026/02/cagent-tui-settings.png" alt="" /></p>

<p><em>Ctrl-k View</em></p>

<p>Docker cagent only displayed blogwatcher after removing all the openclaw metadata and only listed the blogwatcher instance copied to ~/.agents/skill. It was blind to the copy stored in the project directory.</p>

<p><img src="/assets/images/2026/02/cagent-tui-skills-list.png" alt="" /></p>

<p>When I invoke <em>pi</em> and list the discovered skills the output is as follows:</p>

<p><img src="/assets/images/2026/02/pi-skills-list.png" alt="" /></p>

<p>It discovered the multiple copies.</p>

<p>When I first started experimenting with agents and skills, I imagined a simple, portable set of agent.md and skill.md artifacts—that you could drop into any runtime and expect to work. In practice, that portability does not seem to exist. As a result, what should be a straightforward authoring experience becomes a patchwork of runtime-specific tweaks and brittle assumptions.</p>

<p>I propose adopting a progressively-loading agent and skills file model: skill files should be discoverable and loadable on demand, and the specification should support optional, machine-readable dependency declarations that let agent runtimes fetch or enable required packages safely and predictably. The current specification’s advice to keep reference files small—complete with line-count recommendations—points in the right direction, but it feels prescriptive rather than extensible.</p>

<p>A more flexible approach would allow richer frontmatter: optional, feature-based metadata that can be incrementally adopted. Imagine frontmatter fields for capability declarations, dependency manifests, trigger hints, and provenance information. This lets simple authoring stay simple while offering a growth path for authors and agent runtimes where token efficiency and stable reproducibility are critical.</p>

<p>Around the time I drafted these thoughts, the Linux Foundation launched the <a href="https://agntcy.org/">AGNTCY</a> collaborative to tackle a subset of these issues. If different agent runtimes and vendors converge on a shared vocabulary for agent and skill descriptors, authors gain portability and users gain predictable behavior. AGNTCY appears aimed at enabling interconnection between larger, coordinated “super-agents” — systems that require federation — rather than merely standardizing locally hosted agents and isolated skill plug-ins.</p>

<p>My hope is that the existing agent/skill specification evolves along three lines. First, standardize a core, minimal set of fields that ensure basic portability—name, version, simple capability tags, and a interface that every agent runtime can implement. Second, define an optional extension mechanism (the richer frontmatter) for dependency manifests, capability declarations, and runtime hints so that adopters can scale agent and skill discovery without breaking agent runtimes. Third, bake in guidance for security and provenance—signing, capability scoping, and trusted sources—so that auto-installation and runtime actions do not become security issues.</p>

<p>These changes would shift the specification from a static set of editorial recommendations to a living, layered design: a small, universally-implemented core for immediate portability, plus optional extensions for progressive loading, dependency management, and cross-agent runtime support.</p>

<p>The vision is to enable agent creators to iterate unburdened : authors can keep writing simple, portable agent.md and skill.md files today, and gradually adopt richer frontmatter when they want progressive loading, seamless dependency handling and a consistent multi-vendor agent runtime experience.</p>

<p>I will propose a set of agent and skills schema and extensions to address these points in a forthcoming blog.</p>]]></content><author><name>Martin Stokoe</name></author><summary type="html"><![CDATA[TL;DR]]></summary></entry><entry><title type="html">A2A to the Rescue</title><link href="https://blog.stokoe.net/a2a-to-the-rescue/" rel="alternate" type="text/html" title="A2A to the Rescue" /><published>2026-02-09T21:41:44+00:00</published><updated>2026-02-09T21:41:44+00:00</updated><id>https://blog.stokoe.net/a2a-to-the-rescue</id><content type="html" xml:base="https://blog.stokoe.net/a2a-to-the-rescue/"><![CDATA[<blockquote>
  <p>💡 This was originally published on my LinkedIN account. And has been recently updated.</p>
</blockquote>

<p>Be sure to read this great article, posted in the <a href="https://www.technologyreview.com/2025/11/05/1127477/from-vibe-coding-to-context-engineering-2025-in-software-development/">MIT Technology Review</a> summarizing the arc of innovation from GenAI chat bots, vibe coding to context engineering. After my own experimentation with spec-driven development and <a href="http://agents.md/">agents.md</a><a href="https://agents.md/">,</a> I was quickly pining for a better context management approach; Context management where I could deterministically tune, package, share and secure context.</p>

<p>The article presents the case for building a team of agents with <a href="https://github.com/a2aproject/A2A?tab=readme-ov-file#agent2agent-a2a-protocol-1">Agent2Agent (A2A)</a> protocol. From a software engineering perspective, while it adds a layer of complexity, it’s an interesting concept to explore. If you seek a quick deep-dive into A2A checkout Hugging Face’s <a href="https://huggingface.co/blog/1bo/a2a-protocol-explained">blog</a>. Then hop over to <a href="http://a2aprotcol.ai/">a2aprotcol.ai</a> for a complete technical drenching on the subject.</p>

<p>Update 12/15</p>

<p>After a month of catching up on AgenticAI news, the commerce implications of implementing A2A remains very interesting to me. The Economist, Dec 10th, 2025 contains an article titled <a href="https://www.economist.com/interactive/science-and-technology/2025/12/10/the-next-version-of-the-web-will-be-built-for-machines-not-humans">“The next version of the web will be built for machines, not humans”</a>. It discusses how Amazon sued Perplexity to prevent their Comet browser from initiating purchases. And how ChatGPT’s <a href="https://openai.com/index/buy-it-in-chatgpt/">Instant Checkout</a> feature uses a pre-arranged agreement with merchants. The vision is for A2A to spawn an Internet where agents talk with agents directly, replacing today’s consumer-to-website pattern of usage.</p>

<p>How likely is this vision for the Internet to be realized? Let’s consider how <a href="https://en.wikipedia.org/wiki/Machine_to_machine">M2M</a> communication infrastructure for the Internet-of-Things(IoT) evolved. The IoT revolution expanded the adoption of IPv6, introduced new UDP-based protocols (e.g. COAP, MQTT-SN, and QUIC), and gave us Websockets. The IoT technical areas that struggled with adoption were security, certificate management, and service discovery.</p>

<p>I thought universal service discovery would be widely adopted through the use of DNS Service Discovery (DNS-SD) and its various extensions. This <a href="http://dn.org/">DN.org</a> <a href="https://dn.org/dns-based-service-discovery-beyond-srv-records/">blog</a> discusses the current state of DNS-based service discovery. I eventually came to the conclusion that businesses wanted security but were reluctant to invest in the provisioning, administration, and additional software infrastructure required. Having a IoT security plan was sufficient for most. Given the data shared between agents is likely to be of higher value than IoT data, will it be enough to compel companies to adopt standards-based service discovery and security?</p>

<p>What is unclear to me is the need and importance of sharing agent context (i.e. knowledge) between agents. Is there a need to share access to a <a href="https://www.microsoft.com/en-us/research/project/graphrag/">GraphRAG</a> database like <a href="https://www.getzep.com/">Zep</a> or subsections of the database for passing along the A2A chain of agents?</p>

<p>How complex can these agents become? Building a scalable agent requires at a minimum implementing a <a href="https://www.aurelio.ai/semantic-router">semantic router</a> and incorporating MCP tools. Regression testing the agent and maintaining observability will become a priority as the agent scales. This all adds complexity.</p>

<blockquote>
  <p>My complexity question is addressed in the book <a href="https://www.amazon.com/Agentic-Design-Patterns-Hands-Intelligent-ebook/dp/B0FJY82TXC">Agentic Design Patterns</a> by Antonio Gulli, Director of the Engineering Office of the CTO, for Google. A recent VentureBeat <a href="https://venturebeat.com/infrastructure/agentic-design-patterns-the-missing-link-between-ai-demos-and-enterprise">article</a> quotes Antonio: “the solution to the ‘trough of disillusionment’ is not a smarter model, but better architecture” …I bought the book!</p>
</blockquote>

<p>I want to experiment with A2A to help color in these technical unknowns. At least for now, maybe we should think of A2A agents as being a new type of Reverse Proxy. The technical challenges associated with maintaining and configuring Reverse Proxies is a proxy for estimating the engineering effort required for deploying A2A agents.</p>

<p>Update 2/9/2026</p>

<p>What I’ve learned since this article was first posted is that AI tool providers prioritize easy enablement. With a background in networking, I naturally prioritize revision management, scalability, repeatability, and security over easy installation— but that isn’t ACP’s focus. ACP is designed to enable an agent to easily interact with multiple subprocesses.</p>

<p>MCP servers have rolled out under the same easy enablement premise. The default transport mode for most MCP servers is typically: <a href="https://modelcontextprotocol.io/specification/2025-03-26/basic/transports#stdio">stdio</a>. This convenient communication transport enables multiple MCP server to be easily launched as sub-processes by an agent.</p>

<p>The A2A protocol, in comparison, is network focused. It supports JSON-RPC over HTTPS out-the-box and optionally gRPC. This is why I am excited about Docker’s <a href="https://docs.docker.com/ai/cagent/">cagent</a> which is currently tagged as experimental. A cagent supports integration with ACP, A2A and MCP out-the box.</p>

<p>My design preference is to explore Docker’s cagent and <a href="https://docs.docker.com/ai/mcp-catalog-and-toolkit/mcp-gateway/">MCP Gateway</a>. It may offer the scalability, manageability and distribution tools I seek. The examples posted by Docker for cagent imply there is builtin <a href="https://docs.docker.com/ai/cagent/rag/">RAG support with multiple retrieval strategies</a>.</p>]]></content><author><name>Martin Stokoe</name></author><summary type="html"><![CDATA[💡 This was originally published on my LinkedIN account. And has been recently updated.]]></summary></entry><entry><title type="html">Designing My AI Stack</title><link href="https://blog.stokoe.net/designing-my-ai-stack/" rel="alternate" type="text/html" title="Designing My AI Stack" /><published>2026-02-09T20:39:07+00:00</published><updated>2026-02-09T20:39:07+00:00</updated><id>https://blog.stokoe.net/designing-my-ai-stack</id><content type="html" xml:base="https://blog.stokoe.net/designing-my-ai-stack/"><![CDATA[<blockquote>
  <p>💡 This was originally posted on my LinkedIN account.</p>
</blockquote>

<p>I find it nearly impossible to give up working with physical, on-premise computers and devices. It’s the same reason I prefer working in a lab environment—there’s something uniquely rewarding about bringing up new hardware or wrestling with a jumble of software. No matter how many one-click, well-documented cloud features become available, I can’t shake my attachment to real hardware. For me, it comes down to trust and a sense of autonomy.</p>

<p>When I first looked at available options for running local LLMs, I wasn’t convinced of their usefulness for Agentic AI. But as they say about New England weather, here in USA, ‘if you don’t like it, wait a minute.’ The AI market changes just as rapidly. I didn’t wait a minute—I waited a week. Then the <a href="https://www.zdnet.com/article/is-deepseeks-new-model-the-latest-blow-to-proprietary-ai/"><strong>DeepSeek 3.2</strong></a> and <a href="https://mistral.ai/news/mistral-3"><strong>Mistral3</strong></a> press releases dropped on Dec 2nd, nudging me closer to exploring local LLM development. What sealed my decision was Nvidia’s <a href="https://nvidianews.nvidia.com/news/nvidia-debuts-nemotron-3-family-of-open-models">Nemotron 3</a> family of models announcement on Dec 15th. Be sure to checkout the YouTube video associated with the blog titled <a href="https://blogs.nvidia.com/blog/rtx-ai-garage-fine-tuning-unsloth-dgx-spark/">“How to fine-tune LLM on Nvidia GPU’s with Unsloth”</a>.</p>

<p>Designing a AI solution that includes a locally-deployed LLM is emerging as a realistic option. Having a sovereign Agentic AI stack may appeal to customers concerned about intellectual property exposure.</p>

<p>What’s your experience with local LLMs for production use?</p>

<p>#LocalLLMs #AgenticAI #SovereignAI</p>]]></content><author><name>Martin Stokoe</name></author><summary type="html"><![CDATA[💡 This was originally posted on my LinkedIN account.]]></summary></entry><entry><title type="html">Seeking AI</title><link href="https://blog.stokoe.net/seeking-ai/" rel="alternate" type="text/html" title="Seeking AI" /><published>2026-02-09T18:58:42+00:00</published><updated>2026-02-09T18:58:42+00:00</updated><id>https://blog.stokoe.net/seeking-ai</id><content type="html" xml:base="https://blog.stokoe.net/seeking-ai/"><![CDATA[<p>You’ve heard the phrase “AI is eating software”, it’s true! It’s eating how software is developed but it does not remove the need to understand what it’s building. Software Engineers are going to become forensic experts at untangling the malformed artifacts generated by AI.</p>

<p>Here are few examples:</p>

<p>I asked Cline to create an Obsidian template where I can enter daily notes that include tasks and observations. It correctly identified the plugins to install: Daily Notes, Tasks and Dataview. Having never worked with the query capabilities provided by Tasks and Dataview plugins, I was initially mystified by why the task summary views were not working.</p>

<p>The agent instructed me to create these Obsidian notes which contain task and observation summary queries. The queries pull the tasks and observation entries from my Daily Notes files.</p>

<p><img src="/assets/images/2026/02/image.png" alt="" /></p>

<p>Here is what the Project Dashboard - AI Explore note displays:</p>

<p><img src="/assets/images/2026/02/image-1.png" alt="" /></p>

<p>What the agent overlooked is a restriction associated with the Tasks plugin. The task plugin supports two type of queries but not concurrently. You have to configure the query type for either Task’s built-in queries or Dataview formatted queries.</p>

<p><img src="/assets/images/2026/02/image-2.png" alt="" /></p>

<p>I am doing the Human-in-the-Loop (HIL) thing now, to correct the queries.</p>

<p>Where the agent went off-the-rails was converting non-Dockerized MCP server implementations. Being a big fan of <a href="https://textual.textualize.io/">Textua</a>l and interested in creating a MCP server to assist with developing Textual TUI’s, the <a href="https://github.com/kevpgoff/textual-mcp">kevpoff/textual</a>-mcp GitHub repository caught my eye. This was first my endeavor into debugging MCP servers and choosing a simpler MCP would have been smarter. The first iteration of a docker file generated a 16GB file! I eventually got it down to 2GB. I’ll share more about that adventure in a later blog. Not only was this my first MCP server to debug, it was RAG-based with a full blown ML runtime which was the shiny feature that caught my attention.</p>

<p>What greatly improved Dockerfile and docker compose file generation were three things:</p>

<ol>
  <li>Taking advantage of Cline’s per project <a href="https://docs.cline.bot/prompting/cline-memory-bank#cline-memory-bank">memory bank</a> made a difference. You simply define a folder at the root of the project folder and name it “memory-bank”. Then from within Cline type: initialize memory bank. Then occasionally run “update memory bank”.</li>
  <li>Adding skills about working with docker. This allowed me to tamper down base image selections the agent made. And enforce, by way of editing the skill, that it generate secure (i.e. non-root user’s) and multi-staged builds. Please see the section SKILLS below. I like skills because of the ability to add reference documents as outlined <a href="https://platform.claude.com/docs/en/agents-and-tools/agent-skills/overview">here</a>.</li>
  <li>Using Cline’s Planning mode. Iterating the plan before executing any changes provided the opportunity to review and verify.</li>
</ol>

<h3 id="managing-skills-files">Managing Skills Files.</h3>

<p>Searching the web for pre-built skills, pasting them into a project’s <em>.cline/skills</em> directory was simple. When juggling back-and-forth between projects and creating new projects, skills file management became an issue. Useful skills, more often that not, involved more that writing a SKILLS.md file.</p>

<p>Anthropic’s new <a href="https://claude.com/plugins#plugins">Plugins</a> service is a agent skills publishing and distribution tool. I wanted a solution that was open. That led me to <a href="https://skills.sh/">skills.sh</a>. Installing the skills tool requires downloading the <a href="https://github.com/vercel-labs/skills">vercel-labs/skills</a> repository. To tweak the installation to find skills by simply typing “skills find docker” I had to do the following:</p>

<div class="language-bash highlighter-rouge"><div class="highlight"><pre class="highlight"><code>pnpm <span class="nb">install
</span>pnpm setup
pnpm run build
pnpm <span class="nb">link</span> <span class="nt">--global</span>
</code></pre></div></div>

<p>Afterwards, from any project I could find and add skills. Below is the help information for <em>skills</em>:</p>

<div class="language-bash highlighter-rouge"><div class="highlight"><pre class="highlight"><code>martin@HPSpectre:~/projects/skills<span class="nv">$ </span>skills <span class="nt">--help</span>

Usage: skills &lt;<span class="nb">command</span><span class="o">&gt;</span> <span class="o">[</span>options]

Commands:
  add &lt;package&gt;     Add a skill package
                    e.g. vercel-labs/agent-skills
                         https://github.com/vercel-labs/agent-skills
  remove <span class="o">[</span>skills]   Remove installed skills
  list, <span class="nb">ls          </span>List installed skills
  find <span class="o">[</span>query]      Search <span class="k">for </span>skills interactively
  init <span class="o">[</span>name]       Initialize a skill <span class="o">(</span>creates &lt;name&gt;/SKILL.md or ./SKILL.md<span class="o">)</span>
  check             Check <span class="k">for </span>available skill updates
  update            Update all skills to latest versions

Add Options:
  <span class="nt">-g</span>, <span class="nt">--global</span>           Install skill globally <span class="o">(</span>user-level<span class="o">)</span> instead of project-level
  <span class="nt">-a</span>, <span class="nt">--agent</span> &lt;agents&gt;   Specify agents to <span class="nb">install </span>to <span class="o">(</span>use <span class="s1">'*'</span> <span class="k">for </span>all agents<span class="o">)</span>
  <span class="nt">-s</span>, <span class="nt">--skill</span> &lt;skills&gt;   Specify skill names to <span class="nb">install</span> <span class="o">(</span>use <span class="s1">'*'</span> <span class="k">for </span>all skills<span class="o">)</span>
  <span class="nt">-l</span>, <span class="nt">--list</span>             List available skills <span class="k">in </span>the repository without installing
  <span class="nt">-y</span>, <span class="nt">--yes</span>              Skip confirmation prompts
  <span class="nt">--all</span>                  Shorthand <span class="k">for</span> <span class="nt">--skill</span> <span class="s1">'*'</span> <span class="nt">--agent</span> <span class="s1">'*'</span> <span class="nt">-y</span>
  <span class="nt">--full-depth</span>           Search all subdirectories even when a root SKILL.md exists

Remove Options:
  <span class="nt">-g</span>, <span class="nt">--global</span>           Remove from global scope
  <span class="nt">-a</span>, <span class="nt">--agent</span> &lt;agents&gt;   Remove from specific agents <span class="o">(</span>use <span class="s1">'*'</span> <span class="k">for </span>all agents<span class="o">)</span>
  <span class="nt">-s</span>, <span class="nt">--skill</span> &lt;skills&gt;   Specify skills to remove <span class="o">(</span>use <span class="s1">'*'</span> <span class="k">for </span>all skills<span class="o">)</span>
  <span class="nt">-y</span>, <span class="nt">--yes</span>              Skip confirmation prompts
  <span class="nt">--all</span>                  Shorthand <span class="k">for</span> <span class="nt">--skill</span> <span class="s1">'*'</span> <span class="nt">--agent</span> <span class="s1">'*'</span> <span class="nt">-y</span>

List Options:
  <span class="nt">-g</span>, <span class="nt">--global</span>           List global skills <span class="o">(</span>default: project<span class="o">)</span>
  <span class="nt">-a</span>, <span class="nt">--agent</span> &lt;agents&gt;   Filter by specific agents

Options:
  <span class="nt">--help</span>, <span class="nt">-h</span>        Show this <span class="nb">help </span>message
  <span class="nt">--version</span>, <span class="nt">-v</span>     Show version number

Examples:
  <span class="nv">$ </span>skills add vercel-labs/agent-skills
  <span class="nv">$ </span>skills add vercel-labs/agent-skills <span class="nt">-g</span>
  <span class="nv">$ </span>skills add vercel-labs/agent-skills <span class="nt">--agent</span> claude-code cursor
  <span class="nv">$ </span>skills add vercel-labs/agent-skills <span class="nt">--skill</span> pr-review commit
  <span class="nv">$ </span>skills remove                   <span class="c"># interactive remove</span>
  <span class="nv">$ </span>skills remove web-design        <span class="c"># remove by name</span>
  <span class="nv">$ </span>skills <span class="nb">rm</span> <span class="nt">--global</span> frontend-design
  <span class="nv">$ </span>skills list                     <span class="c"># list all installed skills</span>
  <span class="nv">$ </span>skills <span class="nb">ls</span> <span class="nt">-g</span>                    <span class="c"># list global skills only</span>
  <span class="nv">$ </span>skills <span class="nb">ls</span> <span class="nt">-a</span> claude-code        <span class="c"># filter by agent</span>
  <span class="nv">$ </span>skills find                     <span class="c"># interactive search</span>
  <span class="nv">$ </span>skills find typescript          <span class="c"># search by keyword</span>
  <span class="nv">$ </span>skills init my-skill
  <span class="nv">$ </span>skills check
  <span class="nv">$ </span>skills update

Discover more skills at https://skills.sh/
</code></pre></div></div>

<p>To find docker skills from with any project, I simply type “skills find docker”. An example is shown below:</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>martin@HPSpectre:~/projects/skills$ skills find docker

███████╗██╗  ██╗██╗██╗     ██╗     ███████╗
██╔════╝██║ ██╔╝██║██║     ██║     ██╔════╝
███████╗█████╔╝ ██║██║     ██║     ███████╗
╚════██║██╔═██╗ ██║██║     ██║     ╚════██║
███████║██║  ██╗██║███████╗███████╗███████║
╚══════╝╚═╝  ╚═╝╚═╝╚══════╝╚══════╝╚══════╝

Install with npx skills add &lt;owner/repo@skill&gt;

sickn33/antigravity-awesome-skills@docker-expert
└ https://skills.sh/sickn33/antigravity-awesome-skills/docker-expert

davila7/claude-code-templates@docker-expert
└ https://skills.sh/davila7/claude-code-templates/docker-expert

bobmatnyc/claude-mpm-skills@docker
└ https://skills.sh/bobmatnyc/claude-mpm-skills/docker

josiahsiegel/claude-plugin-marketplace@docker-best-practices
└ https://skills.sh/josiahsiegel/claude-plugin-marketplace/docker-best-practices

aj-geddes/useful-ai-prompts@docker-containerization
└ https://skills.sh/aj-geddes/useful-ai-prompts/docker-containerization

eddiebe147/claude-settings@docker-composer
└ https://skills.sh/eddiebe147/claude-settings/docker-composer
</code></pre></div></div>

<p>I am going to manage my skills files as much as possible with Vercel Labs <em>skills</em>. I have not looked into how to curate skills from other websites.</p>

<blockquote>
  <p>💡 An alternative way to install skills from skills.sh is to simply paste the install command, for the selected skill, as presented on the <a href="https://skills.sh/">skills.sh</a> web page. The tool guides you through the installation options. Choose the default location which ~/.agents/skills.</p>
</blockquote>

<h3 id="cline-skills">Cline Skills</h3>

<p>Cline does detect skills if they’re installed in <em>~/.agents/skills</em>. Running <em>cline config</em> confirms this behavior:</p>

<p><img src="/assets/images/2026/02/cline-config-skills.png" alt="" /></p>

<p>Once the <em>find-skills</em> skill is installed, referencing its use in a <em>cline</em> prompt will produce list of candidate skills to install and explore.</p>

<h3 id="cline-forever">Cline Forever</h3>

<p>We are awash in coding agents and sidecar type IDE add-ons for developing with AI. The branding efforts by Anthropic and OpenAI to embrace their ecosystem of coding agents are running full tilt. <a href="https://www.gartner.com/en/newsroom/press-releases/2025-09-17-gartner-says-worldwide-ai-spending-will-total-1-point-5-trillion-in-2025">Gartner</a> estimates the investment in infrastructure spending for Generative AI in 2025 to be ~$644B. And, for that amount of money, that’s leaves enough left over for a big dessert. The main course for this AI investment feast is improving foundation models. The dessert being the coding agents.</p>

<p>As with many new AI tools, the agent provisioning has its own section in the documentation. Please take a look at <a href="https://docs.docker.com/ai/mcp-catalog-and-toolkit/get-started/#claude-code">Docker’s MCP Toolkit and Gateway</a> documentation as an example. It has instructions for configuring thirteen different agents.</p>

<p>You may have noticed that Cline is not included in the list of agents. To solve that you add the following to the <em>cline_mcp_settings.json</em> file. The file is located automatically for you when clicking the Configure MCP Servers button:</p>

<p><img src="/assets/images/2026/02/image-3.png" alt="" /></p>

<p>Then paste the following to overwrite the existing configuration, if any, with simply the Docker MCP Gateway server. I’ll talk about about the Docker MCP Gateway server in a separate blog.</p>

<div class="language-json highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="p">{</span><span class="w">
  </span><span class="nl">"mcpServers"</span><span class="p">:</span><span class="w"> </span><span class="p">{</span><span class="w">
    </span><span class="nl">"MCP_DOCKER"</span><span class="p">:</span><span class="w"> </span><span class="p">{</span><span class="w">
      </span><span class="nl">"disabled"</span><span class="p">:</span><span class="w"> </span><span class="kc">false</span><span class="p">,</span><span class="w">
      </span><span class="nl">"timeout"</span><span class="p">:</span><span class="w"> </span><span class="mi">60</span><span class="p">,</span><span class="w">
      </span><span class="nl">"type"</span><span class="p">:</span><span class="w"> </span><span class="s2">"stdio"</span><span class="p">,</span><span class="w">
      </span><span class="nl">"command"</span><span class="p">:</span><span class="w"> </span><span class="s2">"docker"</span><span class="p">,</span><span class="w">
      </span><span class="nl">"args"</span><span class="p">:</span><span class="w"> </span><span class="p">[</span><span class="w">
        </span><span class="s2">"mcp"</span><span class="p">,</span><span class="w">
        </span><span class="s2">"gateway"</span><span class="p">,</span><span class="w">
        </span><span class="s2">"run"</span><span class="w">
      </span><span class="p">]</span><span class="w">
    </span><span class="p">}</span><span class="w">
  </span><span class="p">}</span><span class="w">
</span><span class="p">}</span><span class="w">
</span></code></pre></div></div>

<p>I am drifting from away from my point. The news website, The Information, <a href="https://www.theinformation.com/articles/openai-hires-least-seven-staffers-coding-startup-cline">reported</a> in late January that several Cline staffers joined OpenAI. And on-going branding efforts by OpenAI and Anthropic are drawing a lot of eyeballs. Where does Cline stand amongst all this agent coding noise. Should I switch is the question?</p>

<p>My answer is I think not. The ability to run agent processes in the background and recent release of Cline CLI excites me. The integration between Cline and Cline CLI via sub-agents is especially interesting. I am already hooked on Cline CLI. Check out this <a href="https://www.youtube.com/watch?v=-oPSz_e3Frc">video</a> for an overview of the improvements.</p>

<p>I hope Cline can secure the necessary resources to survive the current environment of rapid feature development cycles by coding agent providers.</p>]]></content><author><name>Martin Stokoe</name></author><summary type="html"><![CDATA[You’ve heard the phrase “AI is eating software”, it’s true! It’s eating how software is developed but it does not remove the need to understand what it’s building. Software Engineers are going to become forensic experts at untangling the malformed artifacts generated by AI.]]></summary></entry><entry><title type="html">Docker MCP Gateway (coming soon)</title><link href="https://blog.stokoe.net/coming-soon/" rel="alternate" type="text/html" title="Docker MCP Gateway (coming soon)" /><published>2026-02-05T15:44:36+00:00</published><updated>2026-02-05T15:44:36+00:00</updated><id>https://blog.stokoe.net/coming-soon</id><content type="html" xml:base="https://blog.stokoe.net/coming-soon/"><![CDATA[<p>Coming soon…</p>

<p>Docker’s MCP Gateway is a highly configurable container-based solution for conveniently managing your local and remote MCP servers. After experimenting with its catalog and profiles features, I am holding off publishing an article. There are a few limitations associated with catalog and profile management preventing me from creating a demonstrable solution.</p>

<p>My interest in MCP Gateway is the ability to create custom catalogs for your locally built MCP’s doing such tasks as code analysis and RAG-based queries. Then configuring those MCP servers along with select remote MCP servers.</p>

<p>Until then, please check out <a href="https://www.docker.com/solutions/docker-ai/">Dockers AI</a> product announcements.</p>]]></content><author><name>Martin Stokoe</name></author><category term="news" /><summary type="html"><![CDATA[Coming soon…]]></summary></entry></feed>