Get started
Ink quick start
Terminal / TUI shell — same definition, keyboard-first UX.
Ink quick start
Terminal is a first-class surface, not a demotion of the web app.
Install
code
pnpm add @agentskit/chat @agentskit/core @agentskit/ink ink reactShell
code
import { render } from 'ink'
import { AgentChat } from '@agentskit/chat/ink'
import { createSupportChat } from './support-chat'
import { adapter } from './adapter'
render(
<AgentChat
definition={createSupportChat(adapter)}
placeholder="Ask about the product"
/>,
)Semantic fallbacks keep interactive components usable without graphics. Keyboard flows: arrows / numbers + Enter for choices; /retry, /edit, /regenerate for lifecycle.
Run the monorepo example
code
pnpm --filter @agentskit/chat-example-ink start