* docs: expand public user and contributor guides * docs: address public guide review feedback * docs: align web e2e coverage guidance * test: cover collapsed docs references * fix: validate shortcut docs references * fix: parse balanced docs links * fix: handle indented docs code blocks
5.6 KiB
title, description
| title | description |
|---|---|
| Get Started | Install Kandev, connect a repository, run a first agent task, and review the result. |
Get Started with Kandev
Kandev coordinates coding-agent work around real repositories, branches, tasks, and review state. The fastest useful setup is one local repository, one agent profile, and the built-in Kanban workflow.
Prerequisites
- Git and access to the repository you want to use.
- Credentials for at least one supported coding agent. The agent CLI must be installed or installable by the command shown in Settings > Agents.
- Node.js/npm only when using the npm or
npxdistribution. The desktop and Homebrew bundles include the Kandev runtime. - Docker only when you choose a Docker executor.
Install and start
Choose one channel:
# macOS or Linux with Homebrew
brew install kdlbs/kandev/kandev
kandev
# One-off latest npm release
npx kandev@latest
# Global npm install
npm install -g kandev@latest
kandev
Kandev starts its backend, serves the web UI, and opens it in your browser. By default, persistent data lives under ~/.kandev; the exact paths and startup options are in the CLI reference.
The desktop app is another local entry point. For an always-on or remote installation, see Run as a service, Docker, or Remote environments.
Complete the initial setup
- Open Settings > Workspaces and create or select a workspace. A workspace owns repositories, workflows, integrations, labels, and task history.
- Under the workspace, add a repository by local path or remote URL. Confirm the default branch and authentication before starting work.
- Open Settings > Agents. Select an installed agent and create or inspect a profile. Choose its model, mode, CLI flags, environment variables, passthrough behavior, and permission policy deliberately.
- Open Settings > Executors. For the first run, use a worktree profile when you want branch isolation or a local profile when you explicitly want the agent to work in the selected checkout.
- Keep the built-in Kanban workflow for the first task. Use Workflow tips after the basic loop is familiar.
Run a first task
- Select New task from the board or command panel.
- Give the task a concrete outcome and enough acceptance criteria to review it.
- Select the repository and base branch. Kandev creates or uses the execution workspace required by the selected executor.
- Select a workflow, agent profile, executor, and executor profile. The dialog remembers compatible recent choices, but review them when changing repositories or trust boundaries.
- Create and start the task. Workflow events can move it to the running step and launch the agent automatically.
- Follow the session in the integrated workbench. Inspect chat, terminal commands, files, and the live Changes panel rather than relying only on the final message.
- Review the diff. Add line, plan, pull-request, or walkthrough feedback to the next prompt when changes are needed.
- Run the repository's tests, create or inspect commits, and open the pull request from the task when the result is ready.
- Move the task through its review gate and archive it only after the branch and pull request state are understood.
Choose the right workflow
- Kanban is the shortest run-review loop.
- Plan & Build pauses after a structured plan so a human can edit or approve the approach before implementation.
- Feature Dev separates planning, implementation, review, QA, PR creation, and CI repair into focused steps.
- PR Review gives an existing branch or pull request a dedicated review pass.
- Architecture produces a design without implying that implementation is complete.
Workflow steps can select different agent profiles and prompts. See Tasks and workflows for the operating model and Workflow import/export for portable definitions.
Credentials and trust
Kandev does not make an agent safer than the permissions of its process. An agent can use the files, network, credentials, environment variables, MCP tools, and approval policy exposed by its selected profiles and executor.
- Prefer scoped tokens and secret references over plaintext environment values.
- Treat Auto approve and permission-skipping CLI flags as trust-boundary changes, not convenience toggles.
- A local executor inherits more of the host environment than an isolated container or remote sandbox.
- A worktree isolates Git changes from other Kandev tasks, but it is not an operating-system security boundary.
- Review prepare and cleanup scripts before sharing an executor profile with a team.
See Agents and profiles, Executors, and Configuration before operating Kandev on shared infrastructure.
If the first task does not start
Check these in order:
- Settings > System > Status for backend, database, filesystem, and runtime health.
- The agent profile's install/login status and model selection.
- Repository access by running
git fetchwith the same user or remote credentials. - Executor-profile prerequisites such as Docker, SSH connectivity, a Sprites token, image availability, or prepare-script success.
- The session and system logs under Settings > System > Logs.
- Disk usage under system settings; worktrees, repositories, sessions, and backups all consume the Kandev data directory.
The operations guide covers backups, updates, logs, resource metrics, and recovery in more detail.