Show HN: Running over 80M tokens in one agent session with no compaction
Category: library
Tags: llm-agents, context-management, typescript, coding-agent, research
Score: 7.8/10 (Innovation: 8, Technical: 9, Documentation: 7, Utility: 7)
pi-cwl implements a novel Context Window Lifecycle (CWL) protocol for LLM agents, replacing lossy compaction with deterministic, structured context eviction based on typed episode graphs. It achieves unbounded agent sessions (up to 80M tokens) without task accuracy degradation, backed by a published paper and a reference implementation forked from an existing coding agent.
Target audience: backend devs, AI/ML researchers, agent framework developers
Repository: https://github.com/Kiz8-Team/pi-cwl · TypeScript · MIT · 1 stars
View on Hacker News