EveryDev.ai
Subscribe
Home
Tools

3,277+ AI tools

  • New
  • Trending
  • Featured
  • Compare
  • Arena
Categories
  • Agents2189
  • Coding1574
  • Infrastructure698
  • Marketing534
  • Projects498
  • Research456
  • Design416
  • Analytics389
  • Testing296
  • MCP290
  • Security286
  • Data262
  • Integration197
  • Prompts189
  • Communication183
  • Extensions173
  • Learning170
  • Voice151
  • Commerce135
  • DevOps123
  • Web86
  • Finance26
AI Tools by Topic
  • AI Coding Assistants
  • Agent Frameworks
  • MCP Servers
  • AI Prompt Tools
  • Vibe Coding Tools
  • AI Design Tools
  • AI Database Tools
  • AI Website Builders
  • AI Testing Tools
  • LLM Evaluations
Follow Us
  • X / Twitter
  • LinkedIn
  • Reddit
  • Discord
  • Threads
  • Bluesky
  • Mastodon
  • YouTube
  • GitHub
  • Instagram
Get Started
  • About
  • Editorial Standards
  • Corrections & Disclosures
  • Community Guidelines
  • Advertise
  • Contact Us
  • Newsletter
  • Submit a Tool
  • Start a Discussion
  • Write A Blog
  • Share A Build
  • Terms of Service
  • Privacy Policy
Explore with AI
  • ChatGPT
  • Gemini
  • Claude
  • Grok
  • Perplexity
Agent Experience
  • llms.txt
