#138138th of 142 in Agent frameworks and SDKsFor science, health and research, research and papers

latentmas

Multi-agent LLM reasoning that passes latent states between agents instead of text

Stars
1.2k
License
Apache-2.0
Last commit
Jun 2026
Language
Python
Stars, last 29 weeks+315
21 Apr 2026: 870 stars28 Apr 2026: 882 stars5 May 2026: 908 stars12 May 2026: 928 stars19 May 2026: 935 stars26 May 2026: 946 stars2 Jun 2026: 958 stars9 Jun 2026: 972 stars16 Jun 2026: 979 stars23 Jun 2026: 991 stars30 Jun 2026: 1,017 stars7 Jul 2026: 1,026 stars14 Jul 2026: 1,046 stars21 Jul 2026: 1,058 stars28 Jul 2026: 1,063 stars4 Aug 2026: 1,067 stars11 Aug 2026: 1,076 stars18 Aug 2026: 1,085 stars25 Aug 2026: 1,094 stars1 Sept 2026: 1,099 stars8 Sept 2026: 1,113 stars15 Sept 2026: 1,118 stars22 Sept 2026: 1,128 stars29 Sept 2026: 1,132 stars6 Oct 2026: 1,138 stars13 Oct 2026: 1,144 stars20 Oct 2026: 1,156 stars27 Oct 2026: 1,166 stars3 Nov 2026: 1,176 stars10 Nov 2026: 1,185 stars

870 on 21 Apr 20261,185 on 10 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

LatentMAS is the reference code for an ICML 2026 paper on multi-agent systems in which agents hand off latent thoughts and KV-cache working memory rather than text. It works with Hugging Face models, with an optional hybrid vLLM backend, and ships single-agent and text-based multi-agent baselines. The repo reproduces experiments on GSM8K, AIME24/25, GPQA, ARC, MBPP+, HumanEval+ and MedQA.

Who it is for: Researchers reproducing or extending latent-space multi-agent reasoning

Strengths

  • Baseline, TextMAS and LatentMAS methods side by side for comparison on nine benchmarks
  • Paper reports about 50-80% fewer tokens and 3x-7x faster wall-clock than text multi-agent baselines
  • Training-free; works with any Hugging Face model, with optional vLLM backend
  • Example logs include full agent interaction traces

Weaknesses

  • Experiment runner (run.py), not an installable library or agent-building SDK
  • vLLM path relies on patched vLLM internals and can differ numerically from HF results
  • Recommended vLLM setup uses two GPUs
  • No release published; example commands only cover Qwen3 models

What it needs

  • GPU required
  • Needs PyTorch, Hugging Face Transformers, vLLM (optional), conda
  • Models: Hugging Face models, Qwen3-4B, Qwen3-8B, Qwen3-14B, vLLM

Also in Agent frameworks and SDKs

See all 142
Also in Agent frameworks and SDKs
RankProjectScore
1ppt-masterAgent skill that turns documents into natively editable PowerPoint decks Live demo ↗ (opens in a new tab)76.2k stars+15,031 (+25%) in 30 daysMIT96 out of 100
2openai-agents-pythonPython SDK for multi-agent workflows with handoffs, guardrails and tracing30.6k stars+692 (+2.3%) in 30 daysMIT92 out of 100
3mastraTypeScript framework for building AI agents, workflows and MCP servers29.5k stars+778 (+2.7%) in 30 dayscustom license92 out of 100
#4browser-usePython library that lets an LLM agent control a web browser Live demo ↗ (opens in a new tab)120.8k stars+3,334 (+2.8%) in 30 daysMIT90 out of 100
#5copilotkitReact and Angular SDK for adding agent chat and generative UI to apps38.7k stars+757 (+2.0%) in 30 daysMIT90 out of 100