Reference: CLI commands

Reference

CLI commands

Every cesar command, grouped by task. cesar help prints the same list in the terminal.

For every command

  • An id can be shortened to its first characters: 1a2b3c4d, or fewer when that is enough to tell conversations apart.
  • Flags go before or after the id.
  • A workspace is named by its name or its slug. personal is your own.

Set up a computer

cesar login
Sign in with GitHub in the browser, then type your passphrase. Starts syncing every conversation on the computer, then offers to turn auto-sync on. --no-browser prints the sign-in address instead (the default over SSH), --device NAME names this computer, --beta-code CODE gives the beta code at the first login.
cesar install
Turn auto-sync on: add the hook to each coding agent on the computer, so every turn is synced when it ends, and give them Cesar's MCP server. cesar login offers it; run it yourself if you said no, when you add a coding agent, or if you move the binary.
cesar uninstall
Remove the hook and the MCP server. Your other hooks and servers are left as they were.
cesar status
This computer: your login, your key fingerprint, whether auto-sync is on, what a sync is doing right now, what waits to be pushed, what failed and why.
cesar logout
Forget this computer's login and key, and delete the brain pages and the search copy kept here.
cesar version
Print the version. cesar --version does the same.

Your conversations

cesar list
The conversations on the server, who is working on each, and how this computer stands. --local lists the ones on this computer instead.
cesar pull <id> [--into DIR]
Fetch a conversation and make it resumable in DIR (the current folder by default). --force replaces this computer's changes, keeping a backup, and takes the conversation over if someone else is working on it.
cesar show <id> [--last N]
Print a conversation, from any agent. --last N prints only its last N turns.
cesar push [id...]
Push conversations now. The hook does it after every turn, so this is for a conversation you untracked or released.
cesar sync
Push every conversation on this computer that changed, then bring the brain up to date.
cesar untrack <id>
Never sync this conversation from this computer again. The file here and the copy on the server both stay.
cesar delete <id>
Remove a conversation from the server. Asks first; --yes skips the question. For its owner or an admin of its workspace.

Working with a team

cesar workspace
Your workspaces, who is in each, and who waits for the key.
cesar workspace create NAME
A team workspace you own.
cesar workspace invite WS EMAIL
Invite someone. If they already use Cesar, the key goes with the invitation and they read as soon as they join; otherwise your computers hand it to them after they join. --admin invites them as an admin.
cesar workspace join [WS]
Accept an invitation. Without WS, lists your invitations.
cesar workspace approve WS EMAIL
Hand the key by hand to a member who still waits for it. Prints their key fingerprint to compare.
cesar workspace remove WS EMAIL
Take someone out, and change the workspace's key.
cesar workspace leave WS
Take yourself out.
cesar workspace promote WS EMAIL
Owners only: make a member an admin. --owner makes them an owner.
cesar workspace demote WS EMAIL
Owners only: one step down, owner to admin, admin to member.
cesar workspace transfer WS EMAIL
Owners only: make them an owner, then step down to admin yourself.
cesar workspace rename WS NAME
A new name for everyone. The slug stays.
cesar workspace delete WS
Owners only: delete a team workspace that holds no conversation.
cesar move <id> <workspace>
Put a conversation in a workspace, for everyone in it. cesar move <id> personal takes it back to you alone.
cesar handoff <id> --to EMAIL
Push your last turn and let go, for someone in its workspace to continue.
cesar release <id>
Push your last turn and let go, without naming anyone.
cesar take <id> [--into DIR]
Get a conversation to work on. If someone has it, ask them, wait, then pull.
cesar give [<id>]
Without an id: who asks for your conversations. With one: push your last turn and hand it over. --to EMAIL chooses among several people, --decline says no.
cesar watch <id>
Follow a conversation live: each new turn appears as whoever works on it pushes it.

The team's brain

cesar check [--plan TEXT]
What the brain knows that bears on a plan, before acting on it. Without --plan the plan is read from standard input. --workspace NAME chooses the workspace.
cesar ask "<question>"
An answer from the pages, with receipts. --workspace NAME chooses the workspace.
cesar brain sync
Pull the blocks of your team workspaces and fold the new ones into their pages, now.
cesar brain status
What is being folded right now, and for each team workspace: the blocks and pages on this computer, the last fold, how many blocks are still to fold, which failed and why, and where the folder is.
cesar brain block <id>
Write or refresh a conversation's block with your own coding agent.
cesar brain note --kind KIND "<heading>" "<text>"
Push a claim you write yourself, as a block you sign. KIND is fact, decision, lesson or question. --rule makes it a rule, --supersedes names the claim it replaces, --workspace NAME is required when you are in several team workspaces.
cesar brain lint
Fold every block again from scratch and report where your pages cite other receipts. --apply keeps the rebuild. Costs one run of your agent per block.
cesar mcp
The MCP server your coding agents start by themselves. Not meant to be run by hand.

Settings

Environment variables, for the few things that are not a flag.

CESAR_SYNC_ALL=false
Sync only the conversations you push or pull. Read at login and install, then remembered on the computer.
CESAR_AGENT_MODEL
The model Cesar asks your claude for when it writes a block, folds, checks or answers, for example opus. Unset, your own default.
CESAR_BLOCK_EVERY=1h
How long a conversation that goes on waits between two refreshes of its block. 15m by default.
CESAR_KEYSTORE=file
Keep the master key in ~/.cesar/key instead of the system keychain.
CESAR_HOME
Where Cesar's own files live. ~/.cesar by default.
CESAR_BETA_CODE
The beta code, in place of --beta-code.