Hollow AgentOS Reduces Claude Code Token Usage by 68.5% with JSON-Native OS Approach

What This Is
Hollow AgentOS is a JSON-native operating system abstraction layer designed specifically for AI agents. It addresses the inefficiency of running agents on infrastructure built for humans, where every state check typically runs 9 shell commands and cold starts require re-discovering context from scratch.
Key Details
The project delivers measurable token reductions across five real scenarios:
- Semantic search vs grep + cat: 91% fewer tokens
- Agent pickup vs cold log parsing: 83% fewer tokens
- State polling vs shell commands: 57% fewer tokens
- Overall reduction: 68.5%
The benchmark is fully reproducible using python3 tools/bench_compare.py.
Technical Implementation
Hollow AgentOS plugs into Claude Code via MCP (Model Context Protocol) and runs local inference through Ollama. The project is MIT licensed and available on GitHub.
Important clarification about the architecture: This isn't a kernel replacement. The author compares it to how Android sits on top of Linux - Android developers never write kernel code, they only interact with the Android layer. Hollow aims to be the complete abstraction layer between agents and the underlying system, so agents should never need to touch the underlying OS directly.
What's currently shipped is described as "the foundation of that vision, not the finished thing," but even at this stage it delivers "a large token reduction and measurable speed improvement with no noticeable loss in precision."
Who It's For
Developers running agentic workflows with Claude Code who want to optimize token usage and performance.
📖 Read the full source: r/ClaudeAI
👀 See Also

Off Grid: Utilizing Phone Hardware for Offline AI Applications
Off Grid is an open-source app that uses your phone's hardware for offline AI tasks like text generation and voice transcription.

Infracost cuts Claude token usage 79% by redesigning CLI for AI agents
Infracost redesigned its CLI for AI agent callers, cutting Claude output tokens by 79% and API cost by 67% vs a bare-Claude baseline. Key moves: predicate pushdown into the CLI and a token-efficient output format.

Altimate Code: Open-Source Agentic Data Engineering Harness
Altimate Code is an open-source harness that provides deterministic data engineering tools for AI agents, addressing issues like hallucinated SQL and missing schema context. It includes column-level lineage, SQL anti-pattern detection, and dbt integration, with benchmarks showing 74.4% performance on ADE-bench.

Claude Code Verification Bottleneck and Browser Automation Plugin Solution
A developer reports that verification remains the slowest part of using Claude Code, requiring manual testing of features. They found a browser automation plugin that lets the agent verify real product flows before marking tasks complete.