agentskit.js

Ship AI agents in JavaScript.Without gluing 8 libraries together.

Runtime, tools, memory, RAG, adapters, and headless UI bindings in one foundation. Swap OpenAI for Claude, React for terminal, in-memory for vector DB — without a rewrite.

Works with

Built for JavaScript and TypeScript teams building agents they can evolve without a rewrite.

agent.ts
const runtime = createRuntime({
adapter:anthropic({ model: 'claude-sonnet-4-6' }),
// 140 providers · 5,162 models
})
01 · Connect a model

Change the model. Keep the agent.

OpenAI, Anthropic, Gemini, Kimi, local models, or your own adapter use one contract.

25 native adapters · 140 providers · 5,162 models

Compose the agent here. Use AgentsKit Chat when you need its product interface across every surface. Explore Chat →

Works with everything

One contract. Every tool, every model.

50 built-in integrations and 140 providers (5,162 models) behind a single contract — Slack, Notion, Stripe, OpenAI, Anthropic, and the long tail.

AirtableAsanaBigCommerceBoxCal.comCalendlyConfluenceDiscordDropboxElevenLabsFigmaGitHubGmailGoogle CalendarGoogle DriveHubSpotIntercomJiraLinearMailchimpGoogle MapsNotionPagerDutySentryShopifyStripeTelegramWhatsAppAirtableAsanaBigCommerceBoxCal.comCalendlyConfluenceDiscordDropboxElevenLabsFigmaGitHubGmailGoogle CalendarGoogle DriveHubSpotIntercomJiraLinearMailchimpGoogle MapsNotionPagerDutySentryShopifyStripeTelegramWhatsApp
AlibabaAnthropicCloudflareDeepSeekGoogleVertex AIHugging FaceMistralOpenRouterPerplexityVercelxAIAlibabaAnthropicCloudflareDeepSeekGoogleVertex AIHugging FaceMistralOpenRouterPerplexityVercelxAI

The ecosystem

One core. Everything else plugs in.

Six contracts on one tiny core. Every layer is optional and swappable — click any to dive in.

@agentskit/core
< 10 KB
zero dependencies

Types, events, and six contracts. Every package plugs into this — swap any layer without touching the rest.

CLI

From idea to running agent. One CLI.

Install a ready-made agent, scaffold one from a description, run it on any provider, and diagnose the setup without leaving your terminal.

Explore every CLI command
agentskit — zsh

Looking for a ready-made agent?

Choose one in the Registry, add it with one command, and own the source.

Explore the Registry →
22 packages · 140+ providers · MIT

Build the agent.Skip the plumbing.

One install. First streaming agent in under 10 lines. Swap providers, UI, and memory without a rewrite. No signup, no lock-in — MIT all the way down.

Scaffold a UI binding, terminal, or runtime starter via @agentskit/cli — not product Chat. For versioned multi-surface chat apps use AgentsKit Chat (@agentskit/chat-cli) at chat.agentskit.io.