@0xtiby/toby
v1.11.4
Published
AI-assisted development loop engine CLI
Readme
toby
Turn markdown specs into working code with AI-powered plan and build loops
What is toby?
Toby is a CLI tool that turns markdown specifications into working code through AI-driven plan and build loops. You write specs describing what you want, and toby orchestrates an AI agent to plan the implementation, then iteratively builds it — discovering files, generating code, and running validation until the spec is complete.
How it works
Toby follows a three-phase loop:
- Spec — You write a markdown file describing what you want built (features, acceptance criteria, constraints)
- Plan — Toby sends your spec to an AI CLI, which analyzes the codebase and produces an implementation plan with concrete tasks
- Build — Toby iteratively executes each task through the AI CLI, running your validation command between iterations until the spec is complete
Each phase feeds into the next: specs drive plans, plans drive builds, and build results update the project status so you always know where things stand.
Quick start
# Install toby globally
npm install -g @0xtiby/toby
# Initialize toby in your project
toby init
# Write a spec in your specs directory (default: specs/)
# e.g. specs/add-auth.md describing the feature you want
# Generate an implementation plan from your spec
toby plan --spec=add-auth
# Build the planned spec with AI
toby build --spec=add-authtoby init— sets up configuration and specs directory in your projecttoby plan— sends a spec to the AI CLI to produce an implementation plantoby build— iteratively executes the plan, running validation between iterationstoby status— shows progress across all specstoby config— manage CLI, model, and project settings
Development
# Install dependencies
pnpm install
# Build the project
pnpm build
# Link globally for local testing
pnpm link --global
# Unlink when done
pnpm unlink --global @0xtiby/tobyDocumentation
- CLI & Config Reference — all commands, flags, and config.json options
- Prompt Authoring Guide — how to write and customize prompt templates
- Tracker Templates — choose between prd-json, GitHub Issues, or beads for task tracking
- Writing Specs — spec file format, naming conventions, and ordering
- Sessions & Transcripts — session naming, crash recovery, and transcript recording
License
MIT
