Agent configuration
Agent configuration lives in your Cube data model repository, alongside your cubes and views. Configuration is defined as YAML and Markdown files under anagents/ directory in your project:
Configure the agent
Place agent properties at the root ofagents/config.yml:
Properties
Rules and certified queries have their own dedicated pages:
- Rules — instructions that guide the agent’s behavior
- Certified queries — a library of trusted SQL examples for the agent
- Skills — reusable, named agent workflows users can run on demand from chat
LLM
The default value isauto — Cube picks a recommended model on your behalf and may change it as better models become available. Use auto unless you have a reason to pin a specific model.
To pin a specific model, set the llm property to one of the predefined models:
Anthropic Claude:
claude_3_5_sonnetv2claude_3_7_sonnetclaude_3_7_sonnet_thinkingclaude_4_sonnetclaude_4_5_sonnetclaude_4_5_haikuclaude_4_5_opusclaude_4_6_sonnetclaude_4_6_opusclaude_4_7_opus
gpt_4ogpt_4_1gpt_4_1_minigpt_5gpt_5_minigpt_5_3gpt_5_4o3o4_mini
Embedding models
Predefined embedding models for theembedding_llm property:
text-embedding-3-largetext-embedding-3-small
Runtime
Theruntime property controls how the agent processes requests:
Memory
Thememory_mode property controls how the agent persists context across conversations:
See Memories for details on how memories are stored and used.
Customize the agent
Rules
Define instructions that guide how the agent responds and analyzes data.
Certified queries
Provide a library of trusted SQL queries for the agent to reference.
Skills
Package reusable, named agent workflows that users can run on demand from chat.
Bring your own model
Configure the agent to use your own LLM provider or model.
Memories
Control how the agent persists context across conversations and users.