explainx.ai0k
TrendingAI News TodayPathwaysSkills
Pricing
explainx.ai

Upskill in AI — 16 free pathways, live workshops & bootcamps, and 50+ courses from practitioners. Plus the skills, tools, and MCP servers to practice on.

follow us

follow on google

Add explainx.ai as a preferred source

corporate training

support@explainx.ai

get started

Find your pathTake Free Evaluation

community

Join the community

learn

mind: share how you thinkpathways — start freeworkshopsbootcampscoursescompare Explainxcertificationsmock testsexplainx universitycorporate traininglearn skills & mcp

discover

skillsmcp serversexplainx mcptoolsmdx readeragentsllmsdesignsdictionarypeopleagi trackerfelony benchranks

company

aboutvisionmissionteaminstructorsteach on explainxpartnershipscommunityhackathonscareers

content

daily AI newsstate of AI — live resultsblogreleasespromptsgeneratorsresource libraryfor LLMsexplainx.ai kids

solutions

all solutionsdeveloper upskillingmarketing upskillingproduct manager upskillingleadership upskilling

newsletter · weekly

Get AI news, tools, and insights in your inbox.

supportcontactprivacytermsdata rightshow we create contentsubmission guidelines

© 2026 AISOLO Technologies Pvt Ltd

explainx.ai

On this page

  • Quick reference
  • The problem: agents "think out loud" at a price
  • How HybridAgent works
  • The reported results
  • Is the latent thinking readable?
  • What people are asking
  • What is in the repository
  • Why this matters for builders
  • Caveats
  • How to try it
  • Related reading
← Back to blog

explainx / blog

HybridAgent: Together and Stanford Let Agents Think in Latent Space, Act in Text

AI Agents, Latent Reasoning, Research, Together AI, Open Source

Part of AI Agents

Together AI and Stanford release HybridAgent: it reasons in latent vectors and acts through text tools, claiming +10.4% accuracy, up to 54.7% fewer tokens.

Oct 14, 2026·9 min read·Yash Thakker
add explainx.ai
go deep
HybridAgent: Together and Stanford Let Agents Think in Latent Space, Act in Text

Most LLM agents reason in text, one token at a time, because text is also how they call tools. A new paper from Stanford, UIUC and Together AI asks whether an agent can think in compressed latent vectors and still act through text. Their answer, HybridAgent, switches between the two within one generation. The authors report a 10.4 percent average improvement, 35.5 to 54.7 percent fewer tokens and 2.7 to 3.7 times lower cost across 11 benchmarks. The paper is arXiv 2610.18861, submitted October 13, 2026, and the code is on GitHub.

This post explains the idea in plain language, what the numbers mean, what is open, and how it relates to the debate about readable reasoning, which we cover in our pieces on recurrent depth and OpenAI's looped models.

Weekly digest3.6k readers

Catch up on AI

Curated AI updates on agents, skills, and MCP — delivered to your inbox. Unsubscribe anytime.

Quick reference

table · 2 cols
QuestionAnswer
AuthorsJiaru Zou, Yunzhe Qi, Sirui Chen, Federico Bianchi, Shang Zhu, Pan Lu, Jingrui He, James Zou (Stanford, UIUC, Together AI)
Core ideaThink in latent space, act through text, in one unified generation
Key componentHybridLink, a lightweight residual adapter
TrainingHybridSFT, then HybridRL
ModelsQwen3-Base at 4B, 8B and 14B
Benchmarks11, covering math, science, medicine, search and agentic reasoning
Claimed gains+10.4% average; 35.5 to 54.7% fewer tokens; 1.8 to 2.6x faster; 2.7 to 3.7x cheaper
Codegithub.com/togethercomputer/HybridAgent
Size of paper45 pages, 12 figures

The problem: agents "think out loud" at a price

The paper's introduction frames text as the "lingua franca" of agents: both the reasoning and the interaction with tools happen as generated tokens. Every intermediate step must be decoded and written before the agent can act. That is expensive, since tokens cost money and time, and it is slow.

