Prompt learning is how agents get smarter over time. They run tasks, reflect on what worked, and update their system prompts with new insights. No fine-tuning required. Just pure inference-time adaptation.

The problem? Existing methods like ACE and GEPA were built for single-agent or low-parallelism settings. They work great when one agent reflects on its own experience. But try to scale this to hundreds of parallel agents, and the whole system collapses.

Enter Combee. A new framework from UC Berkeley and Stanford that scales prompt learning to high parallelism without quality degradation. Up to 17x faster than prior methods. Same accuracy. Same cost.

The Context Overload Problem

Here is what happens when you naively parallelize prompt learning.

You run 100 agents simultaneously. Each produces a reflection on what worked and what failed. You feed all 100 reflections into an aggregator LLM to produce a context update. The LLM chokes.

On the Formula benchmark, batching 100 reflections drops accuracy from 87% to 72.5%. On FiNER, it falls from 76% to 70.6%. The aggregator LLM produces fewer updates. The updates it does produce are generic and useless.

This is context overload. Even with a 128K context window, the LLM cannot effectively distill 100 dense reflections into actionable insights. It defaults to broad patterns and discards the specific edge cases that actually matter.

The trade-off is brutal. Small batch sizes preserve quality but take forever. Large batch sizes speed things up but destroy the knowledge you are trying to capture.

How Combee Fixes It

Combee treats this as a distributed systems problem, not a language modeling problem. It uses three techniques borrowed from parallel computing.

Parallel Scan Aggregation

Instead of feeding all reflections into one aggregator, Combee builds a tree. It splits n reflections into k subgroups. Each subgroup gets aggregated separately. Those k outputs then get aggregated again.

By default, k equals the square root of n. So 100 reflections split into 10 groups of 10. Each aggregation step handles manageable context. No single LLM call gets overwhelmed.

This is the parallel scan algorithm from Blelloch (1990), now applied to prompt learning.

Augmented Shuffling

Reflections are information-dense. A few tokens can contain crucial insights about edge cases or failure modes. If a reflection lands in an overloaded batch, it might get lost.

Combee duplicates each reflection twice and shuffles the augmented set before dispatching. Each reflection gets multiple chances to influence the final context update. Simple. Effective.

Dynamic Batch Size Controller

Combee profiles the delay curve across different batch sizes. It fits a power-law model to the data and selects the largest batch size where marginal delay reduction falls below a threshold (1.6% of peak improvement).

This prevents two failure modes. Too small, and you waste time. Too large, and you risk quality degradation.

The Results

Combee integrates with existing prompt learning frameworks. The paper prototypes it on ACE and GEPA. Both benefit immediately.

On Terminal-Bench 2.0, Combee at batch size 30 delivers comparable accuracy to the sequential baseline while cutting training time by over 17x. The playbook size stays similar to the sequential version. Information is preserved.

On AppWorld, Combee at batch size 40 achieves the highest average score of any method tested, with a 12x speedup over sequential ACE. While naive batch-40 scaling collapses to barely above the no-learning baseline, Combee thrives.

The finance benchmarks tell the same story. Combee reaches the Pareto frontier. Best accuracy. Lowest training time. The summarization and top-K retrieval baselines fail to match its quality.

What This Means for Agent Builders

Self-improving agents are no longer constrained by sequential bottlenecks. You can run hundreds of agents in parallel, learn from their collective experience, and update your prompts without waiting hours.

The framework is model-agnostic. The paper tests on DeepSeek-V3.1 and GPT-OSS 120B. Same pattern holds.

The code is open source. Available at https://github.com/gepa-ai/gepa and https://github.com/ace-agent/ace.

Why It Matters

Agentic systems are moving toward parallel deployment. Multi-agent teams. Swarm architectures. Concurrent task execution. Combee aligns prompt learning with this reality.

Prior work assumed one agent, one reflection, one update at a time. That does not scale. Combee removes the scaling bottleneck while preserving the quality that makes prompt learning valuable.

The 17x speedup is not a theoretical bound. It is measured on real benchmarks with real cost constraints. No free compute. No cheating.

If you are building agents that learn from experience, you need to know about Combee.


Citations

  • Li, H., He, R., Zhang, Q., et al. (2026). Combee: Scaling Prompt Learning for Self-Improving Language Model Agents. arXiv:2604.04247. https://arxiv.org/abs/2604.04247
  • Zhang, Q., Hu, C., et al. (2025). Agentic Context Engineering: Evolving Contexts for Self-Improving Language Models. arXiv:2510.04618. Accepted at ICLR 2026. https://arxiv.org/abs/2510.04618
  • Agrawal, L.A., et al. (2026). GEPA: Reflective Prompt Evolution Can Outperform Reinforcement Learning. Accepted at ICLR 2026. https://arxiv.org/abs/2507.19457
  • Blelloch, G.E. (1990). Prefix Sums and Their Applications. In Synthesis of Parallel Algorithms.

Suggested Title

Combee: 17x Faster Self-Improving Agents Through Parallel Prompt Learning

Word Count

721 words (body text only)

Fact-Check Notes

  • The 17x speedup figure is from Terminal-Bench 2.0 experiments. The 12x figure is from AppWorld. Both are cited correctly.
  • The accuracy numbers (87% to 72.5%, etc.) are from the paper's Figure 2.
  • Implementation links point to the GitHub repos mentioned in the paper.
  • Dynamic batch size threshold of 1.6% is explicitly stated in the paper.