agentskit.js
core v1.0 · 19 packages · MIT

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.

Start freshrecommended

4 templates · zero-config demo provider · agentskit dev hot-reloads your agent

Add to a project

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 packages
chat.agentskit.iolive
ask anything…

Agent renders real React components — not markdown. See how →

monthly downloadsgithub starscontributors19packages on npm10KBcore sizeMITlicense

The problem

Building agents in JS today is a glue job.

LangChain is bloated. Vercel AI SDK hits walls past a chat box.
Swap OpenAI → Anthropic and half your prompt plumbing rewrites.
Memory breaks across sessions. Tools don't port across runtimes.
Browser, terminal, server — three codebases for the same agent.

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.

20+ providers. Same contract. Swap in one line.

OpenAIAnthropicGeminiGrokDeepSeekKimiMistralCohereTogetherGroqFireworksOpenRouterHugging FaceOllamaLM StudiovLLMllama.cppLangChainLangGraphVercel AI SDK

browse all providers →

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.

Start freshrecommended

4 templates · zero-config demo provider · agentskit dev hot-reloads your agent

Add to a project

The 5 KB substrate. Works in browser, Node, Deno, Bun — anywhere JS runs.

AgentsKit.js · MIT · 19 packages on npm · built in the open