cast

One agent, many roles

cast brings a full cast to your terminal: senior dev, QA, DBA, security reviewer, PM, tech writer. Swap the role, not the tool. Runs on any OpenAI-compatible model, including the one on your own hardware.

macOS / Linux
curl -fsSL https://aa-blinov.github.io/cast/install | bash
Windows (PowerShell)
irm https://aa-blinov.github.io/cast/install.ps1 | iex
Requires Node.js 22+. Self-contained bundle — no npm packages needed at runtime.

One session, one repo, four roles

Same codebase, different lens. Swap personas mid-session — the tools don't change, the judgment does.

> /persona pm
Write a spec for the new auth flow
> /persona coding
Implement the spec — file by file, tested
> /persona qa
Review the implementation for edge cases
> /persona tech-writer
Document the new auth flow in the README

Why personas, not just prompts

Point a generic coding agent and a role-specific one at the same file, and they don't just answer differently — they look for different things. An appsec persona reading a schema flags the injection surface; a DBA persona reading the same schema flags missing indexes. Same repo, same tools, different definition of "done."

cast leans into that instead of working around it: swap /persona and the same tools, the same repo, and the same model produce a different investigation — different priorities, different tool sequencing, different conclusions, different follow-up questions. A security review that reasons like a senior dev misses different things than one that reasons like an appsec engineer, even reading identical code.

Read the full research writeup →

A cast, not a coder

20 built-in personas: senior dev, QA, DBA, security reviewer, PM, tech writer, sysadmin, devops, marketer, and more. Same tools, different judgment. Add your own with a single markdown file.

Runs where your code runs

vLLM, Ollama, your own inference server, or any OpenAI-compatible API. No account, no telemetry, no cloud dependency. Your tokens stay on your hardware.

Real Tools, Real Work

Reads files, writes code, runs shell commands, searches codebases — all in parallel. Delegates sub-tasks to isolated sub-agents. Rules, skills, and MCP servers extend capabilities.

Reasoning Control

Adjust reasoning effort per model: off, low, medium, high, max. Think blocks parsed automatically.

Plan Mode

Explore the codebase and write execution plans before implementing. Think before you build.

Ink TUI

A proper terminal interface with multiline paste, image attachments, smooth animations, and 16 color themes.

Why not opencode?

Both are terminal agents with tools. Different philosophy.

opencodecast
ApproachUniversal agentRole-based harness
PersonasSingle agent, single lens13 built-in + custom
Self-hosted focusWorks with any providerDesigned for local inference
TelemetryVariesNone. Ever.

Documentation