← Lab /AI/ML

LLMs can auto-generate agent topology, tools, and hierarchical memory, improving benchmark performance

OpenSage enables self-programming agents that outperform existing ADKs on standard benchmarks

AI/ML arXiv 18 Feb 2026 Method Prototype evidence

Published as “OpenSage: Self-programming Agent Generation Engine”

Why it matters

OpenSage demonstrates that AI-centered ADKs can substantially improve agent performance on complex software-engineering and security tasks while reducing the need for manual topology and tool design.

Summary

OpenSage agents achieve higher resolved rates than existing ADKs on three benchmarks (60.2% vs 50.6% on CyberGym, 65.2 ± 2.0% vs 64.7 ± 2.7% on Terminal-Bench 2.0, and 59.0% vs 40.2% on SWE-Bench Pro). The evidence comes from head-to-head comparisons with strong baselines across real-world and public benchmarks, showing consistent gains, though the paper notes occasional hallucinated sub-agents and tool misuse that temper the claim.

What they found 3

  1. OpenSage achieves a resolved rate of 60.2% on CyberGym, outperforming Claude Opus 4.5 (50.6%)

    “SageAgent GPT-5 (medium) OpenSage 60.2”

  2. OpenSage ranks first on Terminal-Bench 2.0 with 65.2 ± 2.0% resolved rate

    “SageAgent Gemini 3 Pro OpenSage 65.2 ± 2.0”

  3. Hierarchical memory yields the best resolved rate on SWE-Bench Pro compared to variants without it

    “OpenSage with our hierarchical memory achieves the best resolved rate on SWEBench Pro”

Caveats 3

  • we also observe cases (Appendix C.3) where the agent creates sub-agents with mismatched toolsets and purposes, hallucinated tools and sub-agents, or overly complicated instructions, reducing the effectiveness.
  • We also noted that SOTA models do not yet utilize these advanced features consistently or may misuse them, indicating a gap in capability.
  • We do not enable the memory agent to write to short-term memory because 1) short-term memory is automatically updated during execution, 2) allowing the memory agent to modify it could break the context structures.

What’s new here 4

  • AI-created dynamic agent topologies with runtime sub-agent creation and ensemble mechanisms
  • Dynamic tool synthesis where the model writes, registers, and sandbox-executes new tools
  • Hierarchical graph-based short-term and long-term memory managed by a dedicated memory agent
  • Unified sub-agent pool and tool management enabling heterogeneous execution environments