---
title: "Adding an AI Agent Node"
canonical: https://trickest.com/docs/using-the-app/agent/adding-an-ai-agent-node
description: "Add an AI Agent node to a workflow, set its prompt, and read the result of a run."
---

# Adding an AI Agent Node

## Before you start

An **AI Agent** node is a step on a workflow. It runs when the workflow runs. It is not the [Agent](/docs/using-the-app/agent/using-the-agent) chat.

The AI Agent node is available on Enterprise. If it is locked in the node library, it cannot be added yet. Connecting a provider key does not make the AI Agent node available.

## Add the node

In the workflow editor, select **Add node**. Search for **AI Agent**, then select it or drag it onto the canvas.

The first click selects the node. Open it with **Open node**, or select it again. That opens **Config** and **Run**.

## Set the prompt and inputs

**Prompt** is required. Describe what the node should do, then select **Save**. For example, ask the node to read the files from the previous node and write a short report of what they contain.

**Upstream files** is optional. Use **Connect source** or **Add source** to pass files from an earlier node.

**Model** defaults to **Automatic**, which uses the vault default. Pick a model only when this node should use a different one.

## Run the node

[Run the workflow](/docs/using-the-app/workflow-and-executions/executing-and-scheduling-workflows). Open the node, then open **Run**.

**Outputs** lists the files the node wrote. **Activity** is the conversation for this step.

---
_Markdown source of https://trickest.com/docs/using-the-app/agent/adding-an-ai-agent-node._
