# How To Build AI Agents With Activepieces

By Ginikachukwu Nwibe · 2025-07-02 · Source: https://www.activepieces.com/blog/how-to-build-ai-agents-with-activepieces

---
In this post, you will see how easy it is to build an AI agent on Activepieces, use it in your flows, and also chain multiple agents together

## How To Build An AI Agent on Activepieces

**Step 1:** Sign up on **[Activepieces](https://www.activepieces.com/)**

**Step 2:** Go to your dashboard and select ***Agents*** on the left side

**Step 3:** Click on ***New Agent***

![ai agent](https://ap-marketing-media.fra1.cdn.digitaloceanspaces.com/uploads/inline/3c21669f-9845-4600-a064-0721e28bdade/screenshot_2025_07_02_at_23_21_58_8defb1d127.png)

This is where the building begins

**Step 4**: Give your Agent a name and description

**Step 5**: Type in your instructions

**Step 6**: Click on Add Tool and select either  ***From Piece*** (To choose from over 320 available integrations) or ***From Flow*** (To convert your flows to tools that your AI agents can use)

![ai agent](https://ap-marketing-media.fra1.cdn.digitaloceanspaces.com/uploads/inline/8e30e5e7-8926-4455-a973-ade562de09c4/screenshot_2025_07_02_at_23_28_01_1c1d671980.png)

Now your AI agent is ready 😎

To automatically use it as a specialized chatbot with a chat interface, click on ***Use Agent***

![ai agent](https://ap-marketing-media.fra1.cdn.digitaloceanspaces.com/uploads/inline/b609d621-7430-4028-bf64-6bb3a913ac00/screenshot_2025_07_02_at_23_31_14_87caa0347b.png)

## How To Add Your AI Agent to Your Flow

Adding an agent to your flow in Activepieces is the same as adding a new step/tool to your flow

Here is an example of adding an SEO blog writing agent to your flow

I already have the built-out SEO flow here (this part conducts the keyword research), so the AI agent needs to be added in the last step to collect all the keyword research information and write the blog draft .

![ai agent](https://ap-marketing-media.fra1.cdn.digitaloceanspaces.com/uploads/inline/04ca0768-9b26-400e-b4b3-faf0babf5145/screenshot_2025_07_02_at_23_45_13_1f80200283.png)

(NB: AI agents can be added to any step in your workflow)

### To add an AI agent

- **Step 1**: Click on the plus (**+**) sign to add a new step
- **Step 2**: Click on AI and Agents and select from any agent you have already built.

![ai agent](https://ap-marketing-media.fra1.cdn.digitaloceanspaces.com/uploads/inline/2cb2ba75-4976-487d-9b73-ccdf5c6a4900/screenshot_2025_07_02_at_23_48_03_7ea4e8a5c3.png)

**Step 3**: Give your AI agent a prompt

![ai agent](https://ap-marketing-media.fra1.cdn.digitaloceanspaces.com/uploads/inline/c794a9f7-e0c9-4ef4-bab7-e4cea6fcc6ec/screenshot_2025_07_02_at_23_53_52_218526cfe3.png)

You can also create a new agent at any step while building  your  flow by selecting ***“Create Agent”*** if you dont already have the agent created

![ai agent](https://ap-marketing-media.fra1.cdn.digitaloceanspaces.com/uploads/inline/e880f839-f3ea-4dc8-8e80-52556a41cfaf/screenshot_2025_07_02_at_23_55_37_08944cb4a1.png)

## How To Chain Multiple Agents

This is also the same way as adding steps to your flows

**Step 1**: Click the plus (+) sign

**Step 2**: Select AI and agents

**Step 3**: Select the agent you want to chain to your previous one

You can chain AI agents at any point in your workflow

![ai agent](https://ap-marketing-media.fra1.cdn.digitaloceanspaces.com/uploads/inline/1dc987f6-ad94-41f5-924f-ac8814c7291e/screenshot_2025_07_03_at_00_01_29_30d16c39d9.png)
