# AI integrations

## Overview

AI agents and assistants can work with CDQ in two ways. **Agent-to-agent (A2A) is CDQ's recommended way to integrate enterprise agents:** your agent hands a business task to CDQ Genius, which works as a specialist peer and returns the result. **MCP** gives your AI assistant CDQ data as tools that your side calls and combines.

Want to see CDQ Genius in action before you integrate? Your team can use [CDQ Genius](/documentation/_public/product-manuals/cdq-genius/cdq-genius-capabilities) directly in CDQ Cloud Apps.

## Choose an integration

|  | A2A | MCP |
|  --- | --- | --- |
| **Who connects** | Your agent or orchestrator | Your AI assistant |
| **Who orchestrates** | Your agent delegates the task; CDQ Genius decides the steps | Your side decides which tool to call and when |
| **What you send** | A business goal, in plain language | Tool calls with parameters |
| **Whose access applies** | Your organization's, with the same rules as your users | The signed-in person's |
| **Recommended for** | Enterprise integration of business processes | Working with CDQ data in your AI assistant |


```mermaid
flowchart LR
    A[Your agent] -->|A2A: business goal| G[CDQ Genius]
    G --> S[CDQ services]
    B[Your AI assistant] -->|MCP: tool calls| M[CDQ MCP]
    M --> S
```

## A2A: recommended for enterprise integration

Preview
CDQ Genius A2A is in Preview and is enabled per organization. To use it, contact your CDQ representative.

With A2A, CDQ Genius works as a peer to your agent. Behind A2A is the same [CDQ Genius](/documentation/_public/product-manuals/cdq-genius/cdq-genius-capabilities) your users work with in CDQ Cloud Apps, so your agent gets the same answers and expertise, without a chat window.

Integrating takes two endpoints: the Agent Card, which describes CDQ Genius, and the messaging endpoint your agent sends its requests to. See the [CDQ Genius A2A quickstart](/documentation/api/genius-a2a/quickstart).

Why CDQ recommends A2A for enterprise integration:

- **Hand over a goal, not a sequence of calls.** Your agent sends its request in plain language as a standard A2A message, with no CDQ-specific fields or tool names to learn. CDQ Genius works out what the request needs and which checks to run. Your agent keeps orchestrating your process; CDQ's data expertise stays with CDQ.
- **Self-describing through the Agent Card.** CDQ Genius publishes an Agent Card at a well-known address that lists what it can do and where to reach it, so agent platforms can discover and register it without custom setup.
- **The same access, isolation and audit as your users.** Your agent works within your organization's scope, under the same rules as your users. It never sees more than a user of your organization could, and every request is recorded.
- **An open, vendor-neutral standard.** A2A is an open protocol, so CDQ Genius works with any agent platform that supports it, and you are not tied to one vendor's agent framework.


## MCP: CDQ data as tools for your AI assistant

The Model Context Protocol (MCP) gives your AI assistant CDQ data as tools. Your side decides which tool to call and when, and combines the results. To hand whole business tasks to CDQ instead, use A2A.

- **The agent acts with your rights.** Each connection signs in as a person with their CDQ account. Every tool runs with that person's rights, so no API keys or client secrets go into the client's configuration, and the agent never sees more than the person could.
- **The same functionality as the REST APIs.** The tools give your AI assistant the same CDQ functionality and data as calling the corresponding CDQ REST APIs, under the same rules.
- **A standard protocol that works with the client you already have.** Any MCP client that supports remote servers with OAuth sign-in can connect. No CDQ-specific plugin is needed.


See the [CDQ MCP quickstart](/documentation/mcp/cdq-mcp/quickstart).

## Next steps

CDQ Genius A2A
Connect your agent to CDQ Genius over A2A.

CDQ MCP
Add CDQ as a remote MCP server to your AI assistant.

CDQ Genius capabilities
See what CDQ Genius can do and how it reaches its answers.