Open source · Apache 2.0 · v0.2.2

Every tool’s folders are just a view.

Use any tools you like and let each one organise your files the way it works best. C4 names every file by what is in it, using a SMPTE standard, so the C4 ID stays the same whatever a file is called and wherever it is filed, and every tool’s organisation of the same files stays connected. The operator is C4’s farm: render, CI, training and Claude Code agents on those files, on the Kubernetes you already have or on a laptop. You retain control of your data, whatever tools you use.

A seven-minute narrated tour of the HUD, from a laptop running agents to a studio’s render farm to generative AI video in ComfyUI.

C4 IDs have been public since 2015 and are standardized as SMPTE ST 2114. The operator is the third generation of the system C4 IDs were made for: a cloud production queue in 2011, a Kubernetes system in 2017, and now this. The code is on GitHub.

Many companies, one set of files

A film or a series is made by many companies at once, with hundreds of tools touching the same shots, and each organises the work its own way. When a system takes in files by name and files them into its own structure, the link to every other system’s organisation of those files is gone, so one system has to become the place everyone works, and switching away from it is hard. C4 is not designed to be a single place, or tool.

One show, five views.
Editorial sorts by reel and scene, the VFX vendor by shot, the colourist by deliverable, the archive by date, and the farm by job. Each view is a text file naming the same files by C4 ID, so the files themselves are stored once, however many views name them.
Switch views with one command.
c4 patch vendor.c4m ./work/ makes your folder match the vendor’s layout. Files already there are moved, not copied, files the view does not list leave the folder, and it prints the command that puts it all back.
Renamed, still recognised.
A vendor hands back your plate as sh010_bg01_v001.1001.exr, and C4 knows it is your frame, because the bytes are the same.
Anyone can add a tool.
A tool is a folder with a tool.yaml, a script and a test. c4 farm tool publish tests it on the farm and offers it to a project, so a vendor’s renderer kit or a studio’s own step runs beside the built-in ones, on the same files.
Your tracker stays yours.
c4-sync (experimental) keeps Flow Production Tracking, Kitsu, GitHub, Linear or MLflow in step with the farm. Work comes in from the tracker, its states and outputs go back with their C4 IDs, and approvals stay with the person who approves, in the tracker.

Your agents today, and the same agents on C4

You run five or six Claude Code agents, each in its own terminal.

Five terminals, five transcripts. Nobody can say what all your agents are doing right now, what each will do next, or when any of it lands.
The whole fleet on one screen, the way a wrangler sees a render farm: every job, the work it has left, what it waits on, what runs next, and when each lands. The farm keeps a plan of the work ahead, like a render queue’s graph of dependencies, and shows you where it is on it.
One agent stops at 2 a.m. to ask whether to keep the old API, and waits in a terminal nobody is watching.
A question only you can answer is one item under Needs you, with the time to answer by. A question another agent can answer goes to that agent, and the answer comes back on the record.
The laptop restarts. You find each session and resume it by hand.
Add a session to the farm (c4 farm agents add) and every turn is checkpointed. A session stops at the end of a turn and resumes from it, with its whole context.
On battery, two agents want the machine at once, and whichever started first keeps it.
When there is less room than agents, the farm pauses the work that can wait at the end of a turn and keeps the rest running. Hold or boost any job by hand at any time, and give a job a deadline when you want the farm to say early whether it will make it.
To know what any of them did, you read their transcripts, and it all ran under your login.
Every control an agent gives the farm is recorded as that agent acting for you, and the farm signs the record.
The HUD at level 3 on a developer's laptop: three of three slots in use and every deadline holding; under Needs you, nothing; under The farm is handling, the laptop capped at three of six agents for the night, with release and research paused at the end of a turn while push and bisect keep running, and one agent's question answered by another; then the run order, push and bisect working and release and research waiting, push, bisect and release with their deadlines and slack, research with none
Sunday 00:31 07:31 UTC on a developer’s laptop running six agents on a web app and its API. The laptop is capped at three agents for the night, so the farm paused release and research at the end of a turn, and push, due at 10:00, and bisect, due at 14:59, keep running. One agent’s question went to another agent and was answered. Nothing needs the developer, and every deadline holds.

A checkout is a view, too

Give 32 agents their own git worktree of Kubernetes and git writes the working tree out 32 times. In C4 a commit is a c4m, a text file that lists its files by C4 ID, so a checkout can be a view of the same stored files, and what changes in it comes back as a list of changes against that commit, as render and CI jobs on the farm already do.

