<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[AGXmart Blog]]></title><description><![CDATA[AGXmart Blog]]></description><link>https://agxmart.hashnode.dev</link><generator>RSS for Node</generator><lastBuildDate>Sat, 05 Dec 2026 19:57:53 GMT</lastBuildDate><atom:link href="https://agxmart.hashnode.dev/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[MCP vs API: What Is Different and When You Need Each]]></title><description><![CDATA[MCP vs API explained with real calls: an API serves code you write, MCP lets an AI app find and use tools. Updated for the July 2026 MCP spec.]]></description><link>https://agxmart.hashnode.dev/mcp-vs-api-what-is-different-and-when-you-need-each</link><guid isPermaLink="true">https://agxmart.hashnode.dev/mcp-vs-api-what-is-different-and-when-you-need-each</guid><category><![CDATA[mcp]]></category><category><![CDATA[ai agents]]></category><category><![CDATA[llm]]></category><category><![CDATA[api]]></category><dc:creator><![CDATA[AGXmart]]></dc:creator><pubDate>Thu, 03 Dec 2026 17:16:34 GMT</pubDate><content:encoded><![CDATA[<p><em>Written with AI assistance and checked by the author.</em></p>
<p>An API is an interface your code calls using endpoints you looked up in advance, while MCP (Model Context Protocol) is a standard way for an AI application to ask a server what tools it has and then use them. They are not rivals. Most of the time an MCP server sits in front of an API and calls it for the model.</p>
<p>The short rule: if your code decides what to call, use the API. If the model decides what to call, use MCP.</p>
<p>All facts here were checked on 6 November 2026 against the <a href="https://modelcontextprotocol.io/specification/2026-07-28/changelog">MCP specification, revision 2026-07-28</a>. That revision matters, because it changed things many MCP vs API guides still repeat. Sections added on 12 November 2026 were checked that day.</p>
<h2>MCP vs API difference, in one table</h2>
<table>
<thead>
<tr>
<th></th>
<th>REST API</th>
<th>MCP</th>
</tr>
</thead>
<tbody><tr>
<td><strong>Who is the caller?</strong></td>
<td>Code a developer wrote</td>
<td>An AI application, on behalf of a model</td>
</tr>
<tr>
<td><strong>Who chooses the action?</strong></td>
<td>The developer, ahead of time</td>
<td>The model, at run time. The spec calls tools <a href="https://modelcontextprotocol.io/specification/2026-07-28/server/tools">model-controlled</a></td>
</tr>
<tr>
<td><strong>How you learn what exists</strong></td>
<td>Read the docs, then write the code</td>
<td>Send <code>tools/list</code> and read the answer</td>
</tr>
<tr>
<td><strong>Message format</strong></td>
<td>HTTP methods, URLs and any body format</td>
<td><a href="https://modelcontextprotocol.io/docs/learn/architecture">JSON-RPC 2.0</a></td>
</tr>
<tr>
<td><strong>Where it runs</strong></td>
<td>Over HTTP</td>
<td>Over <a href="https://modelcontextprotocol.io/specification/2026-07-28/basic/transports">stdio or Streamable HTTP</a>, so a server can be a local program</td>
</tr>
<tr>
<td><strong>Describing inputs</strong></td>
<td>Optional, for example with OpenAPI</td>
<td>Required: every tool has an <code>inputSchema</code></td>
</tr>
<tr>
<td><strong>Credentials</strong></td>
<td>Set by each API</td>
<td>Remote servers follow the <a href="https://modelcontextprotocol.io/specification/2026-07-28/basic/authorization">MCP authorization spec</a>. Local stdio servers read them from the environment</td>
</tr>
<tr>
<td><strong>Sessions</strong></td>
<td>None in REST</td>
<td>None since 2026-07-28 (see below)</td>
</tr>
</tbody></table>
<h2>What problem does MCP solve that an API does not?</h2>
<p>An API solves "how does my code talk to this service". It does not solve "how does any AI app talk to any service". Without a shared protocol, every AI application needs its own connector for every data source, so M apps and N services mean up to M x N integrations. <a href="https://www.apideck.com/blog/mcp-vs-api">Apideck's comparison</a> calls this the M x N problem. MCP turns it into M + N: each service ships one MCP server, each app implements one MCP client, and any client can use any server. The APIs underneath stay as they are.</p>
<h2>The same job, through an API and through MCP</h2>
<p>Here is one task both ways: read <code>README.md</code> from a public GitHub repository.</p>
<h3>Through the API</h3>
<p>You look up the <a href="https://docs.github.com/en/rest/repos/contents">contents endpoint</a> in GitHub's docs, then write the call. We ran this one on 2026-11-06:</p>
<pre><code class="language-bash">curl -H "Accept: application/vnd.github+json" \
  https://api.github.com/repos/modelcontextprotocol/servers/contents/README.md
