connectors array on the agent.
What is a connector
A connector is a typed integration attached to an agent. When the agent reasons about a user’s message, it selects and invokes connectors to retrieve information, call external tools, or delegate work to other agents. Every connector shares a common base:
Additional properties depend on the connector
type.
The type discriminator
Every connector has atype field that determines its shape and behavior. The v2 API ships five connector types:
The
type field is immutable: you cannot change a connector’s type after creation. To switch types, remove the connector and attach a new one.
Connector types
Registry connectors
Registry connectors are pre-built integrations maintained by Corti and partners. They are the simplest to attach: you reference the connector by its namespacedname.
Browse available registry connectors via the registry API or the registry connector catalog.
MCP connectors
MCP connectors connect to remote Model Context Protocol servers you operate yourself. You provide the server URL and optional authentication.The MCP server must implement the Model Context Protocol. See MCP protocol in the v1 archived docs for protocol details.
Agent connectors
Agent connectors delegate to another Corti agent in the same tenant. This enables multi-agent composition: one agent can call another as a tool.A2A connectors
A2A connectors connect to remote A2A agents outside your Corti tenant. You provide the agent’s A2A endpoint URL (typically a.well-known/agent-card.json location).
Schema connectors
Schema connectors define a custom tool by providing a JSON Schema. The LLM uses the schema’sname and description to decide when to call the tool, and the schema validates the tool’s output shape.
The
transition field lets you build structured-output agents. When set to complete, the agent stops reasoning after the tool is called, validates the output against the schema, and returns the result. No further LLM call is made.Connector auth
Connectors that call external services can authenticate using theauth field. Only MCP connectors support auth configuration; A2A connectors automatically forward the caller’s bearer token. The ConnectorAuth schema supports three types:
For
bearer and oauth2, credentials are provided at call time via the authorizationData mechanism.
Managing connectors
You can manage connectors in two ways:-
Via the agent’s
connectorsarray: When you create or PATCH an agent, you provide the fullconnectorsarray. PATCH replaces the entire array wholesale. - Via the connector sub-resource: You can attach, update, remove, or list individual connectors without rewriting the full agent. The sub-resource endpoints use JSON Merge Patch for updates.
See Manage connectors for a detailed guide.
What replaced v1 experts
In v1, the Agentic Framework used three separate concepts: Experts (pre-built specialized agents), MCP servers (remote tool servers), and sub-agents (other Corti agents). v2 unifies all three under the connector model:
If you are migrating from v1, see the migration guide for a detailed mapping.
Relationship to the registry
The registry is a catalog of pre-built connectors maintained by Corti and partners. Registry connectors are listed and discoverable via the registry API. Each registry entry includes:- A stable
id(e.g.coding-expert) - A
typeindicating what connector kind it provisions - A
configSchemadescribing accepted configuration - Capabilities, tags, and documentation links
registry connector to an agent, you reference it by its name (which matches the registry entry’s id). The platform provisions the connector and validates any config you provide against the registry’s configSchema.
Next steps
- Follow the quickstart to create an agent with connectors
- Learn how to manage connectors via the API
- Browse the registry connector catalog
- Read about connector authentication