GraphBit用图结构精准控制智能体流程,避免幻觉和死循环。
GraphBit: A Graph-based Agentic Framework for Non-Linear Agent Orchestration

- 将智能体流程定义为有向无环图,由引擎统一调度执行
- 在GAIA基准上达到67.6%准确率,零幻觉,延迟仅11.9毫秒
- 适合需要可复现、高可靠性的复杂任务自动化场景
依赖提示词编排的智能体框架常出现幻觉路由、无限循环和不可复现执行。我们提出GraphBit,一种由引擎驱动的框架,将工作流显式、确定性地定义为有向无环图(DAG)。与基于提示的编排不同,GraphBit中的智能体作为带类型的函数运行,由基于Rust的引擎管理路由、状态转换和工具调用,确保可复现性和可审计性。引擎支持并行分支执行、基于结构化状态谓词的条件控制流及可配置错误恢复。采用三层内存架构:临时缓存区、结构化状态和外部连接器,隔离各阶段上下文,防止长流水线中上下文膨胀导致推理性能下降。在涵盖零工具、文档增强和网络接入任务的GAIA基准测试中,GraphBit优于六种现有框架,实现最高准确率(67.6%)、零框架引入的幻觉、最低延迟(11.9毫秒开销)和最高吞吐量。消融实验表明,每层内存均对性能有显著贡献,确定性执行在工具密集型任务上带来最大提升,贴近真实部署需求。
原文摘要 · Abstract (English)
Agentic LLM frameworks that rely on prompted orchestration, where the model itself determines workflow transitions, often suffer from hallucinated routing, infinite loops, and non-reproducible execution. We introduce GraphBit, an engine-orchestrated framework that defines workflows explicitly and deterministically as a directed acyclic graph (DAG). Unlike prompted orchestration, agents in GraphBit operate as typed functions, while a Rust-based engine governs routing, state transitions, and tool invocation, ensuring reproducibility and auditability. The engine supports parallel branch execution, conditional control flow over structured state predicates, and configurable error recovery. A three-tier memory architecture consisting of ephemeral scratch space, structured state, and external connectors isolates context across stages, preventing cascading context bloat that degrades reasoning in long-running pipelines. Across GAIA benchmark tasks spanning zero-tool, document-augmented, and web-enabled workflows, GraphBit outperforms six existing frameworks, achieving the highest accuracy (67.6 percent), zero framework-induced hallucinations, the lowest latency (11.9 ms overhead), and the highest throughput. Ablation studies demonstrate that each memory tier contributes measurably to performance, with deterministic execution providing the greatest gains on tool-intensive tasks representative of real-world deployments.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。