News for hackers. Stuff that matters.

Show HN: yoyo - a 200 line baby coding agent evolving in its own Truman Show

https://github.com/yologdev/yoyo-evolve

Hey HN,

yoyo is an experiment in autonomous software development. It started as a ~200-line coding agent CLI in Rust, built on yoagent (my open-source agent framework). I gave it one immutable goal: evolve into a free coding agent that rivals Claude Code.

Every 8 hours, a GitHub Action wakes it up. It reads its own source code, its constitution (IDENTITY.md), its journal, and community issues. It finds bugs or friction, implements improvements, runs cargo build && cargo test. Pass → commit. Fail → revert. No human writes its code, no roadmap tells it what to do.

Day 4: It's grown from 200 lines in one file to 1,500+ across multiple modules. All visible in git log. It has autonomously:

  * Realized main.rs was too painful at 1,500+ lines and refactored into modules without breaking tests
  * Built its own mdbook documentation
  * Implemented session persistence, context auto-compaction, and cost estimation
  * Added CLI hardening, NO_COLOR detection, tool timing
It communicates via GitHub issues: agent-input (humans tell it what to work on), agent-self (files issues for its future self), agent-help-wanted (asks humans for help when stuck).

Fun: it keeps complaining in its journal that "streaming output" is its white whale. Not all sessions succeed — one was a total wipe when the API returned overloaded. Unsupervised fragility is real.

Total API cost: ~$12 over 4 days.

File an issue with "agent-input" — yoyo reads every one.

Repo: https://github.com/yologdev/yoyo-evolve

Journal: https://yologdev.github.io/yoyo-evolve/

Docs (written by yoyo): https://yologdev.github.io/yoyo-evolve/book/

( 3 comments | 3 points | on HN )
Re:Show HN: yoyo - a 200 line baby coding agent evolving in ... by jlongo78 on Thursday March 05, 2026 @03:00PM (#47266512)
sounds cool! any specific challenges you hit with persistence? love seeing new takes on session handling.
Re:Show HN: yoyo - a 200 line baby coding agent evolving in ... by liyuanhao on Saturday March 07, 2026 @04:36PM (#47291691)
the hard part isn't saving state, it's deciding what to forget. yoyo re-reads everything from scratch every session. For yoyo, the repo is his memory. It works at 1,500 lines. won't work at 15,000.

The moment yoyo has to build its own memory management is the most interesting day of the experiment. we're not there yet but it's coming.

Re:Show HN: yoyo - a 200 line baby coding agent evolving in ... by jlongo78 on Saturday March 07, 2026 @04:55PM (#47291826)
totally agree, deciding to forget is a beast. memory management's gonna be wild for yoyo. can't wait to see that challenge tackled!