DDL2PropBank Agent:通过一种新的关系模式映射任务评估多智能体框架的开发者体验
Declarative by Design, Assistable Only by Convention: Benchmarking Multi-Agent Frameworks for AI-Assistability
AI总结:
DDL2PropBank Agent通过新的关系模式映射任务评估多智能体框架的开发者体验,揭示了不同框架在代码复杂性和AI辅助性上的差异,Agno表现出最佳性能。
摘要:
多智能体框架承诺简化基于大语言模型的软件开发,但目前尚无系统的方法在受控环境下评估其开发者体验。我们引入了DDL2PropBank,一种新的基准任务,将关系数据库模式映射到PropBank角色集,要求自主检索候选框架并进行细粒度的语义推理,涉及表名、列和关系。使用工具即智能体的模式,我们在10种框架上实现了相同的智能体逻辑,并沿两个维度进行评估:(i)通过静态分析评估代码复杂性,(ii)AI辅助性——LLM自主生成正确、框架特定代码的程度。我们的结果揭示了一个三倍复杂性光谱,Pydantic AI和Agno需要最少的实现开销。对于AI辅助性,结构对齐得分可靠地代理了具有单一标准模式的框架的运行时成功,但对多模式框架则高估了正确性。Agno在整体表现上最强,结合了最低的复杂性和最高的结构对齐性以及83%的pass@1。
英文摘要:
Multi-agent frameworks (MAFs) promise to simplify LLM-driven software development, yet no principled metric captures how well AI coding assistants can generate correct, framework-specific code. We introduce \textit{AI-assistability} ($\mathcal{AI}$), a composite metric that quantifies a framework's amenability to AI-assisted development by combining structural alignment ($\barσ$) with functional correctness (pass@1). To evaluate this metric in a controlled setting, we design DDL2PropBank, a novel benchmark task that maps relational database schemas to PropBank semantic rolesets, and implement identical agent logic across ten frameworks using the Agent-as-a-Tool pattern. Our results challenge the intuition that declarative framework design guarantees AI-assistability: Agno, with a single canonical pattern and convention-aligned API, achieves the highest $\mathcal{AI}$ score (0.55), while DSPy -- the most declarative framework by design -- scores lowest (0.07), as its novel abstractions are insufficiently represented in AI training data. We find that convention alignment, not declarative design alone, is the primary driver of AI-assistability ($r = 0.576$ between $\barσ$ and pass@1). All artifacts -- DDL2PropBank, PropBank MCP server, and all implementations -- are available at https://github.com/ahmeshaf/ddl2propbank
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。