Latent reasoning is a different line of research. Instead of writing each thought as words, the model feeds its hidden state back into itself and "thinks" in continuous vectors. It is more efficient, but the authors point to two gaps: latent reasoners lack native paths for tool calls across multi-turn agent work, and their vectors are hard to interpret, which makes them difficult to supervise in training and to audit at inference.

HybridAgent tries to close both gaps: think beyond text, but still act through it.

How HybridAgent works

Two modes. The agent generates autoregressively in either text mode (sample a token and embed it) or latent mode (reuse the last-layer hidden state as the next input). It switches dynamically within a single generation.

HybridLink. Standard latent reasoning feeds the hidden state straight back as an input, which causes a mismatch with the pretrained input space and makes transitions between latent states and tokens hard. The paper adds a lightweight residual adapter, HybridLink, that maps last-layer hidden states back into the input embedding space, so latent steps look like valid inputs.

Working memory. For multi-turn work, the agent carries the whole hybrid trajectory (text, latent thoughts and tool observations) in its own continuous working memory. The authors say this losslessly preserves hybrid context across turns, and provide theoretical analysis for it.

Training in two stages.

  1. HybridSFT teaches the backbone to coordinate with HybridLink, using activation and self-conditioned training to close the mismatch between training and inference.
  2. HybridRL learns when to think in latent space and when to act through text, using hybrid policy factorization and exact rollout replay so policy updates cover complete hybrid trajectories.

The authors say any standard pre-trained LLM can be converted through this post-training pipeline. They instantiate it on Qwen3-Base models.

The reported results

According to the abstract, compared with frontier LLM agents and agentic frameworks spanning text-based and latent methods, HybridAgent "consistently improves performance by 10.4%". Efficiency numbers:

table · 2 cols
MetricReported range
Average performance gain10.4%
Token reduction35.5% to 54.7%
Inference speed-up1.8x to 2.6x
Cost savings2.7x to 3.7x

The paper evaluates at three scales (4B, 8B, 14B) across 11 benchmarks: mathematics, science, medicine, knowledge-intensive search and challenging agentic reasoning. It also reports strong test-time scalability and analyses of training dynamics, reasoning auditability and tool-use reliability.

How to read them: these are the authors' numbers from their own evaluation, with baselines they chose. "Frontier LLM agents" in a comparison against 4B to 14B models needs the paper's tables to interpret; we only read the abstract and introduction, not all 45 pages. A mean gain of 10.4 percent hides variation per benchmark. The cost saving follows from fewer tokens and faster decoding, and would depend on your serving setup.

Is the latent thinking readable?

This is the part most relevant to safety. Chain-of-thought monitoring relies on reading a model's written reasoning, and techniques that move thinking into hidden vectors weaken it; see our coverage of Astra's sub-agent text humans can't read and the recurrent looped transformer proposal. The HybridAgent authors say that "surprisingly" the agent can render its latent-mode thoughts as human-readable pseudo-text, making them "transparent and directly inspectable rather than opaque", and the repository includes an interpretable_latent_mode folder. They also report that the agent shifts more internal reasoning into "semantically rich and interpretable latent thoughts", while reserving text for external inspection and tool interaction.

Treat that with care. A readable rendering of a latent vector is a decoding of it, and a decoding may not be a faithful account of what drove the next step. The paper includes an auditability analysis, but independent tests of faithfulness are the right next step before anyone relies on the rendering for oversight.

What people are asking

Is this the same as a "thinking budget" setting? No. A thinking budget limits how many text reasoning tokens a model may write. HybridAgent changes the medium: some of the reasoning happens as vectors that never become tokens, so the saving comes from not decoding those steps at all.

Does it need a new model architecture? The paper's claim is that it does not require training from scratch. A standard transformer is extended with a small adapter and post-trained, so existing backbones can be converted. That is why the experiments start from Qwen3-Base checkpoints.

Why does tool use need text? Tools are called through text: a function name, arguments, a query. The environment returns text observations. Latent vectors cannot be sent to a search API, so the agent has to drop back into tokens at those moments. Learning when to do so is exactly what HybridRL trains.

