A fresh session could save you from carrying unnecessary context.
Your previous context cache has expired after 55 min idle. Continue with a focused handoff instead of reloading the entire conversation.
L2Cache: AI Coding Companion
For developers using Claude Code and Codex on Mac
Stop losing your context. Stop paying Claude to reload it. L2Cache gives your Mac permanent developer memory and warns you before cold resumes burn your quota.
Free Launch Cohort Audit your cache tax to get L2Cache for Mac free ($9.99 → $0) · 100 of 100 left Audit & Claim →Try the 15-day challenge. Use L2Cache’s proactive features and see how much further your weekly limit goes.
Free download15-day Pro trialPay onceRuns on your Mac
Scroll to walk through a day, or click a moment.
Today
Your projects, agent sessions, and AI rate limits at a glance. Open L2Cache and Today shows the exact state of every active feature: your latest prompts, commits, agent cache temperatures, and live Claude and Codex usage limits with real-time burn pacing.
Coding agents
Every agent keeps its sessions in a different place and format. L2Cache reads your Claude Code session history and Codex session history, plus Copilot, Grok Build and Antigravity, from your Mac and lays it out by project and branch. A conversation from last Tuesday is a search away, and you can resume Claude Code or Codex right where it stopped.
Session history from Claude Code, Codex, GitHub Copilot, Grok Build and Google Antigravity.
Available details and live-continuity features vary by agent.
MCP Server
Connect the L2Cache MCP server and Claude Code, Codex, Cursor and Antigravity query your clips, screenshots, past error resolutions and decisions on-demand.
Continuity Hooks
Turn-by-turn hooks brief new agent sessions with what you copied, hand off context between sessions, and guard against expensive cold cache reloads.
Settings
Manage app exclusions, sensitive secret masking, retention rules, and global shortcuts—everything stored locally on your Mac.
Timesheet
Tickets you worked on and approximate hours per day, which you can correct and copy into your timesheet tool, plus an editable standup built from your recorded activity.
Project Story
L2Cache reads each repository's .git without ever running Git, and lines up commits, branches, merges, releases, agent sessions and test runs. It shows the last commit where tests passed, what is unpushed or unmerged, and keeps the decisions your agent made.
.git. Click a commit to see the files it changed and the sessions and clips around it.Universal Search · ⌘K
Stop digging through 10 terminal tabs, browser history, Git logs, and past conversations. Press ⌘K in L2Cache to search across every command you ran, error you copied, screenshot you captured, and AI coding session in Claude Code or Codex.
@atlas or click a filter chip to narrow down to Clips, Agents, Terminal, Commits, or Screenshots in milliseconds.Smart clipboard
Click any clip and L2Cache offers the smart actions that fit it: Decode JWT, cURL to Python requests, Fetch or URLSession, Format JSON, JSON to TypeScript or Zod, Decode Base64. More than 150 in all, and each clip lands in the project it came from.
Terminal
Every command indexed with its exit code, project and time. Find the build, test or deploy command you ran last week and copy it again, whether you ran it or your coding agent did.
search_clipsLocalLive demo. Click around the app to explore L2Cache.
A fresh session could save you from carrying unnecessary context.
Your previous context cache has expired after 55 min idle. Continue with a focused handoff instead of reloading the entire conversation.
Upgrade stripe-node to 17.2 and fix whatever breaks.
Get the homepage launch-ready: hero copy, OG images and a sitemap.
Merge the streaks branch, bump to 1.3.2 and draft App Store release notes.
Background refresh still logs people out on a 401. Handle it, then get AuthRetryTests green.
Retries once on 401 before revoking the session · 2 files edited
Add the concurrency test too so we don't race in-flight refreshes.
Concurrency test added; one still fails
Commit what you have and leave a note on the failing test.
Committed 7b2a7f4 · not pushed
MCP Server Agents ask L2Cache
No more copy-pasting. Claude Code, Codex, Cursor, and Antigravity query your clips, past error fixes, and session history directly.
search_clipsget_clipget_error_resolutionsget_session_summarysearch_screenshotssearch_agent_historyQueries run on your Mac. Sensitive items such as passwords and keys are never returned.
Daily Flow Morning to Evening
search_clips("auth refresh curl")Finds the curl command you copied this morning, so you don't paste it in.
get_error_resolutions("Keychain 401")Recalls yesterday's terminal fix. No trial-and-error.
get_session_summary("Atlas")Recaps what the last session changed and where it stopped.
Example session. Agents call these tools when they need context.
Hooks L2Cache briefs your agents
Works with Claude Code, Codex, Copilot & Grok Build
Daily Flow Invisible Handoffs
SessionStartA new session gets the last session's handoff and what you copied recently.
UserPromptSubmitThe session's cache expired over lunch, so you're warned before your first message reloads it.
StopEdits and a one-line summary of the finished change feed Your Day and Worklog.
You turn each agent on in Settings; nothing is installed until you do.
Privacy Local-first preferences
Your history and settings stay on your Mac.
Shortcuts Keyboard access
Change any shortcut in L2Cache Settings.
Add the concurrency test too so we don't race in-flight refreshes.
Generate shell completions for zsh and fish from the clap definitions.
Retry failed webhooks with backoff and log the dead letters.
Fix the flaky upload test before the 1.4 release.
xcodebuild test -scheme Atlas -only-testing:AtlasTests/AuthRetryTestsRun AuthRetryTestsgit diff --stat main...fix/ATL-142-auth-retrycargo clippy -- -D warningsnpx tsc --noEmitType-check after the Stripe upgradenpm run dev -- --port 4321Bidirectional Continuity
Two local connections between your Mac and your agents. Turn them on in Settings.
Hit an error? Copy the text or snap a screenshot, then just ask your agent to fix it.
With each prompt, L2Cache attaches the clips and screenshots you just took that look relevant. Copy any stack trace or capture an error with ⌘⇧4, switch to your terminal, and just type “fix this” — your agent already knows what you copied. And when you resume a session whose cache has expired, the terminal hook holds your first message before it reloads the whole conversation.
Your agent knows the entire internet, but it's blind to what happened on your Mac two hours ago.
When your agent hits an error, needs a curl command you copied this morning, or wants to verify a past commit, it queries L2Cache directly via MCP. Every query runs on your Mac.
Your agent's prompt cache quietly expires.
Your next message pays to reload all of it.
It happens after every break.
So what does that cost?
One developer, measured
After a break of about an hour the prompt cache expires, and your next message makes Claude reload the whole conversation. This developer paid for that 124 times in 14 days. L2Cache warns you before it happens.
A menu-bar countdown badge and notification when a heavy session's cache is 10 minutes from going cold.
Send a silent one-click heartbeat while grabbing coffee to keep a 1-hour cache alive.
Your terminal hook holds the message once. Type /clear to start fresh with a concise handoff, or send anyway.
For Claude Code, with L2Cache hooks on. Read locally from session files on your Mac. Nothing is sent anywhere. How the cold-resume warning works
Local by default Local & Private
No cloud accounts. Everything is indexed locally into SQLite on your SSD. Cloud AI is optional, off unless you add your own API key, and never sees items marked sensitive.
Sessions, terminal history, Git commits, clips and OCR screenshots live in your local database in ~/Library. Fast, indexed, and offline.
Runs on-device where your Mac supports it, so summaries need no network call. Screenshot text is read on-device with Apple Vision.
Plug in Llama 3, Mistral, or Qwen running on your own machine. Complete local intelligence with zero cloud accounts or API subscription keys.
Fast keyword matching, regex filters, and instant FTS5 full-text search. Capture, search and history all work with no AI provider at all.
.git files and agent JSON logs. It never executes Git commands or shell scripts.
sk-, ghp_), passwords, and private keys are scrubbed before reaching tools.
Pricing
Use L2Cache’s proactive features and see how much further your weekly Claude Code limit goes.
Requires macOS 13 or later. Fully functional 15-day Pro trial starts on first launch.
L2Cache is developer memory for Mac. It connects your projects, coding-agent sessions, terminal history, Git activity, screenshots and clipboard content, so when you come back to your Mac you can see where you left off and resume the work.
It includes one. L2Cache started as a clipboard manager and still has searchable clipboard history with smart actions, opened with the ⌘⇧V quick panel. Version 2.0 adds the Developer Home, which brings clipboard, terminal, Git and coding-agent history together by project.
L2Cache reads local session history from Claude Code, Codex, GitHub Copilot, Grok Build and Google Antigravity. Available details and live-continuity features vary by agent.
Yes. L2Cache generates the resume command for supported sessions and can open it in your terminal. The agent's command-line tool and the original session must still be installed and available on your Mac.
Yes. Connect the L2Cache MCP server and agents such as Claude Code, Codex, Cursor and Antigravity can search your clipboard history, screenshots and saved folders themselves. Optional hooks for Claude Code, Codex, GitHub Copilot and Grok Build share your recent clipboard items and the previous session's context with each new session. Agents can also look up earlier sessions' fixes, decisions and work summaries. Both run on your Mac, and sensitive items are never shared.
Your history is stored locally in L2Cache's database on your Mac. Smart features use on-device Apple Intelligence where your Mac supports it, a local Ollama model, or rule-based processing.
It helps you waste less of it. Anthropic sets your 5-hour and weekly limits, and L2Cache can't raise them. It stops the reloads that quietly eat them: it shows each session's context size and whether its prompt cache is still warm, warns before a heavy session's cache expires, and stops the first message to a cold Claude Code session once so you can start fresh with a handoff instead of reloading the whole context. Works with Claude Code and Codex history; the cold-resume warning is Claude Code only.
L2Cache is free to download from the Mac App Store. Clipboard history is 100% free and unlimited forever. Developer Pro features (terminal command history, Claude Code and Codex session continuity, cold-resume warning, MCP server) include an unrestricted 15-day free trial, followed by a one-time Pro unlock: $9.99 Holiday price ($19.99 regular). Pay once, own it forever—no subscriptions, ever.
From the blog
The first message after the prompt cache expires reloads everything, 12× to 80× a warm turn. What to do instead.
What a good handoff carries, and how L2Cache adds it to a new Claude Code, Codex or Grok Build session.
Twelve read-only tools for earlier sessions, fixes, clips and screenshots, and hooks that brief every new session.