MCPcopy Index your code
hub / github.com/aymenfurter/ralph

github.com/aymenfurter/ralph @v0.5.1

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.5.1 ↗ · + Follow
213 symbols 538 edges 36 files 0 documented · 0% updated 4mo agov0.5.1 · 2026-02-01★ 107
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Ralph Demo

GitHub Release License GitHub Stars GitHub Issues

[!WARNING] UNOFFICIAL & EXPERIMENTAL - This extension relies on internal VS Code workbench commands (workbench.action.chat.newEditSession, workbench.action.chat.open) that are not part of the official public API. These commands may change or be removed in any VS Code update.

An implementation of Geoffrey Huntley's Ralph technique for GitHub Copilot.

Ralph runs AI coding agents in a loop. It reads a PRD, picks tasks, implements them one at a time, and continues until everything is done.

Features

  • Autonomous Task Execution - Automatically works through your PRD task list
  • Visual Control Panel - Start, pause, stop, and monitor progress
  • Progress Timeline - Watch tasks complete with timing visualization
  • PRD Generation - Describe what you want to build and Ralph creates the task list
  • Acceptance Criteria - Optionally require tests, linting, type checking before moving on
  • Fresh Chat Mode - Start each task with a clean context

Quick Start

Generate a PRD from a Description

  1. Open the Ralph Control Panel (click the Ralph icon in the Activity Bar)
  2. Describe what you want to build in the text area
  3. Click Generate PRD & Tasks
  4. Click Start to begin autonomous development

Use an Existing PRD

Create a PRD.md file in your workspace root:

# My Project

## Overview
Brief description of what you're building.

## Tasks
- [ ] Set up project structure with dependencies
- [ ] Create core data models and types
- [ ] Implement main application logic
- [ ] Add user interface and styling
- [ ] Write tests and documentation

Then open the Control Panel and click Start.

How It Works

  1. Read PRD.md
  2. Find next unchecked task
  3. Send task to Copilot Agent Mode
  4. Copilot implements the task
  5. Copilot marks task complete
  6. Repeat until all tasks done

Configuration

Copilot Settings

If you encounter the "Continue" button repeatedly during task execution (when hitting max iterations), you can configure VS Code Copilot settings to allow more requests:

  1. Open VS Code Settings (Cmd/Ctrl + ,)
  2. Search for chat.agent.maxRequests
  3. Set to a higher value (e.g., 100 or more). The default is 25.

Note: There is no enforced maximum, but consider your use case and the complexity of your tasks when setting this value.

For more information on available Copilot settings and autonomy levels, see the VS Code Copilot Settings documentation.

Requirements

  • VS Code 1.93 or later
  • GitHub Copilot Chat extension

License

MIT

Extension points exported contracts — how you extend this code

IRalphUI (Interface)
(no doc) [5 implementers]
src/types.ts
CopilotOptions (Interface)
(no doc)
src/copilotIntegration.ts
TemplateVariables (Interface)
(no doc)
src/promptBuilder.ts
PanelEventData (Interface)
(no doc)
src/controlPanel.ts
TemplateVariables (Interface)
(no doc)
src/test/unit/promptBuilder.unit.test.ts
Task (Interface)
(no doc)
src/types.ts
FixtureMetadata (Interface)
(no doc)
src/test/unit/fileUtils.unit.test.ts
RalphConfig (Interface)
(no doc)
src/types.ts

Core symbols most depended-on inside this repo

getClientScripts
called by 77
src/webview/scripts.ts
getStyles
called by 37
src/webview/styles.ts
start
called by 29
src/fileWatchers.ts
formatDuration
called by 27
src/timerManager.ts
addLog
called by 25
src/types.ts
stop
called by 20
src/timerManager.ts
getControls
called by 15
src/webview/templates.ts
isActive
called by 14
src/timerManager.ts

Shape

Method 127
Function 47
Class 26
Interface 11
Enum 2

Languages

TypeScript100%

Modules by API surface

src/controlPanel.ts36 symbols
src/orchestrator.ts24 symbols
src/fileWatchers.ts21 symbols
src/taskRunner.ts19 symbols
src/uiManager.ts16 symbols
src/types.ts16 symbols
src/timerManager.ts16 symbols
src/webview/templates.ts11 symbols
src/fileUtils.ts9 symbols
src/extension.ts9 symbols
src/statusBar.ts8 symbols
src/promptBuilder.ts6 symbols

For agents

$ claude mcp add ralph \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page