</code></pre>
<p>The response is JSON. We cut it down to these fields:</p>
<pre><code class="language-json">{ "name": "README.md", "path": "README.md", "type": "file", "encoding": "base64", "size": 10562 }
</code></pre>
<p>Your code then decodes the base64 content. You chose the endpoint, the parameters and what happens next. Without a token, GitHub allows <a href="https://docs.github.com/en/rest/using-the-rest-api/rate-limits-for-the-rest-api">60 requests per hour</a>.</p>
<h3>Through an MCP server</h3>
<p><a href="https://github.com/github/github-mcp-server">GitHub's MCP server</a> offers the same job as a tool named <code>get_file_contents</code>. You add the server to your AI app once. This config is quoted from its README and was not run for this post:</p>
<pre><code class="language-json">{
  "servers": {
    "github": {
      "type": "http",
      "url": "https://api.githubcopilot.com/mcp/"
    }
  }
}
</code></pre>
<p>Then you just ask: "What does the README in modelcontextprotocol/servers say?" The app finds the tool and the model picks the arguments. The tool's message would look like this, built from the tool's documented parameters and the <a href="https://modelcontextprotocol.io/specification/2026-07-28/server/tools"><code>tools/call</code> format in the spec</a>. We did not run it for this post:</p>
<pre><code class="language-json">{
  "jsonrpc": "2.0",
  "id": 2,
  "method": "tools/call",
  "params": {
    "name": "get_file_contents",
    "arguments": { "owner": "modelcontextprotocol", "repo": "servers", "path": "README.md" }
  }
}
</code></pre>
<p>The spec's examples leave out one thing you would see on the wire: every real request must also carry <code>_meta</code> fields, such as the protocol version.</p>
<p>Nobody wrote code for this exact question. That is the whole trade: you give up some control, and in return the model can handle requests you never planned for.</p>
<h3>How the model knows the tool exists</h3>
<p>This is the piece an API does not have. The client sends <code>tools/list</code>, and the server replies with names, descriptions and input schemas. This response is shortened from the <a href="https://modelcontextprotocol.io/specification/2026-07-28/server/tools">spec's own example</a>:</p>
<pre><code class="language-json">{
  "name": "get_weather",
  "title": "Weather Information Provider",
  "description": "Get current weather information for a location",
  "inputSchema": {
    "type": "object",
    "properties": {
      "location": { "type": "string", "description": "City name or zip code" }
    },
    "required": ["location"]
  }
}
</code></pre>
<p>The model reads that description to decide when to use the tool, so the description is part of how the tool behaves. That is also why <a href="https://agxmart.com/blog/mcp-tool-poisoning">tool descriptions can be attacked</a>.</p>
<h2>MCP vs REST API: what changed in July 2026</h2>
<p>A common line in MCP vs REST API comparisons is that REST is stateless and MCP keeps a session. That was a fair summary. It stopped being accurate with revision 2026-07-28, according to its <a href="https://modelcontextprotocol.io/specification/2026-07-28/changelog">list of key changes</a>:</p>
<ul>
<li><strong>No more handshake.</strong> The <code>initialize</code> and <code>notifications/initialized</code> steps are gone.</li>
<li><strong>No more protocol sessions.</strong> The <code>Mcp-Session-Id</code> header was removed from Streamable HTTP.</li>
<li><strong>Each request stands alone.</strong> It carries its protocol version and client capabilities in <code>_meta</code>. The spec now says MCP <a href="https://modelcontextprotocol.io/specification/2026-07-28/basic">is a stateless protocol</a>.</li>
<li><strong>Discovery has its own call.</strong> Servers must implement <a href="https://modelcontextprotocol.io/specification/2026-07-28/server/discover"><code>server/discover</code></a> to advertise versions and capabilities.</li>
<li><strong>Tool lists can be cached.</strong> The spec's <code>tools/list</code> example returns <code>ttlMs</code> and <code>cacheScope</code>.</li>
<li><strong>State is now explicit.</strong> Servers that need it across calls pass handles as ordinary tool arguments.</li>
</ul>
<p>What this means for you:</p>
<ol>
<li>If a guide says MCP "maintains a session", check which revision it describes.</li>
<li>Stateless requests should make remote MCP servers easier to run behind ordinary load balancers. That last point is our reading, not a line from the spec.</li>
<li>Older clients and servers still exist, so check which revisions your tools support before relying on any of this. The spec plans for the mix: a client that supports both eras may try a modern request first and, if the server does not recognise it, fall back to <code>initialize</code> and continue with the older revision (<a href="https://modelcontextprotocol.io/specification/2026-07-28/basic/transports/streamable-http">Streamable HTTP backward compatibility</a>).</li>
</ol>
<h2>MCP vs tools: are they the same thing?</h2>
<p>No. A tool is one action a model can take, such as <code>get_file_contents</code>. MCP is the protocol that lets an app find and call tools from any server. Other features in the protocol include <a href="https://modelcontextprotocol.io/docs/learn/architecture">resources and prompts</a>, so a server can offer more than tools.</p>
<p>You can also give a model tools without MCP, by defining functions directly in your code through your model provider's API. That works well for one app. MCP helps when the same tools should work across many apps, because you write the server once and each compatible client can connect to it. MCP connects a model to tools; for one agent calling another agent, see the <a href="https://agxmart.com/a2a">A2A protocol</a>.</p>
<h2>Do you need an MCP server if you already have an API?</h2>
<p>Use this to decide:</p>
<table>
<thead>
<tr>
<th>Your situation</th>
<th>What to use</th>
</tr>
</thead>
<tbody><tr>
<td>Your own code makes fixed, repeatable calls, such as a dashboard or a nightly job</td>
<td>API only</td>
</tr>
<tr>
<td>A person asks for outcomes in plain language, and the steps vary</td>
<td>MCP server</td>
</tr>
<tr>
<td>You want customers' AI apps to use your product</td>
<td>Keep the API, add an MCP server in front of it</td>
</tr>
<tr>
<td>One app needs two or three functions that you control</td>
<td>Direct tool definitions may be enough</td>
</tr>
<tr>
<td>The tool must reach local files or programs on the user's machine</td>
<td>A local MCP server, since a <a href="https://agxmart.com/blog/local-vs-remote-mcp-servers">local server</a> runs on that machine</td>
</tr>
<tr>
<td>Speed and exact behaviour matter more than flexibility</td>
<td>API only</td>
</tr>
</tbody></table>
<p>Three things to plan for if you add a server:</p>
<ul>
<li><strong>Don't copy every endpoint.</strong> A model has to read each tool description. Fewer tools that match real tasks are easier for it to choose between than one tool per endpoint.</li>
<li><strong>Write descriptions for a reader who can't ask questions.</strong> Say what the tool does and what each input means.</li>
<li><strong>Keep your API.</strong> Web apps, mobile apps and scripts still need it, and an MCP server usually calls it anyway.</li>
</ul>
<p>To try this yourself, follow <a href="https://agxmart.com/blog/build-your-first-mcp-server">how to build your first MCP server</a>, and see <a href="https://agxmart.com/what-is-an-mcp-server">what an MCP server is</a> if you are new to the idea.</p>
<h2>Is MCP riskier than an API?</h2>
<p>The risks are different, and neither is protected by default. With an API, your code does what you wrote. With MCP, a model chooses actions based on text it reads, which can include text written by an attacker.</p>
<p>So the spec says there <a href="https://modelcontextprotocol.io/specification/2026-07-28/server/tools">SHOULD always be a human in the loop</a> able to deny tool calls, and that clients must treat tool annotations as untrusted unless they come from trusted servers.</p>
<p>MCP servers are also software with their own bugs. For example, <a href="https://osv.dev/vulnerability/GHSA-6fg3-hvw7-2fwq">CVE-2025-9611</a> was a DNS rebinding issue in the Playwright MCP server, fixed in version 0.0.40.</p>
<p>Before you connect a server, read our <a href="https://agxmart.com/blog/mcp-server-security-guide">MCP server security guide</a>. You can also <a href="https://agxmart.com/mcp-servers">browse MCP servers</a> on AGXmart, where listing pages show install commands, published advisories and any scan report.</p>
<h2>FAQ</h2>
<h3>What is the difference between MCP and an API?</h3>
<p>An API is an interface that code calls using endpoints a developer chose in advance. MCP is a protocol that lets an AI application discover a server's tools and let the model call them. Many MCP servers call an API underneath.</p>
<h3>Is MCP replacing REST APIs?</h3>
<p>No. MCP is usually a layer on top of an existing API, aimed at AI applications. Ordinary apps, scripts and backends still call the API directly.</p>
<h3>MCP vs REST API: which is faster?</h3>
<p>We have not measured this, so we won't quote a number. A direct call has fewer steps, and an MCP call through a model also includes the model's own processing, so use the API where exact, repeatable calls matter.</p>
<h3>Is MCP stateful or stateless?</h3>
<p>As of revision 2026-07-28, the spec describes MCP as a stateless protocol: each request carries what the server needs. Earlier revisions used an initialization handshake, and older implementations may still work that way.</p>
<h3>Can an MCP server work without an API?</h3>
<p>Yes. A server can read local files, query a database or run a program. The spec's description of tools covers querying databases and performing computations as well as calling APIs.</p>
<h3>What is the difference between MCP and tools?</h3>
<p>A tool is a single action, and MCP is the standard way to offer tools to AI apps. A model can use tools without MCP if your code defines them directly.</p>
<h2>Built an MCP server?</h2>
<p>If you have turned your API into an MCP server, developers need a way to find it. On AGXmart you can list it and start selling. <a href="https://agxmart.com/submit">List your server</a> or read <a href="https://agxmart.com/sell-ai-agents">how selling will work</a>. To pull listing data into your own tools, see the <a href="https://agxmart.com/developers">AGXmart developer API</a>.</p>
<hr />
<p><em>Originally published on <a href="https://agxmart.com/blog/mcp-vs-api">AGXmart</a>. AGXmart is a marketplace for open-source AI agents, MCP servers and agent skills with public security scans. Search and install from your terminal with <code>npx agxmart</code>, or list your own tool and start selling.</em></p>
]]></content:encoded></item><item><title><![CDATA[x402 Explained: How AI Agents Pay Per Request Over HTTP]]></title><description><![CDATA[What the x402 protocol is, how a v2 payment works header by header, how it compares with Stripe, and how to charge for MCP server tools with it.]]></description><link>https://agxmart.hashnode.dev/x402-explained-how-ai-agents-pay-per-request-over-http</link><guid isPermaLink="true">https://agxmart.hashnode.dev/x402-explained-how-ai-agents-pay-per-request-over-http</guid><category><![CDATA[ai agents]]></category><category><![CDATA[x402]]></category><category><![CDATA[payments]]></category><dc:creator><![CDATA[AGXmart]]></dc:creator><pubDate>Tue, 01 Dec 2026 04:29:47 GMT</pubDate><enclosure url="https://cdn.hashnode.com/uploads/covers/6b0e4795065ce5d6152ff0f9/f0bb6739-4813-4893-9d43-36e064cc5a7e.jpg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>The x402 protocol is an open standard that lets a client, such as an AI agent, pay for a web resource inside the HTTP request itself: the server answers <code>402 Payment Required</code> with its price, the client signs a payment and retries, and the server returns the resource once the payment checks out. No account, API key or stored card is needed on the client side.</p>
<p>That one sentence is what most explainers stop at. This post goes further in three places where the guides we read on 1 December 2026 were thin or out of date: the <strong>v2 header names</strong> (several popular guides still show v1's <code>X-PAYMENT</code>), a direct <strong>x402 vs Stripe</strong> comparison based on Stripe's own docs, and how <strong>x402 for MCP servers</strong> actually works at the message level, including a client default you should change before you give an agent a wallet.</p>
<p>Facts below were checked on 1 December 2026 against the <a href="https://github.com/x402-foundation/x402">x402 repository</a>, the <a href="https://github.com/x402-foundation/x402/blob/main/specs/x402-specification-v2.md">v2 specification</a>, <a href="https://www.x402.org">x402.org</a> and <a href="https://docs.stripe.com/payments/machine/x402">Stripe's x402 docs</a>. Nothing here is financial advice, and x402 has no token you need to buy. If you want SDK picks rather than an explainer, read our <a href="https://agxmart.com/blog/best-x402-and-ap2-agent-payment-tools">x402 and AP2 tools roundup</a>.</p>
<h2>What is x402?</h2>
<p>x402 revives an HTTP status code that sat unused for decades, <code>402 Payment Required</code>, and gives it a defined payload. It is run by the x402 Foundation at the Linux Foundation, whose <a href="https://x402.org/linux-foundation-announces-operational-launch-of-x402-foundation-to-standardize-internet-native-payments-for-ai-agents-and-applications/">operational launch</a> was announced on 14 July 2026. Coinbase contributed the protocol, and the main repository is now <code>x402-foundation/x402</code>; the older <code>coinbase/x402</code> describes itself as a development fork.</p>
<p>The <a href="https://github.com/x402-foundation/x402/blob/main/specs/x402-specification-v2.md">v2 specification</a> names three roles:</p>
<ul>
<li><strong>Client:</strong> whatever wants the resource. A browser script, a backend job or an agent making a tool call.</li>
<li><strong>Resource server:</strong> the API, page or tool that charges.</li>
<li><strong>Facilitator:</strong> an optional service that checks and settles payments so the resource server does not have to run blockchain code itself.</li>
</ul>
<p>Facilitators expose three endpoints in the spec: <code>POST /verify</code> (check a payment without committing it), <code>POST /settle</code> (commit it) and <code>GET /supported</code> (list the scheme and network pairs it handles).</p>
<p>Networks are named with CAIP-2 identifiers, for example <code>eip155:8453</code> for Base mainnet and <code>eip155:84532</code> for the Base Sepolia test network. <a href="http://x402.org">x402.org</a> says the protocol supports all EVM-compatible chains and Solana, charges "zero protocol fees" and leaves only the network's own fees. The same page calls x402 production-ready; that is the project's own claim, and its README is more careful, warning not to assume the public <a href="http://x402.org">x402.org</a> facilitator is your production path on mainnet.</p>
<h2>How an x402 payment works, header by header (v2)</h2>
<p>From the <a href="https://github.com/x402-foundation/x402/blob/main/specs/transports-v2/http.md">HTTP transport spec</a>, as of 1 December 2026:</p>
<ol>
<li>The client requests a resource.</li>
<li>The server replies <code>402 Payment Required</code> with a <code>PAYMENT-REQUIRED</code> header: a base64-encoded list of what it accepts (scheme, network, asset, amount, pay-to address).</li>
<li>The client picks one option, signs a payment payload and retries with a <code>PAYMENT-SIGNATURE</code> header.</li>
<li>The server verifies the payload, itself or through the facilitator's <code>/verify</code>.</li>
<li>The server does the work, settles through <code>/settle</code> or on its own, and returns <code>200 OK</code> with a <code>PAYMENT-RESPONSE</code> header carrying the settlement result.</li>
</ol>
<p><strong>v1 vs v2 headers.</strong> Version 1 used <code>X-PAYMENT</code> for the client's payment and <code>X-PAYMENT-RESPONSE</code> for the receipt. The spec's version history dates v2 to 9 December 2025, and the HTTP transport doc tells servers that support both versions to handle both sets of names. If a tutorial only shows <code>X-PAYMENT</code>, it describes v1.</p>
<p><strong>Schemes.</strong> The README lists <code>exact</code> (fixed price), <code>upto</code> (a cap, with the seller charging actual usage) and <code>batch-settlement</code> (many small charges settled together). The v2 spec also defines <code>auth-capture</code>. Pick <code>exact</code> unless you have a reason not to; it is the scheme every example in the official docs uses.</p>
<p><strong>Package versions.</strong> The repository does not use GitHub Releases. It tags each package instead, and <code>npm view @x402/mcp version</code> returned <code>2.32.0</code>, published 20 November 2026 (run on 1 December 2026).</p>
<h2>x402 vs Stripe</h2>
<p>"x402 vs Stripe" sounds like a choice between rivals. Stripe's own docs show it is not quite that: Stripe <a href="https://docs.stripe.com/payments/machine/x402">accepts x402 payments</a> as part of its machine payments product, which it previewed in February 2026 according to <a href="https://www.theblock.co/post/389352/stripe-adds-x402-integration-usdc-agent-payments">The Block</a> (11 February 2026). So the real question is whether you run x402 yourself, run it with Stripe recording the payments, or use Stripe's card flows.</p>
<table>
<thead>
<tr>
<th>As of 1 December 2026</th>
<th>x402 on your own server</th>
<th>x402 through Stripe</th>
<th>Stripe card payments for agents</th>
</tr>
</thead>
<tbody><tr>
<td><strong>What the client needs</strong></td>
<td>A wallet holding a supported asset</td>
<td>A wallet with USDC on Base</td>
<td>A card credential; Stripe's docs point to its Machine Payments Protocol (MPP) for this</td>
</tr>
<tr>
<td><strong>Networks and assets</strong></td>
<td>Any network your facilitator supports (EVM chains and Solana per <a href="http://x402.org">x402.org</a>)</td>
<td>USDC on Base in Stripe's machine payments table</td>
<td>Card networks</td>
</tr>
<tr>
<td><strong>Who settles</strong></td>
<td>Your facilitator, or your own code</td>
<td>The Coinbase Developer Platform facilitator on mainnet, per Stripe's docs</td>
<td>Stripe</td>
</tr>
<tr>
<td><strong>Where the money lands</strong></td>
<td>Your wallet, on-chain</td>
<td>Your Stripe balance, recorded as a PaymentIntent and paid out in fiat</td>
<td>Your Stripe balance</td>
</tr>
<tr>
<td><strong>Account or sign-up</strong></td>
<td>None for the client; none with a third party if you self-settle</td>
<td>Request "Stablecoins and Crypto" in the Stripe Dashboard and wait for approval</td>
<td>A Stripe account</td>
</tr>
<tr>
<td><strong>Where it is offered</strong></td>
<td>Anywhere the network is reachable</td>
<td>US businesses in every state except New York; others email Stripe to request access in 30+ countries</td>
<td>See Stripe's supported countries</td>
</tr>
<tr>
<td><strong>Minimum charge</strong></td>
<td>Set by you and the network</td>
<td>0.01 USDC</td>
<td>0.50 USD for card payments via Stripe's agent tokens</td>
</tr>
<tr>
<td><strong>Status</strong></td>
<td>Open spec at version 2</td>
<td>Uses preview API versions (<code>2026-05-27.preview</code> for mainnet in the docs)</td>
<td>Varies by product</td>
</tr>
</tbody></table>
<p>Two details from Stripe's guide that most comparison posts miss:</p>
<ul>
<li><strong>Stripe is not the facilitator.</strong> The flow in the docs is: your server returns a 402 that includes a Stripe deposit address, the CDP facilitator settles on-chain, and then your server calls Stripe to create a PaymentIntent with the transaction hash. Stripe records and pays out; it does not move the stablecoin.</li>
<li><strong>Cards need a second protocol.</strong> The docs say that to accept card payments alongside stablecoins, you should also integrate MPP. x402 on Stripe is stablecoin-only.</li>
</ul>
<p>When to pick which: self-run x402 if you want no third-party account and are happy to hold funds on-chain; x402 through Stripe if your accounting, tax reporting and payouts already live in Stripe; card flows if your buyers are people whose agents hold cards rather than wallets. Refunds and disputes work differently in each. On-chain settlement has no chargeback, so plan refunds yourself.</p>
<h2>x402 for MCP servers</h2>
<p>MCP tool calls do not travel as plain HTTP requests to your route, so the HTTP headers above do not apply directly. The x402 repo has a separate <a href="https://github.com/x402-foundation/x402/blob/main/specs/transports-v2/mcp.md">MCP transport spec</a> for this. Its rules, as of 1 December 2026:</p>
<ul>
<li><strong>Asking for payment.</strong> A server MUST answer an unpaid call to a paid tool with a tool result that has <code>isError: true</code>, with the <code>PaymentRequired</code> object in both <code>structuredContent</code> and <code>content[0].text</code>. Clients should read <code>structuredContent</code> first.</li>
<li><strong>Paying.</strong> The client retries the same tool call with the payment payload in <code>_meta["x402/payment"]</code>.</li>
<li><strong>Receipt.</strong> The server returns the tool result with settlement details in <code>_meta["x402/payment-response"]</code>.</li>
<li><strong>Failed settlement.</strong> If settlement fails after the tool already ran, the server should return only the payment error, not the tool's output.</li>
</ul>
<p>This keeps payments inside normal tool calling, so any MCP client that understands the convention can pay, and one that does not just sees an error result with the price in it.</p>
<h3>Charge for a tool with @x402/mcp</h3>
<p>The official package wraps a normal tool handler. Quoted from the <a href="https://github.com/x402-foundation/x402/tree/main/typescript/packages/mcp">@x402/mcp README</a>, not run for this post:</p>
<pre><code class="language-bash">npm install @x402/mcp @x402/core @modelcontextprotocol/sdk
</code></pre>
<pre><code class="language-typescript">const accepts = await resourceServer.buildPaymentRequirements({
  scheme: "exact",
  network: "eip155:84532",
  payTo: "0x...", // Your wallet address
  price: "$0.10",
});

const paid = createPaymentWrapper(resourceServer, { accepts });

mcpServer.tool(
  "financial_analysis",
  "Advanced AI-powered financial analysis. Costs $0.10.",
  { ticker: z.string() },
  paid(async (args) =&gt; {
    const analysis = await performAnalysis(args.ticker);
    return { content: [{ type: "text", text: analysis }] };
  })
);
</code></pre>
<p>Free tools on the same server need no wrapper. The wrapper also takes hooks: <code>onBeforeExecution</code> (return <code>false</code> to stop the call without charging, useful for rate limits), <code>onAfterExecution</code> and <code>onAfterSettlement</code> (send a receipt). <code>eip155:84532</code> is a test network; switch the network and facilitator together when you go live.</p>
<p>Other routes, if you are already on one of these stacks: Cloudflare's Agents SDK has a <a href="https://developers.cloudflare.com/agents/x402/charge-for-mcp-tools/"><code>paidTool</code></a> method on a server wrapped with <code>withX402</code>, and Vercel's separate <code>x402-mcp</code> package, <a href="https://vercel.com/blog/introducing-x402-mcp-open-protocol-payments-for-mcp-tools">announced on 12 September 2025</a>, has its own <code>paidTool</code> with a different argument order. Do not mix examples from the three; the function signatures differ.</p>
<h3>The client default to change before an agent gets a wallet</h3>
<p>On the paying side, <code>createx402MCPClient</code> has <code>autoPayment</code> set to <code>true</code> by default, and with the default settings the README says the client pays any request that passes its spend controls: default assets only, and <code>$1</code> <strong>per payment</strong> unless you set <code>spendControls</code>. The <code>onPaymentRequested</code> callback is your human-in-the-loop approval gate; return <code>false</code> to refuse.</p>
<p>That matters because the server sets the price. A tool description is text the model reads, so a server can change its price or its description between calls, the same pattern as an MCP rug pull. Three habits help:</p>
<ul>
<li>Set <code>spendControls</code> to the lowest cap that works for your use.</li>
<li>In <code>onPaymentRequested</code>, compare the amount, asset and <code>payTo</code> against what you expected, and refuse on a mismatch. The README recommends this to pin terms.</li>
<li>Give the agent its own wallet with a small balance, treated like any other non-human identity credential: scoped, short-lived where possible, and never your main wallet.</li>
</ul>
<p>If you run many paid servers, an <a href="https://agxmart.com/mcp-gateways">MCP gateway</a> is a natural place to apply one spending policy across all of them.</p>
<h2>Where x402 fits next to other agent protocols</h2>
<p>x402 settles money. It does not prove what a person agreed to, and it does not move messages between agents.</p>
<ul>
<li><strong>MCP</strong> connects an agent to tools; x402 adds a price to a tool call. Our <a href="https://agxmart.com/blog/mcp-vs-api">MCP vs API post</a> covers when MCP is worth it at all.</li>
<li><a href="https://agxmart.com/a2a"><strong>A2A</strong></a> connects agents to agents; Google's <a href="https://github.com/google-agentic-commerce/a2a-x402">A2A x402 extension</a> carries x402 payments over it.</li>
<li><a href="https://agxmart.com/ap2"><strong>AP2</strong></a> records what a user authorised an agent to buy, mostly on card rails today. It answers "was this allowed", while x402 answers "was this paid".</li>
</ul>
<p>The <a href="https://agxmart.com/agent-protocols">agent protocols hub</a> has the full map, and the <a href="https://agxmart.com/x402">x402 directory</a> lists x402 projects with a "What it can touch" label on each listing page. Check that label before you connect anything to a wallet.</p>
<h2>FAQ</h2>
<h3>What is x402 in simple terms?</h3>
<p>It is a way to charge for a URL or a tool call the way a vending machine charges: the server states a price in a <code>402 Payment Required</code> response, the client pays and asks again, and the server hands over the result. It works over plain HTTP, and the spec also defines MCP and A2A versions.</p>
<h3>Is x402 a cryptocurrency or a token?</h3>
<p>No. x402 is a protocol, not a coin, and you do not need any special token to use it. Payments are usually made in stablecoins such as USDC on networks like Base or Solana. <a href="https://www.ledger.com/academy/topics/economics-and-regulation/what-is-x402">Ledger's guide</a> warns readers to be wary of any token that claims to be the official x402 coin.</p>
<h3>x402 vs Stripe: do I have to choose?</h3>
<p>Not necessarily. Stripe accepts x402 payments in USDC on Base and records them as PaymentIntents in your Stripe balance, with settlement done by the Coinbase Developer Platform facilitator. You can also run x402 with no Stripe account at all, or use Stripe's card flows when buyers hold cards rather than wallets.</p>
<h3>How do I use x402 for MCP servers?</h3>
<p>Wrap each paid tool's handler with <code>createPaymentWrapper</code> from <code>@x402/mcp</code> and set a price, network and pay-to address. Unpaid calls get an <code>isError: true</code> result containing the price, and paying clients retry with <code>_meta["x402/payment"]</code>. Free tools on the same server stay as they are.</p>
<h3>Does x402 charge fees?</h3>
<p><a href="http://x402.org">x402.org</a> says the protocol itself charges no fees, and you still pay the payment network's fees. A hosted facilitator or a service like Stripe may set its own terms, so read them before you go live.</p>
<h3>Can an AI agent overspend with x402?</h3>
<p>It can if you leave the defaults. The official MCP client pays automatically up to <code>$1</code> per payment unless you set spend controls, so set a cap, check each payment request in <code>onPaymentRequested</code>, and keep the agent's wallet balance small.</p>
<h2>List your paid MCP server or agent</h2>
<p>If you built an x402-enabled MCP server, API or agent, add it to AGXmart so developers can find it next to the rest of the <a href="https://agxmart.com/x402">x402 ecosystem</a>. List it and start selling. <a href="https://agxmart.com/submit">Submit your listing</a>, or see the <a href="https://agxmart.com/developers">API, MCP endpoint and CLI on /developers</a> to search listings from your own tools. This command was run on 1 December 2026:</p>
<pre><code class="language-bash">npx https://agxmart.com/cli.tgz search postgres
</code></pre>
<hr />
<p><em>Originally published on</em> <a href="https://agxmart.com/blog/x402-protocol-explained"><em>AGXmart</em></a><em>. AGXmart is a marketplace for open-source AI agents, MCP servers and agent skills with public security scans. Search and install from your terminal with</em> <code>npx agxmart</code><em>, or list your own tool and start selling.</em></p>
]]></content:encoded></item><item><title><![CDATA[Agent Client Protocol Explained: How ACP Works, ACP vs MCP, and What v2 Changes]]></title><description><![CDATA[How the Agent Client Protocol connects editors to coding agents, message by message, how it differs from MCP, and what the v2 Preview changes.]]></description><link>https://agxmart.hashnode.dev/agent-client-protocol-explained-how-acp-works-acp-vs-mcp-and-what-v2-changes</link><guid isPermaLink="true">https://agxmart.hashnode.dev/agent-client-protocol-explained-how-acp-works-acp-vs-mcp-and-what-v2-changes</guid><category><![CDATA[ai agents]]></category><category><![CDATA[Developer Tools]]></category><category><![CDATA[llm]]></category><dc:creator><![CDATA[AGXmart]]></dc:creator><pubDate>Tue, 01 Dec 2026 04:27:59 GMT</pubDate><content:encoded><![CDATA[<p>The Agent Client Protocol (ACP) is an open JSON-RPC 2.0 standard that lets a code editor run any AI coding agent as a sub-process and exchange prompts, streamed replies, tool calls, file edits and permission requests with it, much as the Language Server Protocol did for language tooling. MCP is the other half: it connects that agent to tools and data, so ACP and MCP are used together rather than chosen between.</p>
<p>This guide walks through one ACP session message by message, compares ACP with MCP and LSP, lists editor support with dates, and covers the v2 Preview that the ACP project <a href="https://agentclientprotocol.com/announcements/acp-v2-preview">announced on 20 November 2026</a>. Every fact was read from the <a href="https://agentclientprotocol.com/protocol/overview">official ACP docs</a> or the linked vendor page on 24 November 2026 unless another date is given. If you want to pick an agent to install, read our companion post on <a href="https://agxmart.com/blog/best-acp-coding-agents">ACP coding agents for Zed, JetBrains and Neovim</a>; this one is about how the protocol itself works.</p>
<h2>Which "ACP" is this?</h2>
<p>Three different projects have used the letters ACP, and most confusion online starts here.</p>
<ul>
<li><strong>Agent Client Protocol</strong>, the subject of this post: editor to coding agent. Started by Zed in August 2025, with JetBrains joining shortly after, per <a href="https://blog.marcnuri.com/agent-client-protocol-acp-introduction">Marc Nuri's history</a> of the project. The <a href="https://github.com/agentclientprotocol/agent-client-protocol">main repository</a> is Apache-2.0 and showed 4.7k stars on 24 November 2026.</li>
<li><strong>Agent Communication Protocol</strong>, from IBM's BeeAI: agent to agent. ACP's own docs say it <a href="https://agentclientprotocol.com/get-started/related-protocols">merged into A2A</a>. For agent-to-agent work today, read <a href="https://agxmart.com/a2a">our A2A page</a>.</li>
<li>Some articles call it "Agent Control Protocol". That is not the project's name.</li>
</ul>
<h2>How the ACP protocol works, one session at a time</h2>
<p>The roles are simple. The <strong>client</strong> is usually an editor. The <strong>agent</strong> is a program the editor launches as a sub-process (<a href="https://agentclientprotocol.com/protocol/overview">overview</a>). They talk JSON-RPC 2.0 over standard input and output, one message per line. The <a href="https://agentclientprotocol.com/protocol/transports">transports page</a> is strict about this: messages must not contain embedded newlines, and the agent must not write anything to stdout that is not a valid ACP message. Logs go to stderr.</p>
<p>That one rule explains a lot of broken custom agents: a stray <code>console.log</code> on stdout corrupts the stream.</p>
<p>Here is the life of one session, using the method names from the v1 spec.</p>
<h3>1. initialize: agree a version and capabilities</h3>
<p>The editor sends <code>initialize</code> with <code>protocolVersion</code>, <code>clientCapabilities</code> and <code>clientInfo</code>. The agent answers with its own <code>protocolVersion</code>, <code>agentCapabilities</code>, <code>agentInfo</code> and <code>authMethods</code> (<a href="https://agentclientprotocol.com/protocol/initialization">initialization</a>).</p>
<p>The version is a single integer that changes only on breaking changes, and the README says the current stable version is <code>1</code>. If the agent supports the requested version it echoes it; otherwise it replies with its latest, and a client that cannot handle that should close the connection.</p>
<p>A trimmed request, with field names from the spec (shape only, not captured from a live agent):</p>
<pre><code class="language-json">{"jsonrpc":"2.0","id":0,"method":"initialize","params":{
  "protocolVersion":1,
  "clientCapabilities":{"fs":{"readTextFile":true,"writeTextFile":true},"terminal":true},
  "clientInfo":{"name":"my-editor","version":"0.1.0"}}}
