Build AI Agents That Actually Work
DeepAgents is a TypeScript framework for building multi-agent AI systems that handle complex, real-world tasks. Create agents that use tools, coordinate through handoffs, query databases in natural language, and leverage RAG for intelligent document retrieval.Quick Start
Get up and running in 5 minutes with your first agent
Core Concepts
Learn about agent architecture and composition patterns
API Reference
Explore the complete package documentation
Examples
See real-world agent implementations
Why DeepAgents?
Type-Safe
Full TypeScript support with inference for context, outputs, and tools
Multi-Agent
Built-in handoffs for agent delegation and coordination
Production-Ready
Context persistence, streaming, error recovery, and evals
Model-Agnostic
Works with OpenAI, Anthropic, Google, Groq, and any Vercel AI SDK provider
SQL Generation
Natural language to SQL with multi-database support
RAG Built-In
Local-first retrieval with vector search and embeddings
Framework Packages
@deepagents/agent
Core agent framework with tools, handoffs, and streaming
@deepagents/context
Context management with XML, Markdown, and TOML renderers
@deepagents/text2sql
AI-powered natural language to SQL queries
@deepagents/retrieval
Local-first RAG with vector embeddings and search
@deepagents/evals
LLM evaluation framework with scoring and persistence
@deepagents/orchestrator
High-level orchestration patterns for complex workflows
@deepagents/toolbox
Pre-built tools for web search, filesystem, and more
Key Features
Agent Composition
Build modular agents with specific roles and capabilities. Agents can use tools, maintain context, and delegate to specialized agents.Multi-Agent Coordination
Agents automatically coordinate through handoffs, allowing specialized agents to handle specific tasks.Natural Language to SQL
Convert questions to validated, executable SQL queries with built-in safety and domain knowledge injection.RAG and Document Search
Ingest content from various sources and perform semantic search with local embeddings.Philosophy
DeepAgents is in early development with no backwards compatibility concerns. We do things RIGHT: clean, organized, zero tech debt. No workarounds, only full implementations built for scale.
- Type Safety - Full TypeScript inference across all APIs
- Composability - Build complex systems from simple, reusable agents
- Production Quality - Persistence, streaming, error recovery, and evaluation
- Developer Experience - Clear APIs, helpful errors, comprehensive examples
Getting Started
Continue to the Quick Start Guide for a complete walkthrough.Community and Support
GitHub Repository
Star the repo, report issues, and contribute
Report Issues
Found a bug? Let us know