Categories:
Create and configure an agent
Guidelines for the configuration of ATRIA by use cases constructors when developing an experience by means of an agent
Introduction
An agent is a configuration entity in ATRIA that represents an integration point for external channels, services, or platforms.
Agents are referenced by applications to enable channel or service connectivity within the platform.
Guidelines to configure an agent
1. Create a new agent
-
Build the agent for your use case (json file), using the available agent fields.
-
When the agent json file is generated, execute this command to include it:
curl --location --request POST 'https://svc-<env>.auracognitive.com/aura-services/v2/configuration/agents/' \ --header 'Content-Type: application/json' \ --header 'Accept: application/json' \ --header 'Authorization: APIKEY XXX' \ --data-raw '<NEW AGENT JSON>'
1.1. Modify/update an agent
If once created, certain modifications are required, follow these instructions:
-
Make the required changes in the agent json file using the available agent fields.
-
When the agent is modified, execute this command to update it:
curl --location --request PUT 'https://svc-<env>.auracognitive.com/aura-services/v2/configuration/agents/<agentID>' \ --header 'Content-Type: application/json' \ --header 'Authorization: APIKEY XXX' \ --data '<AGENT JSON WITH MODIFICATIONS>'
1.2. Delete an agent
-
Execute the following command:
curl --location --request DELETE 'https://svc-<env>.auracognitive.com/aura-services/v2/configuration/agents/<agentId>' \ --header 'Accept: application/json' \ --header 'Authorization: APIKEY XXX'
2. Include the agent in the application
If the application for your use case does not exist, first create it following the guidelines for the configuration of an application.
Once the application is created, assign the created agent in the field agents.
If you update or delete an agent, ensure that any application referencing it is also updated accordingly.
Remember that agents must exist to be inserted in an application.
Example to update the list of agents in an application:
curl --location --request PATCH 'https://svc-<env>.auracognitive.com/aura-services/v1/applications/<applicationId>' \
--header 'Accept: application/json' \
--header 'Authorization: APIKEY XXX' \
--data '{
"id": "<applicationId>",
"agents": [
"<agentId1>",
"<agentId2>"
]
}'
Agent fields
The fields for the characterization of an agent are summarized below, as defined in the API swagger Aura Configuration ATRIA Agents:
| Field | Type | Mandatory | Description |
|---|---|---|---|
id |
string | Yes | Unique identifier (UUID) for the agent. |
name |
string | Yes | Name that uniquely identifies the agent in Aura. |
description |
string | No | Description of the agent. |
communication |
object | Yes | Parameters for the configuration of the communication flow. See communication configuration. |
agentBase |
object | No | Configuration of the agent base |
deploymentName |
string | No | Name of the deployment where the agent is running. If the endpoint field is not present in communication, this field will be used to compose the endpoint field to the agent. Both fields are incompatible. |
metadata |
object | No | Document metadata (version, createdAt, updatedAt, etc). See metadata. |
Communication configuration (communication)
| Field | Type | Mandatory | Description |
|---|---|---|---|
communicationType |
string | Yes | Type of communication. Only http is currently supported. |
endpoint |
string | No | HTTP endpoint where the agent listens. |
headers |
object | No | HTTP headers associated with the agent. |
timeout |
number | No | Timeout for agent communication. |
retries |
number | No | Number of retries for communication. |
Agent base (agentBase)
| Field | Type | Mandatory | Description |
|---|---|---|---|
name |
string | Yes | The name that identifies the agent base univocally in Aura. |
configuration |
object | No | The configuration of the agent flow. |
Metadata (metadata)
| Field | Type | Mandatory | Description |
|---|---|---|---|
version |
string | No | Configuration version when the document was created. |
createdAt |
string | No | Creation date (ISO 8601). |
updatedAt |
string | No | Last update date (ISO 8601). |
Example: Minimal agent configuration
{
"id": "b1e2c3d4-5678-1234-9abc-def012345678",
"name": "example-agent",
"communication": {
"communicationType": "http",
"endpoint": "https://agent.example.com/webhook"
}
}
Example: Full agent configuration
{
"id": "1870fa4a-bcc4-4a7c-88fc-c0194555a076",
"name": "device-recommender-agent",
"communication": {
"communicationType": "http",
},
"deploymentName": "mongo-device-recommender-agent",
"description": "An AI agent built with langgraph that provides personalized recommendations about devices by querying and analyzing data stored in a MongoDB database.",
"agentBase": {
"name": "device-recommender-agent",
"configuration": {
"conversational_agent": {
"conversational_prompt": "Adopt the role of Aura",
"model_params": {
"temperature": 0.1
},
"model_str": "model_gw/gpt-4o-mini"
},
"mongo_agent": {
"database_name": "mongo-recommender",
"limit_query_result": 10,
"model_params": {
"temperature": 0.1
},
"model_str": "model_gw/gpt-4o-mini",
}
},
},
"metadata": {
"createdAt": "2025-07-11T09:54:33.973Z",
"updatedAt": "2025-07-11T09:54:33.973Z",
"version": "10.3.0"
}
}
Note:
- The
id,name, andcommunicationfields are mandatory.- The
communicationTypemust behttp.- If an agent is deleted, applications referencing it will be updated.