docs/content/product/administration/ai/spaces-agents-models.mdx
Understanding the core concepts of Spaces, Agents, and Models in Cube.
Cube is an agentic analytics platform that combines AI agents with semantic data modeling to create intelligent, automated analytics experiences. This guide explains the three fundamental concepts that form the foundation of Cube: Spaces, Agents, and Models.
Agent Spaces are isolated environments where AI agents operate and share context, rules, and memories. Think of them as "workspaces" or "projects" that contain everything an agent needs to work effectively.
Agents are AI-powered assistants that can understand natural language, execute complex tasks, and interact with your data models. They're the "workers" that operate within spaces to help users achieve their analytics goals.
LLM Models (Large Language Models) are the AI engines that power the agents in Cube. They provide the natural language understanding, reasoning, and generation capabilities that make agents intelligent and conversational.
User: "Show me sales performance by region for Q4"
Agent:
1. Understands the request (sales, region, Q4)
2. Queries the semantic model for relevant data
3. Applies business rules from the space
4. Generates a chart or report
5. Stores the interaction in memory for future reference
Space (Sales Analytics)
├── Rules: "Revenue = quantity × price"
├── Memories: Past Q4 analyses
├── Agents:
│ ├── Sales Analyst Agent (Claude 3.5 Sonnet v2)
│ └── Report Builder Agent (GPT-4o)
└── LLM Models:
├── Claude 3.5 Sonnet v2 (Analytical reasoning)
├── Claude 3.7 Sonnet Thinking (Complex analysis)
└── GPT-4o (Code generation)