• English
  • Octop CLI: Agent, Chat, Skills, and Model Commands

    The CLI gives you full control over agents and conversations. Create agents from scratch or from bundled expert templates, start interactive chat sessions directly in the terminal, configure skills, manage LLM providers, and pick active models — all without opening the web UI.

    octop agent

    Create, inspect, and control agent lifecycles. Most subcommands work without requiring octop run to be running.

    Create a basic agent
    Create an agent with an MBTI persona
    Create an agent from a bundled expert template
    List all agents
    Start, stop, reload, or delete an agent
    List bundled expert templates
    Create a basic agent
    octop agent create myagent

    Subcommands

    SubcommandDescription
    createCreate a new agent (accepts --user for admin cross-user creation)
    from-expertCreate an agent from a bundled expert template
    listList all agents belonging to the current user
    use <id>Pin this agent as the default for subsequent commands
    startStart the agent runtime
    stopStop the agent runtime
    reloadReload the agent runtime without deleting conversation history
    deleteDelete the agent row, runtime, and workspace under ~/.octop/agents/<id>/ (permanent)
    expertsList all bundled expert templates available on this install

    Run octop agent use <id> to write the agent ID into ~/.octop/cli_state.json. All subsequent commands that accept --agent will default to this value, saving you from repeating it.

    WARNING

    octop agent delete permanently removes the agent workspace directory. The CLI asks for confirmation unless you pass --yes. This cannot be undone — back up first if you need the files.


    octop chats

    Manage conversation threads and send messages. The repl and send subcommands start a temporary server process automatically — no separate octop run is needed.

    Start an interactive chat REPL
    Send a single message and stream the response
    List threads for an agent
    Show message history for a thread
    Create a new thread
    Rename or pin a thread
    Delete a thread
    Start an interactive chat REPL
    octop chats repl

    Subcommands

    SubcommandServer requiredDescription
    listNoList conversation threads for an agent
    getNoShow message history for a thread
    createNoStart a new thread
    updateNoRename or pin a thread
    deleteNoDelete a thread
    sendAuto (embedded)Send one message and stream the response
    replAuto (embedded)Interactive chat REPL
    NOTE

    octop chats repl and octop chats send start a temporary in-process server for the duration of the command. You do not need to run octop run first. The list, get, create, update, and delete subcommands work fully offline against ~/.octop/octop.db.


    octop skills

    Enable or disable per-agent skills. These commands read and write the local skill library and do not need a running server.

    List skills for an agent
    Enable a skill
    Disable a skill
    Interactively toggle per-agent skills
    List skills for an agent
    octop skills list --agent main

    Subcommands

    SubcommandDescription
    listList skills for an agent
    enableEnable a skill for the agent
    disableDisable a skill for the agent
    configShow or edit the per-agent skills configuration
    NOTE

    octop skills writes skill toggles in the agent workspace offline. If octop run is already up, run octop agent reload <agent_id> so the running agent picks up the change.


    octop models

    Manage the model catalog, configure providers interactively, and pull Ollama models.

    Interactive configuration wizard
    List all resolved models across enabled providers
    Show or set the global default model
    List built-in provider preset templates
    List locally available Ollama models
    Pull a model via Ollama
    Remove a local Ollama model
    Interactive configuration wizard
    octop models config

    Subcommands

    SubcommandServer requiredDescription
    configNoInteractive wizard to create a provider and set the active model
    listNoList all models resolved across enabled providers
    activeNoShow or set the global default model (admin)
    presetsNoList built-in provider templates
    ollama-listYesList models available in a local Ollama instance
    ollama-pullYesPull a model via Ollama
    ollama-rmYesRemove a local Ollama model

    octop provider

    Manage LLM provider records in the local database. The test subcommand requires a running server to make a live API call.

    List providers
    Create a provider interactively
    Test connectivity to a provider
    Delete a provider
    List providers
    octop provider list
    NOTE

    octop provider list, create, and delete operate offline against ~/.octop/octop.db. Only octop provider test requires a running server, because it sends a live ping to the provider API.


    octop acp

    Expose an Octop agent as a stdio JSON-RPC ACP server. Boots a standalone OctopServer (reads ~/.octop/); does not require octop run to be running.

    Expose the default agent
    Specify an agent and enable debug logging
    Expose the default agent
    octop acp

    Options

    OptionDescription
    --agent TEXTAgent to expose (default: OCTOP_AGENT or first agent)
    --debugLog to stderr

    Point your IDE at it

    Configure octop acp as the ACP server command in your IDE. Zed example:

    ~/.config/zed/settings.json
    Dev checkout (uv)
    ~/.config/zed/settings.json
    {
      "agent_servers": {
        "Octop": {
          "command": "octop",
          "args": ["acp", "--agent", "main"],
          "env": {}
        }
      }
    }
    NOTE

    This is the reverse direction of the ACP runners guide: here your IDE drives an Octop agent, rather than an Octop agent delegating to a CLI tool.