AgentsKit API
    Preparing search index...

    Module @agentskit/cli

    @agentskit/cli

    Chat with any LLM, scaffold projects, and run agents — all from your terminal.

    • Zero setup for prototyping — go from idea to running conversation in under a minute; no boilerplate, no config files to write
    • Scaffold production-ready projects — generate a React chat app or terminal agent with the right structure so you skip the boring setup
    • Script and automate — pipe inputs, use env vars for keys, and compose with other Unix tools for lightweight agent scripting
    npm install -g @agentskit/cli
    
    # Chat with Claude instantly
    ANTHROPIC_API_KEY=... agentskit chat --provider anthropic --model claude-sonnet-4-6

    # Chat with a local model (no API key needed)
    agentskit chat --provider ollama --model llama3.1

    # Scaffold a new React chat app
    agentskit init --template react --dir my-app

    # Scaffold a terminal agent
    agentskit init --template ink --dir my-cli

    # Run a headless agent (same building blocks as the CLI)
    agentskit run --help
    Package Role
    @agentskit/runtime createRuntime — agents outside the CLI
    @agentskit/adapters All chat / run providers
    @agentskit/ink Ink UI used by interactive chat
    @agentskit/core Shared types and contracts

    Full documentation