AgentKit
A TypeScript library to create and orchestrate AI Agents.
AgentKit is a framework to build AI Agents, from single model inference calls to multi-agent systems that use tools. Designed with orchestration at it’s core, AgentKit enables developers to build, test, and deploy reliable AI applications at scale.
With AgentKit, you get:
✨ Simple and composable primitives to build from simple Support Agents to semi-autonomous Coding Agents.
🧠 Support for OpenAI, Anthropic, Gemini and all OpenAI API compatible models.
🛠️ Powerful tools building API with support for Claude MCP.
🔌 Integrates with your favorite AI libraries and products (ex: E2B, Browserbase, Neon).
📊 Local Live traces and input/output logs when combined with the Inngest Dev Server.
New to AI Agents? Follow our guided tour to learn how to build your first AgentKit application.
All the above sounds familiar? Check our Getting started section or the “How AgentKit works” section to learn more about AgentKit’s architecture.
Getting started
Quick start
Jump into the action by building your first AgentKit application.
Examples
Looking for inspiration? Check out our examples to see how AgentKit can be used.
Concepts
Learn the core concepts of AgentKit.
SDK Reference
Ready to dive into the code? Browse the SDK reference to learn more about AgentKit’s primitives.
How AgentKit works
AgentKit enables developers to compose simple single-agent systems or entire systems of agents in which multiple agents can work together. Agents are combined into Networks which include a Router to determine which Agent should be called. Their system’s memory is recorded as Network State which can be used by the Router, Agents or Tools to collaborate on tasks.
The entire system is orchestration-aware and allows for customization at runtime for dynamic, powerful AI workflows and agentic systems. Here is what a simple Network looks like in code: