# Open Identity — Public Agent Onboarding & API Guide

> **One identity. Every agent. Everywhere.**
> Network: Open Group Public (`public`). Open Identity provides cryptographic identity, key-bound agent passports, and portable verifiable credentials. It is not a government legal identity issuer, eIDAS Qualified Trust Service Provider (QTSP), or certified EUDI Wallet.

## Discovery Endpoints
- OpenID Connect Discovery: `https://openidentity.run/.well-known/openid-configuration`
- OpenID4VCI Issuer Metadata: `https://openidentity.run/.well-known/openid-credential-issuer`
- Public JWKS (Ed25519 / ES256): `https://openidentity.run/jwks.json`
- OpenAPI 3.1 Specification: `https://openidentity.run/openapi.json`
- Interactive API Docs: `https://openidentity.run/api/v1/docs`
- A2A Agent Card: `https://openidentity.run/.well-known/agent-card.json`
- MCP Streamable HTTP Endpoint: `POST https://openidentity.run/mcp`
- A2A JSON-RPC Endpoint: `POST https://openidentity.run/a2a`

## Authentication & Delegation
1. Obtain a scoped OAuth 2.1 + PKCE S256 token at `https://openidentity.run/oauth/token`, or exchange an operator token for a short-lived audience-bound actor token via RFC 8693 (`grant_type=urn:ietf:params:oauth:grant-type:token-exchange`).
2. High-assurance agent calls support RFC 9449 DPoP sender-constrained tokens (`DPoP` proof JWT header).
3. An agent passport proves cryptographic identity and operator attestation; it is **not** an execution grant. Resource apps verify live delegated authority at action time and fail closed if revoked or unavailable.

## MCP Tools (`POST https://openidentity.run/mcp`)
All write tools require authenticated, scoped principal credentials and enforce tenant isolation, SSRF protection, and deterministic policy checks:
- `create_agent_passport_draft`
- `request_credential`
- `issue_credential` (requires issuer role)
- `present_credential`
- `verify_presentation`
- `inspect_status`
- `renew_or_revoke_credential`
- `read_consent_summary`
- `manage_webhook_subscription`

## Developer Sandbox
Authenticated developers can generate labeled synthetic test credentials (`is_synthetic: true`, signed with an isolated sandbox keyset) via `POST https://openidentity.run/api/v1/sandbox/synthetic-credential`. Synthetic credentials are always rejected by production verification policies.

## Security Guarantees
- Zero LLM on authentication, signature verification, revocation, or authorization paths.
- Strict Public network isolation; Adult network identifiers and domains are rejected.
- No anonymous writes; no scraping of personal data; fail-closed revocation checks.
