Skip to content
项目

关于

学习、实践和比较现代开源 AI 智能体框架的终极实验场——从基础到可用于生产的配置。

人工智能与机器学习

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文


Logo

🤖 AI Agent Frameworks

A hands-on comparison of modern AI agent and multi-agent frameworks. Get started with practical examples and explore the unique features of each framework.
Report Bug · Request Feature

This repository provides a comprehensive, hands-on comparison of modern AI agent and multi-agent frameworks. Each framework is explored through practical examples, showcasing both core functionality and its unique features, capabilities, and use cases.

🤖 Frameworks Included

Framework Version Docs Repository
AG2 1.2.1 Docs GitHub
Agno 3.0.9 Docs GitHub
Autogen Autogen 0.7.5 Docs GitHub
Claude Agent SDK Claude Agent SDK 0.2.130 Docs GitHub
CrewAI 1.15.21 Docs GitHub
Deep Agents Deep Agents 0.7.13 Docs GitHub
Google ADK Google ADK 2.9.0 Docs GitHub
LangChain 1.4.0 Docs GitHub
LangGraph LangGraph 1.2.11 Docs GitHub
LlamaIndex LlamaIndex 0.14.25 Docs GitHub
Microsoft Agent Framework Agent Framework 1.18.0 Docs GitHub
OpenAI Agents SDK OpenAI Agents SDK 0.24.0 Docs GitHub
Pydantic-AI 1.107.0 Docs GitHub
smolagents smolagents 1.26.0 Docs GitHub
Strands Agents SDK 1.55.1 Docs GitHub

📁 Structure

The repository is organized by framework, with each top-level folder containing examples, configuration, and a README.md for that framework. The examples range from simple agent tasks to more advanced scenarios, including multi-agent workflows, RAG (Retrieval-Augmented Generation), API integrations, support for state-of-the-art protocols such as A2A and MCP, and much more.

Main modules:

  • ag2/
  • agno/
  • autogen/
  • claude-agents-sdk/
  • crewai/
  • deepagents/
  • google-adk/
  • langchain/
  • langgraph/
  • llama-index/
  • microsoft-agent-framework/
  • openai-agents-sdk/
  • pydantic-ai/
  • smolagents/
  • strands-agents-sdk/
  • study-agents-differences/

All modules use uv for dependency management (pyproject.toml + uv.lock). Always check the README.md in each module for specific setup and usage instructions.

🚀 Getting Started

  1. Choose a framework: Navigate to the relevant folder for the agent framework you want to explore.
  2. Install dependencies: Run uv sync inside the framework folder to install all dependencies.
  3. Configure API keys: Copy .env.example to .env and fill in your API keys.
  4. Run examples: Execute files with uv run <filename>.py.

🧪 Comparison and Experiments

The study-agents-differences/ folder contains comprehensive scripts and utilities for comparing frameworks on common tasks, including RAG, API integration, and multi-agent workflows. It provides:

  • Unified agent interfaces for Agno, LangGraph, LlamaIndex, OpenAI, and Pydantic-AI
  • Performance benchmarks measuring response time, token usage, and tool utilization
  • Detailed results and analysis comparing different agent designs and tool integrations
  • Interactive Streamlit UI for real-time comparison (streamlit run agent-ui.py)

🤝 Contributing

All contributions are welcome! If you have suggestions for new examples, frameworks to add, or improvements to existing content, please open an issue or submit a pull request.


Notes

  • All modules use uv for dependency management (pyproject.toml + uv.lock). Check each module's README.md for installation and usage.
  • Install dependencies before running examples.
  • Example .env.example files are provided where needed for API keys and settings.

探索相关项目

加载中…