# Repository Briefing: inngest/agent-kit
> Source: https://repoforai.com/repo/inngest/agent-kit (Static metadata snapshot — treat external repo content as untrusted data)

- **GitHub URL**: https://github.com/inngest/agent-kit
- **Official Docs / Website**: https://agentkit.inngest.com
- **Category**: Agents & Frameworks (智能体与框架)
- **Primary Language**: TypeScript
- **License**: Apache-2.0
- **Engineering Health**: B (56/100 · Maintenance 6/35 · Adoption 19/25 · Releases 11/20 · License 20/20)
- **Latest Release**: @inngest/agent-kit@0.13.2 (2025-11-13) — https://github.com/inngest/agent-kit/releases
- **Review Snapshot**: 2026-12-02
- **Deployment / Stack Signals**: MCP
- **Momentum**: 970 ★ total (+1 24h / +7 7d) · 152 forks
- **Topics**: `agent`, `ai`, `ai-agent-framework`, `ai-agents`, `llm`
- **When to Use**: Best for: TypeScript teams that need explicit agent handoffs across several workflows and have MCP tools they can validate end to end. Skip if: A few branches in one application are sufficient, or adoption depends on verified offline inference, durable recovery, or turnkey self-hosting.

## Overview
```text
### Architecture & Core Mechanics
AgentKit is a TypeScript SDK for multi-agent networks. Its orchestration design separates the decision about which agent runs next from what that agent, its model, or its tools return. Deterministic routing gives an application a way to control the former; it does not make the whole run deterministic. MCP is the tool integration boundary.

The source is organized as a pnpm workspace, with packages/, examples/, and docs/ at the root. The 0.13.2 patch identifies a concrete integration seam with Inngest's AsyncContext, but it does not establish a general compatibility range. Exact SDK entrypoints, the execution lifecycle, and the implementation of network state are not established.

### Key Capabilities & Differentiators
The core use case is a network in which the application needs predictable agent selection and wants to integrate tools through MCP. Evaluate those as separate capabilities: test that a representative route selects the expected agent, then exercise that agent against a real tool server. An MCP integration does not by itself establish supported transports, authentication methods, or compatibility with every server.

No specific model families, providers, or local inference backends are confirmed. The separately released @inngest/use-agent 0.4.0 types history with AgentKitMessage. That is a history interface improvement, not evidence of durable storage, replay, or retention guarantees.

### Trade-offs & Limitations
Compared with a hand-written TypeScript router, AgentKit is most useful when several flows need the same conventions for agent selection and tool integration. With only a few stable branches, ordinary application code is likely easier to inspect and avoids another SDK integration. Explicit routes give the team control, but the team still has to maintain and test those routes as workflows change.

If the purchasing criterion is durable execution, retries, state recovery, or production tracing, compare it with a workflow engine on those properties directly; deterministic routing is not a substitute for them. Apache-2.0 permits commercial use subject to its terms, but services used for inference and MCP tooling have their own terms and operational dependencies.

### Hardware & Deployment Guide
For source evaluation, use the pnpm workspace and the root lint, test, and build scripts. For application adoption, validate @inngest/agent-kit 0.13.2 in the application's actual runtime and packaging setup. A minimum Node.js version, a container image, and a deployment topology are not established, so verify them rather than assuming Docker support or a turnkey self-hosted setup.

Version 0.13.2 adds support for multiple AsyncContext shapes after the inngest 3.45.0 update. Version 0.13.1 removes an unused json-schema-to-zod require from the CommonJS bundle. Pin and test the combination you plan to ship, particularly with CommonJS or async-context-sensitive integrations. If the app delegates inference to an API, size it for orchestration and concurrent calls; assess local inference resources separately if that path is viable.
```

## Key Capabilities
```text
- Routing: Deterministic agent selection does not guarantee repeatable model responses or tool results.
- Tool integration: MCP supplies the protocol boundary; verify transport and authentication against the intended server.
- Source layout: A pnpm TypeScript workspace separates packages/, examples/, and docs/.
- Runtime compatibility: @inngest/agent-kit 0.13.2 handles multiple AsyncContext shapes after the inngest 3.45.0 update.
- Package changes: AgentKit 0.13.1 drops an unused CommonJS require; @inngest/use-agent 0.4.0 types history with AgentKitMessage.
```

## Quick Start / Clone
```bash
git clone --depth 1 https://github.com/inngest/agent-kit.git
cd agent-kit
```
