Kombai runs as an agent that generates and refactors code autonomously whenever no mode is selected.
Select a mode
- Click the + icon in the chat input box, or type
@in the input. - Under Modes, select the mode you want. It appears as a pill in the chat input, so you can always see which mode is active.
- Add your task to the chat input box.
- Press Enter or click the button to send it.
Design mode
Design is a specialized mode to generate beautiful UI designs. It comes with everything you need to manage the look and feel of your designs through a structured Design System covering colors, typography, spacing, and more. See the Design Mode overview for full details.Plan mode
Plan mode generates a detailed implementation roadmap before code generation begins. Use this mode for complex frontend tasks and high-level planning.Get started
- Click the + icon in the chat input box.
- Select Plan under Modes.
- Add your task to the chat input box.
- Press Enter or click the button to send the task.
- Answer any clarifying questions.
- Click Approve and Code to finalize the plan and start code generation.
Editable plan file
After reading your input and codebase, Kombai may ask clarifying questions. Based on your responses, it generates an editable plan containing sections like Design Plan, Technical Implementation, and To-dos. You can review and approve this plan to begin the code generation process. From the plan card in chat or the plan preview, click Copy to copy the plan’s markdown, or Save to save it, including any edits you’ve made, as a Markdown file. The save dialog opens in your project folder.Update the plan
- Through plan file edit
- Through follow-up instructions
- Click the icon in the top-right corner of the
plan.mdfile. - Click Edit to open the
plan.mdfile in markdown. - Make the required changes and save.
- Click Update Plan to regenerate the plan with your changes.
- Once the plan is updated, click Approve and Code (or Approve and Design) to start code generation.
Ask mode
Ask is a read-only mode for codebase exploration or asking frontend-specific questions.Debug mode
Debug is a specialized mode to detect and resolve complex frontend bugs. It provides a set of structured debugging strategies and automatically tracks any temporary debugging changes, so they can be reverted cleanly after the bug is fixed. Use Debug mode when a bug is hard to reproduce consistently, the root cause is unclear, multiple systems may be involved (e.g. API calls, state management, side effects, etc.), earlier fixes didn’t work, or you expect to introduce temporary changes to the codebase that must be cleaned up afterwards.How it works
- Plan: Kombai reads your input and scans the relevant parts of the codebase, then proposes a debugging plan.
- Execute: After you approve the plan, Kombai applies its specialized debugging strategies to identify the root cause.
- Track: Kombai records every change in a debug changelog file in the
.kombaifolder. - Verify: After implementing the fix, Kombai verifies the result using the browser tool or your feedback (for complex, reproducible bugs).
- Clean up: Kombai removes temporary debugging changes based on the debug changelog, leaving only the final fix.
Debugging strategies
Here are 11 debugging strategies that Kombai temporarily implements to diagnose the issue:Restore chats across modes
Chats in Kombai can be restored at certain stages. This functionality works in all supported modes. There are two ways to restore:Resend an existing input
Resend an existing input
You can also resend an existing input to Kombai to generate a new response.Follow the steps below to resend an input:
- Click on a previous input in the Kombai chat.
- Edit the input (optional).
- Press Enter and click Confirm in the Edit Message? dialog.
Answer clarifying questions
When Kombai needs more detail before it continues, it shows a Questions card above the chat input box. The card header shows how many questions you’ve answered, for example1/3 answered. Click the arrow beside it to jump to the next unanswered question.
- For each question, select an option. Some questions accept more than one option.
- If none of the options fit, type your own answer in the Other (Type your answer…) field.
- Click Send once every question has an answer, or click Skip to continue without answering.
Mode switch suggestions
If your task suits a different mode, Kombai suggests switching with a card that names the mode and explains why, for example Switch to Design mode. Click the switch button (for example, Switch to Design) to change the chat’s mode, or click Decline to stay in the current one. Kombai continues the task either way.Suggested next steps
After Kombai finishes a response, it may show a Suggested next steps card listing follow-up tasks, each tagged with the mode it runs in. Click a step to switch to that mode and add the step’s prompt to the chat input box. Review or edit the prompt, then send it.Response actions
The row under Kombai’s latest response holds these actions:- Like response and Dislike response: Rate the response. Disliking it opens a box where you can say what went wrong.
- Copy response: Copy the text of Kombai’s response.
- Context usage: A ring that shows how much of the model’s context window the chat uses. Hover over it to see the exact share, for example
~42% of 200K tokens. - More actions ():
Queued messages
What happens to a message you send while Kombai is working depends on the While the agent is working setting on the General tab of Settings:- Queue (default): The message waits until Kombai finishes, then goes out with any other queued messages.
- Steer: The message joins the task in progress, and Kombai reads it at its next step.
- Steer: Send the message into the task in progress instead of waiting for it to finish.
- Delete: Remove the message from the queue and put its text back in the chat input box.
Queued messages also wait while Kombai is waiting on you, for example to
approve a plan or answer questions.
Todos
Kombai’s underlying logic analyzes your input and the relevant codebase to determine task complexity. For medium and advanced tasks requiring multi-step execution, Kombai generates a Todo checklist in the chat stream to serve as a roadmap for the implementation process. As Kombai executes the task, it verifies completed steps and applies a strikethrough to each item. This ensures the Todo list accurately reflects the current implementation status and remains aligned with your requirements.Todos are only supported in the default agent and Debug mode.