import { defineChat } from '@agentskit/chat'import type { AdapterFactory } from '@agentskit/core'export const supportChat = (adapter: AdapterFactory) =>defineChat({id: 'support',chat: {adapter,systemPrompt: 'Help users ship faster.',},})AgentsKit Chat
One agent experience.Every surface.
Define the agent experience once. Ship native shells on web, mobile, and terminal — same routes, policy, components, and sessions.
pnpm dlx @agentskit/chat-cli@0.4.1 init my-chat --renderer react --yesArchitecture
One definition. Everything else plugs in.
AgentsKit Chat is the application layer — not another runtime. Compose once, fan out to every native shell AgentsKit already supports.
Routes, policy, components, sessions — one application signature. AgentsKit owns adapters, tools, memory, RAG, and lifecycle.
Signature
Same definition. Different shells.
Streaming, tools, confirmation, retry, edit, and cancel stay AgentsKit behavior. Chat owns the application seams around them.
import { AgentChat } from '@agentskit/chat/react'import { chat } from './chat'<AgentChat definition={chat} />The AgentsKit ecosystem
Build the agent. Then take it all the way.
One connected toolkit from ready-made source to governed production.
One definition · seven native renderers
Ship the chat your product actually runs.
Define the experience once. Keep routes, policy, and sessions in sync from web to mobile to terminal.