> For the complete documentation index, see [llms.txt](https://docs.jetadmin.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.jetadmin.io/ai-agents/run-agents-in-apps-workflows-and-tasks.md).

# Run agents in apps, workflows, and automatic tasks

Choose how the agent starts and what it can do in that context.

* [Using agents](/ai-agents/run-agents-in-apps-workflows-and-tasks/agents-1.md) and [The Agent Interface](/ai-agents/run-agents-in-apps-workflows-and-tasks/the-agent-interface.md) describe interaction inside an app.
* [Workflows with Agents](/ai-agents/run-agents-in-apps-workflows-and-tasks/workflows-with-agents.md) connects an agent to a defined workflow.
* [Agent Automatic Tasks](/ai-agents/run-agents-in-apps-workflows-and-tasks/agent-automatic-tasks.md) covers repeated tasks.
* [Running Agents](/ai-agents/run-agents-in-apps-workflows-and-tasks/running-agents.md) explains execution.

Confirm the trigger, credentials, and expected output in each place. Test tool permissions with the identity that will actually run the agent. For external channels, see Slack, Telegram, Email, and MCP.


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.jetadmin.io/ai-agents/run-agents-in-apps-workflows-and-tasks.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
