How to Configure Ralph to Use Claude Code Instead of Amp

Use the --tool claude flag when running ralph.sh to switch from Amp to Claude Code, or edit line 8 of the script to set TOOL="claude" as the permanent default.

The snarktank/ralph repository provides a bash-based execution loop that orchestrates AI agents through external CLIs. By default, ralph.sh invokes the Amp CLI, but the script is designed to support Claude Code as an alternative execution engine through a simple command-line flag and prompt template system.

Runtime Configuration with the --

Have a question about this repo?

These articles cover the highlights, but your codebase questions are specific. Give your agent direct access to the source. Share this with your agent to get started:

Share the following with your agent to get started:
curl -s "https://instagit.com/install.md"

Works with
Claude Codex Cursor VS Code OpenClaw Any MCP Client

Maintain an open-source project? Get it listed too →