
Eggshell Review: Local Work Memory for AI Coding Agents
CodingFreeAI memory for coding agents. Eggshell records what one chat finds and hands it to the next, so independent Codex sessions reuse prior work instead of starting fresh.
What Is Eggshell and How Does It Work?
Eggshell is AI memory for coding agents. It exists because independent chats do not share history: a second Codex session in the same repository starts from scratch even when the first session already searched the codebase, read the docs and answered the question.
Eggshell attaches to the agent through command hooks. As a chat runs, it journals the prompt, the tool operations and their terminal results, and the final verdict. A separate writer process persists this work to a local .egg work graph. At the start of a related turn, the AI memory searches that graph with lexical matching and MiniLM embeddings, then sends a compact handoff that lists Work and Outcome with an instruction to finish the remaining work. The agent decides what to reuse.
Setup is project-local: egg init creates a config and a .eggs directory that your repository ignores. The tool is written in Lean, runs fully on your machine, and makes no LLM calls to organize memory, which is why the project advertises cost savings rather than just convenience.
Key Features: Work Graph, Hooks & Handoffs
Eggshell's AI memory fits under four ideas: capture, organize, hand off and control.
- A local .egg work graph connects requests, outcomes and the operations that produced them
- Hooks capture prompts, tool results and final answers in Codex, with experimental project hooks for Claude Code, Gemini CLI, Cursor and OpenCode
- Relevant prior work is injected as a Work and Outcome handoff before a related turn acts
- Command controls such as !egg keep, drop, diff, graph, why and doctor give visibility into stored memory
- Profiles scope reading and writing by work, private or off modes
- No extra LLM calls are used to build or query the memory
- Written in Lean with 29 kernel-checked contracts and tests that make no network or LLM calls
Eggshell vs Native History, Memory Files and Prompting
A coding agent's built-in session history lives inside one conversation. Start a new chat and that context is gone unless you paste it in, which costs tokens and misses most of the actual work. Manually maintained memory files and prompting systems ask the model to summarize between sessions, again spending tokens and relying on the agent to stay consistent.
Eggshell's AI memory takes a different route: it captures the work from the non-agent side using hooks, organizes it locally with search and embeddings, and hands a compact summary to the next chat. The project's own experiments on a fixed source-code investigation workload report roughly 80 percent fewer tokens with equal or better answer quality, with a note that these numbers come from its own benchmark rather than a broad population study.
Pricing: Open Source and Free
Free and open source (Apache-2.0); local-only with no paid tiers, no hosted service, no telemetry and no account system
Free
Fully open source (Apache-2.0) and self-hosted. No paid tiers and no hosted service.
- Local work graph stored in .egg files
- Codex plugin adapter
- Experimental adapters for Claude Code, Gemini CLI, Cursor and OpenCode
- No telemetry or account system
- Pre-release v0.1.0
Best For
Recommended use cases and scenarios where Eggshell shines.
Pros and Cons
Eggshell is the most direct answer we have seen to the wasted-tokens problem of independent agent chats, and its local-first design is a real privacy strength. The honest caveats are maturity: it is pre-release software, only the Codex adapter is fully evaluated, and the headline token savings come from the project's own workload tests.
Pros
- AI memory across chats with no extra LLM calls
- Local-first and private, data never leaves the machine
- Primary Codex integration with experimental Claude Code, Gemini CLI, Cursor and OpenCode adapters
- Transparent control commands like keep, drop, diff and graph
- Apache-2.0 license and completely free
- Project-reported benchmarks show strong token savings
Cons
- Pre-release v0.1.0, not yet production-stable
- Non-Codex adapters are experimental and unmeasured
- Needs Codex command hooks plus Python 3 for semantic search
- Token savings measured on its own workload experiments
- Young project with a small community
Frequently Asked Questions
Common questions about Eggshell, answered.
Does Eggshell work with ChatGPT?
No. Eggshell is AI memory for OpenAI Codex with command hooks enabled. Ordinary ChatGPT chat is not supported.
Which coding agents are supported?
Codex is the primary, published adapter. Experimental adapters exist for Claude Code, Gemini CLI, Cursor and OpenCode via their project hook systems.
Does Eggshell send data anywhere?
No. It is local-first: prompts, tool results, embeddings and .egg files stay on your machine, with no telemetry, analytics or account system.
How much can Eggshell actually save?
The project's own fixed-workload experiments report about 80 percent fewer tokens versus a fresh start, with non-inferior answer quality. These are its own benchmark numbers, not a universal guarantee.
Do I need Python to use Eggshell?
Python 3 is used for a one-time local semantic-search setup. The rest of the tool runs as a native binary built in Lean.
Is Eggshell stable for production use?
It is pre-release software at version 0.1.0. The Codex adapter works and is tested, but the other adapters are experimental and not yet evaluated in live sessions.
Reviews & Ratings
Loading reviews...
Similar Tools
More Coding tools you might like
Claude Code
Anthropic's agentic coding tool that lives in your terminal — plan, build, test, and ship software by describing tasks in plain English.
GitHub Copilot
AI coding assistant that suggests code completions and entire functions in VS Code, JetBrains, and Neovim.