v0.36.2

Getting Started

Requirements

Install

macOS / Linux:

curl -fsSL https://aa-blinov.github.io/cast/install | bash

Windows (PowerShell):

irm https://aa-blinov.github.io/cast/install.ps1 | iex

Self-contained bundle with no npm packages needed at runtime.

Pin a version:

CAST_VERSION=0.1.0 curl -fsSL https://aa-blinov.github.io/cast/install | bash

Upgrade later:

cast upgrade

Quick Start

# Launch (prompts for provider URL and API key on first run)
cast

# One-shot prompt
cast "explain what this project does"

# Specific model and reasoning
cast -m qwen/qwen3-235b-a22b -r high "refactor this function"

# Resume last session
cast -c

Provider Setup

On first run, cast asks for your provider URL and API key, then saves both to ~/.cast/settings.json. No .env file needed.

Supported environment variables (provider credentials are read from settings.json or /provider, not env):

VariableDescription
CAST_CWDOverride working directory
CAST_BASHPath to the bash executable for the bash tool (Windows: non-standard Git Bash / msys2)
CAST_VERSIONPin install version (installer only)
CAST_SERVER_PORTOverride server daemon port (default: 1337)
CAST_SERVER_HOSTOverride server daemon bind address (default: 127.0.0.1)
CAST_SESSIONS_DBOverride SQLite session database path

Works with anything that speaks the OpenAI API:

What Happens on First Run

When launched without a saved configuration, an interactive setup flow configures the harness:

  1. Persona selection: Select the agent role (defaults to senior).
  2. Provider connection: Enter API endpoint URL and key, validated via /v1/models.
  3. Model selection: Select a model fetched from the provider list.
  4. Reasoning level: Configure reasoning effort or request shape (/reasoning-format).
  5. Session: A new session starts automatically.

Subsequent launches remember choices and enter the TUI directly.

Default Configuration

SettingDefaultDescription
Context window128,000 tokensUpdated from provider metadata when available
Max response tokens8,192Maximum tokens per assistant response
Compaction threshold75%Triggers context compaction when usage exceeds this
Bash timeout180000 ms (3 minutes)Default timeout for shell commands; the timeout argument is in milliseconds
Reasoning leveloffUnless model metadata suggests otherwise
Web toolsDisabledEnable with /web (persists to settings)

Next Steps