# Build and publish an agent

Building and publishing an AI agent requires several steps, from initial creation through configuration, testing, and deployment.

1. **Create your agent**: Use a template or start from scratch.
2. **[Configure](https://www.infobip.com/docs/ai-agents/build/configure-agent)**: Add instructions, tools, and settings.
3. **[Test](https://www.infobip.com/docs/ai-agents/build/test-agent)**: Validate behavior with test groups and test cases.
4. **[Configure content filters](https://www.infobip.com/docs/ai-agents/build/content-filters)** (Optional): Add safety controls to identify harmful content in end user messages and respond accordingly.
5. **[Publish](https://www.infobip.com/docs/ai-agents/build/publish-agent)**: Make your agent available for use with other solutions.

## Create your agent

You can create an AI agent either from a template or manually.

Note
If multiple AI agents need to work together, create a separate AI agent for each specialized task, and then [use an orchestrator agent](https://www.infobip.com/docs/ai-agents/build/configure-agent#agents-for-orchestration) to coordinate these agents.

### Create from template

Use this option when you want a predefined structure that matches a common use case.

1. On the [**Infobip web interface**](https://portal.infobip.com/login), go to **Automation studio** > **Agents**.
2. Select **Create agent**.
3. Select **Create from template**.
4. From the available templates, select one that matches your use case.
5. [Configure the fields](https://www.infobip.com/docs/ai-agents/build/configure-agent) in the AI agent to meet your use case and requirements.

### Create manually

Use this option when you want full control over the initial setup.

1. On the [**Infobip web interface**](https://portal.infobip.com/login), go to **Automation studio** > **Agents**.
2. Select **Create agent** > **Create from scratch**.
3. [Configure the fields](https://www.infobip.com/docs/ai-agents/build/configure-agent) in the AI agent.

## Next steps

After creating your agent, [configure it](https://www.infobip.com/docs/ai-agents/build/configure-agent) with instructions, tools, and settings.