Protocol
A2A
Type
SDK
Stars
1.3k
License
Apache-2.0
Last push
Nov 1, 2026

any-agent A2A SDK

by mozilla-ai• 1.3k•
A2ASDKPython

Single interface over agent frameworks that can serve agents over A2A

About any-agent

any-agent is an open-source A2A SDK by mozilla-ai, written mainly in Python. Single interface over agent frameworks that can serve agents over A2A. It has 1,257 GitHub stars and uses the Apache-2.0 license, and its code was last pushed on Nov 1, 2026.

New to A2A? Our A2A Protocol guide explains how it works and lists other projects built on it.

At a glance

Protocol
A2A
Type
SDK
Language
Python
License
Apache-2.0
GitHub stars
1,257
Last push
Nov 1, 2026

Listed from public GitHub data, checked 2026-11-08. Not scanned by AgenticMart.

Questions about any-agent

What is any-agent?

Single interface over agent frameworks that can serve agents over A2A It is listed as a A2A SDK, maintained in the mozilla-ai/any-agent repository on GitHub.

How do I install any-agent?

The project's README gives this command: pip install 'any-agent'. Read the README for setup steps and requirements before running it.

Is any-agent an official A2A project?

No. It is a community project built on A2A, not published by the organisation that runs the protocol.

What license does any-agent use?

It is published under the Apache-2.0 license. Check the license file in the repository before using it commercially.

Is any-agent still maintained?

Its code was last pushed on Nov 1, 2026, and it had 1,257 GitHub stars when we checked on 2026-11-08. Look at recent issues and releases in the repository for a fuller picture.

README

<p align="center"> <picture> <img src="https://raw.githubusercontent.com/mozilla-ai/any-agent/refs/heads/main/docs/images/any-agent-logo-mark.png" width="20%" alt="Project logo"/> </picture> </p> <div align="center">

any-agent

Docs Tests Python 3.11+ PyPI <a href="https://discord.gg/4gf3zXrQUc"> <img src="https://img.shields.io/static/v1?label=Chat%20on&message=Discord&color=blue&logo=Discord&style=flat-square" alt="Discord"> </a>

A single interface to use and evaluate different agent frameworks.

</div>

[!IMPORTANT] any-agent is in soft deprecation. It started as a research project to compare agent frameworks and refine a minimal common surface. That distillation has graduated to its own package: mozilla-ai-tinyagent (PyPI: mozilla-ai-tinyagent). For new projects we recommend using tinyagent directly.

any-agent continues to be published and we'll take security/bug-fix PRs, but no new features are planned. Reach for any-agent when you specifically need to run or evaluate agents across multiple frameworks (Agno, Google ADK, LangChain, LlamaIndex, OpenAI Agents SDK, smolagents) under one API. If you only need the core agent loop, mozilla-ai-tinyagent is the leaner path.

Documentation

Supported Frameworks

TinyAgent Google ADK LangChain LlamaIndex OpenAI Agents Smolagents Agno AI

Planned for Support (Contributions Welcome!)

Open Github tickets for new frameworks

Requirements

  • Python 3.11 or newer

Quickstart

Refer to pyproject.toml for a list of the options available. Update your pip install command to include the frameworks that you plan on using:

pip install 'any-agent'

To define any agent system you will always use the same imports:

from any_agent import AgentConfig, AnyAgent

For this example we use a model hosted by Mistral, but you may need to set the relevant API key for whichever provider being used. See our Model Configuration docs for more information about configuring models.

export MISTRAL_API_KEY="YOUR_KEY_HERE"  # or OPENAI_API_KEY, etc
from any_agent.tools import search_web, visit_webpage

agent = AnyAgent.create(
    "tinyagent",  # See all options in https://docs.mozilla.ai/any-agent/
    AgentConfig(
        model_id="mistral:mistral-small-latest",
        instructions="Use the tools to find an answer",
        tools=[search_web, visit_webpage]
    )
)

agent_trace = agent.run("Which Agent Framework is the best??")
print(agent_trace)

[!TIP] Multi-agent can be implemented using Agents-As-Tools.

Cookbooks

Get started quickly with these practical examples:

Contributions

The AI agent space is moving fast! If you see a new agentic framework that AnyAgent doesn't yet support, we would love for you to create a Github issue. We also welcome your support in development of additional features or functionality.

Running in Jupyter Notebook

If running in Jupyter Notebook you will need to add the following two lines before running AnyAgent, otherwise you may see the error RuntimeError: This event loop is already running. This is a known limitation of Jupyter Notebooks, see Github Issue

import nest_asyncio
nest_asyncio.apply()

More A2A projects

All 20 →