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
Needle: A 26M Parameter Function-Calling Model That Runs at 6000 tok/s on Mobile
Cactus open-sources Needle, a 26M parameter model for single-shot function calling, achieving 6000 tok/s prefill and 1200 tok/s decode on consumer devices. Built with Simple Attention Networks (no FFNs), it beats several larger models on tool-use benchmarks.

PromptForest: Local-First Prompt Injection Detection with Uncertainty
PromptForest is a lightweight, local-first library that detects prompt injections and jailbreaks, classifying them while evaluating certainty, all without increasing average request latency.

Open-source Claude Skill structures B2B SaaS growth knowledge for consistent AI reasoning
A developer created an open-source Claude Skill that organizes $90M ARR partnership lessons, 1,800 user interviews, and 5 SaaS case studies into structured knowledge for Claude to reference, improving output quality for complex workflows like PMF validation and GTM planning.

OKed Plugin: OpenClaw Asks Your Phone Before Destructive Actions
A new plugin called OKed hooks into OpenClaw's before_tool_call to intercept destructive commands (emails, deletions, payments) and push approval requests to your phone or Telegram.