- Classic agents — a single LLM call with tools. Best for focused Q&A.
- Agentic agents — a multi-step reasoning pipeline (FSM-based) that clarifies, plans, generates SQL, executes, and interprets results. Best for open-ended exploration. (Build an agentic agent →)
_routing agent, it becomes the default entry
point for chat questions and routes to other agents based on the
question. (Routing agents →)
What an agent contains
- A model to call (e.g.
openai-4.1). - System instructions that tell the LLM how to behave.
- Context files (schemas, sample SQL, semantic models) injected into the prompt.
- Tools like
execute_sqlthat let the agent take action. - Optional variables with JSON-Schema validation, used to template the system instructions.
You can also write this in YAML
Every agent is stored as a.agent.yml file in your workspace. If you
prefer to edit YAML directly:
my-agent.agent.yml