Guidelines for use cases constructors
Scope: Comprehensive guidelines for the use of agents in an ATRIA experience
Use cases constructors
This is the multi-page printable view of this section. Click here to print.
Scope: Comprehensive guidelines for the use of agents in an ATRIA experience
Use cases constructors
Guidelines for the configuration of ATRIA by use cases constructors when developing an experience by means of an agent
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.
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>'
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>'
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'
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>"
]
}'
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)| 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. |
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)| 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). |
{
"id": "b1e2c3d4-5678-1234-9abc-def012345678",
"name": "example-agent",
"communication": {
"communicationType": "http",
"endpoint": "https://agent.example.com/webhook"
}
}
{
"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.
Guidelines for the configuration of ATRIA by use cases constructors when developing an experience by means of an agent
An agent-base is a configuration entity in ATRIA that represents an implementation code for an agent.
Agents base are referenced by agents to deploy the configuration of the agent.
Build the agent-base for your use case (json file), using the available agent base fields.
When the agent-base json file is generated, execute this command to include it:
curl --location --request POST 'https://svc-<env>.auracognitive.com/aura-services/v2/configuration/agents-base/' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'Authorization: APIKEY XXX' \
--data-raw '<NEW AGENT BASE JSON>'
If once created, certain modifications are required, follow these instructions:
Make the required changes in the agent-base json file using the available agent base fields.
When the agent-base is modified, execute this command to update it:
curl --location --request PUT 'https://svc-<env>.auracognitive.com/aura-services/v2/configuration/agents-base/<agentBaseId>' \
--header 'Content-Type: application/json' \
--header 'Authorization: APIKEY XXX' \
--data '<AGENT BASE JSON WITH MODIFICATIONS>'
Execute the following command:
curl --location --request DELETE 'https://svc-<env>.auracognitive.com/aura-services/v2/configuration/agents-base/<agentBaseId>' \
--header 'Accept: application/json' \
--header 'Authorization: APIKEY XXX'
Create the agents configuration, indicating de agentBase.name, as explained in the document guidelines for the configuration of an agent
The fields for the characterization of an agent-base are summarized below, as defined in the API swagger Aura Configuration ATRIA Agents Base:
| Field | Type | Mandatory | Description |
|---|---|---|---|
id |
string | Yes | Unique identifier (UUID) for the agent-base. |
name |
string | Yes | Name that uniquely identifies the agent-base. |
description |
string | No | Description of the agent-base. |
language |
string | Yes | Language type that the agent base is associated with. Currently, python. |
tags |
array | No | Tags that the agent base is associated with. |
version |
string | No | Version of the agent base. |
metadata |
object | No | Document metadata (version, createdAt, updatedAt, etc). See 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). |
{
"id": "cd2b534c-16c3-4d89-a87e-ec45d3939232",
"name": "agent-base-test",
"description": "An AI agent built with langgraph that provides personalized recommendations about devices by querying and analyzing data stored in a MongoDB database.",
"language": "python",
"version": "1.0.0"
}
Note:
- The
id,name, andlanguagefields are mandatory.- The
languagemust bepython.