Skip to content
AgentsKit

AgentsKit

The TypeScript foundation for building AI agents β€” runtime, tools, memory, RAG, adapters, headless UI bindings, and production guardrails.

Agents shouldn't be a monolith. AgentsKit is a family of small, plug-and-play packages covering the whole agent lifecycle in JavaScript: autonomous runtimes, tools, skills, memory, RAG, headless UI bindings, observability, evaluation, and sandboxing. Install what you need. Everything else stays out of your bundle.

OpenSSF Best Practices

#Start here

Pick a path by what you're shipping.

#Build path

If you are evaluating AgentsKit, this is the shortest path to understanding the product:

  1. Build your first agent β€” see provider + runtime + tools + memory + observability working together.
  2. Architecture at a glance β€” understand which layer owns what.
  3. Production β€” add observability, security, evals, and CLI workflows.
  • Support agent β€” customer support with memory, tools, and escalation.
  • Research agent β€” web research, structured summaries, and background jobs.
  • Code agent β€” repository-aware automation with safe tool use.
  • Internal copilot β€” company knowledge with RAG and production controls.

#The substrate

Six stable contracts. Every package is an implementation of one.

ContractRoleDeep dive
AdapterLLM provider seamconcept Β· implementations
ToolFunction the model callsconcept Β· implementations
SkillDeclarative personaconcept Β· implementations
MemoryChat history + vector stateconcept Β· implementations
RetrieverContext fetchingconcept Β· implementations
RuntimeThe loop that composes them allconcept Β· implementations

Learn the six once; swap implementations forever. The mental model walks through how they compose.

#What's inside

  • 24 packages under @agentskit/* β€” foundation, providers, UI bindings, runtime, capabilities, observability, infrastructure. Full index.
  • 7 framework bindings sharing one useChat contract. UI matrix.
  • 29 native adapters plus a catalog of 232 providers. Providers.
  • 53 integrations for tools agents call. Integrations.
  • 60+ recipes grouped by theme. Recipes.
  • Open specs β€” A2A, Manifest, Eval Format, AgentSchema β€” portable JSON. Specs.

#Keep reading

  • Comparison β€” AgentsKit vs LangChain, Vercel AI, Mastra, LlamaIndex.
  • Migrating β€” port from Vercel AI SDK, LangChain.js, Mastra.
  • For agents β€” dense LLM-friendly reference per contract.
  • Examples β€” live interactive demos.
  • Contribute β€” built in the open. Discord is optional; product chrome does not promote it.
  • AgentsKit Chat β€” versioned chat applications on this foundation.