OpenSage: Self-programming Agent Generation Engine
Organizations: UC Santa Barbara · UC Berkeley · University of Colorado Boulder · Columbia University ·
Abstract
Agent development kits (ADKs) provide effective platforms and tooling for constructing agents, and their designs are critical to the constructed agents' performance, especially the functionality for agent topology, tools, and memory. However, current ADKs either lack sufficient functional support or rely on humans to manually design these components, limiting agents' generalizability and overall performance. We propose OpenSage, the first ADK that enables LLMs to automatically create agents with self-generated topology and toolsets while providing comprehensive and structured memory support. OpenSage offers effective functionality for agents to create and manage their own sub-agents and toolkits. It also features a hierarchical, graph-based memory system for efficient management and a specialized toolkit tailored to software engineering tasks. Extensive experiments across three state-of-the-art benchmarks with various backbone models demonstrate the advantages of OpenSage over existing ADKs. We also conduct rigorous ablation studies to demonstrate the effectiveness of our design for each component. We believe OpenSage can pave the way for the next generation of agent development, shifting the focus from human-centered to AI-centered paradigms.
Figures & tables
| Benchmark | Agent | Model | ADK | % Resolved |
| CyberGym | SageAgent | GPT-5 (medium) | OpenSage | |
| Anthropic Agent | Claude Opus 4.5 | Claude | ||
| OpenHands | GPT-5 (high) | OpenHands | ||
| Anthropic Agent | Claude Sonnet 4.5 | Claude | ||
| Terminal-Bench 2.0 | SageAgent | GPT-5.3-Codex | OpenSage | |
| Droid | GPT-5.3-Codex | - |
Appendix figures & tables2 assets
Supplementary material from the paper’s appendix.
Appendix
| Category | Tool set | Libraries | Features |
| Static | Code analysis | Joern ( joern, 2024 ) , CodeQL ( GitHub, 2026a ) | Code property graph query, call graph analysis, dataflow-based program slicing, semantic-aware code search |
| Dynamic | Fuzzing | AFL++ ( Heuse et al., 2022 ) , LibFuzzer ( LLVM, 2026a ) | Customizable seed generation, mutation, and scoring |
| Coverage | LLVM-Cov ( LLVM, 2026b ) | Query test case coverage with Neo4j, generate detailed reports | |
| Debugger | GDB ( Free Software Foundation, 2026 ) , PDB ( Python, 2026 ) | Set breakpoints, inspect program states, trace program execution, custom debugger commands |
| Method | Single Hop | Multi-Hop | Open Domain | Temporal |
| A-Mem* | 62.23 0.75 | 47.92 0.47 | 71.12 0.20 | 23.43 0.39 |
| Zep | 61.70 0.32 | 41.35 0.48 | 76.60 0.13 | 49.31 0.50 |
| OpenAI | 63.79 0.46 | 42.92 0.63 | 62.29 0.12 | 21.71 0.20 |
| Mem0 | 67.13 0.65 | 51.15 0.31 | 72.93 0.11 | 55.51 0.34 |
| Mem0 g | 65.71 0.45 | 47.19 0.67 | 75.71 0.21 | 58.13 0.44 |
| OpenSage | 63.21 0.53 | 45.89 0.12 | 76.38 1.29 | 57.84 0.59 |
LLM Agent Orchestration
Large language model agent orchestration coordinates models, tools, and workflows to complete complex tasks reliably and efficiently.
See all 458 papers