any-agent
ActiveDescription
A single interface to use and evaluate different agent frameworks.
Key Features
- Unified interface supporting 7+ major agent frameworks: TinyAgent, Google ADK, LangChain, LlamaIndex, OpenAI Agents, Smolagents, Agno
- Built-in agent evaluation capabilities to compare performance and output quality across frameworks
- Supports MCP (Model Context Protocol) tool integration and A2A (Agent-to-Agent) communication
- Built-in tracing and serving functionality for monitoring and deploying agent services
- Rich cookbook examples: first agent, evaluation, callbacks, MCP integration, A2A deployment and more
- Supports Agents-As-Tools pattern for building multi-agent systems
Use Cases
π‘ Quickly compare output quality and performance across different agent frameworks (LangChain vs OpenAI Agents vs Smolagents)
π‘ Build framework-switchable agent applications using a unified API, avoiding framework lock-in
π‘ Integrate external tools via MCP to build agents with web search and information retrieval capabilities
π‘ Deploy multi-agent collaboration systems using the A2A protocol
π‘ Use built-in evaluation tools for automated quality detection of agent outputs
Categories
Quick Start
Install: pip install any-agent. Set API Key (export MISTRAL_API_KEY=YOUR_KEY). Create agent using unified interface: from any_agent import AgentConfig, AnyAgent, call AnyAgent.create("tinyagent", AgentConfig(...)) to create, then agent.run(query) to execute.