# orca-agent

> orca-agent is an open-source agent for coding. Terminal coding agent built around DeepSeek models, running locally from one binary. It is available on macOS, Linux, Windows, CLI, API and Self-hosted.

- **Kind:** Agent
- **Pricing:** Open source
- **Platforms:** macOS, Linux, Windows, CLI, API, Self-hosted
- **Website:** https://orcaagent.dev
- **Repository:** https://github.com/echovic/orca-agent
- **GitHub stars:** 520
- **License:** MIT
- **Categories:** [coding](https://ai-powered.com/categories/coding-agents)
- **Listing updated:** 2026-12-01

## About

Orca runs in your terminal and works through coding tasks end to end: it reads the repository, edits files, runs shell commands, and can check its own work against a test command before stopping. It is written in Rust and ships as a single local binary, with native builds for macOS, Linux and Windows.

The agent is tuned for DeepSeek models. It uses a 1M-token context window with automatic compaction once usage passes 80 percent, keeps the prompt prefix stable so DeepSeek's prefix cache stays effective across turns, and sets reasoning effort to max by default. Sessions are stored as local JSONL transcripts that can be resumed or forked, and a rewind command can restore files and conversation to an earlier turn.

It suits developers who want an agent in the terminal rather than a chat window, and teams that want headless runs in scripts or CI with structured event output. Edits and shell commands are gated by approval modes and sandbox profiles, so reads can run freely while writes and commands follow the policy you set.

## Features

- **DeepSeek-tuned reasoning:** Uses DeepSeek reasoning and tool-use behaviour directly, with streaming and prefix-cache-friendly prompt construction.
- **Persistent goal mode:** Keeps a long-running objective across restarts and continues automatically after each successful turn until it is completed or blocked.
- **Approval and sandbox policy:** Separates read actions from writes, shell, network and agent actions, each governed by an approval mode and sandbox profile.
- **Resumable local sessions:** Saves transcripts locally, with resume, fork and rewind commands that can restore files and conversation to an earlier turn.
- **Verifier gating:** Runs a chosen command such as a test suite after a headless run and reports pass or fail through the exit code.
- **MCP server support:** Adds stdio or HTTP MCP servers whose tools appear in the same approval-aware registry as built-in tools.

## Good for

- Fixing failing tests by tracing the failure, editing files and rerunning the test command
- Carrying out long refactors that need more than one agent turn to finish
- Running headless coding tasks in scripts or CI with JSONL output for audit trails
- Reviewing and summarising an unfamiliar codebase from the terminal
- Running release checks that combine command execution and release notes

## FAQ

### Does Orca Agent only work with DeepSeek?

It is tuned for DeepSeek V4 and gives its best results there, but the config can point at an OpenAI-compatible endpoint.

### Will my session history be lost?

No. Sessions are stored as local JSONL transcripts under ~/.orca/sessions/ and can be resumed with --resume or forked with --fork.

### Can I keep control over edits and shell commands?

Yes. Approval modes and sandbox profiles decide which actions run automatically and which need confirmation.

### Which platforms does orca-agent support?

Native binaries are available for macOS, Linux and Windows on arm64 and x64, plus an npm package that wraps the binary.

### Can orca-agent use MCP tools?

Yes. Add stdio or HTTP MCP servers with orca mcp, and their tools are gated by the same approval rules as built-in tools.

### Is orca-agent free?

Yes. orca-agent is open source, so you can use and self-host it for free.

### What are the best alternatives to orca-agent?

The closest alternatives to orca-agent are octomind, Codewhale, agenc-core, code-assistant and keen-code.

## Where this comes from

- Description: written from the project's README and the project's website.

## Alternatives

- [octomind](https://ai-powered.com/agents/octomind): octomind is an open-source agent for developer tools.
- [Codewhale](https://ai-powered.com/agents/codewhale): Codewhale is an open-source agent for coding.
- [agenc-core](https://ai-powered.com/agents/agenc-core): agenc-core is an open-source agent for coding.
- [code-assistant](https://ai-powered.com/agents/code-assistant-2): code-assistant is an open-source agent for coding.
- [keen-code](https://ai-powered.com/agents/keen-code): keen-code is an open-source agent for coding.
- [opencode](https://ai-powered.com/agents/opencode-2): opencode is a freemium open-source agent for coding.
- [agent-orchestrator](https://ai-powered.com/agents/agent-orchestrator): agent-orchestrator is an open-source agent for coding.
- [Agav](https://ai-powered.com/agents/agav): Agav is an open-source agent for coding.

---
Source: https://ai-powered.com/agents/orca-agent
