Ship AI agents in JavaScript.Without gluing 8 libraries together.
AgentsKit gives you chat UI, runtime, tools, memory, RAG, and production guardrails in one ecosystem. Swap OpenAI for Claude, React for terminal, in-memory for vector DB. Start small, grow into the full stack, and keep your code intact.
4 templates · zero-config demo provider · agentskit dev hot-reloads your agent
The 5 KB substrate. Works in browser, Node, Deno, Bun — anywhere JS runs.
MIT · Works with OpenAI, Anthropic, Gemini, Ollama, Vercel AI SDK, LangChain
15kmonthly downloads·19 packagesAgent renders real React components — not markdown. See how →
The problem
Building agents in JS today is a glue job.
The fix
One ecosystem. Nineteen packages. Start with one, grow to the full stack.
A 10KB zero-dependency core defines six contracts. Every adapter, tool, skill, memory, retriever, and runtime is substitutable — so your code survives provider changes, UI changes, and scale.
The ecosystem
Everything you need. Nothing you don't.
Every number above is a click-through. Install what you need; the core stays under 10 KB gzipped.
Why teams ship with it
Code you'll still want to own in 12 months.
Swap providers without a rewrite
OpenAI, Anthropic, Gemini, Grok, Ollama, DeepSeek. Same adapter contract. Change one line.
Same code, browser to terminal
useChat() in React. Same hooks in Ink. Same runtime on server. Write once.
Start at 10KB, grow to full stack
Ship a chat box today. Add tools, RAG, memory, eval when you need them. Never rewrite.
Agent-first, not chat-first
ReAct loops, reflection, planning, multi-agent delegation — built in. Not bolted on.
Tools that actually work
Browser, filesystem, search, email, code exec. Strict contract. Parallel calls. Human approval.
Observable by default
LangSmith, OpenTelemetry, console. Every LLM call, tool, memory op — traced. Optional, non-blocking.
What you can build
Start from the outcome, not the taxonomy.
Four end-to-end builds showing how the packages compose into real products, not just API surfaces.
Support agent
→Customer support with memory, CRM tools, escalation, and audit trails.
Research agent
→Search, browse, summarize, and run repeatable research workflows.
Code agent
→Repository-aware automation with filesystem tools, runtime loops, and replay.
Internal copilot
→Company knowledge, RAG, internal tools, and production controls in one stack.
Proof, not promises
Start from a template, a demo, or a runnable recipe.
Scaffold a project, inspect a live demo, or copy a recipe and run it locally. Pick the angle you trust.
Scaffold a starter
Use `agentskit init` to spin up a React chat, Ink terminal app, runtime worker, or multi-agent starter.
See starters →Browse live examples
Open interactive demos for support bots, code assistants, RAG chat, runtime agents, and multi-agent planning.
Open examples →Copy runnable recipes
Jump straight into end-to-end snippets for integrations, replay, security, evals, and retrieval pipelines.
Open recipes →20+ providers. Same contract. Swap in one line.
Built by contributors like you
Build the agent. Skip the plumbing.
30 seconds to install. First streaming agent in under 10 lines. No credit card, no signup, no lock-in.
4 templates · zero-config demo provider · agentskit dev hot-reloads your agent
The 5 KB substrate. Works in browser, Node, Deno, Bun — anywhere JS runs.
AgentsKit.js · MIT · 19 packages on npm · built in the open