Skip to main content
This guide helps you migrate from the v1 Agentic Framework API to the v2 API. It covers path changes, the experts-to-connectors mapping, PATCH semantics, A2A protocol changes, and new features.
The v1 API reference remains available in the API Reference tab as “Agentic APIs v1 (deprecated)”. The v1 documentation is preserved in the v1 archived docs.

API path changes

All v2 endpoints move under /v2/agentic/:

Experts to connectors

In v1, the Agentic Framework used three separate concepts: Experts, MCP servers, and sub-agents. v2 unifies all three under the connector model.

v1 agent creation (with experts)

v2 agent creation (with connectors)

PATCH semantics

v1 already used partial-update PATCH semantics: omitted fields were unchanged, and arrays (experts, mcpServers) were replaced wholesale when provided. v2 adopts JSON Merge Patch (RFC 7386), which adds the ability to explicitly clear fields with null:
  • Omitted fields: Unchanged (same as v1)
  • null: Clears the field (new in v2 — in v1, null decoded to a nil Go pointer and was treated as “unchanged”)
  • connectors array: Replaced wholesale (same as v1’s experts array)
This PATCH renames the agent, clears the system prompt, and replaces the entire connectors array with a single registry connector. All other fields remain unchanged.
The Content-Type header for PATCH requests is application/merge-patch+json in v2.

A2A v0.3 to v1.0

v2 supports A2A v1.0 only. v0.3 is not carried forward to v2 (still available on the v1 API surface). Key changes:

v1 message format

v2 message format

Removed features

New features in v2

v2 introduces several new capabilities:
  • Agent metadata: visibility (private, unlisted, public), lifecycle (ephemeral, persistent), model, labels
  • Connector sub-resources: Individual connector CRUD via /agents/{id}/connectors endpoints
  • Contexts API: List, get, and delete contexts via /v2/agentic/contexts endpoints
  • Registry API: Browse and inspect pre-built connectors via /v2/agentic/registry/connectors
  • Usage API: Agent usage metrics via /agents/{id}/usage
  • Feedback API: Submit, list, and delete feedback via /contexts/{id}/tasks/{id}/feedback
  • Trace export: OpenInference traces via /contexts/{id}/trace
  • Agent cards: Standard .well-known/agent-card.json location (requires authentication)
  • Streaming: message:stream and tasks:subscribe SSE endpoints
  • Prefixed UUIDv7 IDs: All resource IDs use type-prefixed format (e.g. agt., ctx., task.)
  • JSON-RPC binding: Alternative to HTTP+JSON for A2A communication

Next steps