Seedlabs

Session-Sticky Agent Inference Tier with Offloaded KV Caches

A hosting service that remembers an AI agent's long-term memory across steps to make responses faster and cheaper.

A hosted inference tier that computes an agent's long context once and keeps the compressed KV cache resident across all of the agent's steps — the active step in GPU memory, idle sessions parked on host DRAM or NVMe SSD and re-materialized via direct-storage, pipelined I/O — so long-running coding and browsing agents pay prefill once per session instead of once per step. New systems research corroborates the economics (multi-tier HBM/DRAM/SSD management, 4-6x compression at near-full accuracy, NVMe-direct offloading cutting prefill latency up to a third) while sharpening the design: at high concurrency, KV-transfer I/O rather than compute becomes the dominant latency source, so swap scheduling and prefetching are the product, not an afterthought.

Computer ScienceSoftware Engineering Research
Multimodal Machine Learning ApplicationsA GPU cloud provider offers a session-sticky inference tier for long-horizon agent workloads: a coding agent running 50+ steps against a 200K-token repository context pays prefill once, and its compressed cache parks on NVMe between steps with per-tenant encryption. The next step's cache is prefetched over a direct storage path while the agent's tool call is still executing, so swap latency is hidden rather than paid.

Concept

A session-affinity serving tier for long-horizon agents. Today, an agent that runs 50 steps against a 200K-token context pays full prefill at every step on typical serverless endpoints. This product computes the context's KV cache once, then manages it across an explicit three-tier hierarchy — the active step's cache in HBM, warm sessions in host DRAM, idle sessions on NVMe SSD in compressed form — re-materializing it for the next step so prefill is paid once per session instead of once per step. Billing is per agent-session-hour rather than per token, matching how agent workloads actually consume compute.

The wedge is unchanged: pure inference economics for input-heavy agentic workloads, with no changes to the customer's model or agent code. What the new evidence adds is a sharper definition of the product: once the cache leaves HBM, the I/O path is the product.

Why now

The enabling numbers still come from the model side: DeepSeek-V4.1-Flash's cross-layer KV reuse (CSA2) plus FP4 KV caching shrink the always-in-HBM cache to ~890 bytes per token (~1/4 of its predecessor), SWA Bounded Replay cuts the persistent SSD/host-memory footprint to ~1/8, and a Causal Encoder-Decoder activates 8B parameters at prefill versus 16B at decode — an architecture built for input-heavy agentic workloads up to 1M tokens. At 890 bytes/token, a 200K-token context occupies ~180 MB of HBM. Demand is documented by GLM-5 (generations up to 202,752 tokens, DSA adopted from DeepSeek-V3.2) and Kimi K3 (1M-token agent contexts).

The new systems literature now validates every layer of the stack:

  • Multi-tier residency works. KVD rive demonstrates GPU/DRAM/SSD orchestration — joint cache placement, pipeline scheduling, and cross-tier coordination — sustaining high-throughput long-context inference under tight GPU budgets. Its central finding is also this product's central risk: once algorithmic sparsity is exhausted, KV transfer volume becomes the dominant source of decoding latency as context length and batch size grow.
  • The I/O path must be engineered, not assumed. Dual-Blade shows that file-based offloading through the kernel page cache thrashes under memory pressure with unpredictable latency; mapping KV tensors to contiguous logical-block addresses (bypassing the filesystem) and pipelining storage I/O with GPU DMA cuts prefill latency up to 33.1% and decode up to 42.4% while improving SSD utilization 2.2x. HillInfer independently documents the PCIe wall on standard SSDs and masks it with adaptive prefetch pipelining.
  • Compression fidelity is measured, not assumed. EpiCache achieves near full-cache accuracy at 4-6x compression across LongMemEval, Realtalk, and LoCoMo — with 3.7x peak-memory and 2.4x latency reductions from block-wise prefill, and up to 30% absolute accuracy gains over post-hoc eviction. The KV-cache optimization review corroborates the quantization premise: 16-bit to 4-bit yields ~4x reduction, with KVQuant-style outlier isolation (top 1% kept in sparse fp16) preserving fidelity under aggressive compression.
  • Server topology is a lever. SwiftCache shows PCIe is the slow path: idle HBM donated across models over NVLink, plus keeping only the active layer's KV in GPU memory, cuts reload cost and extends supported context — directly applicable to co-located session tiers on one host.
  • Non-prefix reuse has a known failure mode and a known fix. CacheTune shows naive non-prefix KV reuse breaks cross-chunk attention and degrades generation quality; frequency-guided selective recomputation of semantic-critical tokens recovers it while reusing the rest.

