OpenClaw Claude Code

Ralph Loop

Опишите задачу. Наблюдайте, как она выполняется. Write a task. Watch it build.

$67 Купить Buy Now 7-дневный пробный период 7-day free trial

Описание About

Ralph Loop — это автономный агентный движок, который берёт описание задачи на обычном языке — PRD, отчёт о баге, запрос на функцию — и выполняет её от начала до конца без вашего надзора.

На практике это выглядит так: вы пишете «создай REST API endpoint для аутентификации с JWT и добавь тесты» в файл, кладёте в папку Ralph и уходите. Ralph читает PRD, разбивает на шаги, открывает tmux-сессию, пишет код, запускает тесты, отслеживает расходы и отправляет сообщение в Telegram, когда готово — или когда застрял.

Ralph Loop отслеживает стоимость за запуск, автоматически останавливается при превышении бюджета и ведёт постоянный JSON-файл состояния, чтобы прерванные задачи можно было продолжить точно с того места. Встроенный circuit breaker предотвращает бесконечные циклы.

Навык создан из реального разочарования: AI-агенты, которые отлично работают на демо, но теряют нить через 10 минут. Ralph Loop решает это явным отслеживанием состояния, постоянством tmux-сессий и структурированным протоколом передачи между подзадачами.

Ralph Loop is an autonomous agent engine that takes a plain-language task description — a PRD, a bug report, a feature request — and executes it end-to-end without you watching over it.

Here's what that means in practice: you write "build a REST API endpoint for user authentication with JWT and add tests" in a file, drop it in the Ralph inbox, and walk away. Ralph reads the PRD, breaks it into steps, opens a tmux session, writes the code, runs the tests, tracks costs, and sends you a Telegram message when it's done (or when it gets stuck and needs a decision).

Ralph Loop tracks cost per run, stops automatically if a budget cap is hit, and keeps a persistent JSON state file so you can resume interrupted tasks exactly where they left off. A built-in circuit breaker prevents runaway loops — if Ralph detects it's going in circles, it stops and asks for guidance.

The skill was built out of real frustration: AI agents that work great on demos but lose track of what they're doing after 10 minutes. Ralph Loop solves that with explicit state tracking, tmux session persistence, and a structured handoff protocol between subtasks. Over 2,655 lines of battle-tested TypeScript, refined across 17 files and dozens of real production tasks.

If you use Claude Code or OpenClaw heavily and find yourself babysitting long-running tasks, Ralph Loop gives you your time back.

Что умеет What it does

  • PRD-driven execution — drop a task description file, Ralph reads and executes it Выполнение на основе PRD — положите файл с описанием задачи, Ralph прочитает и выполнит
  • tmux session persistence — tasks survive terminal closes, network drops, sleep cycles Постоянство tmux-сессий — задачи переживают закрытие терминала, обрывы сети, сон
  • JSON state file — every step logged, resumable from any point JSON-файл состояния — каждый шаг залогирован, можно возобновить с любой точки
  • Cost tracking per run — see exactly what each task spent, with configurable budget caps Отслеживание стоимости за запуск — видите, что потратила каждая задача, с лимитами бюджета
  • Circuit breaker — detects infinite loops and stops before wasting compute Circuit breaker — обнаруживает бесконечные циклы и останавливается
  • Telegram notifications — message when done, message when stuck, message when over budget Telegram-уведомления — сообщение при завершении, при зависании, при превышении бюджета
  • Multi-subtask orchestration — breaks complex PRDs into parallel and sequential steps Оркестрация нескольких подзадач — разбивает сложные PRD на параллельные и последовательные шаги

Требования Requirements

  • · OpenClaw gateway v2026.3+ OR Claude Code with MCP OpenClaw gateway v2026.3+ ИЛИ Claude Code с MCP
  • · Node.js 22+ Node.js 22+
  • · tmux (macOS: `brew install tmux`, Linux: package manager, Windows: WSL2) tmux (macOS: `brew install tmux`, Linux: менеджер пакетов, Windows: WSL2)
  • · Telegram bot token (optional, for notifications) Telegram bot token (опционально, для уведомлений)

Установка Installation

  1. 1 Download ralph-loop.skill after purchase — link in your email Скачайте ralph-loop.skill после покупки — ссылка в письме
  2. 2 Run `bash ralph-loop.skill` (macOS/Linux) or `powershell -File ralph-loop.ps1` (Windows/WSL2) Запустите `bash ralph-loop.skill` (macOS/Linux) или `powershell -File ralph-loop.ps1` (Windows/WSL2)
  3. 3 Enter license key. Ralph creates `~/.ralph/` config directory and runs a self-test to confirm your environment is ready Введите лицензионный ключ. Ralph создаёт директорию конфигурации `~/.ralph/` и запускает самотестирование

История версий Changelog

5.0.0 2026-03-31
  • · Unified autonomous task runner — smart router auto-detects context
  • · PRD generation + loop in one command
  • · Parallel instances — multiple tasks running simultaneously
  • · Instance-specific state files — no cross-contamination
  • · Pause/resume support
4.2.0 2026-03-29
  • · JSON state persistence — tasks now survive gateway restarts
  • · Cost tracker v2 — per-model breakdown, cumulative totals
  • · 6 new modules: sed-injection guard, promise resolver, context-rotation
4.0.0 2026-03-20
  • · Complete rewrite — overlay architecture, survives plugin updates

FAQ

What's the difference between Ralph Loop and just using Claude Code normally? В чём разница между Ralph Loop и обычным использованием Claude Code?

Claude Code requires you to be present and make decisions at each step. Ralph Loop is designed for long-running tasks where you want to set a goal and come back hours later to a finished result — or a clear report on what blocked progress. Claude Code требует вашего присутствия и принятия решений на каждом шаге. Ralph Loop создан для долгосрочных задач, где вы хотите поставить цель и вернуться через несколько часов к готовому результату — или к чёткому отчёту о том, что заблокировало прогресс.

Does it work on Windows? Работает ли он на Windows?

Yes, via WSL2. The install script detects Windows and provides WSL2 setup instructions automatically. Native Windows support (PowerShell-only) is on the roadmap. Да, через WSL2. Скрипт установки определяет Windows и автоматически предоставляет инструкции по настройке WSL2. Нативная поддержка Windows (только PowerShell) — в планах.

Is my code sent anywhere? Отправляется ли мой код куда-либо?

No. Ralph Loop runs entirely on your machine. It calls your AI provider (Anthropic, etc.) with your existing credentials — the same calls you'd make manually. No code is stored or transmitted to our servers. Нет. Ralph Loop работает полностью на вашей машине. Он обращается к вашему AI-провайдеру с вашими существующими учётными данными — те же вызовы, что вы делали бы вручную. Никакой код не хранится и не передаётся на наши серверы.

Ralph Loop — $67 Ralph Loop — $67

7-дневный пробный период включён 7-day trial included

Купить сейчас Buy Now