Skip to content
VaakyoDocs
Navigation
Open console →

Agents

LLM configuration

The LLM configuration selects the model that generates the agent's replies, handles tool calling, and manages conversation flow.

Fields

All fields live under llm in the agent configuration object.

FieldTypeDefaultAllowedDescription
providerstringgeminigemini, bedrock, openai, azure_openai, anthropic, openrouter, deepseekThe LLM provider identifier enabled for your workspace.
modelstringgemini-3.5-flash-liteA model ID offered for that provider (see the LLM tab in the console)The model identifier used for conversation replies, call analysis, and hang-up evaluations.
temperaturenumber0.40.0 to 2.0Sampling temperature. Lower values are more deterministic; higher values allow more variation.
max_tokensinteger30016 to 4096Maximum output tokens generated per turn.
{
  "llm": {
    "provider": "gemini",
    "model": "gemini-3.5-flash-lite",
    "temperature": 0.4,
    "max_tokens": 300
  }
}

Model families and engines

EngineIdentifierDefault modelNotes
Platform Standardgeminigemini-3.5-flash-liteDefault low-latency voice model. Fast time-to-first-token.
Enterprise Novabedrockus.amazon.nova-lite-v1:0Inference profiles with native tool-calling support.
Core Conversationalopenaigpt-4.1-miniGeneral conversational and reasoning models.
Private Dedicatedazure_openaigpt-4.1-miniEnterprise dedicated deployments. The model field specifies your deployment name.
High Precisionanthropicclaude-haiku-4-5High-fidelity conversational flow models.
Extended Gatewayopenrouteropenai/gpt-4.1-miniGateway engine supporting models with tool-calling capabilities.
Standard Voicedeepseekdeepseek-chatStandard low-latency conversation model.

Choosing a model

The LLM tab in the console lists the models available to your workspace for each provider, with the default marked. Use those IDs in llm.model when you create or update an agent through the API.

For live voice conversations, low latency is critical. Smaller, lightweight models generally answer significantly faster. Monitor first_audio_ms on your call timelines to evaluate response latency.

Turn execution

  • Streaming: Responses are streamed chunk by chunk. As soon as the first sentence boundary is reached, text is synthesized to speech while the rest of the reply generates.
  • Tool execution: The model has access to configured tools, end_call, and search_knowledge_base (when knowledge bases are attached).
  • History tracking: Conversation context reflects the spoken turns. If a caller interrupts, previous turns reflect only the portions spoken before interruption.
  • Reasoning models: Models supporting adjustable reasoning effort are configured with minimal reasoning effort to prioritize low initial speech latency.
  • Failures: Temporary upstream errors or rate limits are retried automatically. Repeated consecutive generation failures terminate the call cleanly with hangup_by: "error".

Recommendations

  • Keep max_tokens between 200 and 400 for concise, phone-friendly dialogue.
  • Use temperature between 0.2 and 0.5 for consistent procedural adherence.
Esc