
CopilotKit released aimock, an open-source mock server that lets CI pipelines for coding agents stay offline by centralizing real API schema validation in one daily job, shipping corrected schemas to npm so all teams benefit from a single source of truth.
Separately, LMCache published CacheBlend, a technique that reuses individual cached documents independently rather than forcing strict byte-for-byte prefix matching, delivering 2 to 4x faster processing on multi-document queries and solving a major gap where 90% of cache storage is unused under current caching rules.
What happened
CopilotKit released aimock, an open-source mock server that mimics OpenAI, Claude, Gemini, Bedrock, Azure, Ollama, and other APIs. Every day, one central CI job compares real API responses against the mock schema and the official client library's type definitions; when a mismatch is detected, a coding agent updates the schema, runs the full test suite, and ships a patch to npm. Separately, LMCache published CacheBlend (EuroSys 2025 Best Paper Award), a research technique that reuses cached documents independently instead of requiring strict byte-for-byte prefix matching, delivering 2 to 4x faster processing on multi-document queries.
Why it matters
Teams running hundreds of commits daily through coding agents currently face two friction points: CI tests either hit real API endpoints (expensive) or use stale mocks that pass tests locally but fail in production when the API schema changes. aimock centralizes schema validation so thousands of teams avoid rebuilding the same integration test. On inference, prefix caching (the standard today) fails on common patterns—shuffling documents, adding context mid-conversation, or retrieving multiple RAG results—because any change invalidates the cache; CacheBlend removes that penalty by treating each document as a reusable asset, solving a gap Alibaba Cloud's data shows affects 77% of cache hits.
What to watch
aimock is available on GitHub at https://github.com/CopilotKit/aimock and npm. LMCache ships inside vLLM, SGLang, and TensorRT-LLM on NVIDIA and AMD GPUs; the repository is at https://github.com/LMCache/LMCache. Hit rates of 60 to 85% are realistic with prompt caching; cached tokens cost up to 90% less than uncached tokens.
Ask the AI about this article →
The article addresses two distinct but related pain points in modern AI development: test infrastructure for coding agents and inference efficiency for large language models. The aimock project solves a classic testing debt problem—when teams run hundreds of CI jobs daily, calling real APIs accumulates substantial costs, but using static mock responses creates a false sense of security because provider APIs evolve. aimock's insight is that one central repository can absorb the cost of daily real API validation on behalf of thousands of downstream projects; the corrected schema ships via npm, making the fix automatic once teams upgrade. This model distributes both the cost and the confidence across an ecosystem.
CacheBlend addresses a complementary efficiency problem in inference. Modern systems use prompt caching to make cached input tokens up to 90% cheaper, but the strict byte-for-byte prefix requirement breaks down in practical workflows—retrieving multiple documents for RAG, reordering context, or extending conversation history all trigger full cache misses. Alibaba Cloud's telemetry shows that 77% of cache hits come from only 10% of the KV cache blocks, meaning the other 90% sits unused because prefix matching prevents their reuse. CacheBlend reframes the problem as document-level caching: since tokens overwhelmingly attend to local context within a document, and only boundary tokens cross document lines, the system can reuse each document's cache independently and selectively recompute only those few boundary tokens. This shift from prefix-based to document-based caching recovers the unused 90%, yielding 2 to 4x speedups on multi-document queries and eliminating reordering penalties entirely.
AI-summarized, only the topics you pick — one digest a day via Email, Slack, or Discord.
Free · takes 30 seconds · unsubscribe anytime
Ask AI anything about this article. Q&As are published on this page for other readers too.
Anthropic launched Claude Academy on August 20, a free learning site that explains AI fundamentals and how to…

OpenAI rolled out support on Thursday for controlling Apple's iMessage service via ChatGPT on Mac, enabling th…

As AI technology matures, the bottleneck in the industry is moving beyond semiconductor constraints like GPUs…

On August 11, IBM announced a multi-year $240 million agreement with Together AI to deploy NVIDIA HGX B300 sys…

OpenAI has launched an Apple Messages plug-in for ChatGPT that lets users connect their Messages inbox to the…

Amazon Bedrock now supports OpenAI GPT-5.6 models (Sol, Terra, and Luna variants) across more than 25 AWS Regi…
