Skip to main content

Protocol overview

Boundary statement​

A protocol adapter changes a wire shape; it does not create a second runtime authority. Identity, effective configuration, provider/model routing, tool governance, execution, and runtime-owned outcomes remain inside UAR.

Diagram in words​

UAR, OpenAI-compatible, and Anthropic-compatible HTTP requests enter adapters before calling shared runtime services. A transport-free embedded host calls those services directly. MCP connects external tools and context; A2A connects peer agents. Both still pass through host-owned identity and execution boundaries. Runtime execution emits normalized events that server adapters map to SSE forms, A2UI state, or an embedded host callback.

Choose an entrance​

NeedEntranceOutputState ownership
UAR chatPOST /api/chat/completionJSON or SSEruntime session plus caller-carried session id
OpenAI-shaped chatPOST /v1/chat/completionsOpenAI JSON/chunks and documented UAR extensionssame runtime authority as UAR chat
Anthropic-shaped messagesPOST /v1/messagesAnthropic message or event vocabularysame provider/model router and runtime
Governed agent lifecycle/api/uar/runsresource responses and normalized run-event SSErun manager, replay buffer, configured persistence
Tool/context federationconfigured MCP servers and /mcp/uarMCP messages and tool resultsMCP registry plus trusted host
Peer-agent transportA2A routes and optional gRPCA2A tasks, messages, and artifactstenant-aware A2A stores
Declarative UIA2UI run routesvalidated surface state and actionsA2UI registry and realtime backbone
Embedded applicationRust in-process APIhost callbacks and return valuesembedding host plus shared runtime services

Authority and compatibility​

Compatibility applies to the implemented adapter, fields, and event forms. It does not assert every upstream extension or transport is present. Provider selection remains provider/model routing even when the client wire shape is OpenAI- or Anthropic-compatible.

Resource APIs and live events have different authority. A database-backed resource can be reloaded after a process restart. A live event explains a transition but is not automatically durable history. Each protocol guide names its replay and retention boundary.

Profile limits​

minimal and server-full contain the HTTP/SSE surface. server-full adds the A2A transport and broader release feature set. embedded-mobile is transport-free: the host supplies persistence and inference and consumes in-process events. Evidence from one entrance or profile applies only to that entrance and profile.

Next: HTTP compatibility.