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 --yes
chat.agentskit.io
›ask anything…⏎
Build the interface

Architecture

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.

Signature

Same definition. Different shells.

Streaming, tools, confirmation, retry, edit, and cancel stay AgentsKit behavior. Chat owns the application seams around them.

define once
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.',
},
})
runs everywhere · React
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.