# RaptorCode > RaptorCode is an open-source (MIT OR Apache-2.0), Rust-native coding agent for the terminal. It runs on your machine with your own DeepSeek API key: an interactive REPL, a live four-agent swarm (frontend, backend, test and security agents, each in its own git worktree), headless runs for scripts and CI, and a deny-by-default tool policy. Agent work stays uncommitted until you review, test and merge it. ## Get started - [Introduction](https://raptorcode.dev/docs/index.md): RaptorCode is an open-source coding agent for the terminal. It runs four specialist agents in parallel, each in its own git worktree, on your machine and with your own DeepSeek key. - [Installation](https://raptorcode.dev/docs/installation.md): Install RaptorCode from a prebuilt package for Linux, macOS or Windows, or build it from source with Cargo. - [Quickstart](https://raptorcode.dev/docs/quickstart.md): Install RaptorCode, connect your DeepSeek key and run your first four-agent swarm, then review and keep its work. - [DeepSeek setup](https://raptorcode.dev/docs/deepseek.md): Connect your DeepSeek API key, choose between V4 Pro and V4.1 Flash, and set thinking effort. ## Using RaptorCode - [Interactive REPL](https://raptorcode.dev/docs/repl.md): How the raptor REPL starts, asks for consent, routes each request to the swarm or a single agent, and what you can control with slash commands. - [The live swarm](https://raptorcode.dev/docs/swarm.md): How RaptorCode runs four specialist agents in parallel, each in its own git worktree, behind a live dashboard, and what you get when the run ends. - [Review and merge](https://raptorcode.dev/docs/review-and-merge.md): Inspect, test and keep agent work. Review and diff every worktree, run the tests, then merge what you accept with git or with a supervised merge. - [Headless runs and CI](https://raptorcode.dev/docs/headless.md): Run one agent without a terminal UI with raptor run, for scripts and CI. Progress goes to stderr, the answer to stdout, and failures exit non-zero. - [Tasks and planning](https://raptorcode.dev/docs/tasks.md): Single-task worktrees with a supervised merge, and the planning and proposal commands that ask DeepSeek for plans without executing anything. ## Safety - [Safety model](https://raptorcode.dev/docs/security.md): How RaptorCode keeps you in charge of what its agents execute and what reaches your branches, and where those limits end. - [Privacy and data flow](https://raptorcode.dev/docs/privacy.md): What RaptorCode sends, to whom, and what it keeps on your machine. No telemetry and no RaptorCode server. ## Project - [Architecture](https://raptorcode.dev/docs/architecture.md): How RaptorCode is built. A local Rust program with one agent loop, one tool policy, git worktrees for isolation and the DeepSeek API as its only service. - [Releases and verification](https://raptorcode.dev/docs/releases.md): How RaptorCode versions are released, what each release contains, and how to verify a download before you install it. - [Contributing](https://raptorcode.dev/docs/contributing.md): Set up a development build, run the same checks as CI, and send a pull request that lands cleanly. ## Reference - [Commands](https://raptorcode.dev/docs/reference/commands.md): Every raptor command with its arguments, what it does and whether it calls a model. - [REPL commands](https://raptorcode.dev/docs/reference/repl-commands.md): The slash commands available inside the raptor REPL, and what each one changes. - [Agent tools](https://raptorcode.dev/docs/reference/agent-tools.md): The ten tools an agent can call, what each one does, its limits, and how the tool policy treats it. - [Configuration](https://raptorcode.dev/docs/reference/configuration.md): Environment variables, files and project instructions that change how RaptorCode behaves, and where it keeps its state. - [Models and the DeepSeek API](https://raptorcode.dev/docs/reference/models.md): The DeepSeek models RaptorCode supports, the request settings it sends, and how it handles finish reasons, errors, retries and the context window. - [Troubleshooting](https://raptorcode.dev/docs/reference/troubleshooting.md): Fixes for the problems people hit most often, from API keys and balances to swarms that won't start and builds that macOS or Windows block. ## Optional - [Source code](https://github.com/RaptorLabsHQ/raptorcode): the RaptorCode repository - [Changelog](https://github.com/RaptorLabsHQ/raptorcode/blob/main/CHANGELOG.md): every release - [Full documentation](https://raptorcode.dev/llms-full.txt): all pages in one file