mirror of
https://github.com/mikeyobrien/ralph-orchestrator.git
synced 2026-04-25 07:05:57 +03:00
[PR #16] [CLOSED] feat: Self-improvement runner - AI improving AI #91
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ralph-orchestrator#91
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/mikeyobrien/ralph-orchestrator/pull/16
Author: @krzemienski
Created: 1/2/2026
Status: ❌ Closed
Base:
main← Head:feat/self-improvement-runner📝 Commits (7)
c366b52chore: add Claude Flow and Swarm tooling directories to gitignore546d9e9Enhance onboarding: MCP ecosystem integration & agent-assisted analysis57a3b5crefactor(self-improve): Pure-Python runner using SDK directlyb596c09feat(self-improve): Add web UI and direct prompt file support67ce18ffeat(self-improve): Add full RalphConfig CLI params support2b06e94refactor(self-improve): Remove predefined features, require prompt filee317c32fix(web): Enable auth for self-improve web UI📊 Changes
7 files changed (+1566 additions, -2 deletions)
View changed files
📝
.gitignore(+5 -0)➕
examples/ralph-self-improvement.yml(+58 -0)➕
examples/run_self_improvement.py(+267 -0)➕
prompts/ONBOARDING_PROMPT.md(+820 -0)📝
ralph.yml(+19 -1)➕
scripts/self_improve.py(+395 -0)📝
tests/test_acp_client.py(+2 -1)📄 Description
Summary
This PR adds a self-improvement runner that enables Ralph to enhance itself using its own Python SDK.
What's Included
scripts/self_improve.py- Pure Python runner using Ralph's API directly (no subprocess CLI calls)examples/ralph-self-improvement.yml- Example configuration for self-improvement tasksUsage
Background: Why This Pattern?
This follows the architecture described in Anthropic's Effective Harnesses for Long-Running Agents - the blog post that introduced Ralph's foundational patterns:
Ralph implements this pattern, and now Ralph can use it to improve itself:
Key Features
Next Steps
Opening GitHub issues for proposed features (validation, TUI, onboarding) to get community feedback before running the prompts. This way we can iterate on the approach together.
Been watching a Simpsons marathon while working on this - that scene where Homer tries to improve his car with a crayon up his nose feels relevant to AI self-improvement somehow. 🖍️
Huge appreciation for this project and the community. The patterns from that Anthropic engineering post are genuinely exciting - AI making incremental progress on complex projects is the future.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.