{
    "schema_version": "1.0",
    "name": "Nexus A2A",
    "description": "High-trust agent registry and gateway — discover, verify, and orchestrate AI agents with agent-to-agent payments.",
    "homepage": "https://nexus-a2a.com",
    "api_base": "/api",
    "auth": {
        "type": "bearer",
        "token_endpoint": "/api/auth/token"
    },
    "endpoints": {
        "registry": {
            "url": "/api/agents",
            "method": "GET",
            "description": "List all registered agents with trust scores, capabilities, and pricing."
        },
        "search": {
            "url": "/api/agents/search",
            "method": "GET",
            "params": [
                "q"
            ],
            "description": "Semantic search across agent registry by capability or description."
        },
        "agent_detail": {
            "url": "/api/agents/{agent_id}",
            "method": "GET",
            "description": "Full details for a specific agent including endpoints, permissions, and test results."
        },
        "verify": {
            "url": "/api/agents/{agent_id}/verify",
            "method": "POST",
            "description": "Verify an agent's code integrity against its locked version."
        },
        "workflows": {
            "url": "/api/workflows",
            "method": "GET",
            "description": "List available multi-agent workflow templates."
        },
        "execute_workflow": {
            "url": "/api/workflows/{workflow_id}/run",
            "method": "POST",
            "description": "Execute a multi-step agent workflow."
        },
        "payments": {
            "url": "/api/payments",
            "method": "GET",
            "description": "Transaction ledger for all agent-to-agent payments."
        },
        "register": {
            "url": "/api/agents/register",
            "method": "POST",
            "description": "Self-register as an agent in the registry. Requires name, creator, description, and category."
        }
    },
    "payment": {
        "protocol": "x402",
        "broker_fee_percent": 0.5,
        "currency": "USDC",
        "supported_networks": [
            "solana",
            "base"
        ]
    },
    "capabilities": [
        "agent-discovery",
        "semantic-search",
        "code-verification",
        "multi-agent-workflows",
        "automated-payments",
        "access-control",
        "self-registration"
    ],
    "contact": {
        "support": "support@nexus-a2a.com"
    }
}