Rabbitrabbit/ide

Docs / CLI & headless

rabbit-cli.

Overview

rabbit-cli is the headless, terminal-only version of the Rabbit agent. Same 45 native tools, same routing, same rules -- no GUI required. Ideal for CI pipelines, code review bots, and remote execution.

Install

npm install -g @rabbit-ide/cli

# or run directly
npx @rabbit-ide/cli "refactor auth module to use JWT"

Usage

# Interactive mode
rabbit chat

# One-shot task
rabbit run "add input validation to all API routes"

# Pipe a file
cat error.log | rabbit run "diagnose this crash"

# Specify model
rabbit run --model anthropic/sonnet-4 "write unit tests for utils.ts"

Configuration

rabbit-cli reads the same configuration files as the IDE:

  • .rabbitrules / .cursorrules / .windsurfrules
  • .rabbit-ide/routing.yml
  • .rabbit-ide/mcp-servers.json
  • AGENTS.md

Output formats

By default, output is streamed to the terminal with tool call summaries. Use --json for machine-readable output or--diff to emit only the file changes as a unified diff.