# Agents

An agent can:

* Handle or delegate tasks based on reasoning from LLM.
* Be triggered through chat, workflows, or directly from other agents.
* Continuously evaluate and improve its own process (the "agentic loop").

With Agents, you can embed AI-driven decision-making directly into your apps, workflows, and automations.

### Accessing Agents

You can set up and access agents in several ways:

* **From Triggers**: Choose *Agent* as an action when configuring triggers.

{% @arcade/embed flowId="qM5YHy90gQHp6vJewhG5" url="<https://app.arcade.software/share/qM5YHy90gQHp6vJewhG5>" %}

* **Search**: Type “Agent Chat” in the component search box and drag it into your page.

{% @arcade/embed flowId="dzyDUvcYhYQSoDLzku7K" url="<https://app.arcade.software/share/dzyDUvcYhYQSoDLzku7K>" %}

* **Left Menu**: In the left-hand menu, click the Agents icon and then select Add Agent.

{% @arcade/embed flowId="2pdlEYxOU9QEVjbWVItM" url="<https://app.arcade.software/share/2pdlEYxOU9QEVjbWVItM>" %}

{% hint style="info" %}

### When to Use Agents

Agents are useful when you need more than simple automation rules. They are best for:

* **Complex workflows** where steps depend on reasoning or context.
* **Customer-facing chatbots** that can pull data from multiple sources.
* **Task delegation** when actions may involve multiple systems or tools.
* **Dynamic decisions** that go beyond pre-defined logic.

If your task is straightforward and always follows the same pattern, a regular workflow or automation may be enough. If it requires flexibility and decision-making, an agent is the better choice.
{% endhint %}


---

# Agent Instructions: 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:

```
GET https://docs.jetadmin.io/agents-1.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
