最新资讯
stackoverflow.blog 欢迎来到芯片时代:半导体制造、AI 数据中心与芯片设计的未来 www.youtube.com AI Agent 总犯同样的错:CentralAgent AI 将记忆重构为经验系统 pub.towardsai.net Netflix 科学家建议重采样 LLM 评判:5 次仅将误差棒缩小 13% pub.towardsai.net Jev 作为 LLM 前的静默层:构建提示感知的模型路由器 reddit.com OpenAI 称 Astra 仅满足 10% 安全任务标准 dev.to FreeToken:在自有 GPU 上运行前沿 MoE 模型及其内存需求 dev.to 当 AI Agent 说“完成”时,究竟完成了什么? dev.to 部署 Underdog Bark 3.0 Pro:逐字转写、自定义后端与分块设置 dev.to 为艰难对话构建 AI:五个 Agent、一条安全正则与一位盲评监督者 techcrunch.com Palo Alto Networks 洽谈以 5 亿美元收购 AI Agent 安全初创公司 Clutch theinformation.com 黄仁勋被要求就涉华间谍指控向国会作简报 www.infoq.com Edera 推出 Object Capability Bounded Authority,试图将凭证与 AI Agent 工作负载隔离
多元动态
登录 注册
智能体 dev.to · @Vinay Verma

超越提示工程:用 Domain Claim Protocol(DCP)治理自主 agent

原文 我的收藏

文章指出软件正从固定调用链转向运行时选择工具、服务和其它 agent 的系统,API 与 JSON schema 无法说明谁拥有业务决策、依赖哪个提供方、拒绝做什么以及失败如何影响后续流程。作者介绍 Unfurl Systems Lab 的开放草案 Domain Claim Protocol(DCP,当前 0.2.0-draft),主张在组件组装前把这类约定显式化,以缓解隐式边界、上下文漂移和故障溯源困难。

AI推荐理由 提出 Domain Claim Protocol(DCP)0.2.0-draft 开放草案,试图在组件组装前显式声明业务决策归属、依赖提供方、拒绝行为和失败传播,针对 agent 组合中的隐式边界与'agent spaghetti'问题。属于早期规范草案,尚无实现或采用证据,价值在于问题定义与设计思路。

60

正文

Software is moving from fixed call chains toward systems that choose tools, services, and other agents as they work. That flexibility is useful, but it makes a basic engineering question harder to answer: What is each component actually allowed to do? An API can tell an agent how to call a function. A JSON schema can tell it what fields to send. Neither necessarily tells it who owns a business decision, which provider it depends on, what it refuses to do, or how a failure should affect the rest of the workflow. As a workflow grows, those missing agreements become agent spaghetti: implicit boundaries, drifting context, and failures that surface far from their cause. We need a way to make the agreements explicit before components are assembled. That is the idea behind the Domain Claim Protocol (DCP), an open draft specification from Unfurl Systems Lab. The current public draft is 0.2.0-draft. The agent composition bottleneck Consider an agent asked to reconcile ledger entries against a bank feed. It may be able to discover a reconcile endpoint and format the request correctly. That still leaves questions an endpoint description may not answer: Is the feed verified, and who decides that? Which ledger data does this component own? What happens when the verification provider is unavailable? Can this component approve a transaction, or must it refuse that decision? Which failure should stop the parent workflow and alert a person? Prompt instructions can describe some of these constraints, but the assembly also needs contracts that a compiler, runtime, and human reviewer can inspect consistently. What a domain claim describes A DCP claim is a component's structured description of its role. It identifies the component and states its domain, capabilities, required providers, explicit refusals, conflict rules, integration ports, and declared faults. A claim makes the component's boundaries available to machines and people before execution. Here is an illustrative excerpt, not a complete valid claim: identity: uri: dcp://components/ledger-reconciler name: Ledger Reconciler kind: component version: 0.1.0 publisher: Example Organization domain: summary: Reconciles ledger entries against verified bank feeds. concerns: - concern: ledger-reconciliation description: Compares ledger entries with verified feed entries. boundary_principles: - Reconciliation requires a verified bank feed. refusals: - concern: transaction-approval rationale: Approval belongs to an authorized decision maker. offers: - capability: ledger.reconcile description: Reports reconciliation differences for a verified feed. consumer_access: named_components_only interface: kind: in_process details: operation: reconcile stability: experimental version: 0.1.0 metadata: dcp_version: 0.2.0-draft claim_version: 0.1.0 Enter fullscreen mode Exit fullscreen mode dcp_version identifies the protocol draft; claim_version and the offer's version identify this example component and capability. Those are separate version axes. The omitted sections matter: a full claim also describes dependencies, conflicts, and faults, and it must satisfy the current schema. The repository has a component example and aggregate example for exploring the draft shape. An operational limit is only useful when a system knows where to enforce it. DCP can declare a boundary or constraint; the accepted contract, runtime binding, and host policy determine how that declaration applies in a particular assembly. Likewise, a declared fault gives a failure a machine-readable meaning and an allowed path for propagation or remediation. It does not make a runtime automatically recover from every error. From claim to execution DCP separates the workflow into three planes: Plane Question Artifact Description What does this component claim about itself? Claim Negotiation Can these components compose under the relevant context and policy? Frozen composition contract Invocation Is this call allowed under the accepted contract? Deterministic runtime result The important boundary is between negotiation and invocation. The system can reason about whether components fit together at design time, then execute against the resulting contract without asking a model to renegotiate every call. A runtime binding supplies environment-specific wiring for that contract, such as provider endpoints and references to configuration or secrets. An aggregate can reference child claims, contracts, and bindings so reviewers can inspect what sits behind a higher-level capability. The Unfurl ecosystem DCP is the protocol layer in a larger, modular effort: DCP specification defines the public draft, schemas, vocabulary, and examples. unfurl-dcp implements the protocol as a Java library. unfurl-fabric handles design-time negotiation and compilation of governed compositions. unfurl-ui is the emerging visual workspace, or human harness, for inspecting and questioning assemblies before they run. The human harness is an intended review surface, not a claim that every proposed workflow is already safe. Its value depends on the quality of the claims, validation, policy, and runtime enforcement beneath it. Join the review DCP is a draft specification open to correction through real examples. We are especially interested in cases where a tool can be called correctly but still should not be used: unclear ownership, conflicting authority, hidden dependencies, cost limits, or faults that need to stop a larger workflow. Read the specification and examples, then bring a concrete case to GitHub Discussions or open an issue. The public specification is licensed under Apache 2.0.

来源报道 · 1 篇 · 以下链接均前往原始媒体

← 返回精选动态 原文

更多内容