Installation
Install Astranize from its source code on macOS or Windows, open the desktop app, and set up the CLI for scripts and your agent's CLI.
Astranize runs from a checkout of its source code. You install the dependencies once and start the desktop app with one command, which also builds everything the app needs. It takes a few minutes, and nothing is installed system-wide. The CLI comes in the same checkout, for when you want to drive Astranize from scripts.
What you need
Section titled “What you need”You need Node, pnpm, git and a Rust toolchain to install and open the app. The other tools are only needed once agents start working: the CLI of the agent you run for the agent steps (today, claude, which is Claude Code), and Playwright only if you turn on the optional video add-on.
| Tool | Why | Notes |
|---|---|---|
| Node.js 22 or newer | Runs the engine, the CLI and the daemon. | Node 20 fails. With nvm: nvm use 22. |
| pnpm 10 | Installs the monorepo. | The repo pins pnpm@10.30.2 in packageManager. |
| git | Every task gets a git worktree and a branch per repo. | On Windows, Git for Windows also gives you Git Bash, the default shell for commands. |
| A Rust toolchain | Builds the Tauri desktop app. | Plus the usual Tauri system prerequisites. |
The CLI of the agent you run, logged in. Today, claude (Claude Code) |
The only runner that ships today. Every agent step runs claude -p. A Codex runner is next. |
Needed only for real runs. Install and log in to Claude Code as usual. |
| Playwright in the app repo | Only for the optional video add-on. The video step runs npx playwright test in the repo named by video.playwright_repo. |
That repo needs @playwright/test (or playwright) installed and a Chromium browser downloaded, for example with npx playwright install chromium. |
Astranize runs on macOS and Windows. Linux is not supported yet.
Install and open the app
Section titled “Install and open the app”-
Go to your checkout of the Astranize repository and switch to Node 22. These docs assume it lives in
~/code/astranize.Terminal window cd ~/code/astranizenvm use 22 -
Install the dependencies.
Terminal window pnpm install -
Start the desktop app.
pnpm devbuilds the engine, then builds and opens the app in development mode. The first run compiles the Rust side, so it takes a while.Terminal window pnpm dev
The first time, there is no workspace yet, so the app opens on the New workspace wizard, titled “Welcome to Astranize”. It creates your first workspace in six steps, with no YAML; Your first workspace walks through them. Once a workspace exists, the app opens on its Tasks board. Tour of the app shows what each screen looks like once tasks are running.
Run only one copy of the app at a time. Extra runs leave target/debug/Astranize processes that fight each other. Closing the app does not stop running tasks: they keep going in the background and show up again when you open it.
Open another workspace
Section titled “Open another workspace”Once you have several workspaces, switch between them with the workspace menu at the top left of the app. To open the app straight on one, set ASTRANIZE_WORKSPACE:
ASTRANIZE_WORKSPACE=notes pnpm devThese environment variables change what the app opens:
| Variable | Default | Effect |
|---|---|---|
ASTRANIZE_WORKSPACE |
default |
The workspace the app opens. Lowercase letters, digits and dashes. |
ASTRANIZE_HOME |
~/.astranize |
The data folder. The app only reads files inside it. |
ASTRANIZE_NODE |
node |
The Node binary the app uses to run the CLI. Set it when the app can’t see your nvm Node. |
Set up the CLI
Section titled “Set up the CLI”The app is all you need for everyday work. The CLI is for scripts and automation: creating tasks from another tool, following events in a terminal, or running Astranize on a machine you reach over SSH. It is the same program the app drives, so whatever you do in one shows up in the other.
-
Build the engine.
pnpm devalready did this; build again whenever you pull new changes and want to use the CLI without the app.Terminal window pnpm turbo build --filter @astranize/engine -
Run your first command. There is no global binary yet, so you call the CLI’s entry point with Node.
Terminal window node packages/engine/bin/astranize.mjs settings --workspace default{"type":"settings","language":"en"}If you see that line, the CLI works.
-
Add an alias, so you can type
astranizelike the rest of these docs do. Put it in your shell profile to keep it.Terminal window alias astranize="node ~/code/astranize/packages/engine/bin/astranize.mjs"
A few things about the CLI are worth knowing from the start. It has no --help. Every command prints one JSON object per line, and an error comes out as {"type":"error","message":"..."} with exit code 1. Almost every command needs --workspace <name>, even ones that are not about a workspace, like settings. The CLI reference lists every command.
Check the CLI in a throwaway folder
Section titled “Check the CLI in a throwaway folder”Before you point Astranize at real code, you can try the CLI in a throwaway data folder. Nothing in your real data is touched, and no agent is called.
-
Point the CLI at a temporary folder for this terminal session.
Terminal window export ASTRANIZE_HOME=$(mktemp -d) -
Create a workspace.
workspace createneeds no repos and calls no agent.Terminal window astranize workspace create check{"type":"workspace_created","workspace":"check","path":"/tmp/.../workspaces/check"} -
Check that the agent CLI is on your
PATHand logged in, since the agent steps call it. Today that isclaude.Terminal window claude --version -
Stop the background daemon, in case a command started it. If none is running you see
not_running.Terminal window astranize daemon stop{"type":"daemon","status":"not_running"} -
Go back to your real data folder, so the next pages don’t write into the temporary one.
Terminal window unset ASTRANIZE_HOME
Where your data lives
Section titled “Where your data lives”Everything Astranize keeps is in one folder, ~/.astranize by default. Set ASTRANIZE_HOME to use another one, for example a sandbox while you try things out:
export ASTRANIZE_HOME=~/astranize-sandboxEach data folder has its own daemon, queue, settings and Vault, so two folders never share anything. After a first task it looks like this:
Directory~/.astranize/
- daemon.json the running daemon’s port, token and pid (mode 0600)
- daemon-processes.json
- queue.json
- settings.json language and
worktrees_root - settings.yaml memory floor, cap, video slot, pause
- limits.json
- vault encrypted secrets
Directorytmp/ short-lived secret files
- …
Directoryworkspaces/
Directorynotes/
- config.yaml
- workflow.yaml
Directoryprompts/
- …
Directorytasks/
- …
Directoryruns/
- …
Directoryworktrees/
- …
Some files appear only once you use the feature that writes them. Files and directories describes each one.
Good to know
Section titled “Good to know”Differences between macOS and Windows
Section titled “Differences between macOS and Windows”- Commands in
config.yaml(gates, setup, services) run withsh -c. - The Vault key is stored in the macOS Keychain unless you choose a master password.
autostartregisters a LaunchAgent. Nothing is registered until you run it.
- Commands in
config.yamlrun with Git Bash by default. Astranize looks forbash.exeinASTRANIZE_GIT_BASH,CLAUDE_CODE_GIT_BASH_PATH, then the usual Git for Windows folders. If none is found you getGit Bash not found: install Git for Windows, set ASTRANIZE_GIT_BASH, or use shell: powershell. - To use another shell for a workspace, set
shell: powershellorshell: cmdat the top ofconfig.yaml. These values are rejected on macOS. - Git runs with
core.longpaths=truefor task worktrees. If paths are still too long, setworktrees_rootinsettings.jsonto a short absolute path such asC:\wt. Worktrees then go to<worktrees_root>\<workspace>. - The Vault key is stored in Windows Credential Manager unless you choose a master password.
autostartregisters a scheduled task. Nothing is registered until you run it.
Coming from ~/.orchestrator
Section titled “Coming from ~/.orchestrator”Astranize used to be called orchestrator. If you used it under that name, your data moves over by itself:
- On the first run with the default home,
~/.orchestratoris moved to~/.astranizein one rename, andgit worktree repairruns for the moved worktrees. - If both folders exist and
~/.astranizeis not empty,~/.astranizewins, nothing is deleted, and you get this warning once:~/.orchestrator was left behind: Astranize now uses ~/.astranize and nothing was deleted. - An
ASTRANIZE_HOMEthat points somewhere else is never moved. ORCHESTRATOR_HOMEstill works, with the warningORCHESTRATOR_HOME is deprecated, use ASTRANIZE_HOME instead.- Tasks created before the rename keep their
orq/...branches. New tasks useastra/.... config.yamlis never rewritten. The CLI warns when it cites a path that no longer exists, and camelCase keys still load with a deprecation warning.
migrate-home prints the data folder in use, after any move:
astranize migrate-home --workspace default{"type":"home","home":"~/.astranize"}Next steps
Section titled “Next steps”- Tour of the app shows every screen before you use it.
- Your first workspace points Astranize at a repo and its checks.
- Your first task takes one task from idea to validated branch.
- CLI reference lists every command.
