Skip to main content

Agent Configuration

The Agent Configuration defines the core behavior, capabilities, and operational mode of an AI agent. It specifies which LLM model powers the agent and what business services are enabled.

Schema: AgentConfigurationSchema Source: src/core/service-configuration/agent-config.schema.ts


Attributes

AttributeTypeRequiredDefaultDescription
idstringUnique identifier for the agent configuration
namestringYesPersonal name for the agent (max 30 characters, e.g., 'Sarah', 'James')
descriptionstringNoDescription of the agent's purpose and capabilities
modelIdstringYesWIIL Platform model ID from the support registry
operationalModeenumNoAUTONOMOUSHow the agent operates. One of AUTONOMOUS, ASSISTED, or HYBRID.
capabilitiesarray<enum>No[]Platform services enabled for this agent. Values: APPOINTMENT_BOOKING, ORDER_MANAGEMENT, CUSTOMER_LOOKUP, PAYMENT_PROCESSING.
call_transfer_configarray<CallTransferConfig>No[]Call transfer rules for escalation
temperaturenumberNo0.7LLM temperature (0.0-2.0) for response variability
max_tokensnumberNo4096Maximum tokens in agent responses
metadataobjectNoAdditional custom metadata
createdAtnumberUnix timestamp when created
updatedAtnumberUnix timestamp when last updated

Example

{
"id": "agent_abc123",
"name": "Sarah",
"description": "Customer support agent for sales inquiries",
"modelId": "YUSI21217J1",
"operationalMode": "AUTONOMOUS",
"capabilities": ["APPOINTMENT_BOOKING", "CUSTOMER_LOOKUP"],
"call_transfer_config": [
{
"transfer_number": "+15551234567",
"transfer_type": "warm",
"transfer_conditions": ["speak to manager", "escalate"]
}
],
"temperature": 0.7,
"max_tokens": 4096,
"createdAt": 1709856000000,
"updatedAt": 1709856000000
}

Create / Update Schemas

SchemaDescriptionOmits
CreateAgentConfigurationSchemaFor creating agentsid, createdAt, updatedAt
UpdateAgentConfigurationSchemaFor partial updatesAll fields optional except id