Get started
Quickstart
Install RaptorCode, connect your DeepSeek key and run your first four-agent swarm, then review and keep its work.
This guide takes you from nothing to a reviewed swarm run. It assumes a git repository to work in; any project with at least one commit will do.
Install RaptorCode
Install a package for your platform from the download page, or build from source:
cargo install --locked --git https://github.com/RaptorLabsHQ/raptorcode raptor-cliSee Installation for every option, checksums and the macOS and Windows steps.
Get a DeepSeek API key
Create a key at platform.deepseek.com/api_keys and add balance to the account. You can export it for the current shell:
export DEEPSEEK_API_KEY=sk-...Or skip this: on the first run, raptor asks for the key, checks it with DeepSeek’s free balance endpoint and saves it owner-only in ~/.raptor/.credentials. More in DeepSeek setup.
Check your environment
From inside your repository:
raptor doctorIt confirms the repository is detected and that git is available.
Open the REPL and grant consent
raptorAfter the startup screen and the key check, RaptorCode asks once per session:
⚡ Agentic Mode
Allow RaptorCode to execute shell commands and modify files?
Grants access to the full file system as your user.
Grant permission? [y/N]:Answer yes to let agents work. This grants access to your file system as your user; answering no gives you a chat-only session. Read the safety model before using it on code you don’t trust.
Describe what you want
Type a request, for example:
Add a /health endpoint, show its status on the page and cover it with tests.In a git repository, each request launches the live swarm: four agents work in parallel, each in its own worktree, on a dashboard that shows their steps and files. Answer confirmations with y or n, press 1–4 to focus an agent, and q or Esc to stop the run.
Review the results
When the run ends, the summary prints the task id. The changes are still uncommitted in the role worktrees:
raptor review <task-id> # changed files per role
raptor diff <task-id> backend-agent
raptor test <task-id> # runs the detected test command in every role worktreeKeep what you want
Commit inside a role’s worktree, then merge its branch from your checkout:
git -C .raptor/worktrees/<task-id>/backend-agent add -A
git -C .raptor/worktrees/<task-id>/backend-agent commit -m "Add the /health endpoint"
git merge raptor/<task-id>/backend-agentRepeat for each role you keep. Nothing reaches your branch until you do this.
#Try the other modes
raptor chat "Explain this project" # plain chat, no tools
raptor run "Fix the failing test in src/parser.rs" # one agent, headless
raptor run --yes --model deepseek-flash "Add a --json flag" # approve gray-zone actions, use Flash
raptor tui # read-only dashboard