qmetrics.net

LatentMAS

Training-free latent-space collaboration for multi-agent LLM systems

LatentMAS screenshot

LatentMAS lets language model agents coordinate in latent space instead of long text traces, aiming for fewer tokens and faster multi-agent inference without extra training.

Overview

LatentMAS is a multi-agent reasoning framework that shifts collaboration from token-based messaging into a model’s latent space. Agents pass latent thoughts through shared working memory rather than lengthy textual reasoning chains.

The approach emphasizes training-free latent-space alignment, compatibility with Hugging Face models and optional vLLM backends, and support for sequential and hierarchical multi-agent setups. Published work reports lower token use and shorter wall-clock time compared with text-based multi-agent baselines on math, science, commonsense, and code benchmarks.

The open release includes code to reproduce LatentMAS, text-based multi-agent baselines, and single-agent experiments across datasets such as GSM8K, GPQA, ARC, MBPP+, HumanEval+, and MedQA. Optional vLLM integration can split generation and latent rollout across GPUs.

Community extensions branch into scientific modeling, kNN latent retrieval, hybrid LLM and non-LLM agents, and related research prototypes built on the same ideas.

Key features

  • Latent-space agent communication
  • Shared latent working memory
  • Training-free alignment option
  • Hugging Face model support
  • Optional vLLM acceleration
  • Sequential and hierarchical MAS modes
  • Benchmark reproduction scripts
  • Hybrid HF and vLLM pipeline

Use cases

  • Multi-step math and science reasoning
  • Code generation benchmarks
  • Reducing token cost in agent teams
  • Research on continuous latent reasoning

Tags

Similar software

TensorFlow

End-to-end machine learning platform and tooling ecosystem

TensorFlow is a machine learning platform with Python and C++ APIs, optional GPU packages, and companion libraries for data, training, deployment, and visualization.

★ 201.8k⟳ todayApache-2.0

Transformers

Shared model definitions for multimodal ML workloads

Transformers is a Python library that defines pretrained text, vision, audio, and multimodal models once in PyTorch for shared inference and training across the ecosystem.

★ 169.4k⟳ todayApache-2.0

RAGFlow

Open-source RAG engine and agent context platform

RAGFlow ingests heterogeneous documents, builds retrievable knowledge, and supports agent workflows with citations. It can run on your own hardware with Docker or a from-source server stack.

★ 94.8k⟳ todayApache-2.0

Headroom

Local LLM context compression library and proxy

Headroom shrinks tool outputs, logs, JSON, and chat history before LLM calls to cut input tokens while preserving retrievable originals. It offers a Python library, proxy, MCP tools, and agent wrappers.

★ 81k⟳ yesterdayApache-2.0

Unsloth

Local desktop workspace to run and fine-tune AI models

Unsloth is a desktop application to chat with, fine-tune, and serve LLMs, diffusion, audio, and embedding models on your own hardware with optional agent integrations.

★ 80.4k⟳ todayApache-2.0

Models

TensorFlow reference models and modeling utilities collection

The TensorFlow Model Garden hosts implementations of models and modeling solutions for TensorFlow, installable via pip as tf-models-official.

★ 77.6k⟳ 11 days agoApache-2.0