Skip to content

Agent-to-Client Protocol (ACP)

The Agent-to-Client Protocol (ACP) is the foundation of how agents communicate with clients in Agentex. Understanding ACP is essential for building effective agents and choosing the right architecture for your use case. It specifies:

Think of ACP as the "language" that agents and clients use to understand each other.


Agent Types Overview

Agentex supports three agent types with different execution models and capabilities. Read the Choose Your Agent Type guide for a detailed comparison.

Quick Decision Guide

Use Sync Agents when:

  • Simple request-response patterns
  • Blocking, synchronous execution is acceptable
  • Processing one request at a time is sufficient

Use Async Agents when:

  • Asynchronous workflows and stateful applications needed
  • Must handle multiple concurrent requests
  • Need explicit control over message creation and state

This is not a one-way door decision, to migrate from one ACP type to another, simply follow our Agent Type Migration Guide.