PROUDLY OPEN SOURCE

AI Agent Loop
Orchestrator

Orchestrate autonomous AI coding agents with ease - all from your terminal.

Before You Execute

The Planning Phase

Great autonomous execution starts with great planning. Ralph TUI helps you create structured, dependency-aware task breakdowns through interactive AI collaboration.

STEP 01

AI-Driven PRD Generation

Interactively create comprehensive Product Requirements Documents through natural conversation with AI.

  • Natural language feature description
  • Clarifying questions with smart defaults
  • Structured user stories with acceptance criteria
  • Automatic scope boundary definition
AI-Powered
STEP 02

Atomic Task Creation

Transform PRDs into dependency-aware, right-sized tasks that agents can complete in a single iteration.

  • Automatic dependency graph generation
  • Context-window-aware task sizing
  • Priority-based execution ordering
  • Quality gates baked into each task
AI-Powered
Then execute
How It Works

The Execution Loop

Ralph TUI orchestrates autonomous AI agents through a continuous four-step cycle, processing tasks until your entire backlog is complete.

01

SELECT

Pick next task from the issue tracker based on priority and dependencies

Ready
02

PROMPT

Generate smart prompts from templates with minimal relevant context injection

Ready
04

EVALUATE

Analyze output to determine completion status and next actions

Ready
03

EXECUTE

Run autonomous AI coding agent with real-time progress monitoring

Ready
Loop continues
Capabilities

Built for Power Users

Everything you need to orchestrate autonomous AI agents at scale, from flexible task tracking to deep execution tracing.

Multiple Task Trackers

Seamlessly integrate with JSON files, Beads issue tracker, or Beads-BV for graph-aware task prioritization.

Available

AI Agent Plugins

Run Claude Code, OpenCode, or custom agents with full plugin architecture and real-time output streaming.

Available

Custom Prompt Templates

Define reusable Handlebars templates with context injection for consistent, high-quality agent prompts.

Available

Session Persistence

Resume interrupted work seamlessly with automatic state saving and intelligent context recovery.

Available

Real-time TUI Dashboard

Monitor agent progress, task status, and system metrics through an elegant terminal interface.

Available

Subagent Tracing

Trace and debug nested agent calls with full visibility into execution paths and decision trees.

Available

CLI-First Design

Composable commands, scriptable automation, and full keyboard navigation for terminal power users.

Available

Intelligent Task Routing

Automatic dependency resolution and parallel execution scheduling based on task graph analysis.

Available

True to Origins

Designed to be faithful to Geoffrey Huntley's original Ralph approach — autonomous agents working through task backlogs.

Available
Get Started

Ready to Ralph?

Join developers who ship faster with AI-powered task orchestration.