</code></pre>
<p>Capabilities matter because they decide what the agent may ask the editor to do. Some worth knowing:</p>
<table>
<thead>
<tr>
<th>Side</th>
<th>Capability</th>
<th>What it unlocks</th>
</tr>
</thead>
<tbody><tr>
<td>Client</td>
<td><code>fs.readTextFile</code>, <code>fs.writeTextFile</code></td>
<td>Agent can call <code>fs/read_text_file</code> and <code>fs/write_text_file</code>, so it reads and writes files through the editor</td>
</tr>
<tr>
<td>Client</td>
<td><code>terminal</code></td>
<td>Agent can call <code>terminal/create</code>, <code>terminal/output</code>, <code>terminal/wait_for_exit</code>, <code>terminal/kill</code>, <code>terminal/release</code></td>
</tr>
<tr>
<td>Agent</td>
<td><code>loadSession</code></td>
<td>Editor can reopen an old session with <code>session/load</code></td>
</tr>
<tr>
<td>Agent</td>
<td><code>promptCapabilities.image</code>, <code>.audio</code>, <code>.embeddedContext</code></td>
<td>Editor may send those content types; text and resource links are always allowed</td>
</tr>
<tr>
<td>Agent</td>
<td><code>mcpCapabilities.http</code>, <code>.sse</code></td>
<td>Agent accepts MCP servers over HTTP or SSE, not just stdio</td>
</tr>
</tbody></table>
<h3>2. session/new: hand over the folder and the MCP servers</h3>
<p>The editor calls <code>session/new</code> with <code>cwd</code>, which must be an absolute path, and <code>mcpServers</code>, the list of MCP servers the agent should connect to. The agent returns a <code>sessionId</code> (<a href="https://agentclientprotocol.com/protocol/session-setup">session setup</a>). Every ACP agent must support MCP servers over stdio; HTTP and SSE are optional.</p>
<p>This is the exact point where ACP and MCP meet: the editor tells the agent which MCP servers you have configured, and the agent connects to them itself.</p>
<h3>3. session/prompt: one turn of work</h3>
<p>The editor sends <code>session/prompt</code> with the <code>sessionId</code> and an array of content blocks (<a href="https://agentclientprotocol.com/protocol/prompt-turn">prompt turn</a>). While working, the agent streams <code>session/update</code> notifications. The common ones are <code>agent_message_chunk</code> (reply text), <code>agent_thought_chunk</code>, <code>plan</code>, <code>tool_call</code> and <code>tool_call_update</code>. The spec lists 19 variants in the current schema, including usage updates and context compaction.</p>
<p>The turn ends when the agent answers the original <code>session/prompt</code> request with a <code>stopReason</code>: <code>end_turn</code>, <code>max_tokens</code>, <code>max_turn_requests</code>, <code>refusal</code> or <code>cancelled</code>.</p>
<h3>4. Tool calls and permission requests</h3>
<p>Each tool call carries a <code>kind</code> (<code>read</code>, <code>edit</code>, <code>delete</code>, <code>move</code>, <code>search</code>, <code>execute</code>, <code>think</code>, <code>fetch</code>, <code>switch_mode</code> or <code>other</code>) and moves through <code>pending</code>, <code>in_progress</code>, <code>completed</code> or <code>failed</code> (<a href="https://agentclientprotocol.com/protocol/tool-calls">tool calls</a>).</p>
<p>Before a risky step, the agent calls <code>session/request_permission</code> on the editor. That is the one client method every ACP client must implement. The editor shows the choices, which come in four kinds: <code>allow_once</code>, <code>allow_always</code>, <code>reject_once</code> and <code>reject_always</code>.</p>
<p><strong>Something you can use today:</strong> the <code>kind</code> field is what your editor uses to label a request. When an approval prompt shows <code>execute</code> or <code>delete</code>, that is a shell command or a deletion. <code>allow_always</code> on an <code>execute</code> request is the broadest grant in the protocol, so keep it for agents you have read about, and check what a tool can touch on its listing page before you install it.</p>
<h3>5. session/cancel</h3>
<p>The editor can send <code>session/cancel</code> at any time. The spec says the editor must answer any open permission request as <code>cancelled</code>, and the agent must finish the turn with the <code>cancelled</code> stop reason.</p>
<h2>ACP vs MCP vs LSP</h2>
<table>
<thead>
<tr>
<th>As of 24 Nov 2026</th>
<th>ACP (Agent Client Protocol)</th>
<th>MCP (Model Context Protocol)</th>
<th>LSP (Language Server Protocol)</th>
</tr>
</thead>
<tbody><tr>
<td>Connects</td>
<td>Editor or app to a coding agent</td>
<td>Agent or AI app to tools, data and prompts</td>
<td>Editor to a language server</td>
</tr>
<tr>
<td>Who launches whom</td>
<td>Editor starts the agent as a sub-process</td>
<td>Host starts or calls the server</td>
<td>Editor starts the server</td>
</tr>
<tr>
<td>Wire format</td>
<td>JSON-RPC 2.0, newline-delimited over stdio</td>
<td>JSON-RPC 2.0 over stdio or Streamable HTTP</td>
<td>JSON-RPC 2.0 with Content-Length headers (<a href="https://microsoft.github.io/language-server-protocol/">spec</a>)</td>
</tr>
<tr>
<td>Remote use</td>
<td>Streamable HTTP and WebSocket transport is an <a href="https://agentclientprotocol.com/rfds/streamable-http-websocket-transport">active RFD</a>, not final</td>
<td>Streamable HTTP is part of the spec</td>
<td>Mostly local</td>
</tr>
<tr>
<td>Coding UI concepts</td>
<td>Diffs, plans, terminals, permission prompts, modes</td>
<td>Not its job</td>
<td>Diagnostics, completions, go-to-definition</td>
</tr>
<tr>
<td>Current version</td>
<td>v1 stable, v2 in Preview since 20 Nov 2026</td>
<td>Dated spec releases, latest referenced by ACP: 2026-07-28</td>
<td>Versioned spec, see its site</td>
</tr>
</tbody></table>
<p>The short answer to <strong>ACP vs MCP</strong>: you need ACP when a person drives an agent from an editor, and you need MCP when that agent needs tools. A headless agent in CI has no use for ACP, a point <a href="https://circleci.com/blog/acp-vs-mcp-whats-the-difference-for-agentic-coding/">CircleCI's comparison</a> (2 July 2026) also makes. Thoughtworks placed ACP in the "Assess" ring of its <a href="https://www.thoughtworks.com/radar/platforms/agent-client-protocol-acp">Technology Radar</a> on 4 November 2026 and describes it as complementing MCP. If MCP itself is new to you, start with <a href="https://agxmart.com/what-is-an-mcp-server">what an MCP server is</a> and <a href="https://agxmart.com/blog/mcp-vs-api">MCP vs API</a>. For teams that route many MCP servers through one control point, see <a href="https://agxmart.com/mcp-gateways">MCP gateways</a>.</p>
<h2>ACP editor support, as of 24 November 2026</h2>
<table>
<thead>
<tr>
<th>Editor or host</th>
<th>ACP support</th>
<th>Source and date</th>
</tr>
</thead>
<tbody><tr>
<td>Zed</td>
<td>Built in, calls them External Agents, installs from the ACP Registry</td>
<td><a href="https://zed.dev/docs/ai/external-agents">Zed docs</a>, read 12 Nov 2026</td>
</tr>
<tr>
<td>JetBrains IDEs</td>
<td>Built in to AI Assistant, registry or <code>~/.jetbrains/acp.json</code>; not supported in WSL</td>
<td><a href="https://www.jetbrains.com/help/ai-assistant/acp.html">JetBrains docs</a>, read 12 Nov 2026</td>
</tr>
<tr>
<td>Neovim</td>
<td>Through plugins such as CodeCompanion.nvim, agentic.nvim, avante.nvim</td>
<td><a href="https://agentclientprotocol.com/get-started/clients">ACP clients page</a>, 24 Nov 2026</td>
</tr>
<tr>
<td>Emacs</td>
<td>Through agent-shell.el</td>
<td>ACP clients page, 24 Nov 2026</td>
</tr>
<tr>
<td>VS Code</td>
<td>Listed on the ACP clients page; CircleCI wrote on 2 July 2026 that it had no native support and community extensions fill the gap. The VS Code 1.147 release notes (18 Nov 2026) do not mention ACP</td>
<td><a href="https://agentclientprotocol.com/get-started/clients">ACP clients page</a>, <a href="https://circleci.com/blog/acp-vs-mcp-whats-the-difference-for-agentic-coding/">CircleCI</a>, <a href="https://code.visualstudio.com/updates">VS Code updates</a></td>
</tr>
<tr>
<td>GitHub Copilot CLI</td>
<td>Runs as an ACP agent with <code>copilot --acp --stdio</code> or over TCP with <code>--port</code>; public preview</td>
<td><a href="https://docs.github.com/en/copilot/reference/acp-server">GitHub docs</a>, 24 Nov 2026</td>
</tr>
</tbody></table>
<p>On the agent side, ACP's <a href="https://agentclientprotocol.com/get-started/agents">agents page</a> listed 51 entries on 24 November 2026 by our count, including Claude Agent, Codex CLI, Gemini CLI, GitHub Copilot, Goose, Kiro CLI and OpenCode. The clients page lists far more hosts than editors, from desktop apps to messaging bots, so treat any total as a rough count of a fast-moving page.</p>
<h2>ACP v2: what the Preview changes</h2>
<p>Most explainers in the current results were written against v1. The ACP project published a <a href="https://agentclientprotocol.com/announcements/acp-v2-draft">v2 Draft on 20 July 2026</a> and moved it to <a href="https://agentclientprotocol.com/announcements/acp-v2-preview">Preview on 20 November 2026</a>. v1 is still the stable version. The changes that matter if you build an agent or client:</p>
<ul>
<li><strong>Turns are no longer tied to the prompt response.</strong> In v2 the prompt response does not end the turn, and <code>session/update</code> can arrive outside a user turn. The Preview adds a required <code>messageId</code> in the prompt response and a <code>background</code> list showing work still running.</li>
<li><strong>Stable IDs.</strong> Messages and tool calls are patched by stable IDs, and the <a href="https://agentclientprotocol.com/protocol/v2/migration">migration guide</a> folds <code>tool_call</code> into <code>tool_call_update</code>.</li>
<li><strong>Structured file changes</strong> replace the old <code>oldText</code>/<code>newText</code> diff.</li>
<li><strong>Permission requests carry a <code>title</code> and a <code>subject</code></strong>, which should make approval prompts clearer.</li>
<li><strong>Subagents are part of the baseline</strong>, announced with <code>subagent_update</code>.</li>
<li><strong>Reconnects:</strong> <code>replay_complete</code> and an optional <code>idempotencyKey</code> were added. The migration guide says <code>session/load</code> gives way to <code>session/resume</code>.</li>
<li><strong>Stricter JSON-RPC:</strong> batches are removed, request IDs cannot be <code>null</code>, and four error codes (<code>-32601</code>, <code>-32002</code>, <code>-32600</code>, <code>-32022</code>) are required.</li>
<li><strong>Removed:</strong> the migration guide lists the <code>fs/*</code> and <code>terminal/*</code> client methods and the HTTP+SSE MCP transport as removed in v2.</li>
<li><strong>Not in the Preview:</strong> remote transports and prompt steering or queueing. The remote transport RFD targets v1 as an additive feature.</li>
</ul>
<p>Schema tags follow the stage: <code>schema-v2.0.0-alpha.N</code> for the Draft and <code>schema-v2.0.0-beta.N</code> for the Preview. If you ship an ACP agent, the cautious reading of the docs is to keep serving v1 and negotiate v2 only with clients that ask for it; the Claude Agent ACP adapter already works that way, per its README as read on 12 November 2026.</p>
<h2>How to build or connect an ACP agent</h2>
<p>Commands below are quoted from official docs and package pages, not run for this post, except where marked.</p>
<ol>
<li><strong>Pick an SDK.</strong> The ACP repository lists official SDKs for TypeScript (<code>@agentclientprotocol/sdk</code>), Python, Rust (<code>agent-client-protocol</code>), Kotlin and Java. <code>npm view @agentclientprotocol/sdk version</code> returned <code>2.9.1</code> when run on 2026-11-24.</li>
<li><strong>Implement the baseline agent methods:</strong> <code>initialize</code>, <code>authenticate</code>, <code>session/new</code> and <code>session/prompt</code>, plus the <code>session/cancel</code> notification. Add <code>session/load</code> only if you set <code>loadSession</code>.</li>
<li><strong>Keep stdout clean.</strong> Send logs to stderr, one JSON message per line on stdout.</li>
<li><strong>Check client capabilities before calling <code>fs/*</code> or <code>terminal/*</code>.</strong> If the editor did not advertise them, do the work yourself.</li>
<li><strong>Register it in an editor.</strong> In Zed, add an <code>agent_servers</code> entry; in JetBrains, <code>~/.jetbrains/acp.json</code>. Both take a <code>command</code> and <code>args</code>. For Copilot CLI, the GitHub docs give:</li>
</ol>
<pre><code class="language-bash">copilot --acp --stdio
</code></pre>
<ol start="6">
<li><strong>Debug:</strong> Zed has <code>dev: open acp logs</code>, and JetBrains has Get ACP Logs (<a href="https://zed.dev/docs/ai/external-agents">Zed docs</a>, <a href="https://www.jetbrains.com/help/ai-assistant/acp.html">JetBrains docs</a>).</li>
</ol>
<p>For an existing agent that does not speak ACP, an adapter is the usual route. <code>npm view @agentclientprotocol/claude-agent-acp version</code> returned <code>0.110.1</code> when run on 2026-11-24; its older name under <code>@zed-industries</code> is deprecated.</p>
<h2>FAQ</h2>
<h3>What is the Agent Client Protocol?</h3>
<p>The Agent Client Protocol is an open standard for communication between editors and AI coding agents. The editor launches the agent as a sub-process and they exchange JSON-RPC 2.0 messages over stdio for prompts, streamed replies, tool calls and permission requests.</p>
<h3>ACP vs MCP: what is the difference?</h3>
<p>ACP connects an editor to a coding agent, and MCP connects that agent to tools and data. They work together: in <code>session/new</code> the editor passes your MCP servers to the agent, which then connects to them itself.</p>
<h3>Is the ACP protocol stable?</h3>
<p>Version 1 is the stable version as of 24 November 2026. Version 2 moved from Draft to Preview on 20 November 2026 and includes breaking changes, so it is not yet the default.</p>
<h3>What is ACP editor support like today?</h3>
<p>Zed and JetBrains IDEs support ACP natively and install agents from the ACP Registry. Neovim and Emacs reach it through plugins, and VS Code appears on ACP's clients page but had no native support in CircleCI's July 2026 review.</p>
<h3>Does ACP work with remote agents?</h3>
<p>Not in the stable spec yet. stdio is the defined transport, and a Streamable HTTP and WebSocket transport is an active proposal targeted as an addition to v1. GitHub Copilot CLI offers a TCP mode of its own.</p>
<h3>Is ACP the same as A2A?</h3>
<p>No. A2A is for one agent to delegate work to another agent. The IBM project that also used the name ACP merged into A2A, but the Agent Client Protocol is a separate editor-to-agent standard.</p>
<h2>Built an ACP agent, adapter or client?</h2>
<p>Developers comparing ACP options need to find your project and see what it can touch. On AGXmart you can list it and start selling. <a href="https://agxmart.com/submit">Submit your project</a>, browse the <a href="https://agxmart.com/acp">ACP projects we track</a> and every <a href="https://agxmart.com/agent-protocols">agent protocol</a>, or use the <a href="https://agxmart.com/developers">AGXmart API, MCP endpoint and CLI</a> to search listings from your own tools.</p>
<hr />
<p><em>Originally published on <a href="https://agxmart.com/blog/agent-client-protocol-explained">AGXmart</a>. AGXmart is a marketplace for open-source AI agents, MCP servers and agent skills with public security scans. Search and install from your terminal with <code>npx agxmart</code>, or list your own tool and start selling.</em></p>
]]></content:encoded></item><item><title><![CDATA[What Is the A2A Protocol? How AI Agents Work With Other Agents]]></title><description><![CDATA[How Agent Cards, tasks and messages let AI agents from different vendors discover each other and hand off work]]></description><link>https://agxmart.hashnode.dev/what-is-the-a2a-protocol-how-ai-agents-work-with-other-agents</link><guid isPermaLink="true">https://agxmart.hashnode.dev/what-is-the-a2a-protocol-how-ai-agents-work-with-other-agents</guid><category><![CDATA[ai agents]]></category><category><![CDATA[A2A]]></category><category><![CDATA[A2A Protocol]]></category><category><![CDATA[llm]]></category><dc:creator><![CDATA[AGXmart]]></dc:creator><pubDate>Tue, 01 Dec 2026 04:25:35 GMT</pubDate><content:encoded><![CDATA[<p>The A2A protocol (Agent2Agent) is an open standard that lets an AI agent discover another agent, send it work, and get results back, even when the two were built by different teams on different frameworks and neither can see the other's memory, tools or code. One agent publishes an <strong>agent card</strong> describing what it can do, and another agent reads that card and sends it messages and tasks over HTTP.</p>
<p>That is the whole idea in two sentences. The rest of this guide covers how it works in the current spec, which changed a lot between version 0.3 and 1.0. Many explainers still describe the older version, so if you have read one before, check the 0.3 to 1.0 table further down.</p>
<p>Every protocol fact here links to the <a href="https://a2a-protocol.org/latest/specification/">A2A specification</a> or the official docs at a2a-protocol.org, read on 13 November 2026. If you want to pick an SDK rather than understand the protocol, read our companion guide, <a href="https://agxmart.com/blog/best-a2a-agents-and-sdks">A2A protocol SDKs and frameworks compared</a>.</p>
<h2>What is A2A, in plain terms?</h2>
<p>If you are asking "what is A2A", think of it as a common language for agents that need to delegate. The <a href="https://github.com/a2aproject/A2A">A2A spec repo</a> calls it "an open protocol enabling communication and interoperability between opaque agentic applications." Opaque is the key word: a remote agent is a black box to the agent calling it. The caller sees what the agent says it can do, not how it does it.</p>
<p>The <a href="https://a2a-protocol.org/latest/topics/key-concepts/">key concepts page</a> names three actors:</p>
<ul>
<li><strong>User:</strong> a human or an automated service that wants something done.</li>
<li><strong>A2A client (client agent):</strong> an app, service or agent that acts for the user and sends requests.</li>
<li><strong>A2A server (remote agent):</strong> an agent that exposes an HTTP endpoint implementing A2A and does the work.</li>
</ul>
<p>A travel assistant (the client) might hand a booking to an airline's agent and a hotel's agent (two servers). It never needs their internal tools or prompts. It only needs their cards and the A2A message format.</p>
<h3>A short history, with dates</h3>
<ul>
<li><strong>9 April 2025:</strong> Google announced the Agent2Agent Protocol on the <a href="https://developers.googleblog.com/en/a2a-a-new-era-of-agent-interoperability/">Google Developers Blog</a>, "with support and contributions from more than 50 technology partners," and described it as complementing MCP.</li>
<li><strong>Later:</strong> the project moved to the Linux Foundation. The <a href="https://github.com/a2aproject/A2A">spec repo README</a> describes it as "an open source project under the Linux Foundation, contributed by Google."</li>
<li><strong>Version 1.0.0:</strong> the spec site lists 1.0.0 as the latest released version, with 0.3.0, 0.2.6 and 0.1.0 before it (<a href="https://a2a-protocol.org/latest/specification/">specification</a>).</li>
<li><strong>27 August 2026:</strong> the A2A blog announced that A2A was <a href="https://a2a-protocol.org/latest/blog/2026/08/27/a-new-chapter-for-a2a-joining-the-agentic-ai-foundation/">accepted as a Growth Stage project at the Agentic AI Foundation</a>, the same foundation that hosts MCP and AGENTS.md.</li>
</ul>
<h2>The A2A agent card</h2>
<p>An A2A agent card is a JSON document that an A2A server publishes so other agents can find it and learn how to call it. It is the discovery half of the protocol.</p>
<p><strong>Where it lives.</strong> The <a href="https://a2a-protocol.org/latest/topics/agent-discovery/">agent discovery page</a> recommends serving it at <code>https://{agent-server-domain}/.well-known/agent-card.json</code>, following RFC 8615. You will still see <code>/.well-known/agent.json</code> in older tutorials and code. If a client cannot find a card, check which path the server uses.</p>
<p><strong>What it holds in v1.0.</strong> According to the <a href="https://a2a-protocol.org/latest/specification/">specification</a>, the main fields are:</p>
<table>
<thead>
<tr>
<th>Field</th>
<th>What it tells a client</th>
</tr>
</thead>
<tbody><tr>
<td><code>name</code>, <code>description</code>, <code>version</code>, <code>provider</code></td>
<td>Who the agent is and who runs it</td>
</tr>
<tr>
<td><code>supportedInterfaces</code></td>
<td>One entry per endpoint: its <code>url</code>, <code>protocolBinding</code> (JSON-RPC, gRPC or HTTP+JSON) and <code>protocolVersion</code></td>
</tr>
<tr>
<td><code>capabilities</code></td>
<td>Flags such as <code>streaming</code>, <code>pushNotifications</code>, <code>extensions</code> and <code>extendedAgentCard</code></td>
</tr>
<tr>
<td><code>skills</code></td>
<td>What the agent can do: each skill has an <code>id</code>, <code>name</code>, <code>description</code>, <code>tags</code>, <code>examples</code> and input and output modes</td>
</tr>
<tr>
<td><code>defaultInputModes</code>, <code>defaultOutputModes</code></td>
<td>Media types it accepts and returns by default</td>
</tr>
<tr>
<td><code>securitySchemes</code>, <code>securityRequirements</code></td>
<td>How a client must authenticate (API key, HTTP auth, OAuth 2.0, OpenID Connect or mutual TLS)</td>
</tr>
<tr>
<td><code>signatures</code></td>
<td>Optional signatures over the card, using JWS (RFC 7515) and JSON canonicalisation (RFC 8785)</td>
</tr>
</tbody></table>
<p><strong>Public card, extended card.</strong> The public card can stay short. An agent that sets <code>capabilities.extendedAgentCard</code> can return a fuller card to authenticated clients through the <code>GetExtendedAgentCard</code> operation. The discovery page recommends this for anything sensitive, and "strongly recommends the use of out-of-band dynamic credentials rather than embedding static secrets within the Agent Card." In other words: never put an API key in a card.</p>
<p><strong>Three ways to find agents.</strong> The discovery page lists a well-known URI (for public agents), curated registries (a catalogue you query by skill or tag), and direct configuration (a URL in a config file or environment variable). It also says the spec "does not prescribe a standard API for curated registries," so every registry works a little differently today.</p>
<h2>How an A2A task works</h2>
<p>Once a client has the card, the rest of the A2A protocol is about messages and tasks. These are the core objects in v1.0, from the <a href="https://a2a-protocol.org/latest/specification/">specification</a>:</p>
<ul>
<li><strong>Message:</strong> one turn of conversation, from <code>ROLE_USER</code> (the client) or <code>ROLE_AGENT</code> (the server). It carries one or more parts.</li>
<li><strong>Part:</strong> a single piece of content. Each part holds exactly one of <code>text</code>, <code>raw</code> (bytes), <code>url</code> (a file reference) or <code>data</code> (structured JSON), plus an optional <code>mediaType</code> and <code>filename</code>.</li>
<li><strong>Task:</strong> a unit of work with an <code>id</code>, a <code>contextId</code> that groups related tasks, a <code>status</code>, a <code>history</code> of messages and any <code>artifacts</code>.</li>
<li><strong>Artifact:</strong> an output the agent produced, such as a document, an image or a JSON result, built from parts.</li>
</ul>
<p>A task moves through states. In v1.0 they are named in upper case:</p>
<table>
<thead>
<tr>
<th>State</th>
<th>Meaning</th>
</tr>
</thead>
<tbody><tr>
<td><code>TASK_STATE_SUBMITTED</code></td>
<td>Received, not started</td>
</tr>
<tr>
<td><code>TASK_STATE_WORKING</code></td>
<td>In progress</td>
</tr>
<tr>
<td><code>TASK_STATE_INPUT_REQUIRED</code></td>
<td>Paused: the agent needs more from the client</td>
</tr>
<tr>
<td><code>TASK_STATE_AUTH_REQUIRED</code></td>
<td>Paused: the agent needs the client to authenticate</td>
</tr>
<tr>
<td><code>TASK_STATE_COMPLETED</code></td>
<td>Finished, artifacts available</td>
</tr>
<tr>
<td><code>TASK_STATE_FAILED</code></td>
<td>Ended with an error</td>
</tr>
<tr>
<td><code>TASK_STATE_CANCELED</code></td>
<td>Cancelled by the client</td>
</tr>
<tr>
<td><code>TASK_STATE_REJECTED</code></td>
<td>The agent declined the task</td>
</tr>
</tbody></table>
<p>The two "required" states are what make A2A different from a one-shot API call. An agent can stop halfway, ask a question, and carry on in the same task when the answer arrives.</p>
<h3>Three ways to get results</h3>
<p>The key concepts page describes three delivery patterns:</p>
<ol>
<li><strong>Request and poll.</strong> Send a message with <code>SendMessage</code>, then check progress with <code>GetTask</code>.</li>
<li><strong>Streaming.</strong> <code>SendStreamingMessage</code> returns Server-Sent Events over an open HTTP connection, with status and artifact updates as they happen. <code>SubscribeToTask</code> reconnects to a running task.</li>
<li><strong>Push notifications.</strong> For long jobs, the client registers a webhook and "the server calls a client-provided webhook on a significant task update." Write your webhook handler so a repeated notification does no harm.</li>
</ol>
<h3>The v1.0 operations</h3>
<table>
<thead>
<tr>
<th>Operation</th>
<th>What it does</th>
</tr>
</thead>
<tbody><tr>
<td><code>SendMessage</code></td>
<td>Send a message, start or continue a task</td>
</tr>
<tr>
<td><code>SendStreamingMessage</code></td>
<td>Same, with a live event stream</td>
</tr>
<tr>
<td><code>GetTask</code></td>
<td>Read a task's status, history and artifacts</td>
</tr>
<tr>
<td><code>ListTasks</code></td>
<td>List tasks, with cursor-based pagination (new in 1.0)</td>
</tr>
<tr>
<td><code>CancelTask</code></td>
<td>Ask the agent to stop</td>
</tr>
<tr>
<td><code>SubscribeToTask</code></td>
<td>Re-attach to a running task's stream</td>
</tr>
<tr>
<td><code>CreateTaskPushNotificationConfig</code> (plus Get, List and Delete)</td>
<td>Manage webhooks for a task</td>
</tr>
<tr>
<td><code>GetExtendedAgentCard</code></td>
<td>Fetch the fuller card after authenticating</td>
</tr>
</tbody></table>
<p>Each operation is available over three bindings: JSON-RPC 2.0, gRPC and HTTP+JSON (REST). In the REST binding, sending a message is <code>POST /message:send</code>. Authentication happens at the HTTP layer: the key concepts page says credentials such as OAuth tokens and API keys "are typically passed through HTTP headers, separate from the A2A protocol messages themselves."</p>
<h2>What changed in A2A 1.0</h2>
<p>Explainers written for 0.2 or 0.3 predate these changes. The official <a href="https://a2a-protocol.org/latest/whats-new-v1/">What's New in v1.0</a> page lists several breaking changes from 0.3. If you are reading an older tutorial, or two agents refuse to talk to each other, check these first.</p>
<table>
<thead>
<tr>
<th>Area</th>
<th>In 0.3</th>
<th>In 1.0</th>
</tr>
</thead>
<tbody><tr>
<td>Method names</td>
<td><code>message/send</code>, <code>message/stream</code>, <code>tasks/get</code>, <code>tasks/cancel</code>, <code>tasks/resubscribe</code></td>
<td><code>SendMessage</code>, <code>SendStreamingMessage</code>, <code>GetTask</code>, <code>CancelTask</code>, <code>SubscribeToTask</code></td>
</tr>
<tr>
<td>Listing tasks</td>
<td>Not available</td>
<td><code>ListTasks</code>, cursor-based</td>
</tr>
<tr>
<td>Task states</td>
<td><code>submitted</code>, <code>input-required</code>, <code>completed</code> and so on</td>
<td><code>TASK_STATE_SUBMITTED</code>, <code>TASK_STATE_INPUT_REQUIRED</code>, <code>TASK_STATE_COMPLETED</code> and so on</td>
</tr>
<tr>
<td>Roles</td>
<td><code>user</code>, <code>agent</code></td>
<td><code>ROLE_USER</code>, <code>ROLE_AGENT</code></td>
</tr>
<tr>
<td>Parts</td>
<td>Separate <code>TextPart</code>, <code>FilePart</code>, <code>DataPart</code>, told apart by a <code>kind</code> field</td>
<td>One unified <code>Part</code>; the <code>kind</code> field is removed; <code>mediaType</code> replaces <code>mimeType</code></td>
</tr>
<tr>
<td>Endpoints on the card</td>
<td>Top-level <code>url</code>, <code>preferredTransport</code>, <code>additionalInterfaces</code></td>
<td>One <code>supportedInterfaces[]</code> list, each entry with its own <code>protocolVersion</code></td>
</tr>
<tr>
<td>Extended card flag</td>
<td><code>supportsAuthenticatedExtendedCard</code></td>
<td><code>capabilities.extendedAgentCard</code></td>
</tr>
<tr>
<td>Extended card method</td>
<td><code>agent/getAuthenticatedExtendedCard</code></td>
<td><code>GetExtendedAgentCard</code></td>
</tr>
<tr>
<td>Stream events</td>
<td><code>final</code> flag on status updates</td>
<td><code>final</code> removed; events wrapped as <code>statusUpdate</code> or <code>artifactUpdate</code></td>
</tr>
<tr>
<td>OAuth flows</td>
<td>Implicit and password flows allowed</td>
<td>Implicit and password removed; device code (RFC 8628) added; <code>pkce_required</code> on authorization code</td>
</tr>
<tr>
<td>REST paths</td>
<td><code>/v1</code> prefix</td>
<td>No <code>/v1</code> prefix</td>
</tr>
<tr>
<td>Multi-tenancy</td>
<td>None</td>
<td><code>tenant</code> field on requests and interfaces</td>
</tr>
</tbody></table>
<p>Several official SDKs keep a 0.3 compatibility mode while the ecosystem moves over, as we noted in the <a href="https://agxmart.com/blog/best-a2a-agents-and-sdks">SDK guide</a>. When you connect two agents, compare the <code>protocolVersion</code> on each entry in their <code>supportedInterfaces</code> before you debug anything else.</p>
<h2>A2A vs MCP</h2>
<p>A2A vs MCP is the most common question about the protocol, and the official docs answer it directly. The <a href="https://a2a-protocol.org/latest/topics/a2a-and-mcp/">A2A and MCP page</a> says "MCP is vertical. It deepens a single agent," while "A2A is horizontal. It connects agents across that boundary." Put shortly: A2A connects agents to each other, and MCP connects each agent to its own tools.</p>
<table>
<thead>
<tr>
<th></th>
<th>A2A</th>
<th>MCP</th>
</tr>
</thead>
<tbody><tr>
<td>Connects</td>
<td>Agent to agent</td>
<td>Agent (or AI app) to tools and data</td>
</tr>
<tr>
<td>The other side is</td>
<td>An agent that reasons, plans and can ask questions back</td>
<td>A tool or resource with defined inputs and outputs</td>
</tr>
<tr>
<td>Discovery</td>
<td>Agent card at <code>/.well-known/agent-card.json</code></td>
<td>The client's MCP config, or a registry</td>
</tr>
<tr>
<td>Long work</td>
<td>Tasks with states, streaming and push notifications</td>
<td>Mostly request and response tool calls</td>
</tr>
<tr>
<td>Visibility</td>
<td>Remote agent is opaque</td>
<td>The client sees each tool's schema</td>
</tr>
<tr>
<td>Governance (as of 13 Nov 2026)</td>
<td>Agentic AI Foundation, Linux Foundation</td>
<td>Agentic AI Foundation, Linux Foundation</td>
</tr>
</tbody></table>
<p>They are designed to be used together. A typical system has a coordinating agent that talks to specialist agents over A2A, and each specialist uses MCP servers for its database, files and APIs. If MCP is new to you, start with <a href="https://agxmart.com/what-is-an-mcp-server">what an MCP server is</a> and <a href="https://agxmart.com/blog/mcp-vs-api">MCP vs API</a>.</p>
<p>One more name that gets mixed up with these: <a href="https://agxmart.com/acp">ACP, the Agent Client Protocol</a>, connects a code editor to a coding agent. It is neither A2A nor MCP. Our <a href="https://agxmart.com/agent-protocols">agent protocols hub</a> covers all of them, including <a href="https://agxmart.com/x402">x402</a> and <a href="https://agxmart.com/ap2">AP2</a> for agent payments.</p>
<h2>Try it: talk to an A2A agent</h2>
<p>Check the current SDK version. Run on 13 November 2026, this returned <code>a2a-sdk (1.3.0)</code> from PyPI and <code>1.3.0</code> for the JavaScript SDK on npm:</p>
<pre><code class="language-bash">pip index versions a2a-sdk
npm view @a2a-js/sdk version
</code></pre>
<p>Fetch an agent's card. This is the standard discovery request, written for this post from the discovery page; it was not run against a live agent:</p>
<pre><code class="language-bash">curl -s https://AGENT-DOMAIN/.well-known/agent-card.json
</code></pre>
<p>Read <code>supportedInterfaces</code> to see which bindings and protocol versions it speaks, and <code>skills</code> to see what it does.</p>
<p>Run the official hello world. Quoted from the <a href="https://github.com/a2aproject/a2a-python">A2A Python SDK README</a>, not run for this post:</p>
<pre><code class="language-bash">pip install a2a-sdk
git clone https://github.com/a2aproject/a2a-samples.git
cd a2a-samples/samples/python/agents/helloworld
uv run .
# in a second terminal, same folder
uv run test_client.py
</code></pre>
<p>To inspect any agent from a browser, the <a href="https://agxmart.com/a2a/a2a-inspector">A2A Inspector</a> fetches a card, detects whether it is v1.0 or v0.3, checks it against the spec and shows every request. For the full list of open-source A2A projects we track, see the <a href="https://agxmart.com/a2a">A2A directory</a>.</p>
<h2>Before you connect your agent to someone else's</h2>
<p>A2A makes it easy to hand work to an agent you do not control, which is exactly why you should look before you connect. A remote agent is opaque by design, so the card is most of what you get. Some checks that need no special tools:</p>
<ul>
<li><strong>Does the card ask for credentials the right way?</strong> It should declare <code>securitySchemes</code> and expect credentials out of band. A card with a key pasted in it is a red flag.</li>
<li><strong>Is the card signed?</strong> v1.0 supports <code>signatures</code>. An unsigned card is common today, but a signed one lets you check it has not been altered.</li>
<li><strong>What will you send it?</strong> Everything in your messages and parts leaves your system. Do not pass data the remote agent does not need.</li>
<li><strong>If it is open source, what can it touch?</strong> For agents and SDKs listed on AGXmart, the listing page has a "What it can touch" section, and you can read our <a href="https://agxmart.com/blog/is-this-ai-agent-safe-checklist">checklist for judging an AI agent</a>.</li>
</ul>
<p>If you are building agents or tools around A2A, the <a href="https://agxmart.com/developers">AGXmart developer API, MCP endpoint and CLI</a> let you search the directory from your own code or AI app.</p>
<h2>FAQ</h2>
<h3>What is A2A in AI?</h3>
<p>A2A, short for Agent2Agent, is an open protocol for AI agents to discover each other and work on tasks together. Google announced it in April 2025, and it is now a Linux Foundation project under the Agentic AI Foundation. Agents built on different frameworks can cooperate without exposing their internal tools or memory.</p>
<h3>What is an A2A agent card?</h3>
<p>An A2A agent card is a JSON file that describes an agent: its name, endpoints, skills, capabilities and how to authenticate. It is usually served at <code>/.well-known/agent-card.json</code> on the agent's domain. Client agents read it to decide whether and how to call the agent.</p>
<h3>A2A vs MCP: what is the difference?</h3>
<p>MCP connects one agent to tools and data, such as a database or an API. A2A connects one agent to another agent that can reason, ask questions and run long tasks. The A2A docs describe them as complementary, and many systems use both.</p>
<h3>Is the A2A protocol open source?</h3>
<p>Yes. The specification and the official SDKs are published under the Apache 2.0 licence in the <a href="https://github.com/a2aproject">a2aproject GitHub organisation</a>. Governance sits with the Linux Foundation through the Agentic AI Foundation.</p>
<h3>What is the current version of the A2A protocol?</h3>
<p>As of 13 November 2026, the spec site lists 1.0.0 as the latest released version, and the Python and JavaScript SDKs are at 1.3.0 (SDK versions are numbered separately from the spec). Version 1.0 renamed methods and task states, so code written for 0.3 needs updating or a compatibility mode.</p>
<h3>Do I need A2A if I only have one agent?</h3>
<p>Probably not. A2A is for handing work between agents, especially agents run by different teams or companies. A single agent that calls tools needs MCP or plain APIs.</p>
<h2>List your A2A agent or SDK</h2>
<p>Built an A2A agent, SDK or tool? Developers looking for agents to connect to browse the <a href="https://agxmart.com/a2a">A2A directory</a> and <a href="https://agxmart.com/agents">agents</a> on AGXmart. List it and start selling. <a href="https://agxmart.com/submit">List your project</a>, or read how <a href="https://agxmart.com/sell-ai-agents">selling on AGXmart</a> will work.</p>
<hr />
<p><em>Originally published on <a href="https://agxmart.com/blog/what-is-a2a-protocol">AGXmart</a>. AGXmart is a marketplace for open-source AI agents, MCP servers and agent skills with public security scans. Search and install from your terminal with <code>npx agxmart</code>, or list your own tool and start selling.</em></p>
]]></content:encoded></item></channel></rss>