Skip to main content
An agent groups related tasks under a single use case. Create one for hotel reservations, another for expense reports, another for utility bill collection. A single agent can work across many sources. Your hotel reservations agent fetches bookings from Hilton, Marriott, and Hyatt using the same tasks, handling the differences between sites and returning consistent output.

How agents fit in

Agents own tasks. Each task belongs to exactly one agent. When you run a task, Deck executes it against whatever source the connection points to. Sources and agents are independent. A “Hilton” source works for both a reservations agent and an expense report agent. Workflows can coordinate tasks across multiple agents in a single execution.

Creating an agent

Agents can be created from the Dashboard or through the API. Give it a name and description that reflect the use case.
POST /v2/agents

{
  "name": "Hotel Reservations",
  "description": "Fetch and manage hotel bookings"
}