CAIRN: Dynamic Fact-Intent DAGs for Multi-Agent Exploration
Organizations: Nankai University · Tencent Security Yunding Lab · Tsinghua University
Abstract
LLM-powered autonomous systems have demonstrated promising capabilities in mathematical reasoning, engineering, and cybersecurity. Yet how to organize these systems for effective, reliable, and sustained performance remains an open question. In this paper, we present CAIRN, a fact-intent-driven multi-agent paradigm for goal-directed exploration. CAIRN represents observations and planned investigations as a dynamic directed acyclic graph (DAG). A reasoner interprets facts to propose intents, which workers execute to produce new facts. Each intent references its supporting facts and defines a potential exploration branch. The persistent graph preserves goals, dependencies and findings across workers, supporting knowledge reuse and parallel exploration. The graph also makes execution trajectories traceable and auditable, providing a basis for human verification and intervention. We evaluate CAIRN across cybersecurity and mathematical reasoning tasks, examining task success, time to solution, and token consumption. DAG-based coordination can incur higher token costs with no observable performance gains on tasks that require little effort. However, on high-effort tasks (at least 1M tokens), we observe faster solutions in 76.5% of cases, with speedups of up to 3.08x. Moreover, as task effort increases, these time gains become more pronounced while relative token overhead declines, highlighting the potential of DAG-guided parallel exploration.
Figures & tables
Appendix figures & tables2 assets
Supplementary material from the paper’s appendix.
Appendix
| Field | Role | Supplied content |
|---|---|---|
| graph_yaml | Reasoner, worker | Instructions to read a YAML snapshot file stored in the project container. |
| fact_ids | Reasoner | Identifiers of available fact s, excluding the terminal goal . |
| open_intents | Reasoner | Open intent identifiers, source identifiers, descriptions, assigned workers, and priorities. |
| max_intents | Reasoner | Per-invocation creation limit, or the literal value unlimited . |
| worker_capacity | Reasoner | Execution limits and slot availability at dispatch, including the reasoner’s slot. |
| intent_progress | Reasoner | Timestamped progress summary supplied at dispatch. |
| Tool | Role | Principal arguments | Result or effect |
|---|---|---|---|
| submit_fact | W | Description | Adds a fact linked to the assigned intent ; returns its identifier. |
| finish_intent | W | fact identifier | Concludes the assigned intent with a fact submitted by this execution. |
| create_intent | R | Source fact s, description, priority | Adds an intent supported by existing fact s; returns its identifier. |
| set_intent_priority | R | intent identifier, priority | Updates the scheduling priority of an open intent . |
| drop_intent | R | intent identifier, reason | Retires an open intent and revokes its worker’s access. |
| finish_reason | R | Description, outcome | Ends the review as planned or incomplete; acknowledges the reviewed revision. |
Multi-Agent LLM Systems
Multi-agent large language model systems coordinate multiple AI agents to solve tasks through communication, specialization, shared tools, and memory.
See all 1,050 papers