The Contract Net Protocol (1980) introduced coordination through contracts in multi-agent systems. Modern agent protocols standardize connectivity and interoperability; yet, none provide formal, resource governance-normative mechanisms to bound how much agents may consume or how long they may operate. We introduce Agent Contracts, a formal framework that extends the contract metaphor from task allocation to resource-bounded execution. An Agent Contract unifies input/output specifications, multi-dimensional resource constraints, temporal boundaries, and success criteria into a coherent governance mechanism with explicit lifecycle semantics. For multi-agent coordination, we establish conservation laws ensuring delegated budgets respect parent constraints, enabling hierarchical coordination through contract delegation. Empirical validation across four experiments demonstrates 90% token reduction with 525x lower variance in iterative workflows, zero conservation violations in multi-agent delegation, and measurable quality-resource tradeoffs through contract modes. Agent Contracts provide formal foundations for predictable, auditable, and resource-bounded autonomous AI deployment.
翻译:契约网协议(1980)通过契约机制引入了多智能体系统的协调范式。现代智能体协议虽已标准化连接与互操作性,但均未提供形式化的资源治理规范机制来约束智能体的资源消耗上限或运行时长边界。本文提出智能体契约这一形式化框架,将契约隐喻从任务分配扩展至资源受限执行。智能体契约将输入/输出规范、多维资源约束、时间边界与成功准则统一为具有显式生命周期语义的协调治理机制。针对多智能体协调,我们建立了守恒定律以确保委托预算遵循父级约束,通过契约委托实现分层协调机制。在四项实验中的实证验证表明:迭代工作流实现了90%的令牌削减与525倍的方差降低,多智能体委托中实现零守恒违规,并通过契约模式量化了质量-资源权衡关系。智能体契约为可预测、可审计且资源受限的自主人工智能部署奠定了形式化基础。