> For the complete documentation index, see [llms.txt](https://docs.mozilla.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.mozilla.ai/any-agent/index.md).

# Introduction

## One interface. Every agent framework.

any-agent gives you a single interface for building agents across multiple frameworks.

Choose a path:

{% content-ref url="/pages/sOSlJuP6sfPqFyI4KcJN" %}
[Your First Agent](/any-agent/cookbook/your-first-agent.md)
{% endcontent-ref %}

{% content-ref url="/pages/BlyCM8ejMmscJIBeO4mv" %}
[Define and Run Agents](/any-agent/agents/index.md)
{% endcontent-ref %}

[View on GitHub](https://github.com/mozilla-ai/any-agent)

## Why any-agent

* **Framework agnostic**: Switch between Agno, Google ADK, LangChain, LlamaIndex, OpenAI, smolagents, and TinyAgent with a single parameter change.
* **Unified tracing**: Standardized OpenTelemetry traces across all frameworks for consistent observability.
* **Built-in evaluation**: LLM-as-a-judge and agent-as-a-judge evaluation tools to assess agent performance.
* **Serve anywhere**: Serve agents via A2A or MCP protocols and compose them as tools for other agents.

## Requirements

* Python 3.11 or newer

## Installation

You can install the bare bones library as follows (only [TinyAgent](/any-agent/agents/index-1/tinyagent.md) will be available):

```bash
pip install any-agent
```

Or you can install it with the required dependencies for different frameworks:

```bash
pip install any-agent[agno,openai]
```

Refer to [pyproject.toml](https://github.com/mozilla-ai/any-agent/blob/main/pyproject.toml) for a list of the options available.

## For AI Systems

This documentation is available in two AI-friendly formats:

* [**llms.txt**](https://mozilla-ai.github.io/any-agent/llms.txt) - A structured overview with curated links to key documentation sections
* [**llms-full.txt**](https://mozilla-ai.github.io/any-agent/llms-full.txt) - Complete documentation content concatenated into a single file


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.mozilla.ai/any-agent/index.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
