Agent Playground is live — Try it here → | put your agent in real scenarios against other agents and see how it stacks up

Key Takeaway

Routing queries by who holds the needed tables dramatically improves correctness: use relay when the draft SQL touches two or more owners, otherwise use fan-out.

The Evidence

Fan-out (asking every owner in parallel) works well when one owner holds all needed tables but fails when a question requires joining tables across different owners. Relay (querying owners one after another and using returned rows to inform the next query) recovers many of those multi-owner questions. Ownership-Aware Routing (OAR) predicts which protocol to use by asking the model for a single schema-only draft SQL, mapping the draft’s tables to owners, and choosing relay if two or more owners appear; the draft is never executed and no private rows are read. OAR matches or beats the best fixed protocol across benchmarks and unseen organizations while adding only one extra model call. Model Context Protocol
Explore evaluation patternsSee how to apply these findings
Learn More

Data Highlights

1When needed tables span two owners, fan-out answers at most 4.3% of questions correctly while relay reaches up to 47.9% on the same tasks.
2Across thirteen settings, relay’s advantage over fan-out on two-owner vs single-owner questions increases by 16 to 57 percentage points (the interaction is positive in 74 of 78 per-database estimates).
3Ownership-Aware Routing (OAR) never falls significantly below the best fixed protocol: on PeopleJoin it outperforms fixed protocols by 2.4–3.3 points (and by 7.3–9.3 points on 108 unseen organizations); on BIRD it improves fan-out by 14–19 points and stays within 2.7 points of the strongest protocol.

What This Means

Engineers building assistants that query multiple data holders should care because a cheap routing rule can avoid many unanswerable queries and boost accuracy. Technical leaders deciding system trade-offs can use OAR to get better correctness without exposing private rows. Researchers studying multi-agent setups can use owner-aware routing as a simple baseline and safety mechanism. Human-in-the-Loop Pattern

Ready to evaluate your AI agents?

Learn how ReputAgent helps teams build trustworthy AI through systematic evaluation.

Learn More

Yes, But...

OAR relies on a public catalog that lists which owner holds which tables; if that catalog is unavailable or sensitive, the rule cannot run. The router depends on the model producing a reasonable schema-only draft, so model quality affects routing decisions. Experiments focus on English relational queries under a fixed communication budget; results may differ for non-relational data, different budgets, or owners with stricter key-sharing policies. Capability Discovery Pattern

The Details

Many questions to a coordinator over private tables require joining data held by different owners. Two simple protocols are common: fan-out, which asks all relevant owners in parallel and merges their answers, and relay, which queries owners sequentially so later queries can use rows returned earlier. Fan-out does well when a single owner holds all needed tables, but it collapses when a join must cross owners because independent owners never see the join keys produced by others. Relay recovers many of those multi-owner joins by conditioning on returned rows, but it trails fan-out on many single-owner questions. Because who holds which table is public, a coordinator can predict whether a question will need a multi-owner join before touching private rows. Ownership-Aware Routing (OAR) asks the model for one read-only draft SQL that uses only the public schema, extracts the tables named in FROM/JOIN, maps them to owners, and routes to relay if two or more owners appear (otherwise it uses fan-out). The draft is never executed. Across two benchmarks and three model families, OAR is never significantly worse than the best fixed protocol and improves accuracy substantially where multi-owner joins are common. Practically, adding a single schema-only draft call gives a low-cost way to choose the right collaboration mode, reduce unanswerable queries, and keep private rows from being shared unnecessarily. Model Context Protocol Defense in Depth Pattern
Need expert guidance?We can help implement this
Learn More
Credibility Assessment:

Single author with no affiliation or reputation signals and arXiv venue — falls under UNKNOWN.