> 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
