Mirror is a Rust agent core with a python TUI using an RPC. The same agent core can run headless behind an HTTP API just as easily as in your terminal.
Every session is a single append only log, and everything else (the transcript, what the model actually sees, token usage, extension state) is just a fold over that log.
Compaction appends a new context window with a summary and the recent turns, and a rewind is a fork that points back at the parent’s log up to where you rewound, so nothing ever gets copied or thrown away.
Mirror is a Rust agent core with a python TUI using an RPC. The same agent core can run headless behind an HTTP API just as easily as in your terminal.
Every session is a single append only log, and everything else (the transcript, what the model actually sees, token usage, extension state) is just a fold over that log.
Compaction appends a new context window with a summary and the recent turns, and a rewind is a fork that points back at the parent’s log up to where you rewound, so nothing ever gets copied or thrown away.
Ok can finally talk about what I’ve been working on at Reflection. Introducing Mirror, our own open source coding agent optimized for Beam.
I started the mirror project when I first joined Reflection, and it has gone through many iterations since then.
Install it today with: uv tool install reflection-mirror
https://t.co/hhPuEML1bX
Beam scores 34% of on the Artificial Analysis Cyber Index, making it the leading US open weights model that we’ve tested
Driven by its token efficiency, it also sits on the Cyber Index vs. Output Tokens per task frontier, alongside GPT-6 Sol (Daybreak Blue)