---
title: "How to Create AI Agents | Hostman Docs"
description: "Learn how to create and configure an AI agent step by step. Explore model selection, token limits, pricing, prompt setup, knowledge base integration, MCP server connection, and deployment workflow."
---

> For the complete documentation index for AI agents, see [llms.txt](https://hostman.com/llms.txt).

To create a new AI agent:

1.  Go to the **AI Services** → **Agents** section and click **Create Agent** or **Add**.
    
2.  Select the AI model for the agent. You will be able to change it later.
    
3.  Set a [token usage limit](https://hostman.com/docs/ai-agents/pricing/token-usage-limit/) to help control consumption and spending. The limit can be updated at any time in the agent settings.
    
    Agents are billed at $0.10 per month, while token usage is charged on a pay-as-you-go basis. Input and output tokens are billed separately. Service charges are deducted from your account balance hourly.
    
4.  Enable [web search](https://hostman.com/docs/ai-agents/manage-agents/web-search/), if needed.
5.  Enable image generation, if needed.
6.  Provide a [prompt for the agent](https://hostman.com/docs/ai-agents/manage-agents/prompts/). The prompt explains what the agent should do.
    

The dashboard provides several example prompts. You can review them to understand the recommended format or use them as a starting point and adjust them to your needs.

You can also [write your own prompt](https://hostman.com/docs/ai-agents/manage-agents/prompts/#prompt-guidelines) from scratch. Make sure to clearly describe what the agent should be, what tasks it must perform, and which data sources it should use.

5.  Connect an existing [knowledge base](https://hostman.com/docs/ai-agents/manage-knowledge-bases/) or [create a new one](https://hostman.com/docs/ai-agents/manage-knowledge-bases/create/) and select the [search mode](https://hostman.com/docs/ai-agents/manage-knowledge-bases/search-mode/). You can also configure the knowledge base later [in the agent settings](https://hostman.com/docs/ai-agents/manage-agents/connect-knowledge-base/).
    

Knowledge bases allow agents to generate more complete and accurate responses based on the data you provide. Examples of knowledge bases include product documentation, pricing information, or product catalogs.

6.  Connect an [MCP server](https://hostman.com/docs/ai-agents/manage-agents/mcp-server/). You can also do it later in the agent settings.
7.  Fill in the agent information: a convenient name and a comment.
    
8.  Review all selected parameters, check the service cost, and click **Create**.
    

Deployment will take a few minutes. After that, you can start working with the agent.
