Sync Agent Guide
This guide demonstrates how to interact with synchronous (sync) AgentEx agents using the AgentEx SDK.Overview
Sync agents use a sync ACP architecture that:- Uses direct message-based communication via RPC
- Returns responses with the request (synchronously)
- Supports both streaming and non-streaming responses
Key API Method: send_message(), send_message_stream()
For sync agents, you always use the send_message()
or send_message_stream()
method to communicate with the agent. This is different from agentic agents, which use send_event()
for task-based communication.
- No task creation required - You can send messages directly to the agent by name
- No event creation required - You can send messages directly to the agent by name