AIToday
Large Language ModelsAI Coding AssistantsZenn AI/MLPublished: Dec 4, 2026, 10:01 JST

Microsoft ships azure-ai-agentserver-a2a 1.0.0b1 for Foundry

Send on LINE
Microsoft ships azure-ai-agentserver-a2a 1.0.0b1 for Foundry

3 Key Points

  1. What happened

    Microsoft published azure-ai-agentserver-a2a 1.0.0b1 on November 5, letting Python code expose agents on Foundry's hosted agents via A2A, using A2AAgentServerHost with an Agent Card and AgentExecutor.

  2. Why it matters

    Teams building A2A clients against the new package will hit errors right away if they reuse older message formats, so early testing surfaces compatibility issues before production.

Ask AI

Ask the AI about this article. Questions and answers are published on this page

Context & Analysis

The release is a first preview, versioned 1.0.0b1, and a hands-on test on a Mac shows the package is usable but has rough edges. Installation required care: using pip's --pre flag pulled in a pre-release httpx that broke imports, while pinning the package version installed httpx 0.28.1 and worked. The package also requires Python 3.10 or later, so developers on 3.9 must switch environments.

Once running, the minimal server is compact: A2AAgentServerHost takes an Agent Card and an AgentExecutor from a2a-sdk, and the agent card is served at /a2a/.well-known/agent-card.json while requests go to POST /a2a. The biggest stumbling block was versioning: without a version header the server treats requests as 0.3 and rejects them with code -32009, and 1.1 is likewise refused; only 1.0 is accepted, via header or query parameter. The 1.0 message shape also differs from 0.3, requiring role ROLE_USER and text parts, and method names like SendMessage instead of message/send.

Task persistence depends on where the server runs. Locally, tasks live in memory and vanish on restart; on Foundry, the release notes point to FoundryTaskStore for retrieval after restart, though that behavior was not tested here. The public classes are experimental and may change.

FAQ
What Python version does azure-ai-agentserver-a2a 1.0.0b1 require?
The package requires Python 3.10 or later; the author had to switch from Python 3.9 to a 3.13 virtual environment to install it.
How do I install the package without breaking dependencies?
Install with pip install "azure-ai-agentserver-a2a==1.0.0b1" without the --pre flag; using --pre pulled in httpx 1.0.dev6, which caused an import error, while pinning the version installed httpx 0.28.1 and worked.
Are tasks preserved after a server restart?
In local runs tasks are stored in memory (InMemoryTaskStore), so they disappear after restart; on Foundry, the release notes say tasks use FoundryTaskStore and can be retrieved after restart, though in-progress work is not automatically resumed.
Send on LINE

AI news that matters for your work, delivered every morning.

Pick your industry and the AI tools you use, and get news related to your work every day.

By signing up you agree to the Terms of Service and Privacy Policy.

Free · 30 seconds with Google · unsubscribe anytimeWhat is AIToday? →

Related Articles

Next articleOpenRouter finds AI accuracy drops to 27% as sessions lengthen