A2A conformant A2A v0.3.0

Ambr

v1.0.0 Ambr

Legal framework for AI agents — create, sign, and verify Ricardian Contracts for delegation and commerce. Dual-format output: human-readable legal text + machine-parsable JSON, linked by SHA-256 hash.

Launch agent website ↗

Skills

  • Create Ricardian Contract

    Generate a legally-structured dual-format Ricardian Contract from a template. Requires template slug, parameters, and principal declaration. Costs 1 credit per contract.

    legalcontractsdelegationcommercericardianai-agents
  • Browse Contract Templates

    List available contract templates with parameter schemas. Categories: delegation (d1-d3) and commerce (c1-c3).

    templatescatalogbrowse
  • Get Contract Details

    Retrieve a contract by ID (amb-YYYY-NNNN), SHA-256 hash, or UUID. Returns both human-readable and machine-parsable formats.

    contractsretrievalverification
  • Verify Contract Integrity

    Verify a contract's SHA-256 hash to confirm it hasn't been tampered with.

    verificationintegrityhashsecurity
  • Check Contract Status

    Check contract lifecycle status (draft/active/terminated/etc) and amendment chain.

    statuslifecycleamendments
  • Agent Handshake

    Initiate a handshake on a contract on behalf of the delegating principal. Requires API key with registered delegation. Principal must approve separately.

    delegationhandshakeagentintent

Integration

import asyncio
from a2a_registry import AsyncRegistry

async def main():
    async with AsyncRegistry() as registry:
        agent = await registry.get_by_id("302e6847-be69-4308-a494-1a6214e95093")
        client = await agent.async_connect()
        print(f"Connected to {agent.name}")

asyncio.run(main())