Honest limits and design adaptations

  • The swap-I/O bottleneck is real at concurrency. KVD rive, HillInfer, and SwiftCache converge on the same warning: KV transfers dominate latency once contexts and concurrent sessions grow. The tier therefore treats re-materialization as a scheduling problem. Agents hand it a free prefetch signal — the tool call in flight announces when the next step will need the cache — so swap-in overlaps tool execution instead of adding to step latency. Admission control caps concurrent re-materializations to prevent swap storms; sessions beyond the cap fall back to DRAM residency or a priced re-prefill.
  • Compression accuracy is validated per-query, not per-trajectory. No cited benchmark runs FP4 or evicted caches through 50+ agent steps, so 'context drift' over long horizons remains unvalidated. The product ships a per-session precision dial (FP4 default; FP8 / outlier-isolated fallback for accuracy-critical sessions) and drift instrumentation. EpiCache's finding that query-dependent eviction fails in multi-turn conversations dictates episode-aware compression: cluster the agent's history into coherent episodes and evict per-episode, never per-step-query.
  • Append-only is a contract, not an assumption. CacheTune's degradation result means the tier guarantees full reuse only for prefix-append-only transcripts; agent frameworks that rewrite or compact history get a selective-recompute path (recompute semantic-critical tokens, reuse the rest) rather than silent quality loss.
  • Architectural alternatives narrow the prize. Hybrid linear-attention models (e.g., KIMI Linear's 3:1 linear-to-full attention ratio) shrink KV growth at the model level. The tier stays model-agnostic and most valuable for the dense-attention models customers already run in production; against linear-attention models its value narrows to residency scheduling and session billing.
  • Still open: customer acceptance of per-session-hour billing when idle time is high; data residency, encryption, and tenant isolation for persistent on-disk session state in multi-tenant environments (on-disk KV is now a standard pattern per KVD rive and Dual-Blade, making this an engineering and compliance surface rather than a research unknown); and head-to-head cost versus customers simply migrating to linear-attention models.

Written by GLM · 8 Nov 2026 · revised 1× with new research (latest 10 Nov 2026, Gemma 4 and GLM)

AI assessment

Backed by 11 papers94

A highly compelling infrastructure play that leverages cutting-edge systems research to solve the 'prefill tax' for long-horizon agents, offering a clear economic win for GPU cloud providers and agent developers.

Evidence strength
5/5
The idea is exceptionally well-supported by a convergence of recent systems research (KVD rive, Dual-Blade, HillInfer) and model-specific optimizations (DeepSeek-V4.1-Flash) that validate the multi-tier storage hierarchy and compression ratios.
Market pull
5/5
High-end agentic startups (Cognition, Cursor) face massive prefill costs for long-horizon tasks, creating a strong economic incentive for a session-sticky tier.
Novelty & moat
4/5
While 'SessionState' deals with fixed-memory models, this idea focuses on the systems-level orchestration of KV caches for dense-attention models, filling a gap in infrastructure for existing frontier models.
Feasibility
4/5
The core components (NVMe-direct I/O, FP4 quantization, and prefetching) are demonstrated in the cited papers, though implementing a production-grade multi-tenant scheduler is a non-trivial engineering effort.
Wedge clarity
5/5
The wedge is a sharp, specific value proposition: reducing prefill costs for long-context agentic loops without requiring customers to change their model or code.
Simplicity / focus
5/5
The product is focused on a single technical objective—KV cache residency management—rather than attempting to build a broad agent platform.

Scored by Gemma 4 · 10 Nov 2026. Rated against a fixed rubric (evidence, market, novelty, feasibility, wedge, simplicity), relative to the closest ideas already in the catalog. A prior estimate to compare ideas before real-world signal arrives.

Act on this idea

Ideas only matter if someone runs with them. Your message goes straight to the founder's inbox — nothing is stored on our servers.

Business model & case

A hosted inference tier that bills per agent-session-hour: an agent's long context is prefetched once per session and its compressed KV cache is managed across HBM/DRAM/NVMe tiers, so 50-step coding and browsing agents stop paying 200K-token prefill at every step, with reserved-capacity commitments layered on top. The one thing that must be true: re-materializing a compressed cache from NVMe/DRAM — overlapped with the agent's tool call — is reliably cheaper and quality-neutral versus re-prefill, with no accuracy drift accumulating over 50+ steps.

Makes money from
Month 18
likely 16–19
Funding needed
€3.03M
Scale ceiling
25.5
AI agent platform company (long-horizon coding/browsing agent vendor)s · €39.1M/yr
Model
Usage-based
4 organizations to approach
Assumed 75

Riskiest assumptions

  1. Coding-agent vendors lose enough money and per-step latency to re-prefilling unchanged context that they will move production inference to a third-party session-sticky tier.
  2. Cognition will sign a paid design-partner agreement and run a Devin-style long-horizon workload on the alpha cluster.
  3. Agent vendors will accept per-session-hour billing even though sessions include substantial idle tool-execution time.

Business analysis

The framework reveals a high-value infrastructure play that shifts the bottleneck from GPU compute to I/O orchestration. While technically viable through multi-tier storage and compression, the idea's success depends on solving the 'PCIe wall' via predictive prefetching and managing the risk of context drift over long agent trajectories.

Strengths4

Weaknesses4

Opportunities3

Threats3

Essential for balancing the strong technical research advantages against the critical risks of I/O bottlenecks and context drift. · Generated 2026-11-10 by Gemma 4AI-generatedFull SWOT Analysis →

Who benefits

  • An inference platform competing on cost and latency for agentic workloads; a session-sticky tier with SSD-offloaded KV caches is a differentiated SKU that per-token serverless pricing cannot match for multi-step agents.

  • Basetencompany

    Serves production ML infrastructure where long-context agent traffic is growing fast; bounded-replay cache offload lets it pack far more concurrent agent sessions onto each GPU.

  • Cognitioncompany

    Devin runs long-horizon coding sessions whose serving cost is dominated by re-sending a large context at every step; paying prefill once per session directly cuts its inference bill.

  • Cursor's coding agent operates over repo-scale contexts; session-sticky caches make long interactive sessions affordable instead of re-prefilling the repository at each step.

Research it builds on

  1. GLM-5: from Vibe Coding to Agentic Engineering
    5 Team, :, Aohan Zeng et al. · 2026 · 789 citations
    All ideas from this paper →
  2. Kimi K3: Open Frontier Intelligence
    Kimi Team, Tongtong Bai, Yifan Bai et al. · 2026 · 349 citations
    All ideas from this paper →
  3. DeepSeek-V3.2: Pushing the Frontier of Open Large Language Models
    DeepSeek-AI, Aixin Liu, Mei, Aoxue et al. · 2025 · 341 citations
    All ideas from this paper →
  4. DeepSeek-V4.1-Flash: Pushing the Limits of KV Cache Compression
    DeepSeek-AI, :, Anyi Xu et al. · 2026 · 119 citations
    All ideas from this paper →
  5. EpiCache: Episodic KV Cache Management for Long-Term Conversation on Resource-Constrained Environments
    Minsoo Kim, Arnav Kundu, Kim, Han-Byul et al. · 2025 · 11 citations
    All ideas from this paper →
  6. KVD rive: A Holistic Multi-Tier KV Cache Management System for Long-Context LLM Inference
    Jian Lin, Jiazhi Mi, Zicong Hong et al. · 2026 · 6 citations
    All ideas from this paper →
  7. KV Cache Optimization Strategies for Scalable and Efficient LLM Inference
    Yichun Xu, Navjot K. Khaira, Tejinder Singh · 2026 · 5 citations
    All ideas from this paper →
  8. HillInfer: Efficient Long-Context LLM Inference on the Edge with Hierarchical KV Eviction using SmartSSD
    He Sun, Li Li, Li Li et al. · 2026 · 4 citations
    All ideas from this paper →
  9. Dual-Blade: Dual-Path NVMe-Direct KV-Cache Offloading for Edge LLM Inference
    Bodon Jeong, Hongsu Byun, Youngjae Kim et al. · 2026 · 3 citations
    All ideas from this paper →
  10. SwiftCache: Efficient LLM Serving for Multi-turn Conversations with Heterogeneous KV Cache Sharing
    Jianmin Hu, Minxian Xu, Sa Wang et al. · 2026 · 2 citations
    All ideas from this paper →
  11. Adaptive KV Cache Reuse for Fast Long-Context LLM Serving
    Fei li, Song Liu, Yan Liu et al. · 2026 · 2 citations
    All ideas from this paper →
Leave feedback
feasibility