New:Microsoft Teams Notifications Are Now Available in Socket.Learn more
Get Started

@agentskit/ink

Package Overview
Dependencies
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@agentskit/ink

Ink terminal components and hooks for AgentsKit.

latest
Source
npmnpm
Version
0.10.10
Version published
Maintainers
1
Created
Source

@agentskit/ink

The public package entry is ESM-only because Ink 7 uses an ESM graph with top-level await.

Profile: concise-package

AgentsKit

Build terminal AI chat interfaces on the shared AgentsKit controller contract.

npm version npm downloads bundle size license stability GitHub stars

Tags: ai · agents · llm · agentskit · ai-agents · terminal · cli · ink · tui · chat-ui

Verified proof

How this fits the ecosystem

@agentskit/ink turns AgentsKit agents into polished terminal experiences for CLIs, internal tools, and developer workflows.

  • AgentsKit: compose it with the other packages in this repo to build agents from small, swappable parts.
  • Registry: look for ready agents and templates that already use this layer at registry.agentskit.io.
  • Playbook: learn the production patterns behind this layer at playbook.agentskit.io.
  • AKOS: run the same concepts with enterprise deployment, governance, and observability at akos.agentskit.io.

Docs: package guide · agent handoff

Why ink

  • No context switching — if you know @agentskit/react, you already know this; same hooks, same component names, different renderer
  • Real terminal UX — keyboard navigation, ANSI colors, and proper TTY streaming so your CLI feels native, not like a web app in a box
  • Any local or cloud model — pair with Ollama for fully offline CLI tools, or any other provider via @agentskit/adapters
  • Shared controller contract — tools, memory, and skills work across bindings; terminal components remain Ink-specific.

Install

npm install @agentskit/ink @agentskit/adapters

Quick example

import React from 'react'
import { render } from 'ink'
import { ChatContainer, InputBar, Message, useChat } from '@agentskit/ink'
import { ollama } from '@agentskit/adapters'

function App() {
  const chat = useChat({ adapter: ollama({ model: 'llama3.1' }) })
  return (
    <ChatContainer>
      {chat.messages.map(msg => <Message key={msg.id} message={msg} />)}
      <InputBar chat={chat} />
    </ChatContainer>
  )
}

render(<App />)

Features

  • useChat hook — shared ChatReturn state/actions with terminal-specific components
  • Terminal components: ChatContainer, Message, InputBar, ToolCallView
  • Keyboard navigation and auto-scroll
  • ANSI theming
  • Memory is explicit — pass a ChatMemory when persistence is required

Ecosystem

PackageRole
@agentskit/reactBrowser — same hooks, different renderer
@agentskit/cliInteractive chat + agentskit init
@agentskit/adaptersProviders (e.g. ollama for local models)
@agentskit/coreShared chat types and controller

Contributors

AgentsKit contributors

License

MIT — see LICENSE.

Docs

Full documentation · GitHub

Maturity and compatibility

  • Stability: beta — see docs/STABILITY.md
  • Node.js 20+ and TypeScript strict mode
  • Published as @agentskit/ink

Contributing

See CONTRIBUTING.md and the monorepo LICENSE.

Keywords

agentskit

FAQs

Package last updated on 03 Sep 2026

Related posts