explaingit

emotions-research/lunarfs

Analysis updated 2026-05-18

2RustAudience · developerComplexity · 4/5LicenseSetup · moderate

TLDR

A Rust filesystem tool that creates isolated, copy-on-write repository workspaces in milliseconds by storing content once and forking via a single hash reference.

Mindmap

mindmap
  root((LunarFS))
    What it does
      Instant workspace forks
      Lazy file hydration
      Content-addressed storage
    Use Cases
      Parallel AI agents
      Isolated dev environments
      Cross-machine sync
    Tech Stack
      Rust
      BLAKE3 hashing
      NFS mount
      MCP server
    Key Commands
      lunar ingest
      lunar ws fork
      lunar mount
      lunar diff
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Spin up dozens of isolated repository copies in milliseconds so multiple AI agents can work in parallel without interfering with each other.

USE CASE 2

Inspect exactly which files each agent changed and flag any files that two agents both modified.

USE CASE 3

Sync workspace changes automatically across two machines without running manual push commands.

What is it built with?

RustBLAKE3NFSMCP

How does it compare?

emotions-research/lunarfscallmealphabet/fastcpcodingstark-dev/decant
Stars222
LanguageRustRustRust
Setup difficultymoderateeasyeasy
Complexity4/51/53/5
Audiencedeveloperops devopsdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 5min

Installs via a curl script, requires the OS built-in NFS client (no extra driver on macOS/Linux).

Engine: modifications must be shared under AGPL-3.0. Client libraries: use freely for any purpose under Apache-2.0.

In plain English

LunarFS is a filesystem tool that lets you create isolated, disposable copies of a code repository in milliseconds rather than seconds. The core idea is that instead of physically copying every file when you want a new workspace, it copies only a single 32-byte identifier that represents the entire repository as a content-addressed snapshot. The actual files are then loaded on demand the first time each one is read. This approach makes it practical to run many separate workspaces over the same repository at the same time, which is especially useful when running multiple AI agents in parallel. Each agent gets its own isolated copy that starts almost instantly, each can make changes independently, and when you are done you can inspect exactly what each agent changed and whether any two agents modified the same file. A benchmarked example shows forking the Linux kernel taking 13 milliseconds with LunarFS compared to 7.4 seconds with the git worktree equivalent. The filesystem is built in Rust and uses BLAKE3, a cryptographic hashing algorithm, to identify and deduplicate every file blob. Mounting a workspace uses the operating system's built-in NFS client on macOS and Linux, so no additional drivers are required. An MCP server, which is a protocol some AI coding tools use to extend their capabilities, lets AI agents create and destroy workspaces, list what they have access to, and push revisions without leaving the agent interface. The tool also includes a sync feature that watches a directory and automatically pushes changes across machines without a manual step. A hosted service at lunarfs.com handles the server side for teams that do not want to run their own. The engine is licensed under AGPL-3.0, which means you can use it freely but must share modifications. The client libraries are licensed under Apache-2.0, which is more permissive.

Copy-paste prompts

Prompt 1
I want to run 10 AI coding agents in parallel on the same repository using LunarFS. Walk me through ingesting the repo and creating 10 isolated workspace forks.
Prompt 2
After running two agents on LunarFS forks, how do I use lunar diff to see what each one changed and identify any overlapping edits?
Prompt 3
How does the LunarFS MCP server work? Show me how to connect it to an MCP-compatible agent so it can create and destroy workspaces automatically.
Prompt 4
How does LunarFS sync workspaces across two machines? I want changes on my laptop to propagate to my desktop without a manual push.

Frequently asked questions

What is lunarfs?

A Rust filesystem tool that creates isolated, copy-on-write repository workspaces in milliseconds by storing content once and forking via a single hash reference.

What language is lunarfs written in?

Mainly Rust. The stack also includes Rust, BLAKE3, NFS.

What license does lunarfs use?

Engine: modifications must be shared under AGPL-3.0. Client libraries: use freely for any purpose under Apache-2.0.

How hard is lunarfs to set up?

Setup difficulty is rated moderate, with roughly 5min to a first successful run.

Who is lunarfs for?

Mainly developer.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Scan in gitsafehub Deploy in gitdeployhub emotions-research on gitmyhub

Verify against the repo before relying on details.