any-agent provides one interface for running and evaluating agents built with different agent frameworks. Researchers and developers use it to compare frameworks such as Agno, LangChain, LlamaIndex, and OpenAI Agents SDK, while the catalogue entries provide agents and instructions for this interface.
Borrowing it
Nothing to install: this file belongs to mozilla-ai/any-agent. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/mozilla-ai/any-agent/main/AGENTS.mdgit clone --depth 1 https://github.com/mozilla-ai/any-agentWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/instructions/mozilla-ai/any-agent/agents-md)<a href="https://agentmods.dev/instructions/mozilla-ai/any-agent/agents-md"><img src="https://agentmods.dev/badge/instructions/mozilla-ai/any-agent/agents-md/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/instructions/mozilla-ai/any-agent/agents-md"><img src="https://agentmods.dev/badge/instructions/mozilla-ai/any-agent/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.02162 | $0.02162 |
| Opus 5.5 | $0.00865 | $0.00865 |
| Sonnet 5.5 | $0.00432 | $0.00432 |
| Haiku 4.5 | $0.00216 | $0.00216 |
Grade A, and why
any-agent AGENTS.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 93 lines — stays where its author put it; the contents beside it link to each section on GitHub.
CLAUDE.md
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
CLAUDE.md is a symlink to this file. Always edit AGENTS.md directly; never modify CLAUDE.md.
Project Status: Soft Deprecation
any-agent is in soft deprecation. It is still published and maintained, but:
- Bug fixes and security fixes only. No new features are planned.
- New projects should use
mozilla-ai-tinyagent(PyPI:mozilla-ai-tinyagent) if they only need the core agent loop. That package is where the distilled agent loop now lives. - Reach for
any-agentwhen you specifically need to run or evaluate agents across multiple frameworks (Agno, Google ADK, LangChain, LlamaIndex, OpenAI Agents SDK, smolagents, TinyAgent) under one API.
Before starting feature work, check whether the change belongs in tinyagent instead. See the banner in README.md for the user-facing statement.
Where to Look First
- README.md: high-level usage and supported frameworks.
- CONTRIBUTING.md: canonical dev setup, test matrix, and contribution workflow.
- pyproject.toml and .pre-commit-config.yaml: formatting/lint/typecheck configuration.
- docs/: MkDocs documentation site (configured by mkdocs.yml).
Project Structure & Module Organization
src/any_agent/: Core library.AnyAgentis the main entry point;AgentConfigandAgentFrameworkdefine config.src/any_agent/frameworks/: One module per supported framework (agno, google, langchain, llama_index, openai, smolagents, tinyagent). Each implementsAnyAgent's abstract methods via lazy imports to keep optional dependencies isolated. Thetinyagentmodule is a thin shim that delegates to the standalonemozilla-ai-tinyagentpackage; the loop itself lives there.src/any_agent/callbacks/: Callback system with per-framework wrappers (wrappers/) and span generation (span_generation/). Base class isCallbackinbase.py.src/any_agent/tools/: Built-in tools (web browsing, user interaction, final output) plus MCP client integration (mcp/), A2A tools, and Composio integration.src/any_agent/tracing/: OpenTelemetry tracing setup plus attribute keys (AnyAgentAttributes, andGenAIre-exported fromtinyagent). TheAgentTrace/AgentSpan/TokenInfo/CostInfo/AgentMessagetypes are re-exported from thetinyagentpackage byagent_trace.py, so both packages share the same classes;otel_types.pyre-exports the OTel value types the same way.src/any_agent/evaluation/: LLM judge and agent judge evaluators.src/any_agent/serving/: A2A protocol and MCP server implementations for serving agents.src/any_agent/vendor/: Vendored adapters (langchain_any_llm, llama_index_utils). Excluded from the ruff lint hook (ruff-formatstill applies) and from coverage.src/any_agent/testing/: Test helpers (helpers.py) shipped with the package.src/any_agent/utils/: Small shared utilities (cast.py).demo/: Standalone Streamlit demo deployed to Hugging Face Spaces. It has its ownrequirements.txtand is excluded from the ruff lint hook (ruff-formatstill applies) and from mypy; it is not part of the library.scripts/: Repo tooling (convert_to_gitbook.py,generate_api_docs.py,wake_up_hf_endpoint.py), excluded from mypy.tests/:unit/,integration/,snapshots/,cookbooks/(runs the notebooks underdocs/cookbook/),docs/(checks code blocks in the docs viamktestdocs), andassets/(fixture data: trace JSON and HTML), plus shared fixtures intests/conftest.py.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 1mo ago Changed · +17 lines · +686 tokens per session e05906173fa7
- 2mo ago First seen · 76 lines · 1,476 tokens per session scan A ed78445e607d
any-agent AGENTS.md is an instructions file published in the GitHub repository mozilla-ai/any-agent (1,255 stars, last pushed 6d ago), licensed Apache-2.0. It adds 2,162 tokens to every session, about $0.0086 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
any-agent AGENTS.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| any-agent AGENTS.mdmozilla-ai/any-agent | Instructions file | 1.3k | 6d ago | Apache-2.0 | A | 2,162 | Codex, OpenCode |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 9,719 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | today | MIT | A | 7,461 | Codex, OpenCode |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | yesterday | MIT | A | 4,680 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 5,516 | GitHub Copilot |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 3,093 | GitHub Copilot |
| deepseek-harness AGENTS.mddeepseek-ai/deepseek-harness | Instructions file | 274k | 2d ago | MIT | A | 4,313 | Codex, OpenCode |