Xval Ember In XAgents

Walk away.
Your agent stays warm.

A small refresh while you’re away, so your Claude Code conversation can stay cached for your return.

Included in the v0.6.3 private Mac build. Access remains invitation-only through the waitlist. Smart starts on unless you saved another choice. Cache refresh has been measured in forced-five-minute tests; the normal one-hour scheduler ping-and-return proof is still pending.

Read the measurement and its limits
A little warmth while you’re awayAn illustrative timeline: leave a conversation, refresh its cache with three small pings, then return. The chat history stays unchanged in the background-session test.Claude CodeYour conversationLeaveReturnTiny refreshes. Same conversation.No ping transcripts in the two tests.
Illustration of a keep-warm schedule. The two measured ephemeral-fork tests added no ping transcripts and left the original transcript unchanged. The cache stays with your existing Claude provider.

A pause shouldn’t mean starting cold.

Claude Code usually caches the main conversation for about an hour on a subscription within its limits. After expiry, the next request has to rebuild the expired cache. API keys default to five minutes; settings and subscription overage can change the lifetime.

  1. You step away.

    Your agent becomes idle. Ember’s Smart mode uses local timing signals to estimate which conversations you’ll return to.

  2. Ember keeps a little warmth.

    Just before expiry, a selected conversation gets a tiny hidden “Reply OK” request. It runs in a separate, non-persisted fork, refreshing the cache without adding a chat message.

  3. You pick up the thread.

    In the background-session experiment, the returning request read the warmed cache. The original transcript was byte-identical before and after the ping.

Measured mechanism.
Estimated cost.

For a 200k-token conversation, the study’s Sonnet cost model puts one ping at about $0.08, versus about $1.20 to rebuild a one-hour cache. These are dollar-equivalent estimates, not measured subscription charges or guaranteed savings.

200k-token conversation · Sonnet pricing assumptions recorded in the study
RequestEstimated costBasis
One keep-warm ping≈ $0.08Cache read, about 3.5k tokens written, a short reply
Rebuild a one-hour cache≈ $1.20200k tokens written at the one-hour rate
Rebuild a five-minute cache≈ $0.75200k tokens written at the five-minute rate

At roughly 55-minute intervals, three pings span about 2¾ hours away. That is an illustrative one-hour schedule, not a measured long-break result. Five-minute API caches need much more frequent pings, which can cost more than a rebuild.

Study 1: background sessions · 11 October

Source
XAgents warm-session feasibility study, 11 October 2026. Sonnet, Claude Code 2.1.296, subscription sign-in. Background-study aggregate record. This is a background-session measurement, not an interactive terminal test.
Observed
With expiry forced to five minutes, a live background session received a fork ping at +200 seconds and a return at +400 seconds. The returning request read 54.3k cached tokens; the unpinged control rewrote 45.4k. The ephemeral variant created zero new transcripts and left the original transcript byte-identical.
Cost model
The 200k example scales the measured ping overhead using the study’s $3 per million input tokens, 0.1× cache reads, 2× one-hour writes and 1.25× five-minute writes. It is not a direct 200k-token cost trial or a promise about current invoices.
Still unmeasured
This background-session study did not test interactive tabs. The separate 15 October interactive study is below. API-key auth and a normal one-hour scheduler ping-and-return remain unverified. Whether cache reads count against subscription limits is not measured. No claim of extra subscription headroom.
When it misses
A one-shot session did not reuse its original cache on the first fork ping. A matching conversation, model and tool setup matters. The planned safeguard stops warming a session when a ping misses.

For cache lifetimes and billing behavior, see Claude Code’s prompt-caching documentation. Ember’s figures above refer to the recorded study.

Study 2: interactive tabs · 15 October

Claude Code 2.1.300, Haiku 5.5 and normal Max sign-in. Two original interactive processes used a forced five-minute cache lifetime.

Observed
The warmed TUI return read 75,057 cached tokens and wrote 3,790. The unpinged control rewrote 64,325 and read 14,518. Both returns happened more than 340 seconds after their initial turns.
Transcript
The ephemeral ping created no new transcript and left the original transcript unchanged.
Still unmeasured
API-key authentication, broad plugin and MCP parity, personal prediction quality and subscription-bill savings. The normal one-hour scheduler ping followed by a real return remains unverified. Neither forced-five-minute study proves that outcome.

Interactive-study aggregate record. Both source records contain only aggregate results and their retained source hashes.

You choose what stays warm.

Smart starts on when you haven’t saved a choice. Choose Off or Chosen tabs in Settings, or adjust one tab at a time.

Off, per tab
Leave any conversation out of keep-warm pings.
+1 hour
Ask Ember to keep a selected conversation warm for another hour, within your cap.
Daily cap
Set a daily list-price-equivalent cap. Ember checks the estimated next-ping cost before sending; an unexpected cache miss can exceed the estimate. This is not a provider billing cap.
Smart
Xval Ember’s return-prediction model is experimental and mostly trained on synthetic examples. Local return signals help it learn from use. Without model weights, Smart labels its recent-activity heuristic.

“Saved” counts observed cache reuse on a real return after expiry. Ping spend is separate; both use list-price equivalents, not subscription-bill savings. The default is three pings per away period, within the daily cap.

The prediction stays on your Mac.

Timing signals only. On-device. Never message content for the return-prediction model.

The refresh request itself reuses your conversation with your existing Claude provider, just as a cache read requires. The hidden fork is not saved to your chat history; it is still a provider request.

Included in the v0.6.3 private Mac build. Access remains invitation-only through the waitlist. Smart starts on unless you saved another choice. Cache refresh has been measured in forced-five-minute tests; the normal one-hour scheduler ping-and-return proof is still pending.

Explore the Xval family