What Clix Supports
Clix currently documents and supports this A2A surface:GET /.well-known/agent-card.jsonfor public agent discoveryPOST /a2afor JSON-RPC 2.0 method callsJSONRPCas the only advertised protocol bindingX-API-Keywith a Secret API Key (clix_sk_...) for authenticated calls- Four built-in skills:
create-user,track-event,send-push-notification,trigger-campaign
A2A vs MCP
Clix supports two complementary protocols for AI integrations:| MCP (Model Context Protocol) | A2A (Agent-to-Agent) | |
|---|---|---|
| Purpose | Gives tools and context to an agent | Lets one agent delegate work to another agent |
| Integration shape | Tool calls against an MCP server | JSON-RPC task execution against /a2a |
| Best fit | Documentation lookup, SDK guidance, coding workflows | Operational actions such as user creation, event tracking, push delivery, and campaign triggers |
Request Flow
Agent Card Shape
WithA2A-Version: 1.0, the public Agent Card uses v1 field names such as supportedInterfaces, securitySchemes, and securityRequirements.
GetExtendedAgentCard method returns the same v1 schema. In the current Clix implementation, the main difference is a project-aware description string.
Core Concepts
Task
A task is the unit of execution in Clix A2A. Tasks are created fromSendMessage or SendStreamingMessage and tracked with GetTask or ListTasks.
Current v1 task states serialize to protocol values:
Message
A message is a communication turn. For client requests, userole: "user". Agent-authored messages use role: "agent".
Part
A message part can contain:textfor natural-language contentdatafor structured skill payloads
data.skill payloads over natural-language-only requests.
Artifact
Artifacts hold task output. Each built-in Clix skill writes a named artifact such asuser-result, event-result, delivery-results, or trigger-result.
Protocol Versions
Clix supports two protocol versions:| Version | Header Value | Status |
|---|---|---|
| V1 | 1.0 | Current and recommended |
| V0 | 0.3 | Legacy compatibility mode |
Authentication Model
Authenticated/a2a calls require:
X-API-Key: clix_sk_...Content-Type: application/json
A2A-Version: 1.0.
Public API keys are rejected for /a2a. The project is resolved directly from the Secret API Key, so you do not send a separate project header.
Next Steps
Quick Start
Make your first v1 request and inspect the task lifecycle
Skills
Review the four Clix skills, payloads, and artifacts
Version Compatibility
Migrate from V0 to V1 without guessing the wire format