Loading AgentsKit ecosystem navigation…
AgentsKit Chat
Get started

Get started

Scaffold AgentsKit Chat and pick a native renderer.

View canonical Markdown

Get started

You are creating an AI chat application — not a one-off UI demo.

1. Scaffold

code
pnpm dlx @agentskit/chat-cli@0.4.0 init my-chat --renderer react --yes
cd my-chat && pnpm install && pnpm test
pnpm dlx @agentskit/chat-cli@0.4.0 init my-chat --renderer react --yes

2. Pick a surface

SurfaceGuide
ReactReact
VueVue
SvelteSvelte
SolidSolid
AngularAngular
React NativeReact Native
InkInk

3. The signature

code
import { defineChat } from '@agentskit/chat'
import type { AdapterFactory } from '@agentskit/core'

export const createProductChat = (adapter: AdapterFactory) =>
  defineChat({
    id: 'product',
    chat: { adapter, systemPrompt: 'Be precise.' },
  })

One definition → server handler + every shell. See Multi-surface.

4. Live

Hi — this is a live AgentsKit Chat shell. Ask anything about multi-surface chat.

5. Next paths

Adapters come from AgentsKit providers: currently 25 native adapters spanning 140+ catalog providers and 5k+ models — Chat does not reimplement them.