Enterprise DNAEnterprise DNA
OOpen SourceObservabilitymedium

aigent-os

by Community

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

OSS

aigent-os

Added 16 Oct 2026

#agent-memory#ai-agents#ai-memory#anthropic#claude#claude-code#claude-code-hooks#claude-code-plugin
Catalogue record, not a reviewed recommendation. This record can include automatically collected descriptions and setup details. Confirm important claims with the original source. Explore source-reviewed tools.

Overview

A Claude Code harness that refreshes its own context instead of compacting. When a session reaches a threshold, it writes a verified capsule in plain markdown, runs /clear, and resumes in a fresh session. Memory is stored in a local git repository, making history readable via git log. MIT licensed, runs on Node 18+, and includes a Codex adapter.

Best for

Best for
Developers running long Claude Code sessions who want git-backed, auditable context persistence

Use cases

  • Restart long-running Claude Code sessions without losing context
  • Audit agent decision history through git log
  • Run the same memory harness with Codex

Notes

24 stars on GitHub. Last updated 2026-10-13. Licensed MIT.

Pros

  • Avoids context compaction by using fresh sessions
  • Memory is human-readable markdown in git
  • Includes adapters for both Claude Code and Codex

Cons

  • Requires Node 18+
  • Small user base with only 24 stars
  • Limited to supported harnesses (Claude Code, Codex)
Free 27-page guide

Get the free Developer’s Field Guide

A 27-page field guide to the AI coding workflow with Claude. Claude Code, MCP servers, the prompt patterns that work, and what to delegate. Free.

Enter your work email. We send it straight over, plus a few short notes worth knowing. Unsubscribe any time.

No spam. Unsubscribe any time.