Workflow Configuration
In Flametree, conversations are managed through a state-based workflow. This means that each conversation progresses through one or more states, where the agent follows defined instructions and gains access to specific tools. The Workflow section defines how the AI agent manages conversation flow.
How Workflow Differs from Other Configuration Areas
Workflow works together with Identity, Speech Style, and Task — but each area answers a different question and should not overlap with the others.
| Configuration Area | Defines | Purpose |
|---|---|---|
| Identity | Who the agent is | Identity establishes role, expertise, and the organization the agent represents |
| Speech Style and Language | How the agent communicates | Speech Style defines tone, formality, supported languages, and language-switching behavior |
| Task | What the agent must achieve | Task defines objectives and operational boundaries |
| Workflow | How the conversation flows | Workflow controls states, transitions, decisions per state, and tool usage |
Workflow Components
The workflow is composed in the YAML format. The main components of the workflow are:
| Concept | Description |
|---|---|
| State | A phase of conversation (for example, greeting or information gathering) |
| Initial State | Starting point of the interaction |
| Available Tools | Actions the agent can perform. More on tools |
| Process | Business scenario this workflow covers |
For a detailed description and practical tips on configuring the workflow, refer to the Workflow section.