โ ๐ฆ๐๐ป๐ฑ๐ฎ๐ ๐๐ผ๐ณ๐ณ๐ฒ๐ฒ & ๐๐ผ๐ฑ๐ฒ - ๐๐ฎ๐๐ ๐๐ฒ๐ฒ๐ธ ๐๐ต๐ฒ ๐ฎ๐ด๐ฒ๐ป๐๐ ๐ฐ๐ผ๐๐น๐ฑ ๐๐ถ๐๐ถ๐. ๐ง๐ต๐ถ๐ ๐๐ฒ๐ฒ๐ธ, ๐๐ผ๐บ๐ฒ๐ผ๐ป๐ฒ ๐ฎ๐ป๐๐๐ฒ๐ฟ๐ ๐๐ต๐ฒ ๐ฑ๐ผ๐ผ๐ฟ.
Last week I got my ai4enterprise.ca website ready for non-human visitors with an MCP server, so AI agents could use the siteโs content as tools. This week I gave the site an agent of its own.
๐ฎ๐ถ๐ฐ๐ฒ๐ป๐๐ฒ๐ฟ๐ฝ๐ฟ๐ถ๐๐ฒ.๐ฐ๐ฎ ๐ป๐ผ๐ ๐ต๐ฎ๐ ๐๐ต๐ฟ๐ฒ๐ฒ ๐ณ๐ฟ๐ผ๐ป๐ ๐ฑ๐ผ๐ผ๐ฟ๐:
- The web pages, for people
- /mcp, for agents that want to use the siteโs tools
- /agent, for agents that want to hand a task to the siteโs own agent, over the Agent2Agent (A2A) protocol
Why? MCP gives another agent the siteโs tools and leaves the thinking to that agent. A2A lets it delegate the whole job: โ๐ณ๐ฆ๐ด๐ฆ๐ข๐ณ๐ค๐ฉ ๐ต๐ฉ๐ช๐ด ๐ต๐ฐ๐ฑ๐ช๐คโ or โ๐ช๐ด ๐๐4๐๐ฏ๐ต๐ฆ๐ณ๐ฑ๐ณ๐ช๐ด๐ฆ ๐ข ๐ง๐ช๐ต ๐ง๐ฐ๐ณ ๐ต๐ฉ๐ช๐ด ๐ฐ๐ณ๐จ๐ข๐ฏ๐ช๐ด๐ข๐ต๐ช๐ฐ๐ฏ?โ My agent then decides which MCP tools to call and returns an answer.
In the video, a Microsoft Copilot Studio agent finds my agent through its Agent Card and delegates a task to it. Microsoftโs platform calling an agent on Cloudflareโs edge, with no shared code, just a protocol.
๐๐ฒ๐ ๐๐ต๐ถ๐ป๐ด๐ ๐ ๐น๐ฒ๐ฎ๐ฟ๐ป๐ฒ๐ฑ.
- Build to the newest spec, but probe the client. I built for A2A v1.0 with a v0.3 switch. The logs showed Copilot Studio speaks v0.3 and sends the key without the usual โBearerโ prefix. One logged request answered both questions.
- An agent is more than a protocol endpoint. Cloudflareโs Agents SDK seems to give each conversation its own Durable Object, with its own memory and task history, so follow-up messages reach the same agent.
- Safe defaults. The agent is off unless I switch it on, needs a key, and is rate-limited per caller. It runs on the Workers Free plan, so model spend has a hard daily cap. One run cost about 21 of the 10,000 free daily Neurons.
- Microsoftโs environment takes a little while to settle - donโt expect to connect to an external agent and for it to be immediately available - it took around 5 minutes plus to settle down.
Browse to ai4enterprise.ca/agent and youโll find a page for humans explaining what it is, and whether itโs online.
๐๐๐ถ๐น๐ ๐๐ถ๐๐ต:
- Cloudflare Workers, Durable Objects and the Agents SDK
- Workers AI (Qwen3-30B) and AI Gateway
- Agent2Agent (A2A) protocol
- Model Context Protocol (MCP)
- Microsoft Copilot Studio
- Claude Code
Is your organisation ready for visitors that arenโt people?
๐ง๐ต๐ถ๐ป๐ธ. ๐ ๐ผ๐ฑ๐ฒ๐น. ๐๐ฐ๐. (๐ข๐ฏ๐ฅ ๐ค๐ฐ๐ง๐ง๐ฆ๐ฆ)
