| What it is | How Python does AI: agents, realtime voice, image generation, embeddings, typed end to end | A framework for building agents and LLM-powered applications | A barebones library for agents that think in code | Low-level orchestration framework for building stateful agents |
| Features | - typed agent loop with validated outputs and tools
- many model providers, switched by model string, with fallback models
- MCP client capability
- Pydantic AI Harness: file system, shell, repo context, sub-agents and context management
- durable execution with Temporal, DBOS and Prefect
- realtime voice sessions
- Pydantic Evals for outputs and tool-call trajectories
- clai command-line chat
| - create_agent: a minimal, configurable agent harness (prompt, tools, model loop)
- middleware for guardrails, retries, routing and custom tool policies
- one interface for chat models and embeddings across providers (init_chat_model with provider:model strings)
- provider packages such as langchain-openai, langchain-anthropic, langchain-ollama, langchain-aws and @langchain/anthropic
- more than 1,000 integrations: chat and embedding models, tools and toolkits, document loaders, vector stores, checkpointers, sandboxes
- MCPAdapter connects agents to MCP servers over Streamable HTTP, stdio or in-process FastMCP servers
- agents run on LangGraph for durable execution, persistence and human-in-the-loop
- Python (langchain) and JavaScript/TypeScript (langchain on npm) libraries
- All 10 features
| - CodeAgent that writes its actions as Python code
- ToolCallingAgent for JSON tool calls
- sandboxed execution via Blaxel, E2B, Modal or Docker
- any LLM: transformers, Ollama, Hugging Face inference providers, LiteLLM
- tools from MCP servers, LangChain and Hugging Face Spaces
- share and load agents and tools on the Hugging Face Hub
- text, vision, video and audio inputs
- core agent logic in about 1,000 lines of code
| - graphs of nodes and edges over shared state, with branching, loops and subgraphs
- durable execution: checkpoints let runs survive failures and resume where they stopped
- human-in-the-loop interrupts to inspect and change state at any point
- short-term working memory and long-term memory across sessions
- token-by-token streaming of output and intermediate steps
- checkpointer packages such as langgraph-checkpoint-postgres and langgraph-checkpoint-sqlite
- langgraph-cli for running and building agents for LangSmith Agent Server
- Python (langgraph) and JavaScript/TypeScript (@langchain/langgraph) libraries
- All 10 features
|