ratchet-cli

module
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2026 License: MIT

README

ratchet

Interactive AI agent CLI with multi-provider support, multi-agent orchestration, and a rich terminal UI.

Install

go install github.com/GoCodeAlone/ratchet-cli/cmd/ratchet@latest

Or download a binary from Releases.

Features

  • Auto-daemon pattern: Single daemon process serves multiple terminal TUI clients via gRPC over Unix socket
  • Multi-provider: Anthropic, OpenAI, Google Gemini, Ollama support
  • Multi-agent: Orchestrate teams of agents with role definitions
  • Workflow engine: Built on the GoCodeAlone/workflow engine
  • Universal instruction files: Loads CLAUDE.md, AGENTS.md, .cursorrules, .windsurfrules, RATCHET.md
  • Rich TUI: Bubbletea v2 with streaming tokens, tool call display, permission prompts

Usage

ratchet                     # Launch interactive TUI
ratchet "fix the bug"       # Implicit chat mode
ratchet chat "prompt"       # Explicit chat mode
ratchet sessions            # Manage sessions
ratchet daemon status       # Check daemon
ratchet provider list       # List providers
ratchet team start "task"   # Start agent team

Harness Modes

Mode Command Credential-free smoke
TUI ratchet Starts a daemon-backed interactive session.
One-shot ratchet -p "prompt" Uses the configured default provider.
Daemon HOME="$(mktemp -d)" ratchet daemon status Runs credential-free when pointed at a temp home.
ACP ratchet acp Exposes the agent over ACP stdio JSON-RPC.
MCP ratchet mcp blackboard / ratchet mcp daemon Exposes standalone blackboard or daemon-backed session/project MCP tools over stdio.
Team ratchet team start "task" Uses daemon team orchestration with configured providers.

See docs/harness-emulation.md for credential-free mock provider recipes and parity notes.

Directories

Path Synopsis
cmd
ratchet command
internal
acp
mcp
Package mcp provides CLI-based MCP tool discovery and registration.
Package mcp provides CLI-based MCP tool discovery and registration.
tui

Jump to

Keyboard shortcuts

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