> For the complete documentation index, see [llms.txt](https://aphid-ai.gitbook.io/aphid-ai-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://aphid-ai.gitbook.io/aphid-ai-docs/aphid-api/example-agentic-workflow/autonomous-task-execution.md).

# Autonomous Task Execution

Aphid agents can be configured to execute tasks autonomously. Autonomy does not mean uncontrolled execution. Aphid autonomy should be governed by defined scopes, permissions, business rules, limits, and approval thresholds.

| Autonomy Level                    | Description                                                                        | Example                                                                         |
| --------------------------------- | ---------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- |
| Level 1: Assist                   | Agent provides recommendations but does not take action.                           | Summarize support tickets and suggest next steps.                               |
| Level 2: Prepare                  | Agent drafts actions for human review.                                             | Draft customer response or prepare a CRM update.                                |
| Level 3: Execute with approval    | Agent performs action after explicit approval.                                     | Create vendor payment request after manager approval.                           |
| Level 4: Execute within policy    | Agent acts automatically inside pre-approved rules.                                | Open support ticket for critical alert, update status, and notify on-call team. |
| Level 5: Closed-loop optimization | Agent monitors, acts, measures results, and adjusts workflow within strict limits. | Continuously route tasks based on SLA risk and staff capacity.                  |

<br>

* Create, update, and close tickets or tasks.
* Retrieve and summarize customer, order, shipment, finance, HR, or operational records.
* Generate reports, dashboards, and executive summaries.
* Trigger workflows based on events, thresholds, or schedules.
* Send notifications, reminders, escalations, and status updates.
* Perform document analysis, data extraction, and record enrichment.
* Coordinate multi-system workflows that involve CRM, ERP, ticketing, messaging, storage, and analytics systems.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://aphid-ai.gitbook.io/aphid-ai-docs/aphid-api/example-agentic-workflow/autonomous-task-execution.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
