Alternatives · Copilot

Copilot finishes the line. Who finishes the task?

Copilot won the keystroke. The work moved to sessions: multi-file tasks, verification, and remembering last week. Alternatives sorted by the gap you are filling.

The short answer

The best GitHub Copilot alternative fills the specific gap you feel. Anvaya for agentic depth with memory: terminal + headless CI autonomy, 21 tools, subagents and swarm packs, and a compounding knowledge graph (2–4K packed tokens vs ~50K raw), local-first and offline.

Read the full answer

Cursor for IDE agency: Composer multi-file edits and background agents where Copilot's agent mode feels thin. Codex CLI for sandboxed autonomy on the OpenAI stack. Local stacks (Anvaya Ollama-first included) for private and offline work Copilot can't touch. The recommended posture is additive: keep Copilot's $10/mo ubiquity for completions, add the layer your workflow actually misses, most senior teams land on Copilot + one of the above, bridged by shared instruction files and MCP-served memory.

The session gap

Autocomplete forgets between keystrokes. This keeps what sessions taught.

Inline suggestions are stateless. A harness with a memory starts from what the last task settled.

anv · session replayillustrative
  1. add a --json flag to `ledger export`
  2. grep "export" src/: ok, 14 matches
  3. read_file src/main.rs: ok, 212 lines
  4. read_file src/cli/mod.rs: ok, 148 lines
  5. read_file src/export/csv.rs: ok, 96 lines
  6. Formats implement Render. Adding a Json renderer beside csv.
  7. rewrite_file src/export/json.rs: ok, +38
  8. edit_file src/cli/mod.rs: ok, +6
  9. run_command cargo test -p ledger: failed, E0432 unresolved import serde_json
  10. serde_json is optional in Cargo.toml, behind the json feature.
  11. run_command cargo test -p ledger --features json: ok, 42 passed
  12. done · 8 tool calls · 1 failed run
Illustrative transcript; each recalled weight uses its kind's shipped decay rate at the age shown.

The picks

Fill the gap you feel.

GapPickWhat changesKeep from Copilot
No memoryAnvayaSessions compound via graphCompletions everywhere
Thin agent modeCursor / AnvayaReal multi-file autonomyGitHub PR flow
No offlineAnvaya localFlights, VPNs, air-gapsOnline conveniences
Enterprise processCopilot (stay)SSO, audit, contractsEverything

The stack

Copilot + one.

Additive beats replacement at Copilot's price.

Keep completions$10/mo for every editor you own is the cheapest layer in the stack. Don't rebuild it.
Add memory onceOne Anvaya graph serves terminal, IDE, and CI, recorded anywhere, recalled everywhere via MCP.
Share the rulescopilot-instructions, AGENTS.md, CLAUDE.md: one conventions source, every agent honors it.

Questions

Asked about alternatives.

Should I replace Copilot or add to it?

Add. Copilot's $10/mo autocomplete-in-every-editor has no equal on price-ubiquity; its gaps are agentic depth, memory, and offline. Alternatives here fill gaps (Anvaya for autonomy + memory, Cursor for IDE agency, local stacks for privacy) while Copilot keeps completing lines.

What is the best private alternative to Copilot?

Anvaya: fully local loop (Ollama, on-disk graph, offline), zero code egress by default. Continue.dev + Ollama–style stacks also keep inference local for autocomplete; Anvaya adds the agentic + memory layers those lack.

What is the cheapest Copilot alternative?

Local-model stacks ($0 marginal on owned hardware) and Gemini CLI's free tier. Anvaya's local loop is $0 marginal too, with compression shrinking paid escalations 12–25x per node type (design estimate).

Do alternatives work with GitHub flow?

Yes: PRs, Actions, and reviews are git-level, not Copilot-exclusive. Anvaya's headless CI mode (exit codes 0/1/2, pipeable I/O) slots into the same pipelines; Copilot stays for in-editor summaries if you keep it.

Run agents that fit on your laptop.

23.4 MB median own-process memory, measured across 1030 runs (994 verified) and fourteen harnesses. One command installs the harness and the Mind together. Nothing leaves your machine on the Ollama path.

Developer beta. macOS on Apple Silicon and Linux on x86_64 or arm64. Memory figure: --no-mind, macOS/ARM, n=3 per cell. Pre-1.0, pricing not set.