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

# Agents

> Create and manage AI agents that automate coding tasks, improve legacy code, and integrate AI into your development workflow.

The Agents page lets you create and manage AI agents that run autonomously on your repositories. Agents help you automate coding tasks, improve legacy code, and integrate AI directly into your development workflow.

<img src="https://mintcdn.com/forgoodaiinc/Y_SEC3iavYl5Qnon/images/admin/admin-agents.jpg?fit=max&auto=format&n=Y_SEC3iavYl5Qnon&q=85&s=f7cb81283bf9146d2125005929b5b799" alt="Zencoder Agents page showing empty state with Add button" style={{ borderRadius: '12px', marginTop: '8px', marginBottom: '16px' }} width="1260" height="720" data-path="images/admin/admin-agents.jpg" />

## Creating an Agent

Click the **Add** button in the top-right corner to create a new agent. Each agent can be configured with:

* **Repository access** — which repositories the agent can work on
* **Trigger conditions** — when the agent should run (e.g., on new issues, PRs, or scheduled)
* **Workflow** — which workflow the agent follows when executing tasks

<Note>
  Agents require at least one [connected repository](/admin/repositories) to operate. Set up your [connections](/admin/connections) first.
</Note>

## Use Cases

| Use case                    | Description                                                                                           |
| --------------------------- | ----------------------------------------------------------------------------------------------------- |
| **Automated code reviews**  | Agent reviews incoming pull requests and posts feedback                                               |
| **Issue resolution**        | Agent picks up issues from your tracker and generates fixes                                           |
| **Legacy code improvement** | Agent scans for outdated patterns and proposes modernization                                          |
| **Scheduled maintenance**   | Agent runs on a schedule to check for dependency updates, linting issues, or security vulnerabilities |
