Local repository work
Search, read, edit, and verify files without moving code through a separate chat window. Orca runs against the same checkout you already trust, so diffs land in your working tree and your editor sees them immediately.
Orca Agent is a local terminal coding agent for developers who want code edits, shell commands, verifier runs, persistent goals, and resumable history in one terminal-first orca agent workflow.
Why it fits
Search, read, edit, and verify files without moving code through a separate chat window. Orca runs against the same checkout you already trust, so diffs land in your working tree and your editor sees them immediately.
Reads can move quickly, while edits, shell commands, network calls, MCP tools, and subagents follow policy. Each tool declares its capabilities, and the approval mode decides whether a call runs directly, asks once, or stays blocked.
Persistent goals and resumable JSONL history help long refactors continue across turns and restarts. A goal survives the process exiting and auto-continues after successful turns until it is explicitly audited complete or blocked.
Pair a change with a verifier command such as npm test or cargo check. Orca runs the verifier after edits and only treats the turn as done when the check passes, so regressions surface inside the same loop.
Before touching files, ask Orca to investigate read-only and write a plan. Plan mode produces a structured proposal with steps, risks, and verification commands, and waits for your approval before execution begins.
Every message, tool call, approval, and verifier result is appended to a local JSONL transcript under ~/.orca/sessions/. Resume, fork, and search the history without sending it to a third-party service.
How it works
Run orca inside any repository. Orca inherits your working directory, your git state, and your environment, so the first thing it sees is the same code you see. There is no upload step and no separate workspace to keep in sync.
Orca uses built-in glob, grep, and read_file tools to locate the relevant files. Because reads are fast and low-risk, they run without approval by default, letting the agent build context before it proposes a single change.
Edits go through a capability-checked edit or write_file tool. The approval panel shows the exact diff before it is applied, and the change lands in your working tree so your editor, linter, and tests see it at once.
Shell commands execute under a sandbox that defaults to the workspace. Linux hosts prefer bubblewrap and fall back to Landlock plus seccomp; macOS uses Seatbelt. Network and write access outside trusted folders requires explicit approval.
Attach a verifier to the turn with --verifier or inline in the prompt. Orca runs it after each edit and reports the result; a failing verifier keeps the turn open so the agent can fix the regression instead of handing you a broken patch.
When a session is interrupted, orca --resume reloads the JSONL transcript and restores the plan, goal, and tool state. Long refactors and multi-step migrations do not have to start over because the terminal closed.
When to reach for it
Point Orca at the failure: it reads the stack trace, greps for the function, reproduces the issue locally, applies a fix, and reruns the test until it passes. The transcript keeps the reproduction command and the diff together.
Large renames and API migrations are where a persistent goal pays off. Orca tracks the remaining call sites, applies edits in batches, and verifies the build after each batch so a mistake is caught before it spreads.
Ask Orca to explain a module, trace a request from route to database, or summarize how a feature is wired. It searches the real code instead of guessing, and cites file paths you can open yourself.
From a branch, Orca can stage the right files, write a commit message, run the test suite, and summarize the change for review. Pair it with the GitHub workflow to extend the loop into issues and release checks.
Dependency bumps, changelog updates, and formatting passes become one prompt with a verifier. Because the transcript is local, you can audit exactly what changed and reuse the pattern the next time.
Orca can run a long-lived shell session, stream its output, and react to it. For flaky tests or interactive CLIs, the agent keeps the process alive instead of re-running a one-shot command each turn.
FAQ
Yes. Orca is a single Rust binary you launch from any shell. It does not replace your terminal; it runs inside it and works against the current working directory.
Not by default. Edits, shell writes, and network calls go through an approval policy. You can allow a tool once, for the session, or keep it blocked, and the default mode keeps reads fast while gating writes.
The turn stays open. Orca sees the verifier output, proposes another fix, and reruns the check. It only reports success when the verifier passes, so you do not inherit a patch that breaks the build.
Orca runs locally and only contacts the model provider you configure. Transcripts, tool outputs, and file contents stay on your machine unless the model API needs them for a request.
Yes. Sessions are stored as JSONL under ~/.orca/sessions/. Use orca --resume to pick up where you left off, or --fork to branch a session and try an alternative approach.
Orca keeps the repository, the shell, and the transcript in one local process. There is no copy-paste between a chat window and your editor, and the full tool and approval model is available from the first prompt.
Keep exploring
See how Orca is tuned for DeepSeek V4, with max reasoning effort, prefix-cache friendly prompts, and 1M-context coding.
Extend the terminal loop into issue triage, pull-request prep, and verifier-gated release checks.
Connect external tool servers through the same spec-driven and approval-aware contracts as built-in tools.
Read the full guide on approval modes, sandbox profiles, plan mode, goals, and resumable sessions.
Follow weekly releases covering TUI, runtime, sandbox, and model-integration improvements.
Use npm or download the native binary for macOS, Linux, and Windows on arm64 and x64.