A forge for agents and people. Instant, realtime, and in sync with GitHub.
Lager is German for warehouse.
- A web interface with files, history, and pull requests, which updates open pages on every push. Nobody reloads.
- Standard Git over HTTPS and SSH, so every editor and every agent works with it.
- Two-way GitHub mirrors: a repository follows GitHub, and pushes here go there first. A team moves one repository at a time.
- Access tokens limited to some repositories, for agents; passkeys and sign-in with GitHub, for people.
- Per-ref rules, such as who may force-push
mainor delete a release branch. - No disk to lose: repositories live in S3, Cloudflare R2, or anything else that has conditional writes, and the servers in front are disposable.
Next: issues, Actions-compatible CI, and an SDK with which agents commit and open pull requests without a clone.
You need Rust, Bun, Docker, Git 2.45 or later, and the OpenSSL headers.
scripts/local.tsThis builds the server, starts storage, PostgreSQL, and NATS in Docker, and prints the addresses. Then:
git clone http://dev:dev-password@127.0.0.1:8080/dev/demo.gitThe web interface is at http://127.0.0.1:3000/ (sign in as dev /
dev-password). For something to look at, bun scripts/seed.ts adds
repositories with branches, tags, and pull requests in every state.
scripts/local.ts downremoves the containers and their data again.
- HOW_IT_WORKS.md: how many servers share one bucket without stepping on each other.
- ARCHITECTURE.md: the design, from the log format to recovery.
- docs/decisions/: why things are the way they are, one decision per file.
- deploy/README.md: running it for real.
- README.agents.md: the full reference for every command, environment variable, and endpoint. It is written for coding agents, and it is where to look things up.
FSL-1.1-ALv2. Use it, change it, and redistribute it for anything except a competing product or service. Each version becomes Apache 2.0 two years after its release.