← Latest papers
💻 computer science

GraphPlanner: Graph Memory-Augmented Agentic Routing for Multi-Agent LLMs

GraphPlanner is a heterogeneous graph memory-augmented agentic router that formulates multi-agent LLM workflow generation as a Markov Decision Process optimized via reinforcement learning, significantly improving task accuracy and computational efficiency while supporting robust generalization and adaptive memory utilization.

Original authors: Tao Feng, Haozhen Zhang, Zijie Lei, Peixuan Han, Jiaxuan You

Published 2026-04-28
📖 4 min read☕ Coffee break read

Original authors: Tao Feng, Haozhen Zhang, Zijie Lei, Peixuan Han, Jiaxuan You

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you are the manager of a massive, high-tech kitchen with a team of chefs. Some chefs are fast but make simple dishes (small, cheap models), while others are slow, expensive geniuses who can cook complex gourmet meals (large, powerful models).

In the past, if you had a cooking order, you had to pick one chef to do the whole job.

  • If you picked the fast chef, the complex dish might turn out terrible.
  • If you picked the genius chef, you'd waste a fortune and time on a simple request like "make toast."

This is what current AI "routers" do: they try to guess which single chef is best for the whole job. But real-world problems are messy. Sometimes you need a planner to break a big problem into small steps, a specialist to do the hard math, and a summarizer to put it all together.

GraphPlanner is a new, super-smart "Kitchen Manager" that changes the game. Instead of picking just one chef, it builds a custom workflow for every single order.

Here is how it works, broken down into simple concepts:

1. The "Agentic" Workflow (The Team Huddle)

Instead of asking one chef to do everything, GraphPlanner acts like a project manager. It decides:

  • Who does what? It assigns roles:
    • The Planner: Breaks a big, scary question into small, bite-sized tasks.
    • The Executor: Does the actual work (like solving a math problem or writing code).
    • The Summarizer: Takes all the little answers and stitches them into one perfect final answer.
  • Which chef? For each tiny task, it picks the perfect chef. Maybe the "Planner" needs a smart but cheap model, while the "Executor" for a hard math problem needs the expensive genius model.

2. The "Memory Graph" (The Kitchen's Blackboard)

This is the paper's secret sauce. Imagine a giant, magical blackboard in the kitchen that records everything that has ever happened.

  • The Problem: Usually, when a manager makes a mistake (like sending a hard math problem to a slow chef), they forget it next time.
  • The Solution: GraphPlanner uses a Heterogeneous Graph (a fancy map of connections) to write on this blackboard. It remembers:
    • "When we asked about physics, the Genius Chef worked best."
    • "When we asked about jokes, the Fast Chef was perfect."
    • "When the Planner broke the task down this way, it saved us money."
  • This memory isn't just a list; it's a web of connections between the question, the chef, the role, and the result. This helps the manager make smarter decisions instantly, even for questions it has never seen before.

3. Learning by Doing (The Reinforcement Loop)

How does the manager get so good? It doesn't just read a manual; it learns by trial and error, like a video game.

  • The system tries different combinations of chefs and roles.
  • If it gets the answer right and saves money, it gets a "reward."
  • If it wastes money or gets the answer wrong, it gets a "penalty."
  • Over time, it learns the perfect strategy to get the best results for the lowest cost.

What Did They Find?

The researchers tested this "Manager" on 14 different types of tasks (like math, coding, and trivia) and compared it to other managers who only pick one chef or pick chefs in a simple sequence.

  • Smarter Decisions: GraphPlanner got the answers right 9.3% more often than the best previous methods.
  • Huge Savings: It slashed the cost of running these AI systems. In one test, it reduced the computing power needed from a massive 186 GiB down to just 1.04 GiB. That's like going from running a factory to running a single laptop.
  • New Skills: Even when they gave it a brand-new type of puzzle or a brand-new chef it had never met before, GraphPlanner figured it out immediately without needing extra training.

The Bottom Line

GraphPlanner is like upgrading from a "One-Size-Fits-All" uniform to a custom-tailored suit for every situation. By treating AI routing as a team collaboration with a memory of past successes, it solves complex problems more accurately and for a fraction of the cost. It proves that the future of AI isn't just about having bigger brains, but about having smarter managers who know how to organize a team.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →