Aigent-OS
Aigent-OS is a Claude Code harness that clears and resumes agent sessions: at a context threshold (80% by default) the agent writes a capsule checkpoint file in git and replies with one exact ack line; the runner then sends /clear, waits for a SessionStart receipt proving a fresh session started, and resumes. One ack buys at most one clear, and ambiguous cases stop at HOLD:clear-stalled-after-ack without retrying. On resume the capsule is reference-only, live state wins, and uncaptured items are written as Unknown. First run interviews the user with three plain questions and makes a first plan, and each agent gets its own memory vault. v1.1.0 shipped on Sunday.
What it addresses
Keeping Claude Code agents coherent over weeks: compaction kept dropping the small decisions, so an agent would redo work the submitter had already ruled out.
Shared over time
Each entry reflects what was shared on that date. Details may have changed since then.
Aigent-OS
Aigent-OS is a Claude Code harness that clears and resumes agent sessions: at a context threshold (80% by default) the agent writes a capsule checkpoint file in git and replies with one exact ack line; the runner then sends /clear, waits for a SessionStart receipt proving a fresh session started, and resumes. One ack buys at most one clear, and ambiguous cases stop at HOLD:clear-stalled-after-ack without retrying. On resume the capsule is reference-only, live state wins, and uncaptured items are written as Unknown. First run interviews the user with three plain questions and makes a first plan, and each agent gets its own memory vault. v1.1.0 shipped on Sunday.
Problem: Keeping Claude Code agents coherent over weeks: compaction kept dropping the small decisions, so an agent would redo work the submitter had already ruled out.
Posted by @wrg32786 · Original source ↗
Story title · @wrg32786 · · Source ↗
Show HN: Aigent-OS, a Claude Code harness that clears and resumes
Submitted URL · @wrg32786 · · Source ↗
https://github.com/wrg32786/aigent-os
Source text · @wrg32786 · · Source ↗
aigent-os is my fix. At a context threshold (80% by default) the agent writes a capsule, a checkpoint file in git, and has to reply with one exact line. Only then does the runner send /clear, wait for a SessionStart receipt proving a fresh session started, and resume.
Source text · @wrg32786 · · Source ↗
On resume the capsule is reference only, live state wins, and anything the writer couldn't capture is written as Unknown. First run interviews you with three plain questions and makes a first plan. Each agent gets its own memory vault.
Source text · @wrg32786 · · Source ↗
The hard part wasn't any single task. It was keeping the agents coherent over weeks. Compaction kept dropping the small decisions, and then an agent would redo work I'd already ruled out.
Source text · @wrg32786 · · Source ↗
I run my business on four Claude Code agents: Titus, Pheme, Davinci and Metis. They write my newsletter, The AIgent (about 9k subscribers), every day through a drafting and proofreading engine that Pheme checks before scheduling.