Configure AiKA’s agent behavior to control how it processes queries, uses tools, and generates responses.Documentation Index
Fetch the complete documentation index at: https://backstage.spotify.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
Overview
AiKA’s agent can be configured through the Portal’s Plugins settings: Plugins → AiKA settings → aika → agent These settings control the agent’s reasoning behavior, tool usage limits, and response generation.Configuration Options
Temperature
Path:aika > agent > temperature
Controls randomness in the agent’s responses.
0: Deterministic, focused responses (recommended for most use cases)0.5: Balanced creativity and consistency1: Maximum creativity and variation
0Range:
0-1
Show Reasoning
Path:aika > agent > showReasoning
Display the agent’s internal reasoning/thinking process to users.
true: Shows thinking traces from reasoning models (e.g. GPT-5, Gemini-2.5-pro)false: Only shows final responses
false
Non-reasoning models ignore this setting.
Reasoning Effort
Path:aika > agent > reasoningEffort
Controls how much computational effort reasoning models invest in their thought process.
low: Faster responses with basic reasoningmedium: Balanced reasoning depth and speedhigh: Deeper reasoning but slower responses
low
Currently only applies to OpenAI reasoning models (gpt-5.1, gpt-5.2).
Priority Processing
Path:aika > agent > priorityProcessing
Enable priority processing for OpenAI API requests to get significantly lower and more consistent latency.
true: Enables priority tier (premium pricing)false: Standard processing tier
false
- Only applies to OpenAI models
- See OpenAI Priority Processing docs for pricing
Max Steps
Path:aika > agent > maxSteps
Limit the maximum number of steps (tool calls + reasoning iterations) the agent can take before stopping and providing a response.
Default: 10
Recommended values:
5: Simple queries, tight cost control10: Balanced for most use cases (recommended for production)20: Complex research and multi-step reasoningundefined: No limit (not recommended for production)
Why Use maxSteps?
Without a step limit, the agent could:- Make excessive tool calls, increasing API costs
- Take too long to respond to complex queries
- Get stuck in reasoning loops
maxSteps, the agent will:
- Stop after reaching the limit
- Ensure predictable response times and costs
Custom Instructions
Add custom instructions to guide the agent’s reasoning and response formatting.Reasoning Instructions
Path:aika > agent > reasoningInstructions
Guide how the agent thinks and makes decisions.
Example:
Answer Instructions
Path:aika > agent > answerInstructions
Guide how the agent formats and delivers responses.
Example:
Related Configuration
- AI Gateway Configuration - Configure AI providers and models
- Getting Started - Initial AiKA setup
- MCP in PortalServers - Configure MCP tools and third-party servers