LibraOS Engine
Beta. You can install and run LibraOS Engine locally without an activation code or invitation. See Install for the public installer, also available in the 1. Install card on the LibraOS Engine page in LibraOS Console.
Measured on 2026-11-03, the same 8 screens with the same hidden tests: one Claude session built them one after another in 9.5 minutes; LibraOS Engine with 4 Claude and 4 Codex workers built them in 3.8 minutes, 2.5 times faster, with every result checked (8 of 8). Largest context per agent: 137K tokens before, 76K after. Total tokens were higher (4.7M before, 10.9M after) because each worker loads its own setup.
LibraOS Engine turns Claude Code and Codex into a supervised software factory in your development environment. Define the task and acceptance criteria, delegate development, run project checks and add independent validation. The dashboard keeps results, evidence and requests for input together. You decide what may be published and merged, subject to your repository's rules.
Local orchestration is free. Model usage and coding-tool subscriptions are billed by your providers. Start with your first task, or use the installation and maintenance reference below.
Earlier names. LibraOS Engine was called AgentD, then LibraOS Core. Its
command is libraos-core; agentd still works, so existing scripts, services,
MCP settings and the data directory keep working. To use it from a desktop app
instead of a terminal, see LibraOS Next, which ships with it.
From task to verified delivery
| Stage | What moves forward |
|---|---|
| Research | A goal, relevant context and acceptance criteria. |
| Development | A worker's change on a branch, with its result attached to the task. |
| Test | The project check and its recorded outcome. |
| Validation | An independent assessment against the acceptance criteria, when configured. |
Questions and failed checks return to you. Verification provides evidence for a delivery decision; publishing and merging follow their own authorization. See Run, verify and deliver.
What it does
- Connects your agents. LibraOS Engine adds an MCP server, hooks and two skills to Claude Code and Codex, so every session shares one task ledger: who is working on what, handoffs, checks and results.
- Gives you a local dashboard. Start the web dashboard with
libraos-core dash --serve 127.0.0.1:21480. Chat plans work; Inbox, Issues, Team and Insights keep tasks, results and decisions together. See Open the dashboard to sign in. - Keeps workers on a branch. A worker started on your default branch runs
in its own git worktree with a budget and a check command, and commits on an
agentd/…branch. See Where the work goes. - Publishes only when you confirm. LibraOS Engine pushes a worker's branch and opens a draft pull request only after you confirm. An owner can separately request a merge from the dashboard, using their GitHub permissions and the repository's branch protection. Passing a check does not authorize a merge. Workers are instructed to commit locally; Claude workers also have a rule that blocks publication, while Codex workers receive that rule in their prompt. See Review and publish.
LibraOS Engine Local runs the task ledger, workers and dashboard in your environment.
Your configured coding clients and model providers handle model calls. The
Console manages your activation code, cloud key and linked machines. Your local
sessions and tasks stay in your ledger. On linked installations with usage
reporting enabled, LibraOS Engine sends installation metadata and aggregate
usage counts, not repository content, task prompts or file paths.
Set DO_NOT_TRACK=1 before setup or run
libraos-core config set telemetry.enabled false to disable usage reporting.
LibraOS Engine brings no model access of its own. Claude Code and Codex call their models as each is configured: your own sign-in or provider key, or the LibraOS model API. See Models and billing.
Requirements
-
Linux with systemd user services, macOS (LibraOS Engine's services run as LaunchAgents while you are logged in), or Windows, new in v0.1.7 (LibraOS Engine's services run as Task Scheduler tasks while you are logged on). On Windows, LibraOS Engine also needs Git for Windows, for git and its
sh:winget install --id Git.Git -e. -
git 2.25 or newer, with your name and email set. These name your commits; they do not sign you in to GitHub.
git config --global user.name "Your Name"git config --global user.email you@example.com -
The GitHub CLI, signed in. It clones private repositories, and lets LibraOS Engine push a worker's branch, open a draft pull request, and link and merge pull requests: Open a draft PR, Merge,
libraos-core pr sync-ghandlibraos-core issue sync-ghall rungh. GitHub does not accept your account password when git clones a repository, so sign in with the GitHub CLI instead:- Your own computer
- A server or a team host
Install gh:
sudo apt install -y ghon Debian and Ubuntu,brew install ghon macOS, orwinget install --id GitHub.cliin PowerShell on Windows (other systems). On Windows, open a new terminal afterwards soghis on your PATH. Then:gh auth login # GitHub.com, HTTPS, sign in with a browsergh auth setup-git # git clone and git push use the same sign-ingh repo clone OWNER/REPOWorkers run as your OS user, so they can read the credential gh stores in
~/.config/gh/hosts.yml.Use a fine-grained personal access token limited to the repositories LibraOS Engine works on, with an expiry. Give it the fewest permissions that do the job:
Permission Needed for Metadata: read Always. Pull requests: read, Issues: read libraos-core pr sync-ghandlibraos-core issue sync-gh.Pull requests: read and write, Contents: read and write Open a draft PR and merging from the dashboard. Save it in a file only you can read, then sign gh in with it:
sudo apt install -y ghmkdir -p ~/.config/agentdinstall -m 600 /dev/null ~/.config/agentd/github.tokennano ~/.config/agentd/github.token # paste the token alone, save and exitgh auth login --with-token < ~/.config/agentd/github.tokengh auth setup-gitInstead of
gh auth login, you can setGH_TOKENin the environment of the dashboard service.Workers run as the same OS user, so they can read the token file and gh's stored credential (
~/.config/gh/hosts.yml), and a worker started from a process withGH_TOKENset inherits it. A scoped, expiring token limits what a leaked credential can do. It does not hide the credential from workers. -
Claude Code or Codex. One client is enough. Install it before LibraOS Engine: the installer adds LibraOS Engine's skills only to the clients it finds. If you add a client later, run the installer again.
- Claude Code
- Codex
On Linux and macOS:
curl -fsSL https://claude.ai/install.sh | bashOn Windows, in PowerShell (
bashandcurl | bashdo not work there):irm https://claude.ai/install.ps1 | iexIt installs
claude.exein%USERPROFILE%\.local\bin. If the installer's setup notes say that folder is not in your PATH, add it, then close and reopen Windows Terminal (a new tab in the same window keeps the old PATH):[Environment]::SetEnvironmentVariable("Path", [Environment]::GetEnvironmentVariable("Path","User") + ";$env:USERPROFILE\.local\bin", "User")Run
claudeonce and sign in before you install LibraOS Engine.Codex needs Node.js 18 or newer and npm; Ubuntu 24.04's packages are enough. On Linux, Codex workers also need bubblewrap. On Debian and Ubuntu:
sudo apt install -y nodejs npmsudo npm i -g @openai/codexsudo apt install bubblewrapWith the distribution's npm, a global install needs sudo. Without it, npm fails with
EACCES: permission denied, mkdir '/usr/local/lib/node_modules'.On macOS:
brew install node, thennpm i -g @openai/codex. Runcodexonce and sign in.On Windows, in PowerShell:
winget install OpenJS.NodeJS.LTSThen close every Windows Terminal window and open a new one: a new tab in the same window keeps the old PATH, and
npmis "not recognized". Install Codex withnpm.cmd, and run it once withcodex.cmdto sign in:npm.cmd install -g @openai/codexcodex.cmdPlain
npmandcodexstart PowerShell scripts, which Windows blocks by default (npm.ps1 cannot be loaded because running scripts is disabled on this system). The.cmdforms are not blocked. To use the plain names, allow scripts for your own account once:Set-ExecutionPolicy -Scope CurrentUser RemoteSigned.Sign in to the client, or use a LibraOS model API key instead.
Ubuntu restricts unprivileged user namespaces with AppArmor, so bubblewrap
fails with setting up uid map: Permission denied and Codex workers cannot
run. libraos-core doctor reports this in its Codex sandbox check and prints the fix:
sudo apt-get install -y bubblewrap && printf 'abi <abi/4.0>,\ninclude <tunables/global>\nprofile bwrap /usr/bin/bwrap flags=(unconfined) {\n userns,\n}\n' | sudo tee /etc/apparmor.d/bwrap >/dev/null && sudo apparmor_parser -r /etc/apparmor.d/bwrap
It adds an AppArmor profile for /usr/bin/bwrap only, which lets that one
program create user namespaces. The restriction stays in place for every other
program.
LibraOS Engine uses bubblewrap only on Linux. On Windows a worker runs as your user
in its own git worktree, limited by its client's rules (Claude Code's
permission rules, Codex's own sandbox), and can read and write whatever your
account can. [dispatch] hide and libraos-core bench need bubblewrap: with
hide set, a dispatch is refused rather than run unhidden, and bench does
not run. For that isolation, run LibraOS Engine under WSL 2 or on a Linux host.
Install
-
Run the installer for your platform. It is also in the 1. Install card on the LibraOS Engine page in LibraOS Console. Installing needs no account: the installer is public and verifies release checksums.
- Linux and macOS
- Windows
curl -fsSL https://console.libraos.com/agentd/install.sh | shIn PowerShell, with Git for Windows installed:
irm https://console.libraos.com/agentd/install.ps1 | iexIf it prints
no Claude Code, Codex or opencode found, install and sign in to a client first, then run the installer again so it adds the skills. -
Check the installed binary:
export PATH="$HOME/.local/bin:$PATH"libraos-core versionThe PATH change applies to this shell. Add it to your shell profile for new terminals if the installer placed LibraOS Engine in
~/.local/bin. On Windows, the installer putsagentd.exein%LOCALAPPDATA%\Programs\agentdand adds that folder to your user PATH: open a new terminal, then runlibraos-core version. -
Run
libraos-core initinside your repository. It asks for EULA acceptance and sets up the local services and connects your installed coding clients. Read the End User Agreement or runlibraos-core eulato see the text your binary carries. On Windows,initsetsAGENTD_USERin your user environment: open a new terminal before you runlibraos-core doctor. -
Run
libraos-core doctorand resolve any required failures.
Run your first task continues from installation to a checked change. Connect your coding agents covers manual configuration and team setup.
Link your account
libraos-core activate is optional. It links this machine to your LibraOS account to
send feedback and diagnostics, receive release notices and record your agreement
acceptance with your account. It asks for EULA acceptance if you have yet to
accept it.
On the LibraOS Engine page in LibraOS Console,
choose Get LibraOS Core if it appears. On a team, the owner enables access once
for the account. Copy Your activation code, run libraos-core activate and
enter the code at the hidden terminal prompt. Keep the code out of chat and
shell history.
Cloud Workers require LibraOS Engine v0.1.14 or newer. From v0.1.13,
Cloud Workers and hosted knowledge authenticate with the cloud key from Console
by default. On v0.1.12 and older, both also need libraos-core activate.
Upgrade
LibraOS Engine v0.1.10 and older ask for an activation code to run. Upgrade to run locally without one.
-
From v0.1.9, run
libraos-core upgrade(libraos-core upgrade --checkonly reports whether a newer release exists). It checks the download against the release'sSHA256SUMS, keeps the previous binary asagentd.oldand restarts the services it finds, so steps 3 and 4 below are only needed if it says it could not restart one. From v0.1.6 to v0.1.8, run the installer from Install once;libraos-core upgradeworks from then on. -
Keep your LibraOS Engine data directory and configuration. Updating the binary preserves your task history and any existing account link.
-
On Linux, restart the notifier with
systemctl --user restart agentd-notify.service. If you installed the dashboard as a service, runlibraos-core dash installagain; if it runs in a terminal, restart that process. On macOS, restart the dashboard service withlaunchctl kickstart -k gui/$(id -u)/com.libraos.agentd.dash. On Windows, restart the dashboard task:schtasks /End /TN \LibraOS\agentd-dashschtasks /Run /TN \LibraOS\agentd-dash -
Open new coding-client sessions and run
libraos-core doctoruntil no required check fails.
Keep services running after logout
This section is for Linux. On macOS, LibraOS Engine's services are LaunchAgents and
run only while you are logged in at the Mac. On Windows, they are Task
Scheduler tasks, \LibraOS\agentd-dash and \LibraOS\agentd-watchdog, and
run only while you are logged on.
On Linux, LibraOS Engine's services run as systemd user units: the notification service, the watchdog timer (which starts queued workers), the daily and recall timers, the dashboard service if you install it, and the workers themselves. Without lingering, systemd stops all of them when your last login session ends: when you log out or close the last SSH session, not only at a reboot. They start again only at your next login.
On a server, turn lingering on. It is required for the dashboard service and the timers:
sudo loginctl enable-linger "$USER"
loginctl show-user "$USER" -p Linger # Linger=yes
libraos-core doctor fails its linger check while lingering is off and the
dashboard service or a timer is installed, and libraos-core dash install warns.
Add a Runtime when you need it
Task tracking, handoffs, checks and the dashboard work without the LibraOS
Runtime. Knowledge search, cited answers from libraos-core ask and model-written
daily reports need one. libraos-core runtime up starts one on this machine with
Docker; see Add a Runtime.
Uninstall
Run the commands as the user that installed LibraOS Engine, and keep any task history you still need. These steps include separate choices for removing services, client settings and data.
-
Stop and remove the services. On Linux:
libraos-core dash uninstallsystemctl --user disable --now agentd-notify.service agentd-daily.timer agentd-watchdog.timer agentd-recall.timercd ~/.config/systemd/userrm -f agentd-notify.service agentd-daily.service agentd-daily.timer agentd-watchdog.service agentd-watchdog.timer agentd-recall.service agentd-recall.timersystemctl --user daemon-reloadOn macOS and Windows, one command removes the dashboard and watchdog services: the LaunchAgents in
~/Library/LaunchAgents, or the Task Scheduler tasks under\LibraOS:libraos-core uninstall -
Disconnect the clients.
libraos-core connectchanged these files and kept a backup of each beside it, namedFILE.agentd-backup-TIME:File What connect added ~/.claude.jsonThe agentd MCP server, and the trust entries from libraos-core trust(hasTrustDialogAcceptedunder each checkout inprojects).~/.claude/settings.jsonHooks that run agentd. If~/.claude/settings.local.jsonalready had libraos-core hooks, connect updated them there.~/.codex/config.tomlThe [mcp_servers.agentd]table.Remove the MCP servers with the clients' own commands, and delete the hook entries that run
agentdin an editor:claude mcp remove agentd --scope usercodex mcp remove agentdRestoring the oldest backup also works, if you changed nothing else in that file since.
-
Remove the skills:
rm -rf ~/.claude/skills/agentd ~/.claude/skills/agentd-setup ~/.agents/skills/agentd ~/.agents/skills/agentd-setup -
Remove the Runtime, if you started one. This deletes its data:
docker rm -f agentd-libraos agentd-pgdocker volume rm agentd-pgdata agentd-runtimedocker network rm agentd-net -
Clean each repository you connected:
-
With
libraos-core connect --repo-rule, delete the block between theagentd:repo-rulelines inCLAUDE.local.mdandAGENTS.override.md(or the files, if nothing else is in them), and the lines for them in.git/info/exclude. -
Remove the workers' worktrees and branches once you have merged or no longer need them:
git worktree list # those under .claude/worktreesgit worktree remove .claude/worktrees/NAMEgit branch --list 'agentd/*'git branch -D agentd/NAME
-
-
Remove the binary and the root. The root holds the ledger, the configuration, logs and the Runtime's secrets:
rm -f ~/.local/bin/agentdrm -rf ~/.local/share/agentdOn Windows, delete
%LOCALAPPDATA%\Programs\agentd, remove it from your user PATH, and delete%USERPROFILE%\.local\share\agentd. -
Remove the key files you made, such as
~/.config/agentd/libraos.keyand~/.config/agentd/github.token, and revoke the keys where they were issued: the Console's API keys page, and GitHub's token settings.