Towards Optimal Agentic Architectures for Offensive Security Tasks
This paper empirically evaluates various multi-agent coordination topologies for offensive security tasks across 20 interactive targets, revealing that while broader coordination can improve coverage, the optimal architecture depends on a non-monotonic cost-quality frontier where observability and domain significantly outweigh architectural complexity.
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 trying to find a hidden treasure in a giant, complex maze. You have a team of very smart, but sometimes chatty, robots (AI agents) that can help you. The big question this paper asks is: How should we organize these robots to find the treasure most effectively?
Should we send just one super-robot to do everything? Or should we send a team of robots that talk to each other, vote on ideas, or have a boss giving orders?
The researchers at University College London set up a massive experiment to answer this, treating it like a scientific race rather than just guessing what sounds cool.
The Setup: The "Hacker" Maze
Instead of a real maze, they built 20 digital traps (vulnerable computer programs).
- 10 were Web traps: Like a website with a hidden backdoor.
- 10 were Binary traps: Like a standalone software program with a hidden glitch.
They tested the robots in two ways:
- Whitebox (The "Open Book" Mode): The robots were given the blueprints (source code) of the maze. They could see exactly how the walls were built.
- Blackbox (The "Blind" Mode): The robots were locked out. They could only poke the walls and see what happened, without knowing how the maze was built inside.
The Five Teams (Architectures)
The researchers tested five different ways to organize the robots:
- The Lone Wolf (SAS): One robot does everything alone. It thinks, acts, and checks its own work.
- Analogy: A detective working solo. Fast and cheap, but might miss clues.
- The Independent Squad (MAS-Indep): Three robots work separately on the same problem. They don't talk to each other until the end, then they pick the best result.
- Analogy: Three detectives working in different rooms. They don't waste time chatting, but they might all miss the same clue.
- The Voting Circle (MAS-Decent): Three robots work alone, but they all vote on what they think the biggest problem is. The winner gets checked first.
- Analogy: A jury. They try to agree on the most likely suspect.
- The Boss & The Specialist (MAS-Central): One "Boss" robot looks at the problem and picks the one best idea. A second "Specialist" robot tries to prove that idea is real.
- Analogy: A general giving orders to a sniper. If the general picks the wrong target, the mission fails.
- The Hybrid Team (MAS-Hybrid): A mix of the above. One branch of the team plans, another branch tries to prove the plan works.
- Analogy: A command center with a scout team and a strike team.
The Results: It's Not About Having More Robots
The study ran 600 different races to see who won. Here is what they found, translated into plain English:
1. The "Open Book" Advantage is Huge
If you give the robots the blueprints (Whitebox), they find the treasure 67% of the time. If they are blind (Blackbox), they only find it 33% of the time.
- Metaphor: Trying to fix a car engine with the hood open is easy. Trying to fix it by just listening to the engine from the outside is incredibly hard.
2. Web vs. Binary
Finding bugs in websites (Web) was much easier (74% success) than finding bugs in standalone software (Binary, 25% success).
- Metaphor: Websites are like glass houses; you can see inside easily. Binary programs are like locked safes; you have to pick the lock without seeing the tumblers.
3. The "More is Not Always Better" Rule
This is the most important finding.
- The Lone Wolf (SAS) was the cheapest and fastest. It found the treasure about half the time.
- The Independent Squad (MAS-Indep) found the treasure the most often (64% success), but it cost twice as much and took twice as long because three robots were working instead of one.
- The Boss & Specialist (MAS-Central) was actually the worst at finding the treasure. The "Boss" got stuck picking the wrong idea, and the team couldn't recover.
The Big Lesson:
Adding more robots and making them talk to each other does not automatically make you smarter.
- If you want speed and low cost, send one robot.
- If you want maximum safety and don't mind paying extra, send a team of independent robots who don't talk to each other until the end.
- If you make them talk too much or have a strict boss, you often just waste money and time without getting better results.
The "Cost vs. Quality" Frontier
The researchers drew a graph showing that there is no "perfect" team.
- You can have a cheap, fast team that finds most things.
- You can have an expensive, slow team that finds almost everything.
- But you can't have a team that is cheap, fast, AND finds everything.
Why This Matters
In the world of AI security, people often think, "If one AI is good, three must be better!" This paper says: Stop guessing.
Depending on the job:
- If you are checking a simple website and need a quick answer, use one AI.
- If you are checking a critical, complex system where missing a bug is dangerous, pay for three AIs working independently.
- If you don't have the source code (the blueprints), even the best AI teams will struggle, so you need to be extra careful.
In short: The best way to organize AI agents isn't a fixed rule. It depends on how much money you have, how fast you need the answer, and how hard the puzzle is. Sometimes, less is more.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.