JanDeDobbeleer/copilot-ralph is a Go project with 54 stars.
Snapshot summary built from the project's own GitHub metadata — there's no written TopGit review yet. The page will update automatically when a full review is published.
WHY NO REVIEW YET
TopGit writes full reviews for the most-starred, most-requested repositories. This page is a snapshot until then — see the READ ME tab for the original README in full.
Ralph implements the "Ralph Wiggum" technique for self-referential AI development loops using GitHub Copilot. It continuously feeds prompts to AI, monitoring for completion signals, with each iteration building on previous work until the task is done.
[!IMPORTANT]
While ralph works, he's highly experimental. I built this primarily to understand how to embed the Copilot CLI SDK. Feel free to use it,
or as inspiration on how to integrate with the Copilot CLI SDK.
Features
✨ Iterative AI Loops - Run multiple AI iterations until task completion
⚙️ Flexible Configuration - Configure loops via command-line flags
🤖 GitHub Copilot Integration - Powered by GitHub Copilot SDK
⏱️ Timeout Controls - Prevent runaway loops with safety limits
🛠️ Tool Execution - AI can read files, run commands, and make changes
Quick Start
Installation
# From source (requires Go 1.22+)
go install github.com/JanDeDobbeleer/copilot-ralph/cmd/ralph@latest
# Or build from source
git clone https://github.com/JanDeDobbeleer/copilot-ralph.git
cd copilot-ralph
make build
Usage
# Run an AI development loop
ralph run "Add unit tests for the parser module"
# Use a Markdown file as the prompt
ralph run task_description.md
# With options
ralph run --max-iterations 5 --timeout 10m "Refactor authentication"
# Custom model and settings
ralph run \
--model gpt-4-turbo \
--promise "Task complete!" \
--streaming=true \
"Implement user authentication"
How It Works
Initialize - Ralph parses your prompt and configuration (max iterations, timeout)
Setup - Create SDK client and loop engine with system prompt
Listen - Start event listener to display progress in real-time
Loop - For each iteration:
Send prompt to Copilot AI
Stream AI response to stdout
Execute any tools the AI invokes (read files, run commands, etc.)
Complete - Loop exits when:
Max iterations reached ✓ Complete
Timeout exceeded ✗ Timeout
Error occurs ✗ Failed
User cancels (Ctrl+C) ✗ Cancelled
Summary - Display final status, iteration count, and duration
# Direct prompt
ralph run "Add comprehensive error handling"
# Using a Markdown file as prompt
ralph run task_description.md
# With flags
ralph run \
--max-iterations 20 \
--timeout 1h \
--model gpt-4-turbo \
--log-level debug \
"Implement user authentication"
# Dry run (show what would happen)
ralph run --dry-run "Refactor database layer"
# With custom system message
ralph run \
--system-prompt "You are an expert Go developer" \
--system-prompt-mode replace \
"Optimize the code"
Available flags:
--max-iterations, -m - Maximum loop iterations (default: 10)
--timeout, -t - Maximum loop runtime (default: 30m)
Does JanDeDobbeleer/copilot-ralph have a project website?
No homepage URL was recorded for JanDeDobbeleer/copilot-ralph in TopGit's last sync. The README tab above frequently contains screenshots and demo links, or check the repository description on GitHub.
Does JanDeDobbeleer/copilot-ralph have any tags?
TopGit's last sync did not record any GitHub topics for JanDeDobbeleer/copilot-ralph. GitHub topics appear in the right sidebar of a repository page; that's the authoritative place to check.
How active is development on JanDeDobbeleer/copilot-ralph?
The most recent commit recorded on JanDeDobbeleer/copilot-ralph was 9 months ago, based on the GitHub push timestamp. The repository has 11 forks — one of the better signals of community interest.
How many stars does JanDeDobbeleer/copilot-ralph have?
JanDeDobbeleer/copilot-ralph has 54 GitHub stars — refresh the page for the live number, or check github.com/JanDeDobbeleer/copilot-ralph. TopGit mirrors GitHub's count but does not claim minute-by-minute accuracy.
Is JanDeDobbeleer/copilot-ralph open source?
Yes — JanDeDobbeleer/copilot-ralph ships under the MIT license, which makes its source code freely readable (and, depending on license terms, forkable and reusable). Source: github.com/JanDeDobbeleer/copilot-ralph.
Where do I read more about JanDeDobbeleer/copilot-ralph?
This TopGit page is a snapshot — the READ ME tab shows the project's own README content (links stripped, images preserved). The GitHub repository at github.com/JanDeDobbeleer/copilot-ralph is the definitive source.
Read full README in the tab above.
Is copilot-ralph worth your time?
ChatGPT, Claude and Perplexity can all read this page. Ask one of them what it makes of copilot-ralph.