What does "exact rollout replay" mean for training? Reinforcement learning updates a policy using the trajectories it produced. When some steps are continuous vectors, you must reproduce those vectors exactly when computing the update, or the gradient is wrong. The paper's replay mechanism is how it handles that, according to its introduction.

Will this show up in hosted APIs? Nothing in the paper says a provider is shipping it. It is research code. A hosted model would need the provider to adopt the adapter and the training recipe, so for now the realistic users are teams that run their own open-weight models.

What is in the repository

The GitHub page for togethercomputer/HybridAgent shows four commits at the time we looked and these folders: hybrid_agent, hybrid_inference, hybrid_sft, hybrid_rl, interpretable_latent_mode, examples, scripts and assets, plus a license file and an environment template. That maps cleanly onto the paper: architecture, inference, the two training stages and the interpretable mode. Check the license file and the README for terms and requirements before you build on it.

Why this matters for builders

  • Agent cost is dominated by tokens. If your agent spends most of its budget on reasoning text, a method that shrinks that without losing tool access is attractive. Compare it with routing and caching tactics in Microsoft's Token Wars microhack.
  • Small models, agent skills. The experiments use 4B to 14B backbones, which is the range people run locally or cheaply. A technique that helps there has a short path to practical use.
  • A different route to "reasoning without words". Other labs get there with looped layers; HybridAgent does it with an adapter and mode switching. Related ideas appear in our note on DeepMind's recirculation work on Gemma.
  • Overthinking is a cost, too. Our write-up on thinking inertia shows models continuing to reason when asked not to; latent thinking changes what that waste costs.

Caveats

  1. We read the abstract, introduction and repository README, not the full results tables.
  2. Results are self-reported, with no independent replication yet.
  3. Training a HybridAgent needs post-training compute (SFT then RL); the benefit is at inference, not at the cost of getting there.
  4. Latent modes complicate debugging and logging. If your tooling depends on reading reasoning text, plan for that.
  5. Agents that act with tools still need runtime controls whatever they think in; AgentBeam is the agent security platform from the explainx.ai team that stops AI agents before they take dangerous actions.

How to try it

  1. Read the README in the repository and the examples folder.
  2. Start with the inference path on a released checkpoint (the README lists HybridAgent-8B-Agentic and HybridAgent-14B-Agentic on Hugging Face) before attempting SFT or RL, which the README says wants 8 to 32 GPUs.
  3. Compare token counts and latency on your own tool-use tasks against a text-only baseline with the same backbone.
  4. Inspect the interpretable latent mode outputs on a few tasks and judge whether they track what the agent then does.

Related reading

  • What is recurrent depth?
  • OpenAI's next flagship and looped transformers: claimed vs verified
  • Recurrent looped transformer: infinite reasoning depth
  • DeepMind recirculation on Gemma 3
  • Thinking inertia
  • Astra sub-agents and chain-of-thought monitoring
  • Official: arXiv 2610.18861 and HybridAgent on GitHub

Details reflect the paper abstract and repository as of October 14, 2026.

Spotted something out of date? Let us know.
Yash Thakker

Written by

Yash Thakker

Yash is an AI expert with over 300K learners. Join his workshops →

View Yash Thakker in People in AI →

Related posts

Oct 14, 2026

Agent-Reflex: Training Qwen3-8B Agents to Recover From Broken Tools and User Corrections

RUC-NLPIR released Agent-Reflex, a three-stage recipe that teaches a small tool-using model to reflect when an MCP tool times out or a user interrupts. This post explains the method, the numbers, the released assets and the caveats.

Oct 15, 2026

METR Wants Embedded Assessments Inside AI Labs to Show If Agents Are Staying Under Control

METR asked a pointed question on October 14, 2026: if a developer were on track to lose control of its internal AI agents, would anyone outside the company know? Its answer is a framework of embedded assessments with public evidence. Here is what it covers and what it does not.

Oct 14, 2026

CLI-Anything: Turn Any Software Into an Agent-Ready CLI

CLI-Anything, from the HKUDS lab, uses a coding agent to analyze a program's source and generate a full command-line interface with JSON output, tests and a skill file. A community registry called CLI-Hub shares the results. Here is how it works, what to try, and what to be careful about.