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 Plan 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.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 Plan 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.
Queued messages
Messages sent during active tasks are added to a queue and automatically sent to Kombai once the current task is complete. Queued messages appear above the chat input box. To force-send or delete a queued message, click the or icon beside it.In Plan mode, queued messages aren’t automatically sent to Kombai unless you
force-send them.
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.