# Creating your Agent

To create an AI Agent, start with a map that represents your use case. Create a new map or adapt an existing one as needed.

Navigate to the AI tab to create your AI Agents (ensure [CARTO AI](https://docs.carto.com/carto-user-manual/settings/carto-ai) is enabled in your organization). Click "Create AI Agent" to open the configuration dialog. Once you've provided at least the Use Case, you can begin testing your AI Agent.

<figure><img src="https://3029946802-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FybPdpmLltPkzGFvz7m8A%2Fuploads%2Fn1PK0lnijoX3isgEvQ57%2Fimage.png?alt=media&#x26;token=816aeb35-9509-40c9-8cc0-f705900b7a74" alt=""><figcaption></figcaption></figure>

{% hint style="success" %}
Use the [**Agent Config Assistant**](https://docs.carto.com/carto-user-manual/ai-agents/agent-config-assistant) to configure your Agent through conversation. Describe your goals, iterate on the configuration, and let the Assistant generate and refine the use case, instructions, model selection, tools, and more.
{% endhint %}

Creating an AI Agent is an iterative process - you'll refine the map, adjust the Agent configuration, publish, and maintain your Agent to ensure all components work as expected.

#### Important considerations

**Timeout limits**:

* Synchronous Workflows MCP and query sources tools: 1 minute.
* Geocoding tool: 3 minutes.
* CARTO AI Service API: 5 minutes.
* Use asynchronous tools to overcome synchronous limitations.

**Access considerations**:

* Maps with QuerySources-enabled AI Agents cannot be made public.
* Enable QuerySources to access `execute_query` and `add_source` tools.
* When adding Workflows MCP Tools, you can inspect results from workflows.
