Documentation Index
Fetch the complete documentation index at: https://docs.xpertai.cn/llms.txt
Use this file to discover all available pages before exploring further.
Let users ask the assistant to plan before it acts.
When to Use Plan Mode
Plan Mode fits tasks such as:- reviewing a codebase before implementation
- planning a multi-step workflow
- asking for options before choosing a path
- confirming risky or irreversible operations
- producing an execution checklist before acting
User Experience
Users can enable Plan Mode from the composer+ menu. ChatKit shows a compact Plan indicator above the composer while it is active.
Users can also type slash commands:
/plan toggles Plan Mode. /plan <prompt> submits the prompt with Plan Mode enabled for that request.
Request Behavior
When Plan Mode is active, ChatKit addsplanMode: true to the submitted user input and to state.human. The backend workflow can use that flag to ask the model for a plan, route to a planning node, or require an approval step before execution.
Programmatic sends can use the same flag:
Product Guidance
Use Plan Mode as a user-controlled affordance, not as a replacement for backend safety rules. The assistant should still follow the workflow and policy constraints configured for the Xpert. Good Plan Mode responses are usually:- scoped to the user’s exact request
- explicit about assumptions and unknowns
- ordered by the steps the assistant would take
- clear about what requires user confirmation
- short enough to be reviewed quickly
/plan.