Python library for agent framework abstraction
Top 43.7% on sourcepulse
This Python library provides a unified interface for interacting with and evaluating various AI agent frameworks, targeting developers building agent-based applications. It simplifies switching between frameworks and offers a trace-first evaluation tool, reducing boilerplate code and enabling standardized performance measurement.
How It Works
Any-agent acts as an abstraction layer, mapping a common API to different underlying agent framework implementations. It leverages LiteLLM for broad LLM provider compatibility and supports the Model Context Protocol (MCP). This approach allows users to define agents and their configurations (models, tools, instructions) once, then swap the framework backend with minimal code changes.
Quick Start & Requirements
pip install 'any-agent[all]'
(or specific frameworks).Highlighted Details
Maintenance & Community
Contributions are welcomed for new frameworks and features. Open GitHub issues for unsupported frameworks.
Licensing & Compatibility
The repository does not explicitly state a license in the README. Compatibility for commercial use or closed-source linking is not specified.
Limitations & Caveats
Running in Jupyter Notebook requires nest_asyncio.apply()
due to event loop conflicts. The license status requires clarification for production use.
1 day ago
Inactive