Common Workflows
This page is the shortest path from “I installed KodaCode” to “I know which flow to use.”
Choose a path
Section titled “Choose a path”Use the workflow that matches your current job:
- First-time setup: install, connect a provider, choose a model, and create workspace instructions
- Daily coding session: open a repo, ask for implementation work, and inspect what happened
- Resume paused work: continue an existing workspace session instead of starting over
- Review a change: use a read-focused agent and inspect the turn trace before trusting the result
- Explore a repo safely: inspect architecture or answer questions without editing files
First-time setup
Section titled “First-time setup”Use this once per machine, then repeat only when you add providers or want to change defaults.
- Install KodaCode from Installation.
- Run
kodacodeinside the repository you want to work in. - Use
/connectto configure a provider. - Use
/modelto choose the model you want for turns. - Use
/initto create workspace instructions. - Ask for a small concrete task first, such as “summarize this repo” or “explain the build entrypoint.”
Why this order works:
/connectand/modelestablish a working route before you ask for real work/initgives the workspace an instruction file before longer sessions start accumulating assumptions- a small first task lets you verify tool access, approvals, and output quality without committing to a big change
Daily coding session
Section titled “Daily coding session”This is the normal implementation path when you already know the repo you want to work in.
cdinto the repository and runkodacode.- Pick the right agent with
Tab. - State the task in one sentence with the expected outcome.
- Let the runtime inspect files, call tools, and stop for approvals when required.
- Use
/traceto inspect one turn if you want to confirm what the agent actually did. - Use
/costif you want to check spend and token savings before continuing.
Good prompts for this flow:
- “Fix the failing search cache invalidation test and explain the root cause.”
- “Add a docs page for session resume behavior and link it from quick start.”
- “Review the current implementation and point out the highest-risk regression.”
Related pages:
Resume paused work
Section titled “Resume paused work”Use resume when the previous session already contains useful repo context, approvals, or partially completed work.
kodacode --resume "continue the refactor and keep the same constraints"Resume is better than starting fresh when:
- the earlier session already explored the codebase
- the runtime stopped at a permission prompt and you want to resolve that exact turn
- the existing trace or cost history still matters
Related pages:
Review a change
Section titled “Review a change”Use this flow when you want verification, risk assessment, or acceptance checks instead of direct implementation.
- Switch to the
revieweragent withTab. - Ask for a review, acceptance check, or regression pass.
- Read the findings first.
- Open
/traceif you want to verify which files and tools informed the review.
Good prompts for this flow:
- “Review the current branch for behavioural regressions.”
- “Check whether the new config loader has missing edge-case coverage.”
- “Validate the docs change against the current command surface.”
Related pages:
Explore a repo safely
Section titled “Explore a repo safely”Use this when you want analysis without file edits.
- Switch to
plannerfor read-only repository analysis. - Ask for architecture, ownership, or implementation planning.
- Follow links into the code or docs once you know the right area.
If web_search is configured, planner can also bring in external references
without switching to an execution-oriented agent.
Good prompts for this flow:
- “Map the runtime flow for workspace initialization.”
- “Explain how permissions are evaluated end to end.”
- “Plan the cleanest way to simplify this tool contract.”
Related pages:
When to leave this page
Section titled “When to leave this page”Once you know your flow, the next useful pages are usually:
- Quick Start for the first interactive session
- Project Memory & Instructions for durable repo guidance and saved project facts
- Budgets for hard spending guardrails
- Configuration for defaults and policy
- Slash Commands for the composer command surface