> Source: https://builder-docs.ema.ai/builder-guides/advanced/ai-employees-as-agents
> Title: Using AI Employees as Agents

# Using AI Employees as Agents

> This guide explains how to embed one AI Employee inside another's workflow. This capability enables sophisticated, multi-step workflows by chaining specialized AI Employees -- for example, having a conversational agent trigger a document generation process.

## Supported AI Employee Types

AI Employee Type

Enabled

Chat

Yes (only with named outputs)

DocGen

Yes

Dashboard

Yes (only with named outputs)

## Part 1: Making an AI Employee Callable (Callee Configuration)

This feature must be explicitly enabled on the callee AI Employee:

1.  Ensure the AI Employee is enabled.
2.  Navigate to the **Permissions** tab of the AI Employee.
3.  Turn on the option **Enable this AI Employee as an agent in your workspace**. This step generates an agent that can be used in other AI Employees' workflows.

## Part 2: Invoking the AI Employee (Caller Configuration)

Within the workflow of the calling AI Employee (the caller), add the agent generated from the callee AI Employee and create the appropriate connections:

1.  Navigate to the caller AI Employee's workflow canvas.
2.  Open **Add an Agent** in the top-left corner of the canvas.
3.  Navigate to the **AI Employees** category in the agent list, where you will find the callee AI Employee.
4.  Add the callee to the canvas. You will now be able to create connections.

## Disabling a Callee AI Employee

To disable the callee AI Employee's callable configuration:

1.  Navigate to the **Permissions** tab of the callee AI Employee.
2.  Turn off the option **Enable this AI Employee as an agent in your workspace**.

This will prevent the AI Employee from showing up in the agents section, mark the existing usages as "unavailable," and fail the execution of these workflows.
