Skip to main content
Version: 2.5.0

cli reference

The kasmos CLI is invoked as kas. It must be run from within a git repository for most commands (the binary exits with an error otherwise).

root command

kas [flags]

Running kas with no subcommand launches the interactive terminal UI (Bubble Tea). The following root-level flags are available:

flagdefaultdescription
-p, --programfrom configAI program to run in new instances (e.g. claude, opencode)
-y, --autoyesfalseautomatically accept prompts in all instances

registered subcommands

commandaliasdescription
kas setupinitinteractive wizard — configure harnesses, write config, scaffold project files
kas tasktmanage task lifecycle (list, register, implement, transition, push, pr, merge)
kas servestart the task store HTTP server with REST API and optional MCP server
kas instanceimanage agent instances (list, kill, pause, resume, send)
kas auditauquery audit events from the local SQLite log
kas tmuxtxmanage orphan tmux sessions not tracked by kasmos
kas signalsiginspect and process agent lifecycle signals
kas daemondmanage the multi-repo background orchestration daemon
kas monitormonmonitor the daemon event stream (SSE)
kas statusstshow overview of tasks, instances, and orphan tmux sessions
kas resetreset all stored instances, clean tmux sessions and worktrees
kas debugprint config paths and current configuration as JSON
kas versionprint the version number
kas checkaudit skill sync health across all harnesses

global behavior

  • kas requires a git repository in the working directory or any parent directory. If no repository is found, the interactive TUI exits immediately with an error.
  • Most subcommands resolve the project name from the basename of the repository root (e.g. /home/user/myproject → project myproject).
  • Task store queries fall back to a local SQLite file at ~/.config/kasmos/taskstore.db when no remote store is configured.
  • Filenames passed to kas task subcommands are normalized: a trailing .md extension is stripped automatically.