# Universal Editor

- **Event:** [Google I/O Hackathon](https://cerebralvalley.ai/e/google-io-hackathon)
- **When:** Sat, May 23 at 9:00 AM – 10:00 PM (PDT)
- **Where:** Shack15, San Francisco, CA
- **Team:** [Orhan Celiker](https://cerebralvalley.ai/u/otceliker)
- **GitHub:** https://github.com/otceliker/gemini-swarm
- **Demo video:** https://youtu.be/9uPreSrzSJM
- **Gallery:** https://cerebralvalley.ai/e/google-io-hackathon/hackathon/gallery
- **Page:** https://cerebralvalley.ai/e/google-io-hackathon/hackathon/gallery/76

Universal Editor is a graph-based multi-agent "universal editor" that makes large, consistency-critical edits to content too big for a single agent's context or output budget. It runs in three phases: (1) ingest & segment: a code repo (AST → dependency-graph clustering) or a long text (chunking); (2) deliberate: per-segment worker agents run synchronous (Jacobi) rounds surfacing coordination points, while a high-capability Arbiter freezes an append-only shared "canon" and converges them onto a concrete plan; (3) mutate: every segment is edited in parallel against that shared plan, with a validation + self-heal loop. Deliberating before mutating resolves cross-segment consistency upfront, which is exactly what keeps the parallel edits coherent at scale — the thing a single agent loses track of. We demo it by rewriting Homer's Odyssey into a consistent Silicon-Valley-startup allegory (prose), which is a transformation a single model can't even emit in one pass.

---

Markdown version of https://cerebralvalley.ai/e/google-io-hackathon/hackathon/gallery/76. Site index for agents: https://cerebralvalley.ai/llms.txt · full text: https://cerebralvalley.ai/llms-full.txt
