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

# AOP, Automation or Agent: how to run repeated work

> Athena runs your repeated work through AOPs, Automations, Agents and Skills. Choose an AOP when the AI decides the steps, an Automation when you set the order, approvals and budget, and an Agent when you want a reusable specialist.

> Athena runs your repeated work for you, with safe test runs, approvals, spending caps and a record of every run. The choice comes down to who decides the steps. In an AOP (Agent Operating Procedure), you write the task in plain words and Athena decides how to do it. In an Automation, you set the steps, approvals and budget, and Athena applies judgment only where a step needs it. An Agent is the specialist that does the work in either one.

## What are the options?

| | What it is | Who decides the steps | What starts it |
| - | - | - | - |
| Chat | A conversation with Athena | The AI, one message at a time | You |
| AOP | A saved procedure written in plain words | The AI, following your procedure | A form, a schedule, an email, another AOP, an Automation or an app |
| Automation | Steps you set, including branches, repeats and steps that run at the same time | You | You, a schedule, a database change, an event or a message from another system |
| Agent | A saved specialist with its own instructions and tools | The AI | You, an AOP, an Automation, or a message by email, text, Slack or Teams |
| Agent Team | A lead Agent that splits a job across other Agents | The lead Agent | A running Agent |
| Skill | Your team's method, written once | The AI, following your steps | You mention it in chat, or an Agent uses it |

![A scale from Athena decides to you decide. Chat: for one-off work, Athena works out each step. AOP: you write the instructions and Athena follows them. Automation: you set every step, sign-off and spending cap, with steps such as on a schedule, run a script, run an AOP, wait for sign-off, call a web service and send a message. Below, an Agent is a teammate that can do the work in any of the three.](https://mintcdn.com/athenaintelligence-e46bc9d3/U4e92C1IcbO5Ytjz/images/build-guides/aop-automation-or-agent-1.webp?fit=max\&auto=format\&n=U4e92C1IcbO5Ytjz\&q=85\&s=f165da40eb7857ca19c561a1f8ded9d9)

## When should I use an AOP?

An AOP runs repeated work that needs judgment and fits on one page, such as checking a contract against a checklist, explaining monthly changes in your numbers, or sorting an inbox by priority.

You write the procedure once, and Athena turns words in double brackets, such as `[[ Client_Name ]]`, into fields to fill in each time. Athena records every run so you can read it afterwards, and can return the answer in a fixed format for other software to use. See [Agent Operating Procedures](https://resources.athenaintel.com/docs/pillars/applications/aops.md).

Athena gives you ways to test, verify and publish an AOP before it runs without you:

* Run a safe test where Athena notes what it would change without changing anything, stopping at 40 AI calls or \$2 by default.
* Save up to 20 past runs as examples, and rerun them when you edit the procedure to check that it still gets them right.
* Publish a version for scheduled runs to use while you keep editing your draft.

## When should I use an Automation?

An Automation runs your steps in a set order, waits for human approval and keeps spending under a limit. Use one for workflows like a month-end close, checking incoming files and sending problems for approval, or a nightly data sync that alerts someone if it fails.

Athena can call tools, run scripts, contact other systems, check conditions, repeat or wait during an Automation, and it can run an AOP or an Agent as one of the steps. See [Automations](https://resources.athenaintel.com/docs/pillars/applications/automations.md).

An Automation gives you stricter controls than an AOP:

* Pause a step to wait for one approver, all approvers, or a set number. See [Automation approvals](https://resources.athenaintel.com/docs/pillars/applications/automation-approvals.md).
* Set a spending cap per run and per day. See [Automation budgets](https://resources.athenaintel.com/docs/pillars/applications/automation-budgets.md).
* Retry each step up to 10 times, and restart a failed run from the failed step in the main sequence.
* Run the workflow with its own permissions rather than yours, so it reaches only the data and systems you allow.
* Review a full record of every step, input, output and cost that Athena saves automatically. See [Automation run history](https://resources.athenaintel.com/docs/pillars/applications/automation-run-history.md).

## When should I use an Agent?

An Agent gives you the same specialist for many different tasks, keeping your instructions, AI model, tools and sources ready to use. Once you set up each channel for your workspace, people can reach the Agent by email, text, phone, Slack, Teams or a meeting invite. See [Agents](https://resources.athenaintel.com/docs/agents/athena-agents.md).

Athena scopes what an Agent can see based on its owner, how you contact it and your workspace rules, and keeps its saved passwords private when people message it.

When a job needs several specialists, an [Agent Team](https://resources.athenaintel.com/docs/agents/agent-teams.md) lets a lead Agent split the work across them and combine the results. You can start a team from a chat, an AOP or an Automation.

## Where do Skills fit?

A Skill lets you write your team's method down once, such as a review checklist or a house style, and have Athena follow it whenever you mention it in chat or add it to a specialist Agent or AOP. Many repeated tasks need nothing more. Put a Skill inside an AOP or Automation when you need a schedule or run history, since a Skill does not have its own. See [Skills](https://resources.athenaintel.com/docs/build-guides/skills.md).

## How do they work together?

You can combine Automations, AOPs and Agents so an Automation controls the schedule, approvals and budget while calling one or two AOPs for the reading and judgment. Athena supports several ways to connect them:

* Run an AOP as one step in an Automation and pass the result to the next step.
* Run another Automation from an Automation, keeping the second Automation's own access and limits.
* Have an Agent start an AOP and wait for the result.
* Start an AOP from an app and read the result.
* Chain AOPs so one starts another when it succeeds or fails, with up to three handoffs in a chain.

## What to plan for

Ask your admin to make sure your Athena setup allows Automations and your workspace is enrolled to use them.

Set up each channel for an Agent (a phone number, a Slack or Teams connection, an email address) separately for your workspace.

Test each AOP on its own before testing an Automation that calls it. When you test an Automation, Athena reads data and notes what it would write, while skipping AOPs, Agents, scripts and approvals.

Leave room in your budget caps for one extra call. Athena checks spending after recording each call, so a call that is already running can take the total over the cap by one call.

Put an approval step before any action you cannot take back, such as sending an email, because going back to an older version does not undo completed actions.

## Questions teams ask

> [accordion] Does an AOP do the same thing every time?
>
> Not exactly. Athena keeps the form, the answer format and the tools the same on every run, while the AI chooses the path that fits the input. Make a step an Automation step when it must happen the exact same way every time.

> [accordion] Can I turn an AOP into an Automation?
>
> Athena can draft an Automation from an AOP or a past conversation, showing which parts are fixed steps and which still need judgment. Review the draft before you publish.

> [accordion] Where should a non-technical builder start?
>
> Start in chat, and save the method as a [Skill](https://resources.athenaintel.com/docs/build-guides/skills.md) when you find yourself asking for the same thing again. Turn it into an AOP when it needs to run on a schedule or from a form, and move to an Automation when you need approvals, a spending cap or a fixed order of steps.

> [accordion] Do Agents remember past work?
>
> Agents remember past work when you turn memory on. Athena keeps conversations that use private sources out of shared memory, and people can opt out.

> [card] [See it work](https://athenaintel.com/demo/)
>
> Thirty minutes, your workflow, and you leave with the work product.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.