What if LLM agents passed KV-cache to each other instead of…
    Neura MarketNeura Market/DeepSeek
    ChatGPTChatGPTClaudeClaudeGeminiGeminiCursorCursorGrokGrokPerplexityPerplexityDeepSeekDeepSeek
    CoPilotCoPilotStable DiffusionStable DiffusionMidjourneyMidjourney
    View All Directories
    OverviewRulesPromptsMCPsAgentsGamesBlogVideosGuidesCoursesCommunityTrending
    DeepSeekCommunityWhat if LLM agents passed KV-cache to each other instead of text? I tried it -- 73-78% token savings across Qwen, Llama, and DeepSeek
    Back to Community

    What if LLM agents passed KV-cache to each other instead of text? I tried it -- 73-78% token savings across Qwen, Llama, and DeepSeek

    proggmouse February 28, 2026
    120 likes

    If you've used multi-agent setups with LangChain, CrewAI, AutoGen, or Swarm, you've probably noticed: every agent re-tokenizes and re-processes the full conversation from scratch. Agent 3 in a 4-agent chain is re-reading everything agents 1 and 2 already chewed through. When I measured this across Qwen2.5, Llama 3.2, and DeepSeek-R1-Distill, 47-53% of all tokens in text mode turned out to be redundant re-processing.

    AVP (Agent Vector Protocol) is my attempt to fix this. Instead of passing text between agents, it passes the KV-cache directly. Agent A finishes reasoning serializes its key-value attention states, and Agent B injects them. No re-tokenization, no redundant forward passes.

    Text:    Planner -> [text] -> Critic re-tokenizes everything -> [text] -> Refiner re-tokenizes everything
    Latent:  Planner -> [KV-cache] -> Critic injects, skips to generation -> [KV-cache] -> Refiner same
    

    What it actually does:

    • Same model on both sides? Direct KV-cache transfer, zero overhead.
    • Same family, different size (e.g. Qwen2.5-7B talking to 1.5B)? Vocabulary-mediated projection. No learned params, no calibration data needed.
    • Different families? Falls back to JSON. Not everything needs to be fancy.
    • Transport-agnostic -- works alongside A2A, MCP, gRPC, whatever you're already using
    • Binary wire format, not JSON+Base64 (33% overhead on tensor data is painful)

    Numbers (these are structural, not accuracy claims):

    Token savings of 73-78% and 2-4x speedups held consistent across all three model families. This isn't model-dependent -- it's just fewer forward passes, so less wall time. Here's the intuition: text prompt sizes balloon at each hop (186 -> 545 -> 1,073 -> 1,397 tokens in a 4-agent GSM8K chain). Latent stays flat at ~164-207 tokens per hop because prior context arrives as pre-computed KV-cache, not as text that needs re-encoding.

    The gap widens with chain length. At 4 agents it's roughly 2x. At 16 agents (projected) it'd be around 6x, because text scales O(n^2) while latent scales O(n).

    Limitations (yes, I know about these):

    • Sample sizes are n=20 per model. The token and speed numbers are solid because they're structural (fewer forward passes is fewer forward passes), but n=20 isn't enough to make accuracy claims. That's future work.
    • Tested on small models only (1.5B-3B on an RTX 3070 Ti). 7B+ results pending.
    • This is a datacenter / same-machine thing. KV-cache for a 3B model runs about 130 MB per sample. You need 1 Gbps+ bandwidth minimum. Sending this over the internet is not happening.
    • Requires KV-cache access, so self-hosted only. Won't work with OpenAI/Anthropic/etc. APIs.
    • Same model only for now. Cross-model (Rosetta Stone) is implemented but not benchmarked yet.
    • Latent uses 17-54x more VRAM than text because you're holding KV-cache across hops instead of discarding it. Totally fine for 1.5B-3B on 8GB+ GPUs. At 7B+ it becomes a real constraint, and I don't have a clean answer for that yet.

    Try it yourself:

    pip install avp
    

    Two API levels depending on how much control you want:

    import avp
    
    msg = avp.pack("Hello", model="Qwen/Qwen2.5-7B-Instruct", think_steps=20)
    answer = avp.unpack(msg, model="Qwen/Qwen2.5-7B-Instruct")
    
    
    from avp import HuggingFaceConnector
    
    connector = HuggingFaceConnector.from_pretrained("Qwen/Qwen2.5-1.5B-Instruct")
    context = connector.think("Analyze this problem", steps=20)
    answer = connector.generate("Solve it.", context=context)
    

    vLLM connector also available (pip install "avp[vllm]").

    Links:

    • SDK: github.com/VectorArc/avp-python (MIT, 377 tests, 7 benchmarks)
    • Spec: github.com/VectorArc/avp-spec
    • Benchmark details: BENCHMARKS.md

    This is a nights-and-weekends project born out of my own multi-agent work. Happy to answer questions about the implementation and genuinely interested in feedback from people running multi-agent setups in production.

    Visit

    Comments

    More Community

    View all

    What happened to Deepseek?

    Meta had a comeback - arguably not opensource, but still - but Deepseek just seems to have vanished from the scene. What happened? Will we ever see Deepseek V4?

    M
    Mr_Moonsilver
    326

    From Twitter/X: DeepSeek is rolling out a limited V4 gray release.

    Source: https://x.com/i/status/2041458478569689589

    J
    jmorant555
    96

    Gemma 4 just casually destroyed every model on our leaderboard except Opus 4.6 and GPT-5.2. 31B params, $0.20/run

    Tested Gemma 4 (31B) on our benchmark. Genuinely did not expect this. 100% survival, 5 out of 5 runs profitable, +1,144% median ROI. At $0.20 per run. It outperforms GPT-5.2 ($4.43/run), Gemini 3 Pro ($2.95/run), Sonnet 4.6 ($7.90/run), and absolutely destroys every Chinese open-source model we've tested — Qwen 3.5 397B, Qwen 3.5 9B, DeepSeek V3.2, GLM-5. None of them even survive consistently. The only model that beats Gemma 4 is Opus 4.6 at $36 per run. That's 180× more expensive. 31 billion parameters. Twenty cents. We double-checked the config, the prompt, the model ID — everything is identical to every other model on the leaderboard. Same seed, same tools, same simulation. It's just this good. Strongly recommend trying it for your agentic workflows. We've tested 22 models so far and this is by far the best cost-to-performance ratio we've ever seen. Full breakdown with charts and day-by-day analysis: foodtruckbench.com/blog/gemma-4-31b FoodTruck Bench is an AI business simulation benchmark — the agent runs a food truck for 30 days, making decisions about location, menu, pricing, staff, and inventory. Leaderboard at foodtruckbench.com EDIT — Gemma 4 26B A4B results are in. Lots of you asked about the 26B A4B variant. Ran 5 simulations, here's the honest picture: 60% survival (3/5 completed, 2 bankrupt). Median ROI: +119%, Net Worth: $4,386. Cost: $0.31/run. Placed #7 on the leaderboard — above every Chinese model and Sonnet 4.5, below everything else. Both bankruptcies were loan defaults — same pattern we see across models. The 3 surviving runs were solid, especially the best one at +296% ROI. But here's the catch. The 26B A4B is the only model out of 23 tested that required custom output sanitization to function. It produces valid tool-call intent, but the JSON formatting is consistently broken — malformed quotes, trailing garbage tokens, invalid escapes. I had to build a 3-stage sanitizer specifically for this model. No other model needed anything like this. The business decisions themselves are unmodified — the sanitizer only fixes JSON formatting, not strategy. But if you're planning to use this model in agentic workflows, be prepared to handle its output format. It does not produce clean function calls out of the box. TL;DR: 31B dense → 100% survival, $0.20/run, #3 overall. 26B A4B → 60% survival, $0.31/run, #7 overall, but requires custom output parsing. The 31B is the clear winner. Updated leaderboard: foodtruckbench.com

    D
    Disastrous_Theme5906
    1,895

    One year ago DeepSeek R1 was 25 times bigger than Gemma 4

    I'm mind blown by the fact that about a year ago DeepSeek R1 came out with a MoE architecture at 671B parameters and today Gemma 4 MoE is only 26B and is genuinely impressive. It's 25 times smaller, but is it 25 times worse? I'm exited about the future of local LLMs.

    R
    rinaldo23
    411

    DeepSeek Employee Teases "Massive" New Model Surpassing DeepSeek V3.2

    Translated by Nano Banana https://preview.redd.it/8bfh5zk1q6rg1.png?width=1158&format=png&auto=webp&s=9d8e6c2f285ba04527f0e9578f9ca7b75124c11f https://preview.redd.it/jpa7aikcr6rg1.png?width=688&format=png&auto=webp&s=2a35594f8ff5eb5f2cd18ad2f4de6662f2898b1d Note: The employee just deleted his reply; it seems he said something he shouldn't have. Original post: http://xhslink.com/o/3ct3YOygvNN

    E
    External_Mood4719
    329

    DeepSeek Core Researcher Daya Guo Rumored to Have Resigned

    Recently, heavy-hitting news regarding a major personnel change has emerged in the field of Large Language Models (LLMs): Daya Guo, a core researcher at DeepSeek and one of the primary authors of the DeepSeek-R1 paper, has reportedly resigned. Public records show that Daya Guo possesses an exceptionally distinguished academic background. He obtained his PhD from Sun Yat-sen University in 2023, where he was mentored by Professor Jian Yin and co-trained by Ming Zhou, the former Deputy Dean of Microsoft Research Asia (MSRA). Daya Guo officially joined DeepSeek in July 2024, focusing his research on Code Intelligence and the reasoning capabilities of Large Language Models. During his tenure at DeepSeek, Guo demonstrated remarkable scientific talent and was deeply involved in several of the company’s milestone projects, including DeepSeekMath, DeepSeek-V3, and the globally acclaimed DeepSeek-R1. Notably, the research findings related to DeepSeek-R1 successfully graced the cover of the top international scientific journal Nature in 2025, with Daya Guo serving as one of the core authors of the paper. Regarding his next destination, several versions are currently circulating within the industry. Some reports suggest he has joined Baidu, while other rumors indicate he has chosen ByteDance. As of now, neither the relevant companies nor Daya Guo himself have issued an official response. External observers generally speculate that the loss of such core talent may be related to the intense "talent war" and competitive compensation packages within the LLM sector. As the global AI race reaches a fever pitch, leading internet giants are offering highly lucrative salaries and resource packages to secure top-tier talent with proven practical experience. Insiders point to two primary factors driving Guo’s departure: 1. Computing Resources: Despite DeepSeek's efficiency, the sheer volume of computing power available at the largest tech giants remains a significant draw for researchers pushing the boundaries of LLM reasoning. 2. Compensation Issues: Reports indicate a "salary inversion" within the company, where newer hires were reportedly receiving higher compensation packages than established core members. The departure may not be an isolated incident. Rumors are circulating that other "important figures" within DeepSeek are currently in talks with major tech firms, seeking roles with larger "scope" and better resources. As the global AI race reaches a fever pitch, the ability of "AI unicorns" to retain top-tier talent against the massive resources of established internet giants is facing its toughest test yet. Source from some Chinese news: https://www.zhihu.com/pin/2018475381884200731 https://news.futunn.com/hk/post/70411035?level=1&data\_ticket=1771727651415532 https://www.jiqizhixin.com/articles/2026-03-21-2 https://www.xiaohongshu.com/discovery/item/69bd211c00000000230111fb?source=webshare&xhsshare=pc\_web&xsec\_token=CBbUil7jGmHR\_sMr3sM56dYn9utmWYYN11mYMfe6FL0Cw=&xsec\_source=pc\_share

    E
    External_Mood4719
    124

    Stay up to date

    Get the latest DeepSeek prompts, rules, and resources delivered to your inbox weekly.

    Neura Market LogoNeura Market

    Discover the best AI prompts, plugins, and resources for DeepSeek and more.

    Content Types

    • Rules
    • Prompts
    • MCPs
    • Agents
    • Guides

    Platforms

    • ChatGPT Directory
    • Claude Directory
    • Gemini Directory
    • Cursor Directory
    • Grok Directory
    • Perplexity Directory
    • DeepSeek Directory
    • CoPilot Directory
    • Stable Diffusion Directory
    • Midjourney Directory
    • All Directories

    Resources

    • Blog
    • Documentation
    • Help Center
    • Marketplace

    Legal

    • Privacy Policy
    • Terms of Service

    © 2026 Neura Market. All rights reserved.

    |

    Not affiliated with any AI platform vendors.

    Ready-made automations for this

    Workflows from the Neura Market marketplace related to this DeepSeek resource

    • Streamlined Conversational Interviews with AI Agents using n8n Formsn8n · $18.07 · Related topic
    • Conversational Interviews Automation with AI Agentsn8n · $4.99 · Related topic
    • Automate YouTube Video Summarization with LangChain in n8nn8n · $4.66 · Related topic
    • Conversational AI Chatbot with Google Gemini for Telegramn8n · $19.99 · Related topic
    Browse all workflows