> ## Documentation Index
> Fetch the complete documentation index at: https://docs.deck.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Agents

> An agent is an automated worker scoped to a use case.

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](/concepts/tasks). Each task belongs to exactly one agent. When you run a task, Deck executes it against the specified [source](/concepts/sources), either independently or using a [credential](/concepts/credentials).

Sources and agents are independent. A "Hilton" source works for both a reservations agent and an expense report agent.

## Creating an agent

Agents can be created from the Console or through the API. Give it a name and description that reflect the use case.
