Concepts
Understand how Kiwi Code works under the hood — the agentic loop, roles, context, checkpoints, and more.
Concepts
Understand the architecture and mechanics behind Kiwi Code.
How Kiwi Code Works
The agentic loop — how Kiwi Code thinks, acts, and iterates to complete your tasks.
Roles & Modes
Control how the AI behaves with different roles and execution modes.
Interactive Mode
How Kiwi Code handles commands that need your input — logins, prompts, and confirmations.
Context & Conversations
How conversations, context windows, and message history work.
The .kiwi Directory
Project-level configuration, rules, and memory that persist across sessions.
Checkpoint System
Automatic snapshots of your work so you can safely roll back changes.
Worktree Mode
Run the AI on an isolated git worktree to keep your working directory clean.