Getting Started

Quick Start

Upgrading from v0.15? See the Migration Guide instead.

Prerequisites

RequiredNode.jsv18 or later
Requirednpmincluded with Node.js
RequiredClaude Code or OpenCodeAI agent CLI (at least one required)
OptionalBunalternative package manager

Install

Global installation required. Local project-level installation is blocked.

bash
# npm
npm install -g @c-d-cc/reap

# or Bun
bun install -g @c-d-cc/reap

Initialize a project

bash
# In Claude Code, initialize REAP in your project
> /reap.init

Run your first generation

Open your AI agent (Claude Code or OpenCode) in your project directory:

bash
# Start a generation — /reap.start will prompt for a goal
> /reap.evolve
/reap.evolve is the primary command

It runs the entire generation lifecycle — Learning, Planning, Implementation, Validation, and Completion — autonomously. The AI agent drives through all stages, only stopping when genuinely blocked. This is the command you'll use most for day-to-day development.

Manual stage control

You can also control each stage individually:

bash
> /reap.start            # Start a new generation (prompts for goal)
> /reap.next             # Advance to next stage
> /reap.back             # Return to previous stage

What happens during a generation

StageWhat happensArtifact
LearningExplore project, build context, review genome and environment01-learning.md
PlanningBreak down tasks, choose approach, map dependencies02-planning.md
ImplementationBuild with AI + human collaboration03-implementation.md
ValidationRun tests, verify completion criteria04-validation.md
CompletionReflect, collect fitness feedback, adapt genome, archive05-completion.md

How commands are loaded

REAP slash commands are installed globally and available in all projects.

Installnpm install -g @c-d-cc/reap copies skill files (.md) directly to ~/.claude/commands/
UpdateEach install replaces existing skills with the latest version. Stale skills are cleaned up automatically.
ScopeSkills are installed at user level — available in all projects, not just REAP projects.