惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Blog — PlanetScale
Blog — PlanetScale
J
Java Code Geeks
月光博客
月光博客
Engineering at Meta
Engineering at Meta
WordPress大学
WordPress大学
Jina AI
Jina AI
小众软件
小众软件
U
Unit 42
云风的 BLOG
云风的 BLOG
Stack Overflow Blog
Stack Overflow Blog
雷峰网
雷峰网
博客园 - Franky
Microsoft Security Blog
Microsoft Security Blog
罗磊的独立博客
宝玉的分享
宝玉的分享
B
Blog
C
Check Point Blog
爱范儿
爱范儿
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
量子位
阮一峰的网络日志
阮一峰的网络日志
Vercel News
Vercel News
酷 壳 – CoolShell
酷 壳 – CoolShell

Hacker News: Show HN

PurrrrrFocus: Pomodoro Timer App - App Store Workflow Engine — Multi-Step Orchestration for Bun RapidPhoto: Pro Photo Editor App - App Store GitHub - DheerG/swarms: Achieve extraordinary results with claude code across a variety of tasks SPICE simulation → oscilloscope → verification with Claude Code — Lucas Gerads Show HN: VCoding – A 5 MB native Windows IDE with no dynamic dependencies Show HN: LLMs don't hallucinate because they're bad at math, it's the format GitHub - Agent-FM/agentfm-core: AgentFM is a peer-to-peer network that turns everyday computers into a decentralized AI supercomputer. AgentFM lets you run massive AI workloads directly across a global mesh of idle CPUs and GPUs. Show HN: Tracking Top US Science Olympiad Alumni over Last 25 Years GitHub - Potarix/agent-hub: One place to talk to all your agents Show HN: Runtime security for AI agents(injection,tool abuse, data exfiltration) GitHub - dubeyKartikay/lazyspotify: Terminal Spotify client for macOS and Linux GitHub - the-banana-tool/king-louie: Easy to use GUI Personal AI Assistant. Win/Linux/Mac. Show HN I made my vacation rental bookable by AI agents–no Airbnb, 0% commission GitHub - basteez/jsf-autoreload: maven plugin to enable hot reload on jsf projects uvm32/hosts/host-gdbstub at main · ringtailsoftware/uvm32 GitHub - labsai/EDDI: Config-driven engine that turns JSON into production-grade AI agents. Multi-agent orchestration, 12+ LLM providers, MCP/A2A protocols, RAG, persistent memory, and enterprise compliance (EU AI Act, GDPR, HIPAA). Built on Quarkus. GitHub - glitchnsec/fortyone-oss: AI Executive Assistant Platform Quickstart | Alien GitHub - muxshed/shed: One stream in, or many. Every destination, simultaneously. No cloud middleman, no per-channel fees, no limits. GitHub - ocrbase-hq/ocrbase: 📄 PDF/IMG ->.MD/JSON Document OCR API for PaddleOCR and GLMOCR. Self-hostable. GitHub - impactjo/home-memory: MCP server that lets your AI assistant remember everything about your home. GitHub - Sets88/dbcls: DbCls is a powerful terminal database client that supports various databases GitHub - neptun2000/heor-agent-mcp GitHub - SeanFDZ/macmind: Single-layer transformer in HyperTalk for the classic Macintosh RollQuation: Math Puzzles - Apps on Google Play GitHub - dropbox/witchcraft Show HN: Agent-cache – Multi-tier LLM/tool/session caching for Valkey and Redis GitHub - opentalon/opentalon: OpenTalon is an open-source platform built from the ground up in Go as a robust alternative to OpenClaw LinkedIn™ 职位抓取工具 - Chrome 应用商店
GitHub - Mizerness/Ralphy
miserness · 2026-06-01 · via Hacker News: Show HN

Your overnight AI coding kitchen. Hand Ralphy a list of tasks, close the laptop lid, and wake up to branches with the work done — researched, implemented, tested, and pushed.

Ralphy wraps the Claude Code CLI in an autonomous ralph-style loop with a plan-first workflow, hard safety guardrails, and a kanban dashboard so you can watch it cook.

Ralphy is a Python port + reimagining of ralph-claude-code by Frank Bria — its loop, circuit breaker, and status-parsing logic are based on that project. Huge thanks. 🙏

curl -fsSL https://raw.githubusercontent.com/Mizerness/Ralphy/main/install.sh | bash

What it does

You add a project (a git repo) and drop tasks into the backlog like orders on a pass. When you "open the kitchen", Ralphy runs each task autonomously:

  1. 📋 Plan — runs Claude Code in plan mode (read-only): deep web research, reads your code, and writes a detailed plan.md.
  2. 🔧 Execute — works the plan one checked-off step at a time, full-autonomy, until the task is done and its tests pass.
  3. ⬆️ Ship — commits and pushes to a dedicated ralphy/task-* branch. You review the PR.

It runs unattended overnight: it keeps the Mac awake, survives Wi-Fi blips, backs off when it hits Claude usage limits, throttles when the machine is busy, skips tasks that need you, and only ever wakes you (literally, out loud) as a last resort.

