borg · the coding agent

The AI coding agent
that runs in your terminal.

borg reads your codebase, writes the change, runs your tests, and fixes its own mistakes. An open alternative to Copilot, Cursor and Claude Code, on models we fine-tune ourselves. Start free, no card.

curl -fsSL https://turborg.com/install.sh | sh
macOS & Linux · runs as borg or turborg · open source on GitHub
borg ~/checkout
$ borg "fix the failing checkout test" · bash go test ./internal/checkout/... · read_file internal/checkout/total.go · edit_file internal/checkout/total.go · bash go test ./internal/checkout/... ok internal/checkout 0.21s Fixed an off-by-one in the tax rounding. Test is green.
borg ~/api
$ borg "add a /health endpoint that returns JSON status" · grep "func .*Router" · write_file internal/api/health.go · edit_file internal/api/router.go · bash go build ./... Added GET /health returning {"status":"ok"} and wired it into the router.
borg ~/auth
$ borg "why does login take ~2s?" · grep "func Login" · read_file internal/auth/login.go · read_file internal/auth/hash.go The bcrypt cost is 14 (~1.6s per hash). Dropping to 12 gives ~0.2s and is still safe.

a real borg session · reads · edits · runs · verifies

Why borg

An alternative to Copilot, Cursor and Claude Code.

The IDE assistants are great at finishing your line. borg does the whole job: it takes a task and works your repo end to end, in the terminal, on AI you are not locked into.

terminal

Terminal-native, no IDE lock-in

borg runs where you already work: your shell, over SSH, in CI. One command drives a full agent that reads, edits, runs and verifies. No editor extension to babysit.

private

Your code stays yours

It works against your repo and sends only what a step needs. We do not train our models on your code, and you can run it on your own machine or your own shell.

open

Open models, pricing you can see

borg runs on open-weight models we fine-tune ourselves, billed by tokens, not per seat. Cheap enough to include in every plan, with no lock-in to a single vendor.

How borg works

One command. The full agent loop.

  1. 01

    Reads

    Greps the tree, opens the files that matter and builds real context before it changes a line.

  2. 02

    Edits

    Writes the change across as many files as it takes: new files, refactors, fixes, in your actual repo.

  3. 03

    Runs

    Runs your real commands: tests, builds, linters, git. The same ones you run by hand.

  4. 04

    Verifies

    Reads the output, catches its own mistakes and keeps going until the work is actually done.

What you get

A coding agent that does real work.

multi-file

Multi-file changes

Not autocomplete. borg plans a change, edits every file it touches and keeps the repo consistent as it goes.

toolchain

Runs your real toolchain

Tests, builds, linters, formatters, git, package managers. If it runs in your shell, borg can run it and read the result.

self-check

A self-checking loop

It does not stop at a guess. borg reads command output, retries on failure and only reports back when the task passes.

any-stack

Any language, any repo

Go, Python, TypeScript, Rust, whatever you ship. borg works at the shell, so it is not tied to one ecosystem or editor.

skills

Skills and MCP

Teach borg repeatable skills and connect MCP tools, so it fits the way your team already builds instead of the other way around.

ssh

Runs on your shell

Install it on your laptop, or run it on an xShellz shell over SSH so the same always-on agent is there from any machine.

Open models

borg runs on models we fine-tune ourselves.

We build on the best open-weight models (DeepSeek, Gemma), fine-tune them on our own data, quantize them to run lean and wrap them in an agent harness. We do not pretrain from scratch, and we are honest about it. The payoff is yours: AI that is fast, cheap enough to include in every plan, and not locked to a single vendor.

Inside our AI research →
  • open weights
  • fine-tune
  • own dataset
  • quantize
  • distill
  • agent harness
  • evals
  • fast inference
The always-on sibling

Want the same AI in your channels?

turborg keeps the same AI online around the clock as a bouncer: it holds your connection and adds polish, summaries and agents across IRC and more. One account covers both.

Explore turborg →
FAQ

Frequently asked questions

Can't find your answer? Ask support →

What is borg?

borg is an AI coding agent that runs in your terminal. You give it a task in plain language and it reads your codebase, makes the change across as many files as needed, runs your tests and commands, and checks its own work before reporting back. It is the agent, not an autocomplete plugin.

How is borg different from Copilot, Cursor or Claude Code?

Copilot and Cursor live inside an editor and shine at inline suggestions. borg is a terminal-native agent in the same family as Claude Code: it drives your real toolchain end to end. The differences that matter for us are that borg runs on open models we fine-tune ourselves, bills by tokens you can see instead of per seat, and does not train on your code.

How does borg relate to turborg?

Same AI, different surface. borg is the coding agent in your terminal; turborg is the always-on bouncer that keeps the same AI working across IRC and more. One account covers both.

Does my code leave my machine?

borg only sends the context a step actually needs to the model, and we do not train on your code. You can install it locally, or run it on an xShellz shell you control. Either way the repo stays yours.

Put borg on your next task, free.

No card, no seat fee. Install it or sign up and run a real job in minutes.