BotBeat
...
← Back

> ▌

AnthropicAnthropic
PRODUCT LAUNCHAnthropic2026-03-26

Ralph.md: New Markdown Format for Autonomous Coding Agent Loops

Key Takeaways

  • ▸Ralph.md standardizes the orchestration of autonomous agent loops by defining what happens between iterations—commands to run, prompts to assemble, and output to inject
  • ▸The format is designed as self-contained directories containing a RALPH.md manifest plus optional shell scripts, context files, and data, enabling easy sharing and reuse
  • ▸Real-world use cases include automated bug hunting, test fixing, and code quality checks, where deterministic feedback commands guide the agent's next action
Source:
Hacker Newshttps://ralphify.co/docs/blog/ralphmd--a-markdown-format-for-autonomous-agent-loops/↗

Summary

A developer has introduced Ralph.md, a markdown-based format designed to standardize the setup of autonomous coding agent loops. The format addresses a common pattern in AI-assisted development: running shell commands between agent iterations, injecting their output into prompts, and feeding them back to an AI model. Ralph.md provides a structured, reusable approach to this outer-loop orchestration, complementing existing formats like Agent Skills that focus on inner-loop agent behavior.

The format consists of four core components: an agent specification (the command to run), deterministic feedback commands that execute between iterations, declared arguments for parametrization, and a prompt body with template placeholders for command output and arguments. Each iteration follows a consistent cycle: run commands, assemble the prompt with injected output and resolved arguments, pipe to the agent, and repeat. The self-contained directory structure allows ralph definitions to bundle helper scripts, documentation, and context files alongside the RALPH.md manifest.

A practical example demonstrates a "bug hunter" agent that runs tests, type checking, linting, and git log commands on each iteration, using their output to guide the agent in finding and fixing real bugs in a codebase. The format aims to reduce repetitive scaffolding and make autonomous agent loops more shareable and maintainable across teams and projects.

Editorial Opinion

Ralph.md represents a pragmatic step toward making AI-assisted development loops more standardized and reproducible. By formalizing the pattern of command-driven feedback loops, the format could significantly reduce boilerplate and enable teams to share and iterate on autonomous workflows more effectively. However, the format's adoption will depend on integration with development tools and evidence of real-world productivity gains in complex, multi-agent scenarios.

Generative AIAI AgentsOpen Source

More from Anthropic

AnthropicAnthropic
POLICY & REGULATION

Advanced AI Models Bring Government to 'Reflection Point,' CIA Official Says

2026-05-20
AnthropicAnthropic
RESEARCH

Anthropic Claude Code Sandbox Bypass: Second Vulnerability Exposes Critical Data Exfiltration Risk

2026-05-20
AnthropicAnthropic
RESEARCH

AI Safety Catastrophically Underfunded: Economic Model Reveals Incentive Gap

2026-05-20

Comments

Suggested

Google / AlphabetGoogle / Alphabet
PRODUCT LAUNCH

Google DeepMind Launches Gemini 3.5 Flash: New Lightweight AI Model

2026-05-20
Executive Office of the President of the United States (Policy/Regulation)Executive Office of the President of the United States (Policy/Regulation)
RESEARCH

SID Achieves Search Breakthrough with SID-1, Outperforming GPT-5 at 1k+ QPS Using Reinforcement Learning

2026-05-20
AnthropicAnthropic
POLICY & REGULATION

Advanced AI Models Bring Government to 'Reflection Point,' CIA Official Says

2026-05-20
← Back to news
© 2026 BotBeat
AboutPrivacy PolicyTerms of ServiceContact Us