comanda

command module
v0.0.189 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 14, 2026 License: MIT Imports: 1 Imported by: 0

README

comanda

comanda

Declarative AI workflows for the command line.

Comanda turns repeatable AI work into YAML pipelines you can run, review, and version control. Use it to generate workflows from natural language, run multi-model pipelines, orchestrate agentic loops, process files, call tools, and wire Claude Code, Gemini CLI, OpenAI Codex, and API models together.

For the full guide, feature tour, and copy-ready workflow templates, start at comanda.sh:

Install

brew install kris-hansen/comanda/comanda

Or install with Go:

go install github.com/kris-hansen/comanda@latest

See GitHub Releases for prebuilt binaries.

Quick Start

comanda configure
comanda generate workflow.yaml "review this code for bugs"
comanda process workflow.yaml

Pipe input through a workflow:

cat main.go | comanda process workflow.yaml

Inspect or iterate on a workflow:

comanda chart workflow.yaml
comanda improve workflow.yaml "Add security findings and suggested fixes"

Minimal Workflow

summarize:
  input: STDIN
  model: gpt-4o
  action: "Summarize the input in three bullets."
  output: STDOUT

Run it:

cat notes.md | comanda process summarize.yaml

What You Can Build

  • Multi-agent reviews with Claude Code, Gemini CLI, OpenAI Codex, and API models
  • Agentic loops that iterate until work is complete
  • File, URL, image, PDF, database, and batch-processing workflows
  • Tool-enabled workflows with explicit command allowlists
  • Codebase indexes for persistent project context
  • Git worktree workflows for parallel isolated implementation
  • Server-backed workflows callable over HTTP

More Examples

Most examples and walkthroughs live on comanda.sh:

Development

make deps
make build
make test

License

MIT

Download History

Download History

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
utils
filescan
Package filescan provides shared file scanning and token estimation utilities
Package filescan provides shared file scanning and token estimation utilities
tui
Package tui provides terminal UI components using lipgloss
Package tui provides terminal UI components using lipgloss
worktree
Package worktree provides Git worktree management for parallel Claude Code execution.
Package worktree provides Git worktree management for parallel Claude Code execution.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL