comanda

command module
v0.0.145 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2026 License: MIT Imports: 1 Imported by: 0

README

comanda

comanda

Declarative AI pipelines for the command line.

Define LLM workflows in YAML. Run Claude Code, Codex, and Gemini CLI in parallel. Version control everything.

🌐 comanda.sh — Getting started, features, and templates

Install

brew install kris-hansen/comanda/comanda

Or: go install github.com/kris-hansen/comanda@latest · Releases

Quick Start

comanda configure                              # Set up API keys
comanda generate "review this code for bugs"   # Generate workflow from English
comanda process workflow.yaml                  # Run a workflow

Example

parallel-process:
  claude:
    input: STDIN
    model: claude-code
    action: "Analyze architecture"
    output: $CLAUDE

  gemini:
    input: STDIN
    model: gemini-cli
    action: "Identify patterns"
    output: $GEMINI

synthesize:
  input: "Claude: $CLAUDE\nGemini: $GEMINI"
  model: claude-code
  action: "Combine into recommendations"
  output: STDOUT
cat main.go | comanda process multi-agent.yaml

Features

  • Multi-agent — Claude Code, Gemini CLI, OpenAI Codex in parallel
  • Agentic loops — Iterative refinement with tool use
  • Codebase indexing — Persistent code context across workflows
  • Git worktrees — Parallel execution in isolated branches
  • All the I/O — Files, URLs, databases, images, chunking

See comanda.sh/features for full details.

Documentation

License

MIT

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
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