
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.
Summaries like this, in your inbox every morning.
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.
Pick your industry and the AI tools you use, and get news related to your work every day.
Free · 30 seconds with Google · unsubscribe anytimeWhat is AIToday? →
Ask AI anything about this article. The AI reads this article, earlier AIToday articles, and Wikipedia, and cites its sources. Q&As are published on this page for other readers too.
Chunghwa Telecom president Rong-shy Lin said the shift from conversational AI to autonomous AI agents is resha…

Apple and Meta said they would jointly release a new open-weight AI model designed to run on high-end Macs, ai…

A writer and entrepreneur opened his daily to-do list and found 156 items, and concluded that an AI assistant…

A Zenn contributor sorted AI use into three modes — AI as an assistant, AI running alongside people, and AI th…

The walkthrough points the CLI at a local mock via the ANTHROPIC_BASE_URL environment variable

A non-engineer operator says one person ships four smartphone apps on Google Play, three on the App Store, wit…
