The zero-dependency foundation that every AgentsKit package builds on.
ToolDefinition, SkillDefinition, AgentEvent, and more without pulling in React or any adapternpm install @agentskit/core
import { createChatController, createInMemoryMemory } from '@agentskit/core'
import { anthropic } from '@agentskit/adapters'
const controller = createChatController({
adapter: anthropic({ apiKey: process.env.ANTHROPIC_API_KEY, model: 'claude-sonnet-4-6' }),
memory: createInMemoryMemory(),
})
await controller.send('Hello!')
console.log(controller.getState().messages)
@agentskit/tools into the controller config for ReAct-style tool usecreateRuntime for headless agents, or with useChat for a browser UI@agentskit/memory or RAG with @agentskit/rag| Package | Role |
|---|---|
| @agentskit/adapters | LLM chat + embedding providers |
| @agentskit/runtime | createRuntime — agents without UI |
| @agentskit/react | useChat, headless chat components |
| @agentskit/tools | Executable tools |