32 agent workspaces of Kubernetes (31,651 files) on a Linux host. Shorter is better.

Time to make them

git worktrees 53 s
copy-on-write clones of a checkout 36 s
C4 views, the farm’s mount path 0.04 s + once per commit: 1.1 s to build the view, 2.5 s to prime its git index

Disk added

git worktrees 12.6 GB
copy-on-write clones of a checkout 0.76 GB
C4 views, the farm’s mount path 0.07 MB + once per commit: 13.5 MB for the shared view
Measured on AWS i4i.xlarge instances (4 vCPU, 31 GB), one per run, Ubuntu 24.04, each on its own NVMe drive formatted XFS with reflink, 2026-11-03. git worktrees: git worktree add per workspace from one clone, not counting the clone. Copy-on-write clones: cp -a --reflink=always of a whole checkout, .git included. C4 views: one overlay mount per workspace over the commit’s shared view, as the farm’s node daemon mounts it, each a full repository that commits on its own. Times are for making the 32 one at a time; in parallel, git took 30 s with 3 of the 32 adds failing, and the clones 24 s. Disk is the filesystem’s used space before and after; the store’s own copy, and the time to store it, aren’t counted, as git’s clone isn’t.
Every CI shard checks out the commit again, and so does the next commit.
On the farm, each pod mounts the commit’s view. A warm mount takes 2 ms, and the next commit arrives as a delta: 16 ms for a three-file change, across 16 CI shards of a sample monorepo.

A copy-on-write clone still costs time for every file, which is why 32 clones of Kubernetes take 24 to 36 seconds; a view’s mount costs nothing per file. Today render and CI jobs on the farm get their files as a mounted view. Agents still work in a git worktree today; these are the measurements for giving them views instead.

It grows with you

The same queue and the same HUD are built for a studio’s render farm of thousands of machines, because it is the same problem: work that should run on its own, and people who should hear only about what needs them.

A farm monitor lists every failed task. A rack loses power and every frame on it becomes its own red row; the cloud takes back spot machines and it happens again. Someone reads that wall at night.
One item per cause, with the count. Work the farm recovered is reported as handled, under The farm is handling, not under Needs you. What does need a person comes with its cause and its steps, not a log to read.
Tonight’s delivery falls behind, and the first anyone hears of it is when it is late.
Each job carries what it has left and, if you give it one, when it is due. A job that will be late is flagged while there is still time, with what would save it: hold what can wait, boost it, move the deadline, or rent capacity at a price stated before it is spent.
The HUD at level 1 for a wrangler on a farm of four machine rooms: 798 jobs working or waiting; under Needs you, Nothing needs you; under The farm is handling, three items: the cloud took back spot machines in two regions and twelve machines in Vancouver stopped reporting, each with the number of units moved; then the jobs most at risk
Thursday 22:00 05:00 UTC in Vancouver, on a farm of four machine rooms on four continents: 798 jobs on 13,872 slots. The cloud has just taken back spot machines in two regions and a rack went dark, 100 units of work interrupted. A monitor that lists every interrupted task shows 100 rows. Here it is three lines, nothing needs the wrangler, and the jobs most at risk of missing their deadlines are listed with their projections.

Six questions, six screens

The HUD answers one question at a time, from a single line to the whole facility. Each person starts at their own; nothing is locked.

The HUD answering: What is running, and when will it be done?
0 What is running, and when will it be done?
The HUD answering: What is inside a job?
1 What is inside a job?
The HUD answering: Will it make its deadline, and what can I do?
2 Will it make its deadline, and what can I do?
The HUD answering: How does work flow from job to job?
3 How does work flow from job to job?
The HUD answering: What capacity is there, and how much is in use?
4 What capacity is there, and how much is in use?
The HUD answering: Where did this come from, and who did it?
5 Where did this come from, and who did it?

Get started

Install, then see the Claude Code sessions already on your machine. This step needs no farm and no Docker.

brew install mrjoshuak/tap/c4
c4 farm agents

One line per session, and which one needs you. c4 farm up then builds a farm on your laptop in Docker (Docker Desktop, OrbStack or Colima, with 6 GB of memory and 4 CPUs) and opens its HUD, signed in; the first time, it asks before connecting Claude Code. c4 farm samples get downloads sample shots, and c4 farm submit renders one. The quickstart walks through it; install covers a studio’s own Kubernetes, and architecture explains how the farm is put together.

Questions, bugs and ideas go to the issue tracker, or to c4dev@avalanche.io. Releases are on the releases page.