Skip to content
Projets

À propos

Strict engineering discipline and multi-agent orchestration for the pi coding agent

Outils de développement

Comment ces chiffres sont mesurés

Progression mesurée des étoiles

in 24h
0
in 7 days
+1
in 15 days
0
in 1 month
Historique en cours

Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.

README.md

Original

roach-pi

Rebuild of roach-pi on @earendil-works/pi-durable, a durable agent harness: conversations, model turns, and tool calls are committed to storage before they are shown, and an interrupted run resumes after restart.

Requirements

  • Node.js >= 22.19
  • Credentials for any provider pi-ai supports: type /login in the TUI (OAuth subscription sign-in such as Claude Pro/Max or ChatGPT, or an API key; saved to ~/.roach/auth.json), or set an env var such as ANTHROPIC_API_KEY, OPENAI_API_KEY, OPENROUTER_API_KEY. A stored credential takes precedence over the env var.

Usage

npm install
npm start                                         # interactive TUI
npm start -- --model anthropic/claude-sonnet-4-5  # TUI with a chosen model
npm start -- "What is the capital of France?"     # print mode: answer one prompt and exit
npm run check

The TUI (@earendil-works/pi-tui) renders only committed state from root.watch(): transcript entries, the streamed partial answer, the running tool round, and why the last run failed. Enter sends, Esc aborts the running answer, Ctrl+C (or Ctrl+D on an empty editor) quits. Input sent while an answer runs is queued.

--model <provider>/<modelId> picks any model from pi-ai's built-in catalog and is stored on the conversation; later runs reuse it until you pass another. Without --model on a fresh conversation, the first model whose provider has credentials is used; with none, the TUI still starts and asks you to /login.

Slash commands (type / for completion): /login picks a provider and sign-in method, opens the browser for OAuth (or asks for the API key, masked), then offers that provider's models; /model switches among models whose provider has credentials; /quit exits.

State lives in .roach/session.sqlite; rerunning reopens the same root conversation and resumes unfinished work.

Explorer des projets similaires

Chargement…