Scenarios are how you control assistant behavior in Akapulu. When you start a conversation, the scenario provides:Documentation Index
Fetch the complete documentation index at: https://docs.akapulu.com/llms.txt
Use this file to discover all available pages before exploring further.
- a global
role_instruction - node-specific
task_instructionprompts - tool access (transitions, HTTP tools, RAG, vision)
- flow logic for how the conversation moves between stages
Scenarios and conversation stages
A scenario lets you design the flow as a set of stages. At each stage, you can decide:- what the assistant should focus on
- how it should respond
- which tools it can use
Nodes
Akapulu implements these stages using nodes. A node contains stage instructions plus the tools the assistant can use in that stage. The model can move between nodes using transition tools.Choosing the LLM model
You can control which underlying LLM generates the bot’s responses for that scenario. In the node editor, open the Scenario Menu on the left, go to Settings, and choose LLM model. Akapulu supports the following OpenAI models. For official specifications and pricing, see OpenAI’s model documentation.| Model | Available on Free tier |
|---|---|
| GPT-4.1 nano | Yes |
| GPT-4.1 mini | Yes |
| GPT-4o mini | Yes |
| GPT-5.4 nano | Yes |
| GPT-5.4 mini | Yes |
| GPT-4.1 | No* |
| GPT-4o | No* |
| GPT-5.4 | No* |
Testing the scenario
Use the Testing Mode tab in the Scenario Menu to run an LLM-only, text-based simulation of the scenario in the editor. Test sessions do not count toward your plan’s voice or video minute allowance. For setup, limits, and behavior, see Testing Mode.Role and task instructions
Akapulu combines a global role instruction with each node’s task instruction to decide what the model should do at every stage. For how that context is assembled and how to write both fields, see Role and task instructions.Create scenario walkthrough
Create a simple node
- Go to the Scenarios page.
- Click New.
- Enter the scenario name.
- Open the Scenario Menu from the left side of the editor (hamburger icon) so the side panel opens. Stay on the Settings tab.
- Edit the global role instruction in the text area.
- Example:
You are an onboarding assistant for Akapulu. Keep responses concise because they will be converted to audio.
- Example:
- In the same Settings tab, open the LLM model dropdown and pick the desired llm model (we recommend leaving it as GPT-4.1 Mini)
- Click Add Node to create your first node.
- Enter a node name (for example,
Greeting). - Add a node task instruction.
- Example:
Greet the user, ask what they want to build, and keep your response concise.
- Example:
The first node you create is the default start node. Each scenario has exactly one start node.
Edit an existing scenario
Add another node
- Click Add Node.
- Enter a node name:
Planning Phase
- Add a task instruction:
Add tools and transitions
You can add tools directly to each node.Create the RAG tool
- Create a Knowledge Base.
- Back in the scenario editor, click + Add function at the bottom of the Planning Phase node.
- In the pop up modal, open the RAG Tool tab.
- Select your knowledge base, then create the RAG function with:
- Name:
Akapulu_RAG - Description:
Access information on the Akapulu platform
- Name:
Akapulu_RAG.
What this means for the bot: While the conversation is in Planning Phase, the model can invoke that function to pull retrieval-augmented context from your knowledge base. Its replies in that stage can lean on grounded snippets instead of guessing, which matches the node’s task instruction to use the Akapulu RAG tool when explaining the platform overview.
Create the transition tool
- In the scenario editor, click + Add function at the bottom of the Greeting node.
- In the pop up modal, open the Transition Tool tab.
- Create a transition function with:
- Name:
transition_to_planning_phase - Description:
Once you have gathered enough information on what the user wants to build with Akapulu, use this tool to transition to the planning phase
- Name:
- Drag the probe on the right side of
transition_to_planning_phaseto the Planning Phase node to set the transition target.
transition_to_planning_phase, and Akapulu switches the active node: Planning Phase task instructions are added to the llm context, and Akapulu_RAG becomes available so behavior shifts from discovery to informed planning overview.
Completed scenario example
You have now built a simple scenario. This scenario starts inGreeting, where the assistant asks open-ended questions about what the user wants to build with Akapulu. Once project scope is clear, it calls transition_to_planning_phase and moves into Planning Phase, where Akapulu_RAG is available to pull platform information and help shape the user’s plan.
If you want to view or edit this scenario as JSON, use the scenario editor toggle in the top-right corner to switch between visual mode and JSON mode.
The scenario editor has view mode and edit mode for each scenario. Starting from New opens edit mode by default, so you can add nodes, edit instructions, and configure tools immediately. Opening a scenario from the scenarios table opens view mode first. In view mode you can review the flow, but you cannot change the graph or tool wiring. Click Edit in the lower-left corner to switch to edit mode and make those changes.

