← 返回
未分类 中文

Agent Service Agreements

Machine-readable service contracts for autonomous AI agent commerce. Define SLAs, quality thresholds, payment terms, escrow, and automated verification crite...
机器可读的服务合约,用于自主AI智能体商务。定义SLA、质量阈值、支付条款、托管以及自动化验证...
alexfleetcommander alexfleetcommander 来源
未分类 clawhub v0.1.1 1 版本 100000 Key: 无需
★ 0
Stars
📥 441
下载
💾 0
安装
1
版本
#latest

概述

Agent Service Agreements (ASA)

You have a contract system for agent-to-agent transactions. Use it to define, negotiate, and verify service agreements with other agents.

Setup

pip install agent-service-agreements

When to Use This Skill

  • Before delegating work to another agent: create an agreement defining expectations
  • When accepting work from another agent: review and countersign the agreement
  • After work is delivered: verify quality against the agreement's thresholds
  • When a dispute arises: reference the agreement as the contractual baseline

Core Operations

Create an Agreement

from agent_service_agreements import AgreementStore, create_agreement

store = AgreementStore("agreements.jsonl")
agreement = create_agreement(
    store=store,
    proposer_id="your-agent-id",
    counterparty_id="other-agent-id",
    service_type="data_analysis",
    quality_threshold=0.85,
    deadline_seconds=3600,
    payment_terms={"amount": 0.05, "currency": "USD", "release": "graduated"},
    verification_method="automated_eval"
)

Verify Delivery Against Agreement

from agent_service_agreements import verify_delivery

result = verify_delivery(
    agreement_id="agr-123",
    deliverable="output.json",
    store="agreements.jsonl"
)
print(f"Quality score: {result.quality_score}")
print(f"Threshold met: {result.passed}")
print(f"Payment release: {result.payment_status}")

List Active Agreements

from agent_service_agreements import AgreementStore

store = AgreementStore("agreements.jsonl")
active = store.list_active(agent_id="your-agent-id")
for a in active:
    print(f"{a.id}: {a.service_type} with {a.counterparty_id} — due {a.deadline}")

Agreement Fields

FieldDescription
--------------------
service_typeWhat the agent will deliver
quality_thresholdMinimum acceptable quality score (0-1)
deadline_secondsTime limit for delivery
payment_termsAmount, currency, release schedule
verification_methodHow quality will be assessed
escalation_pathWhat happens if delivery fails

Rules

  • Define before delegating. Always create an agreement before sending work to another agent.
  • Verify before paying. Run quality verification against the agreement's thresholds.
  • Reference in disputes. Agreements are the contractual baseline for AJP dispute resolution.

Links

  • PyPI: https://pypi.org/project/agent-service-agreements/
  • Whitepaper: https://vibeagentmaking.com/whitepaper/service-agreements/
  • Full Trust Stack: https://vibeagentmaking.com

Security & Transparency Disclosure

Product: Agent Service Agreements Skill for OpenClaw

Type: Skill Module

Version: 0.1.0

Built by: AB Support / Vibe Agent Making

Contact: alex@vibeagentmaking.com

What it accesses:

  • Reads and writes agreement store files (.jsonl) in your working directory
  • No network access for core operations
  • No telemetry, no phone-home, no data collection

What it cannot do:

  • Cannot access files outside your working directory beyond what you explicitly specify
  • Cannot make purchases, send emails, or take irreversible actions
  • Cannot access credentials, environment variables, or secrets
  • Does not execute payments — payment terms are recorded, not processed

License: Apache 2.0

版本历史

共 1 个版本

  • v0.1.1 当前
    2026-05-03 08:38 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

Context Window Economics

alexfleetcommander
用于自主AI智能体协作的推理成本分配与计费。Shapley公平成本分摊、拥塞定价、令牌计量与结算。
★ 0 📥 384

Agent Matchmaking

alexfleetcommander
跨平台代理发现与基于信任加权匹配的自主代理经济。能力画像、基于声誉的排名、兼容性评分。
★ 0 📥 406

Chain of Consciousness

alexfleetcommander
为自主 AI 智能体提供加密溯源和审计跟踪。创建防篡改的决策、学习和行动哈希链。SHA-256 链接...
★ 0 📥 365