arXiv:2511.19635cs.SEcs.LG2025-11被引 5

用图结构编译自然语言指令,让编程代理更可靠、高效、可复现。

Agint: Agentic Graph Compilation for Software Engineering Agents

  • 将自然语言逐步转为带类型和副作用的代码有向图
  • 支持低延迟、可复现、并行生成和模型并发组合
  • 适合开发团队快速构建、调试和部署智能编程工具

基于大模型的编程代理虽日益普及,但仍面临上下文管理、延迟、可靠性、可复现性与可扩展性挑战。本文提出 Agint,一个代理式图编译器、解释器与运行时系统,可增量式、分层地将自然语言指令转换为带类型的、具备副作用感知的代码有向无环图(DAG)。Agint 引入显式的类型层级(文本 → 数据 → 规范 → 代码),基于语义图变换,并采用混合式 LLM 与函数驱动的即时编译(JIT)运行时。该设计支持动态图优化、可复现执行、推测性评估,以及与现有开发者工具的互操作性。其类型化图绑定提升了可靠性,天然支持并发代码库的组合,使小型快速模型也能实现更低延迟、更高吞吐与更高效的上下文利用。分层编译支持可扩展的图编辑,图结构保障可复现性与高效并行生成。Agint 提供类 Unix 工具链:dagify(DAG 编译器)、dagent(混合 JIT 运行时)、schemagin(模式生成器)、datagin(数据转换器),实现实时、低延迟的代码与数据流创建。开发者可通过 CLI 精细调整图结构,非技术用户则通过 Agint Flow GUI 实现可视化编辑、对话式优化与调试,推动原型代理工作流向生产代码演进。这种持续协同创作模式支持团队快速原型、无缝迭代与可靠部署,打通自然语言、编译方法与开发工具链,助力大规模可组合、以团队为中心的新型编程代理发展。

原文摘要 · Abstract (English)

LLM-based coding agents are increasingly common but still face challenges in context management, latency, reliability, reproducibility, and scalability. We present Agint, an agentic graph compiler, interpreter, and runtime that incrementally and hierarchically converts natural-language instructions into typed, effect-aware code DAGs. Agint introduces explicit type floors (text to data to spec to code) grounded in semantic graph transformations and a hybrid LLM and function-based JIT runtime. This enables dynamic graph refinement, reproducible and optimizable execution, speculative evaluation, and interoperability with existing developer tools. Agint's typed graph bindings improve reliability and allow concurrent composition of concurrent codebases by construction, supporting accelerated development with smaller and faster models, lower latency, efficient context utilization, and higher throughput. Hierarchical compilation allows scalable graph edits, while the graph structure supports reproducibility and efficient parallel generation. Agint provides a composable unix-style toolchain: dagify (DAG compiler), dagent (hybrid JIT runtime), schemagin (schema generator), and datagin (data transformer) for realtime, low-latency code and dataflow creation. Human developers and coding agents refine graphs through the Agint CLI, while non-technical users use Agint Flow GUI for visual editing, conversational refinement, and debugging to promote prototype agentic workflows to production code. This continuous co-creation model allows teams to prototype quickly, refine seamlessly, and deploy reliably, bridging natural language, compiler methods, and developer tooling to enable a new generation of composable, team-centric coding agents at scale.

编程代理图编译低延迟可复现

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。