My coding agents forget everything when a session ends. So I built them a memory.
Orrery gives each agent one lasting memory across sessions, models, tools and machines. My busiest agent remembers about 17,000 messages and still starts every session sharp.
Works with Claude Code, Codex, OpenCode, pi and OMP. Open source, MIT.
@oynickj Didn't know I needed this. I built a KOReader plugin that converts your EPUBs into a readable copy in that format.
I'm on a Kindle Scribe (B&W), so I adapted the emphasis for monochrome e-ink. Words like not and never are bold + underlined, clauses use subtle indent rails. Built it for color e-readers as well, but can't test.
Credited you in the README. Let me know if you want anything tweaked or renamed.
https://t.co/yuPYUSjA5Y
@lbang_2580 This lets you keep all your context and switch whatever model or harness you want. Antigravity, Codex, Claude Code, Pi, OMP, open router. It’s been a lifesaver for me.
https://t.co/rKvVWGuAGV
My coding agents forget everything when a session ends. So I built them a memory.
Orrery gives each agent one lasting memory across sessions, models, tools and machines. My busiest agent remembers about 17,000 messages and still starts every session sharp.
Works with Claude Code, Codex, OpenCode, pi and OMP. Open source, MIT.
This will save you. It’s been a lifesaver for me
Orrery keeps every message plus a tree of summaries, so retrieval starts from a map instead of a cold search, and it syncs across machines, so it's not only for local sessions. My busiest agent is at ~17k messages.
https://t.co/Fq6M1nPf6N
#2 is the one I got tired of fighting. Every new session my coding agents started from zero, or I ran sessions so long they lost all intelligence.
So I built Orrery. Each agent keeps every message plus a tree of summaries, across sessions, providers, models, and tools. Open source.
My coding agents forget everything when a session ends. So I built them a memory.
Orrery gives each agent one lasting memory across sessions, models, tools and machines. My busiest agent remembers about 17,000 messages and still starts every session sharp.
Works with Claude Code, Codex, OpenCode, pi and OMP. Open source, MIT.
My coding agents forget everything when a session ends. So I built them a memory.
Orrery gives each agent one lasting memory across sessions, models, tools and machines. My busiest agent remembers about 17,000 messages and still starts every session sharp.
Works with Claude Code, Codex, OpenCode, pi and OMP. Open source, MIT.
Memory stays on your machine in one local SQLite file per agent. When you sync, it's encrypted before it leaves, over SSH or a Cloudflare Worker, and only you hold the recovery code.
For tokens, the agent never loads the thousands of messages. It sees a 64 to 128 KB view, and a tree of summaries works as an index, so it pulls the exact original message only when it needs it. `orrery usage` shows what the summaries cost.
Just the memory. The code still moves through git like normal. Orrery's rule is that for current state, files and git beat memory, so if the checkout doesn't match the plan the agent trusts what's on disk and treats memory as the history of why. Push your branch, pull the agent, and it picks up both.
For memories and sessions: Orrery imports your existing Claude Code chats into an agent, keeps every new message, and “orrery backup” command snapshots it all, with “orrery restore” command to roll back. For settings, copy ~/.claude but leave out .credentials.json.
https://t.co/vFX7Xcjs0s
My coding agents forget everything when a session ends. So I built them a memory.
Orrery gives each agent one lasting memory across sessions, models, tools and machines. My busiest agent remembers about 17,000 messages and still starts every session sharp.
Works with Claude Code, Codex, OpenCode, pi and OMP. Open source, MIT.
A little more than a year ago I had a vivid end time dream with two paths in it.
One for the people who got ready inside the church.
One for the people who tried to get ready alone.
In the first one I ended up in a bath towel, standing in front of a stone archway that glowed purple and hovered, while the wind of the Holy Spirit blew through it and laid the congregation out.
In the second one I got my clothes washed clean and still had to walk home through the city in a towel while everyone looked at me like I was what's wrong with the world.
Here's the whole thing.
PART ONE - THOSE WHO GOT READY
I was in the church, leaning against the overflow chairs to the side of the seated congregation. On the stage were archway stones, separated from each other by about eight inches (I just knew it was 8" in the dream), and behind them large geometric stone shapes that looked to me like a tesseract. They extended beyond the ceiling like I was seeing in the spirit.
The pastor said, "OK, let's take communion." A woman on the stage began adjusting and pushing the stones together, and the archway started to activate. As the stones touched, they glowed purple and hovered. While she worked, the pastor said, "She's obsessed with the geometry of it." That line was crystal clear. Highlighted.
Then I noticed I was only wearing a bath towel. I wasn't dressed and wasn't ready to take communion. I knew my clothes were in the other room, so I went and got them, hanging on the overflow chairs, and once I had them on, I was simply clothed.
Walking back in for communion, I saw the wind of the Holy Spirit blowing out through that archway over the congregation. People were laid out in their chairs. Some were face down on the floor at the back. The wind just filled the room.
I saw an open chair about three rows from the front, between two people I didn't know. I sat down: an older woman on my left, a young girl on my right. We were holding hands, excited. The girl kissed me on the temple. We were all just happy together, waiting for the Lord like family.
PART TWO - THE ONE WHO GOT READY ALONE
Separate path. Same starting point.
I have my clothes and I'm angry that I'm not wearing them. I leave the church and I'm looking for somewhere private to change. I see a round white portable toilet. I go in.
It's clean, like brand new. I set my clothes on the floor so I can take off the towel, and the bottom third of the back wall rolls open and a huge muddy foot stomps down on my clothes.
I'm furious. I grab my clothes and leave in my towel.
Outside, the congregation is leaving and loading into shuttle buses. To reach the buses I have to cross a stream that feeds into a river. I step into the shallow part and it carries me into the deeper water. I go under. I'm swept back toward the church parking lot and come out on the bank on the far side of it.
In the river my clothes got washed clean and things were washed out of my hands. I saw my keys go. I was struggling to hold on to the rest while the water cleaned me and carried me across.
On the other side, I've missed the shuttle. So I have to walk home.
I walk through the city in a towel, holding my clean wet clothes, and people look at me like I'm the problem with society. The part of town I'm walking through looks like the French countryside overlooking the ocean. Cobblestone streets, charming corners, everyone dressed like they belong there, taking photos, and they look down on me. A half-naked man in their streets. They didn't understand that I had clothes that I couldn't set down because they'd get dirty again, and that I was just walking home. That I had a home.
That scene repeated. Over and over, I was the thing wrong with the world.
WHAT I THINK IT MEANS
These are two end-times dreams.
In the first, the group got ready inside the church, the right place to get ready. I saw different generations as different tribes or denominations. We were being called to unity, to help each other get ready, and God is going to do something new that may look strange. My sense is it will turn some people off and they may not want any part of it, but we're still together.
It looked weird, but it was clearly from the Lord. Archway stones on a stage and a huge tesseract are a strange sight, but there was no question the rushing wind out of it was the Holy Spirit. And it hit everyone who came. Differently, but undeniably. Some face down on the floor at the back, some out of it in their chairs, some just sitting in the wind soaking it in.
The second dream is someone who tried to get ready in private. They left the church building to do what seemed right in their own mind, and they missed it. They could still wash their clothes in the river (get saved), but they had to walk home (go through the tribulation), and on the way home they were misunderstood, outcasts, the problem with society.
Revelation says the antichrist will make war on the saints. These are the people whose lamps weren't full when Christ returned. The five wise and the five foolish virgins. Fifty percent missing it is a scary number. They could still be saved, but they had to walk through the tribulation, and while they walked through it they were outcasts, looked down on. The same way Christ was, carrying the cross.
The first dream was short. Shorter than the second one.
I think that's because it doesn't have to last. He's coming back.
@owenthcarey +1
this has been a life saver for me, sharing in case anyone else has long running agents and needs better memory.
https://t.co/rKvVWGuAGV