Versioned workspaces for humans and AI agents.
atelier answers "what is a workspace in the age of agents": a named, versioned body of work content — code, spreadsheets, contracts, docs — with its own history, journal, profile, and policy, served to humans and agents through the same contracts.
- Everything is versioned. No unversioned state; every edit becomes a snapshot. Jujutsu's model is the engine, git is the boundary — every workspace is a real git repo you can clone, pull, and push.
- Documents diff like code. One diff library, a fidelity ladder (binary → projected text → rich), and format support shipped as packages. First package: docx → markdown.
- Actions are recorded. History records content states; the journal records acts and intent — who, in which session, on whose instruction, with what approval.
- Agents are first-class. Sessions, working copies, leases, landing, and a manifest, exposed over MCP and the
atelierCLI.
Status: pre-alpha, under active design.
curl -fsSL https://atelier-ws.dev/install.sh | sh # prebuilt binary (mac/linux)The script installs to ~/.cargo/bin and puts it on PATH for sh, bash, zsh,
and fish (~/.profile, ~/.zshrc, fish's conf.d); open a new shell after
the first install. Any other shell: add ~/.cargo/bin to PATH.
Or with a Rust toolchain: cargo install atelier-ws (from crates.io) or
cargo install --git https://github.com/bipa-app/atelier atelier-ws (from main).
Each installs the atelier binary.
Update a script install any time with atelier update (it runs the bundled
updater the installer places beside the binary); re-running the install
script does the same. Cargo installs update with cargo install atelier-ws.
Build the atelier binary (the toolchain is pinned in rust-toolchain.toml):
git clone https://github.com/bipa-app/atelier
cargo install --path atelier/crates/cliTell atelier who you are, then work in a fresh directory. Every atelier command snapshots outstanding edits first — there is no save step:
mkdir -p ~/.config/atelier
cat > ~/.config/atelier/config.toml <<'EOF'
[actor]
name = "you"
kind = "human"
EOF
mkdir demo && cd demo
atelier init
echo "atelier keeps every edit" > notes.txt
atelier journal
echo "no save button, no lost work" >> notes.txt
atelier diffThe journal names who did what and when; the diff reads at the highest fidelity the format allows — a changed .docx prints a markdown line diff, never "binary files differ".
To publish verified commits, add your git identity and signing key — you stay the committer and signer of everything atelier writes, while agents keep authoring as themselves:
[git]
name = "Your Name"
email = "you@example.com" # the email your git host verifies
[git.signing]
backend = "ssh" # or "gpg" with a key id
key = "~/.ssh/id_ed25519"From there:
atelier watch— external edits (Finder, any editor) become attributed snapshots within seconds.atelier attach <folder>— bind an existing folder as the workspace's source; local Git sources report their HEAD and dirty state, then refuse dirty content unless you pass--allow-dirty.atelier session open --summary "…" --actor-name "coding-agent" --actor-kind agent— print a long-lived session id and working-copy path while persisting the acting identity; edit there with normal tools, inspect withatelier session diff <id>, thenatelier land <id>oratelier session abandon <id>.atelier serve --mcp-stdio— serve the workspace to agents over MCP: sessions, diffs, gated landing, journal.atelier sessions/atelier requests/atelier approve <id>— review and land an agent's change.
Attach a local Git source at a named mount. Atelier copies its history into that mount; after a session lands, publish from the mount. The original clone stays unchanged.
For a source on branch main, mounted at app:
atelier attach /path/to/source --mount app
# Open a session, edit its working copy, and land it.
git -C app remote -v
git -C app push origin refs/heads/main:refs/heads/mainUse your remote name or URL in place of origin, and the branch checked out
at attachment in place of main. A source attached with detached HEAD uses
refs/heads/atelier. Landing leaves the mount's HEAD detached, so pass the
full refspec shown above. atelier sync app names the mount and ref to
publish; it mirrors folder sources only.
Linked Git worktrees and submodule checkouts do not own their .git
directory and cannot attach directly. First clone the worktree's committed
HEAD into a standalone source:
git clone --no-local --single-branch -- /path/to/card-worktree /tmp/card-source
atelier attach /tmp/card-source --mount appThis keeps the worktree's branch and committed content. Commit any edits you
want to carry over before cloning. --no-local copies the objects without
depending on the original repository's object store; avoid --shared.
The clone's origin points at the worktree. To publish elsewhere, set the
remote in the mount to the intended URL with
git -C app remote set-url origin <url>, then publish from the mount.
Everything the CLI does, the atelier-sdk crate does directly:
[dependencies]
atelier-sdk = "0.5"With the actor configured as above, a workspace, a session, one write, and a landing through the gate:
use atelier_sdk::{GateOutcome, Instruction, Workspace};
fn main() -> Result<(), Box<dyn std::error::Error>> {
let mut workspace = Workspace::init("demo")?;
let actor = workspace.actor().clone();
let session = workspace.open_session(
&actor,
&Instruction {
summary: "draft the notes".to_owned(),
run_ref: None,
verbatim: None,
},
)?;
workspace.session_write(session.id, "notes.md", "The first note.\n")?;
let outcome = workspace.land(session.id)?;
assert!(matches!(outcome, GateOutcome::Landed { .. }));
Ok(())
}Under atelier-sdk sit three crates you can use alone:
atelier-sdk-diff (the diff model and fidelity ladder),
atelier-sdk-docx (Word documents projected to markdown and diffed),
and atelier-sdk-remote (bucket-backed sources over object_store).
CI runs the same gates you run locally: cargo fmt --check, cargo clippy --workspace --all-targets -- -D warnings, cargo test --workspace. Start with CONTRIBUTING.md — including how to ship support for a new document format as its own package.
Read next: CONTEXT.md (the domain glossary), docs/adr/ (decisions), and plans/ (PRD and current plan).
License: Apache-2.0