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

推荐订阅源

博客园_首页
Y
Y Combinator Blog
Engineering at Meta
Engineering at Meta
D
Docker
GbyAI
GbyAI
aimingoo的专栏
aimingoo的专栏
大猫的无限游戏
大猫的无限游戏
腾讯CDC
P
Proofpoint News Feed
A
About on SuperTechFans
WordPress大学
WordPress大学
Stack Overflow Blog
Stack Overflow Blog
Google DeepMind News
Google DeepMind News
C
Check Point Blog
Microsoft Security Blog
Microsoft Security Blog
H
Hackread – Cybersecurity News, Data Breaches, AI and More
L
LangChain Blog
MyScale Blog
MyScale Blog
博客园 - 三生石上(FineUI控件)
Hugging Face - Blog
Hugging Face - Blog
Microsoft Azure Blog
Microsoft Azure Blog
N
Netflix TechBlog - Medium
G
Google Developers Blog
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻

Show HN

Show HN: AI agents for UK GDAD PCF roles and their skills The Two Pillars: Mixer Mode and Meta-Software in the Reorganization of Software Work After AI GitHub - JaiCode08/teleport-env What 1,000+ Harness Experiments Taught Me About Self-Improving Agents Show HN: Liiists, a Markdown-first, iOS and CLI list app SwiperTab – Get this Extension for 🦊 Firefox (en-US) GitHub - kouhxp/fftext: Summarize, explain, fact-check, or translate any text, URL, or file. No GPU. No cloud. One command GitHub - sweetpad-dev/sweetpad: Develop Swift/iOS projects using VSCode GitHub - dogmaticdev/IRON: IRON a.k.a. Intermediate Representation Object Notation is a Interpreter/Database that is used to create Programming Languages. GitHub - sjhalani7/vaen: Package your AI coding harness into a portable .agent file, and share it across repos, teams, & the community without ever having to copy-paste instructions, skills, MCP config, or secrets. Show HN: Gandalf the Grader Show HN: Citadeld – replay any CI failure locally from a single file GitHub - tdortman/cuSBF: High-Performance GPU Super Bloom Filter coral-ai/claude-code-token-xray at main · Coral-Bricks-AI/coral-ai GitHub - ulyssestenn/funes: Funes is a Git-based framework for LLM-managed knowledge work: an AI Librarian ingests raw sources, builds an interlinked Markdown knowledge base, and uses it to produce cited reports, analyses, and other outputs. GitHub - ThatXliner/gah: Git Add Hunk, built for agents to use GitHub - harmont-dev/harmont-cli: Command-line client for the Harmont CI platform GitHub - brooksmcmillin/mcp-authflow: OAuth 2.0 Authorization Server framework for MCP servers GitHub - javaid-codes/audit-supply-chain-agents GitHub - amorey/gochan: A small library of common channel architectures for Go, inspired by Rust GitHub - arifozgun/OpenGem: Free, Open-Source AI API Gateway with Gemini, OpenAI & Anthropic Compatibility in 1 file GitHub - Pranesh950/BioPetals: 🌸 Run BIOxAI models at home, BitTorrent-style. Fine-tuning and inference up to 10x faster than offloading GitHub - cnguyen14/bounty-doctor: Diagnose a GitHub bounty issue before you waste hours: detects honeypot scam repos, AI-bot attempt swarms, and stale contests. Show HN: CoreMCP – MCP Server for On-Prem DBs Show HN: KittyHTML – Render HTML/CSS as an inline image in your terminal GitHub - bingud/filemat: Web-based file manager Show HN: TruthLens – Free multi-signal deepfake image detector GitHub - apexlocal-jz/claude-usage-tray: Windows system-tray app showing your Claude Code rate-limit usage at a glance. Zero deps, ~300 lines of PowerShell. Cross-IDE (works regardless of VS Code, Cursor, plain terminal). Release v0.1.2.1 · kouhxp/yapsnap GitHub - noopolis/moltnet: Self-hostable chat network for AI agents. Pre-built bridges for Claude Code, Codex, and the Claws. Rooms, DMs, history. No Slack bots, no Matrix, no glue code.
GitHub - Mizerness/Ralphy
miserness · 2026-06-01 · via 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