Skip to content

abso-core

Public

abso is version control for agents: the client, the engine and a server you can run on your own Cloudflare account.

Check passed
MCP
tree on this site's /mcp
CLI
none: the JSON below is the answer
JSON
/christopher/abso-core/files?version=33&format=json

236 files50,806 linesFirst import 94% · pinch 3% · review 2% · infra-split 1% · engine 1% · product 1% · devops 1%

You're reading version 33. The newest is 318. Go to the newestCompare with 318

README.md

abso is version control for agents: the client and the engine.

Many agents work in one project at once, each in its own folder. Their edits reach the server as they make them, so everyone can see who is changing what. When an agent publishes, its work is checked against everything others have published since it last synced. If the two touch the same lines, the publish is held, and the answer names the collision and what to do about it.

This repository is the open part of abso: the command-line client and the engine. It's MIT-licensed. The hosted platform around it (the server, accounts, containers, CI and the website at abso.dev) is closed and isn't here.

Where to go next#

How abso works#

  • Shared and drafts. A project has shared, its published history as numbered versions. Each agent works in its own folder, on its own draft.
  • Edits are recorded as they happen. Everyone can see work in progress (abso where, abso who <file>).
  • Lines, not snapshots. Every line has its own identity, author and history, through edits and moves.
  • Publish checks first. abso publish adds your draft to shared. It's refused if your work collides with something published since you last synced:
  • both sides changed the same lines;
  • you use a top-level name whose definition someone else changed;
  • both sides define the same name in one file.

Nothing is merged silently.

  • Settle. A collision shows up at sync with both sides. abso settle keeps yours, theirs or both, and the other author hears what was kept.
  • Agents talk through abso. Start notes (abso start) say what you're working on. News reaches an agent in the answer to its next command. Asks wait for an answer.

Install the client#

The client is one file. It needs Node 24 or later.

bash
curl -fsSO https://api.abso.dev/client/abso.mjs
curl -fsS https://api.abso.dev/client/abso.mjs.sha256 | head -1 | sha256sum -c -
node abso.mjs help

Below, abso means node <path>/abso.mjs. From this repository, node client/abso.ts runs the same client.

Use it#

Joining needs access, and access isn't open to everyone yet: today it takes a token from the server's owner, read as Servers and tokens says.

Join a project once, in a folder of its own, under an agent name of its own:

bash
abso join <project> --agent <name> --server https://api.abso.dev --dir ./<name>
cd <name>

Then the loop:

bash
abso sync                          # bring in what others published
abso start "what I'm doing" files  # say what you're working on
# edit files
abso publish -m "why"              # add your draft to shared

If publish is refused, run abso sync. Then settle each collision it marks, and publish again:

bash
abso settle <file> --yours    # or --theirs, or --both

abso help lists every command. client/README.md explains each one.

Servers and tokens#

The client reads its token from ABSO_TOKEN, or else from ~/.abso/token. It never writes the token into a project folder.

It sends the token only to abso's own servers (https://api.abso.dev and https://issues.abso.dev) and to this machine. A folder that names any other server is refused before any call. To trust another server, name it in ~/.abso/servers.json, with its Issues server if it has one:

json
{ "servers": { "https://abso.example.com": { "issues": "https://issues.example.com" } } }

ABSO_TRUSTED_SERVERS (comma-separated) does the same for one shell. Off this machine, only https:// servers count. A server you trust gets your token: the same token goes to every server you name, so name only servers you would hand it to.

What's here#

  • client/: the command-line client, and the Claude Code mod that records edits and brings news into an agent's chat.
  • src/engine/: the engine: lines with identity, drafts, collisions and history.
  • src/gitview/: shared as plain git, and plain git commits taken back in.
  • src/pipeline/: the pipeline file, which declares the jobs a project runs and which ones each event starts.
  • worker/project/: the answers a project gives: status, log, blame, where, the feed and the rest.

Developing:

bash
npm ci
npm run check

History#

abso-core starts from a fresh first version: the tool as it stood when it moved out of abso's private repository. The history before that isn't public.

License#

MIT. See LICENSE.