wrg32786/aigent-os
24 stars · Last commit 2026-10-18
Claude Code harness that refreshes its own context instead of compacting: at a threshold it writes a verified capsule, runs /clear, and resumes in a fresh session. Memory is plain markdown in git, readable with git log. MIT, runs locally, one install (Node 18+). Codex adapter included.
README preview
<div align="center"> <h1><img src="assets/aigent-os-logo.png" alt="aigent-OS" width="560"></h1> **Claude Code that refreshes its own context instead of compacting.** Open-source (MIT) harness for one long-running Claude Code session. With Managed Auto-Refresh, when context reaches a threshold it saves a verified capsule, runs /clear, and resumes the work in a fresh session. No summary of a summary, no re-briefing. Around that loop sits an operator layer: skill routing, guarded memory and specialist sub-agents that help with the work itself. [Install](#install) · [Demo](#see-it-resume-itself) · [Evidence and limits](#evidence-and-limits) · [Operator](#operator) · [What it changes](#what-this-changes-on-your-machine) · [Uninstall](#uninstall) · [FAQ](#faq) · [Alternatives](#alternatives) · [Docs](docs/getting-started.md) [](https://github.com/wrg32786/aigent-os/stargazers) [](LICENSE) [](https://claude.ai/code) [](https://obsidian.md) [](https://github.com/wrg32786/aigent-os/actions/workflows/ci.yml) [](SECURITY.md) [](#-contributing) **Stop re-briefing your AI every morning.**