any-agent is a Python library that provides a unified interface for working with multiple agent frameworks, allowing developers to create, run, and evaluate AI agents without being locked into a single ecosystem. It abstracts the differences between frameworks such as LangChain, LlamaIndex, OpenAI Agents, and others, enabling users to switch between them with minimal configuration changes. The library is designed to simplify experimentation and benchmarking, making it easier to compare agent behavior, performance, and reliability across different implementations. It includes built-in evaluation tools such as LLM-as-a-judge and agent-as-a-judge methodologies, which help developers assess output quality systematically. any-agent also supports advanced capabilities like tracing, callbacks, and standardized observability through OpenTelemetry, ensuring consistent monitoring across frameworks. Additionally, it allows agents to be deployed using protocols like MCP.
Features
- Unified interface across multiple agent frameworks
- Built-in evaluation tools for agent performance
- OpenTelemetry-based tracing and observability
- Support for MCP and agent-to-agent protocols
- Framework-agnostic configuration and switching
- Tool integration and callback system