CLI

Install the CLI

Install talos-code from npm, run it in a project, and know where it keeps your data.

Checked on CLI 0.6.12

A newer version is out (CLI 0.6.18): some details may differ.

  • Node.js 24, version 24.18 or later in the 24 line.
  • Tested on Windows 11 x64. macOS and Linux are not tested yet.

The npm package is talos-code; the command it installs is talos.

Terminal
npm i -g talos-code
talos --version

Open a terminal in a project and run:

Terminal
talos

The first time, a short guided setup asks only what is missing: whether to trust the folder, then a provider (a local engine that is running comes first), its key, and a model, one step at a time; Esc skips a step. /setup or talos setup runs it again. A key already in your environment (for example OPENAI_API_KEY) is used only after you agree once; otherwise you type it in hidden input and it is kept in the operating system’s credential store, never in a file. For OpenRouter you can also sign in in the browser instead of pasting a key (talos provider login openrouter).

Then the welcome screen opens on your project, with the model and a hint line for the first keys.

The welcome screen: the project, the model, and the keys to start with.talos-code 0.6.12 · demo project · replayed

For a single task, without the interactive screen:

Terminal
talos -p "inspect this repository and explain the failing tests"

For machine-readable output, add --json (or --output-format stream-json):

Terminal
talos -p "summarize the changes" --json
Terminal
talos update --check

With an npm install, talos update tells you when a newer version exists and prints the command to run (npm i -g talos-code@latest). It changes nothing by itself.

Nothing is sent anywhere except your prompts and the files TALOS reads, to the provider you chose; the public model catalog at models.dev, for context windows and prices, cached for 4 hours; and the npm registry, only when you run talos update. There is no telemetry.

  • Configuration: %APPDATA%\TALOS-CLI on Windows, ~/.config/talos-cli on macOS and Linux.
  • Sessions, checkpoints and logs: %LOCALAPPDATA%\TALOS-CLI on Windows, ~/.local/state/talos-cli on macOS and Linux.

To turn off the models.dev catalog: talos config set catalog.modelsDev false, or TALOS_MODELS_DEV=off.

  • Only Windows 11 x64 is tested.
  • Context compaction with a local Ollama model is not yet verified end to end.
  • A local provider that answers 401 or 403 without needing a key can be set aside as if its key were wrong.

Type to search the guides.

    Ask the docs

    Ask in plain words. A small model finds the passage of the guides that answers it, on this device: the question never leaves it.

    all-MiniLM-L6-v2 (Apache-2.0) and the ONNX runtime, served by talos-code.com and kept in your browser’s cache. It finds passages; it does not write answers.

    Loading the model