Theme
With AI, Everyone is a Dev. EveryDev.ai © 2026
    1. Home
    2. Tools
    3. claude-thermos
    claude-thermos icon

    claude-thermos

    AI Coding Assistants

    A local reverse proxy that keeps your Claude Code prompt cache warm during long subagent runs, preventing expensive cache rebuilds and reducing API costs.

    Visit Website

    At a Glance

    Pricing
    Open Source

    Fully free and open-source under the MIT license. No cost to use, modify, or distribute.

    Engagement

    Available On

    macOS
    API
    VS Code
    CLI

    Resources

    WebsiteGitHubllms.txt

    Topics

    AI Coding AssistantsCompute OptimizationAgent Frameworks

    Alternatives

    Claw Code AgentCASPAUL
    Developer
    Iaroslav ZeigermanIaroslav Zeigerman builds open-source developer tools focuse…

    Listed Jul 2026

    About claude-thermos

    claude-thermos is an open-source Python tool by Iaroslav Zeigerman that wraps Claude Code behind a lightweight local reverse proxy to prevent prompt cache expiration during multi-agent sessions. It targets a specific and measurable cost problem: when a main Claude agent waits on a subagent for more than 5 minutes, the main agent's prompt cache silently expires, forcing a full re-encode at the write rate (1.25x) instead of the cheap cache read rate (0.1x). The README states that across roughly 185 local sessions, these rebuilds accounted for about 22% of total API spend.

    What It Is

    claude-thermos is a CLI wrapper and optional daemon that intercepts Anthropic API traffic on a loopback port, monitors session activity, and periodically replays the main agent's last real request with max_tokens: 1 to refresh the prompt cache prefix before it expires. It is written in Python, licensed under MIT, and distributed via uvx (no install required). The core product is the open-source tool itself — there is no hosted service or SaaS component.

    How the Cache Warming Works

    The proxy observes /v1/messages traffic and groups requests into sessions and lineages — one cache prefix per unique combination of model, tool set, and system text. The first tool-bearing lineage is treated as the main agent; subsequent ones are subagents. When the main lineage goes idle while a subagent is active, the tool enters a "danger window":

    • On a configurable interval (default: 270 seconds, under the 5-minute TTL), it replays the main agent's last request as a warm request with max_tokens: 1 and no streaming.
    • The single output token is discarded; the goal is the prefill, which reads and refreshes the cached prefix.
    • Warm requests go directly to the Anthropic API, never back through the proxy, so they cannot interfere with real traffic.
    • Each warm costs a cache read (0.1x); each prevented rewrite would have cost a write (1.25x) on a much larger prefix.

    Deployment Modes

    claude-thermos supports two usage patterns:

    • Launcher mode (uvx claude-thermos): wraps a single claude process, warming only that session. Any Claude arguments pass straight through.
    • Daemon mode (claude-thermos serve): runs a standalone proxy on a fixed loopback port (default: 8787). Any client that sets ANTHROPIC_BASE_URL=http://127.0.0.1:8787 — including the VSCode/Claude Code extension — routes through the shared warmer. A single daemon serves all clients on the machine and evicts sessions idle longer than --session-ttl (default: 3600s).

    Tunable flags include --idle, --interval, --max-cycles, and --subagent-window, all with sensible defaults.

    Event Logs and Savings Tracking

    Every session writes structured logs to ~/.claude-thermos/logs/<session_id>/:

    • events.jsonl: append-only stream of every request/response token count and warming decision (warm_fired, warm_result, cap_reached, resume_detected, etc.)
    • summary.json: rollup totals including warms_fired, cache_read_total, rewrite_avoided_tokens, warm_cost, rewrite_avoided_cost, and net_savings in base-input-token units.

    To convert net_savings to dollars, multiply by the model's input token price. The README gives an example: a net_savings of 1,200,000 at $3/1M tokens equals approximately $3.60 saved per session.

    Current Status

    The repository was created in July 2026 and last pushed on July 24, 2026, with 161 stars and 7 forks at time of indexing. It requires Python 3.11+ and the claude CLI on the system PATH. The project is actively maintained under the MIT license by Iaroslav Zeigerman.

    claude-thermos - 1

    Community Discussions

    Be the first to start a conversation about claude-thermos

    Share your experience with claude-thermos, ask questions, or help others learn from your insights.

    Pricing

    OPEN SOURCE

    Open Source

    Fully free and open-source under the MIT license. No cost to use, modify, or distribute.

    • Prompt cache warming for Claude Code
    • Launcher and daemon modes
    • Structured session event logs
    • Net savings tracking
    • Configurable tuning flags

    Capabilities

    Key Features

    • Keeps Claude Code prompt cache warm during subagent runs
    • Local reverse proxy intercepting Anthropic API traffic
    • Launcher mode wraps a single claude process
    • Daemon mode serves multiple clients and terminals on one machine
    • VSCode/Claude Code extension support via ANTHROPIC_BASE_URL
    • Configurable idle, interval, max-cycles, and subagent-window flags
    • Structured event logs (events.jsonl) per session
    • Session summary with net savings calculation (summary.json)
    • Warm requests use max_tokens:1 to minimize cost
    • Session eviction via configurable --session-ttl
    • CLAUDE_THERMOS_DISABLE=1 env var to skip warming for a run
    • Requires no install via uvx

    Integrations

    Claude Code CLI
    Anthropic API
    VSCode Claude Code extension
    uvx / uv
    API Available

    Ratings & Reviews

    No ratings yet

    Be the first to rate claude-thermos and help others make informed decisions.

    Developer

    Iaroslav Zeigerman

    Iaroslav Zeigerman builds open-source developer tools focused on AI agent workflows and cost optimization. He created claude-thermos to solve a concrete and measurable inefficiency in Claude Code's prompt caching behavior during multi-agent sessions. The project is written in Python and distributed under the MIT license.

    Read more about Iaroslav Zeigerman
    WebsiteGitHub
    1 tool in directory

    Similar Tools

    Claw Code Agent icon

    Claw Code Agent

    A Python reimplementation of the Claude Code agent architecture that runs with local open-source models via any OpenAI-compatible API, with zero external dependencies.

    CAS icon

    CAS

    CAS coordinates multiple Claude Code agents to plan, build, and test features in parallel on your codebase and your machine.

    PAUL icon

    PAUL

    PAUL (Plan-Apply-Unify Loop) is a structured AI-assisted development framework for Claude Code that enforces loop integrity, in-session context management, and acceptance-driven development.

    Browse all tools

    Related Topics

    AI Coding Assistants

    AI tools that help write, edit, and understand code with intelligent suggestions.

    667 tools

    Compute Optimization

    Tools for optimizing computational resources and performance.

    32 tools

    Agent Frameworks

    Tools and platforms for building and deploying custom AI agents.

    528 tools
    Browse all topics
    Back to all toolsSuggest an edit
    ratings
    discussions