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

Anthropic Explores AI's Role in Autonomous Weapons Policy with Pentagon Discussion

2026-04-05
AnthropicAnthropic
POLICY & REGULATION

Security Researcher Exposes Critical Infrastructure After Following Claude's Configuration Advice Without Authentication

2026-04-05
AnthropicAnthropic
POLICY & REGULATION

Anthropic's Claude Code Stores Unencrypted Session Data and Secrets in Plain Text

2026-04-04

Comments

Suggested

OracleOracle
POLICY & REGULATION

AI Agents Promise to 'Run the Business'—But Who's Liable When Things Go Wrong?

2026-04-05
AnthropicAnthropic
POLICY & REGULATION

Anthropic Explores AI's Role in Autonomous Weapons Policy with Pentagon Discussion

2026-04-05
GitHubGitHub
PRODUCT LAUNCH

GitHub Launches Squad: Open Source Multi-Agent AI Framework to Simplify Complex Workflows

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