Before you start
- A Rasa project with MCP tools connected. If you don’t have one yet, follow the Developer Quickstart first.
- Your IDE open from the project root with
rasa-toolsshowing as connected.
Step 1: Explore your project
Understand what the agent already does before adding anything new.list_project_flow_definitions, list_project_slot_definitions, list_project_response_definitions
Step 2: Design the feature
Ask the copilot to look up how Rasa flows work, then design the feature based on your project’s current state.search_rasa_documentation, plus the introspection tools from step 1
Review the design before moving on. Adjust the slot names or edge cases if they don’t fit your project.
Step 3: Write tests first
Get the correct E2E test format from Rasa, then write tests before any implementation.get_e2e_schema
Step 4: Implement
Get the flow and domain schemas so the implementation is valid YAML from the start.get_flow_schema, get_domain_schema
Step 5: Validate and train
validate_project, train_rasa_assistant
This can take a minute or two. If training fails, the copilot should fix the issue and retry automatically.
Step 6: Talk to your agent
Start the Rasa server in a separate terminal:talk_to_assistant, get_assistant_logs
Step 7: Evaluate with simulation
Go beyond scripted tests — let an LLM simulate a real user and score whether your agent met its goals.eval/scenarios/, validate it, run the simulation, and return a pass/fail result with a link to the full transcript. Open the Inspector URL in the result file to step through the conversation turn by turn.
validate_scenario, evaluate_agent
What you just used
Tips for prompting
- One prompt per step. Don’t try to do everything at once.
- Validate before training. It catches errors in seconds instead of minutes.
- Ask for concise output. “Return only changed files and tool results” cuts the noise.
- Debug with logs. When a conversation doesn’t go as expected,
get_assistant_logsusually explains why. - Iterate. Add another edge case, a second feature, or connect a real API. Each round follows the same explore → design → test → implement → validate → train → evaluate cycle.
Next steps
- Rasa MCP Tools API Reference — full list of all 19 tools with parameters and sample prompts
- Rasa MCP Tools Setup — client configuration for Cursor, VS Code, Claude Code, and JetBrains
- Simulation and Evaluation — scenario YAML schema, assertion types, conftest configuration, and result file formats
- Flows — how Rasa flows work under the hood
- End-to-End Testing — writing and running E2E tests