# Prompt AI Agent

Hands a prompt to a configured AI Agent, which works it using its own tools and knowledge bases, and returns the result to the Process.

Type: reference · Mode: develop · Since: 2.0 · Status: unverified

---
Hands a prompt to a configured AI Agent, which works it using its own tools and knowledge bases, and returns the result to the Process.

**Step library location:** AI

:::note[Planned for 2.0]
This step is planned for 2.0 and is not yet available. Its field labels may change before release.
:::

## When to use it

- Work whose shape is not known in advance, such as investigating a fault or drafting from several sources.
- Anything that needs the Agent's Tool Pool, Skills or knowledge bases.
- Long-running work you want to start and collect later, by turning Await Completion off.

## When not to use it

- A single deterministic transformation. Prompt AI Model is cheaper and faster.

## Input Configuration

<div class="sym-spec-table">

| Field | Type | Need | Default | Notes |
| --- | --- | --- | --- | --- |
| **Agent** | Searchable dropdown, single select, dynamic or static | Required | None | Static takes the Agent ID. |
| **Prompt** | Large expandable free-text field with parameter auto-complete | Required | None | None |
| **Input Files** | Static / dynamic file selector | Optional | None | File ID or list of File IDs. Optional. Dynamic and static selections can be combined. |
| **Await Completion** | Toggle | Optional | On | None |
| **Timeout (Mins)** | Number, dynamic or static | Optional | 360 | Optional when Await Completion is on. Maximum 1440. |

</div>

## Output Configuration

<div class="sym-spec-table">

| Field | Type | Need | Default | Notes |
| --- | --- | --- | --- | --- |
| **Output Parameter: Response** | Output parameter selector | Required | None | { text: STRING, files: LIST<MAP<name, fileId>>, agentSessionID: STRING } |

</div>

## Notes

With Await Completion off, collect the result later with the Await AI Agent Session Completion step, using the returned agentSessionID.

<p class="sym-generated-note">Generated from step metadata (<code>src/data/process-steps.json</code>). Edit the metadata, not this page.</p>