agentskit.js
Packages

@agentskit/ink

Terminal chat UI on Ink. Same useChat contract as the React binding.

When to reach for it

  • You need a CLI / terminal chat.
  • You want to embed an agent inside a dev tool.

Install

npm install @agentskit/ink ink @agentskit/adapters

Hello world

import { render } from 'ink'
import { ChatContainer } from '@agentskit/ink'
import { anthropic } from '@agentskit/adapters'

render(<ChatContainer config={{ adapter: anthropic({ apiKey, model: 'claude-sonnet-4-6' }) }} />)

Surface

  • useChat(config): ChatReturn — mirrors @agentskit/react.
  • <ChatContainer>, <Message>, <InputBar>, <ToolCallView>, <ThinkingIndicator>.

Siblings

React · Vue · Svelte · Solid · React Native · Angular

Source

npm: @agentskit/ink · repo: packages/ink

✎ Edit this page on GitHub·Found a problem? Open an issue →·How to contribute →

On this page