Features

  • Plan-first loop — separate read-only planning pass (Claude Code plan mode) feeds an execution loop. The plan is visible in the UI and committed as plan.md.
  • Full autonomy, guarded — runs with --dangerously-skip-permissions behind a PreToolUse guardrail that blocks the scary stuff: pushing to main, force-push, terraform apply, rm -rf /, prod DB clients, DROP/TRUNCATE, and more.
  • Browser automation — Playwright MCP wired in, so a task can log in, fetch a key, or scrape a page on its own.
  • Never spins — detects "you've hit your session limit · resets 10am" and sleeps until the reset instead of hammering the API.
  • Circuit breaker — stops a task that's stuck (no progress / same recommendation repeated) and parks it as needs input; state survives restarts.
  • Global scheduler — runs up to max_concurrent task loops at once (default 5), spread least-loaded across your projects, FIFO within each. Tune the concurrency live from the UI.
  • Worktree isolation — every running task works in its own git worktree, so several tasks of the same repo can cook concurrently without stomping each other.
  • Resumable tasks — a stopped or interrupted task picks up where it left off: the Claude session id is persisted, so loop count, tokens, and the conversation carry across restarts.
  • Attach a local session — start a task from an existing local Claude Code session (~/.claude/projects/...) to hand off a conversation you began by hand and let Ralphy finish it.
  • Resource-aware — auto-throttles when CPU/RAM is saturated (never kills work in flight).
  • Safe by default — work only ever lands on ralphy/* branches; never your main branch.
  • Token budget — per-task cap so a runaway task can't burn your whole night.
  • Live dashboard — kanban board (Backlog / Cooking / Served), live streamed output, per-task plan modal, and machine/power/network indicators.

Requirements

  • macOS (uses caffeinate, pmset, say — core loop works elsewhere, those niceties don't)
  • Python 3.11+
  • git
  • Claude Code CLIclaude on your PATH, logged in
  • Node.js / npx (optional) — only for the Playwright browser tools

Install

One-liner (installs via pipx if present, else pip --user):

curl -fsSL https://raw.githubusercontent.com/Mizerness/Ralphy/main/install.sh | bash

Or from a clone:

git clone https://github.com/Mizerness/Ralphy.git
cd Ralphy
./install.sh

Or straight from pip / pipx:

pipx install git+https://github.com/Mizerness/Ralphy.git

Usage

ralphy            # starts the server and opens the dashboard in your browser

Then:

  1. + New project → point it at a local git repo.
  2. + New order → add tasks (a title + a clear description).
  3. ▶ Open kitchen → Ralphy's scheduler starts cooking the backlog (FIFO, several tasks at once across your projects).

Leave it running overnight. In the morning, review the ralphy/task-* branches it pushed.

ralphy --port 8080      # custom port
ralphy --no-browser     # don't auto-open the browser

How it works

task ── PLAN (claude --permission-mode plan, read-only) ── plan.md ──┐
                                                                     ▼
        EXEC loop (claude --dangerously-skip-permissions) ── step by step ── tests ──┐
                          │  guardrail hook screens every Bash command               │
                          │  circuit breaker / token cap / session-limit backoff     │
                          ▼                                                           ▼
                  commit + push to ralphy/task-*                                  ✅ done

State lives in ~/.ralphy/ralphy.db (SQLite). Generated Claude Code configs (claude-settings.json with the guardrail hook, playwright-mcp.json) live in ~/.ralphy/.

Safety

Ralphy runs Claude with permissions bypassed so it can work unattended — the guardrail hook (src/ralphy/guardrail.py) is the net that makes that safe. It blocks destructive and production-touching commands and lets everything else through. Work is always committed to a ralphy/* branch and pushed there — never to main/master.

Still: run Ralphy on repos and a machine where that trade-off is acceptable, and review the branches it produces before merging.

Configuration

Settings live in the settings table of ~/.ralphy/ralphy.db (sensible defaults are seeded):

key default meaning
max_concurrent 5 how many task loops the scheduler runs at once (also settable from the UI)
token_cap_per_task 500000 stop a task after this many tokens
ram_threshold_pct 88 throttle new work above this RAM %
cpu_threshold_pct 92 throttle new work above this CPU %
autonomy_skip_permissions 1 run exec loops with --dangerously-skip-permissions
claude_cmd claude path to the Claude Code CLI

Development

python3.12 -m venv .venv
.venv/bin/pip install -e ".[dev]"
.venv/bin/python -m pytest        # 33 tests
.venv/bin/python -m uvicorn ralphy.app:app --reload --port 7842

Credits

  • ralph-claude-code by Frank Bria — Ralphy is a Python port + reimagining of it; the loop, circuit breaker, status parsing, and dual-condition exit are based on its design.
  • Geoffrey Huntley — inventor of the "ralph" technique (the while :; do cat PROMPT.md | claude-code; done loop) Ralphy is named after.
  • Claude Code — the CLI Ralphy drives.

License

MIT