An operating system for AI agents that remember
For Claude Code, Codex and OpenCode users who want their agents to remember last week, hand each other work, and build in the repos they already have.
Docs · BAUD: your agents on your phone · Discussions · r/AIPass · aipass.ai
AIPass is Linux only. Built and tested on Ubuntu, native or WSL2. Open source and in daily development, the developer's lifetime project.
Three commands on the bus: the fleet, a memory from a month ago found by meaning, and a standards audit at 100. The script that recorded it.
You need: Python 3.10+, Claude Code on a Claude plan that includes it, and Ubuntu (native or WSL2). Codex and OpenCode if you want them: with a binary on your PATH, install sets it up as another CLI for the same agents, and each agent runs on any of them, your choice per task.
pipx install aipass aipass install The first line puts two commands on your PATH, aipass and drone. The second clones AIPass into ~/AIPass (--path to choose), builds its environment, sets up the 18 agents, runs a health check, and ends on an install report: what still needs attention, and the command that wakes devpulse on it. It also starts a server on your machine for BAUD, the phone face; --no-baud skips that.
To work on AIPass itself, install from a clone instead (this route skips the phone step):
git clone https://github.com/AIOSAI/AIPass.git && cd AIPass && ./aipass install Install adds AIPass hooks and deny rules to your user-level Claude Code settings, a few lines to your shell rc, and command links on your PATH; it may also set git's pull.rebase and add one npm package. See every change it makes. Something off afterwards? aipass doctor names it and aipass doctor --fix cures what it can, a lost or corrupt agent passport included (restored from the agent's passport vault, the old file kept beside it). --fix is yours to run at a terminal: an agent is refused.
Talk to devpulse, the admin seat: run claude in src/aipass/devpulse in your AIPass folder. Hand it the install report first; after that, say what you want in plain words and it plans the work and dispatches it to the agent that owns the code. Talk to aipass, the machine concierge, about the host itself (Wi-Fi drops, a USB port not working, a CPU running hot): run claude in src/aipass/aipass, or its CLI, aipass --help.
aipass new my-project --template python # projects/my-project: own git repo, scaffold, resident manager agent aipass adopt # an existing directory becomes a project aipass init [target] # scaffold only; add an agent with: aipass init agent drone @flow create . "Add CSV export" # a work plan that carries the context drone @ai_mail dispatch @agent "Subject" "Body" # send a task and wake the agent drone @sentry audit aipass # the standards checks AIPass's own agents pass in CI
When the task gets complex, you become the coordinator. You copy context between tools, dispatch work by hand, and keep track of who is doing what.
Many multi-agent setups give each agent its own sandbox or worktree. One agent can't see what another just built, and when the task ends, the agent is gone.
That's not a team. That's a room full of people wearing headphones.
In AIPass, agents are citizens. Each has an identity, a memory that survives the session, a mailbox, and a home directory, on the same filesystem as you and each other. Hooks and gates decide who may write what. Switch projects, come back a week later, and nothing has to be explained again.
One bus. drone @agent command [args] reaches any agent. You use it, and agents use it to reach each other.
One memory each. The owning agent wakes in its own folder with its own prompt, its .trinity/ memory, a refreshed dashboard and the task mail. Nobody re-explains context. The longer story goes in a plan (drone @flow create) that the manager writes and names in the mail.
One citizen shape. Every agent, yours and the reference fleet, has the same layout. Know one and you know them all. The main parts:
src/my_project/ / ├── .trinity/ # Passport + memory: sessions, learnings, todos, observations; overflow rolls to @memory ├── .ai_mail.local/ # Mailbox: inbox, sent, deleted ├── .aipass/ # Branch prompt (standing instructions, injected by hooks) + passport vault ├── apps/ # Entry point → modules → handlers ├── docs/ # Reference pages, tracked ├── docs.local/ # Scratch and research, not tracked ├── dropbox/ # Inbound drop: files other agents hand over ├── artifacts/ # Birth certificate + files the agent produces ├── logs/ # The agent's own logs ├── tests/ # The agent's own test suite ├── DASHBOARD.local.json # One status glance: mail, plans, todos; refreshed before every wake └── README.md # The page for people; agents use `drone @ --help` An agent's identity is a file it can read, .trinity/passport.json, trimmed here to the lines that matter:
{ "branch_info": { "branch_name": "analyst", "email": "@analyst", "path": "src/my_project/analyst" }, "identity": { "role": "analyst", "purpose": "Reports on the data the project collects", "principles": ["Fail honestly: errors over silent fallbacks"] } } One owner seat. Each project has one manager agent you steer through. Every agent can read git through the bus; only a project's manager writes to it, plus one narrow door that commits and pushes a CI fix on dev and nothing else.
No index. Nothing indexes your codebase. An agent finds its way the way a new colleague does: the bus, the owning agent's README, and its own memory of what it did last time.
The boring stuff works. One human and these agents built it, and use it every day to build AIPass itself and BAUD.
Install builds the environment, puts aipass and drone on your PATH, and sets up the 18 agents. It ends on a health check that fixes what it can, an install report in devpulse's dropbox, and a final screen with what still needs attention. In a terminal it asks where AIPass should live (unless --path), your git identity (only if it is not set globally), one yes or no before the changes outside the repo listed below (on no it skips them, says what will not work, and ./setup.sh makes them later), and Enter before the phone pairing code. Your name comes from git's user.name, else your login. A non-interactive shell asks nothing and makes those changes only when you pass --yes; without it they are skipped, each one named as a warning, and aipass install --yes makes them later; on the clone route --no-finish skips the health check and the report.
Install changes a few things outside the repo, and you should know what. It adds AIPass deny rules to your user-level Claude Code settings (no raw git writes: commit, push, reset, rebase, merge, config and the destructive checkout, restore, stash and branch forms; no reading ~/.secrets/), and these apply to every Claude Code project on the machine. It merges its hooks with any you already have. It adds a claude shell function that, inside an agent directory, boots that agent's seat, attaching to it if one is already live. It sets git config --global pull.rebase true when it sets your git identity. It installs the @anthropic-ai/sandbox-runtime npm package if it is missing. sudo may ask once to place the /usr/local/bin symlinks. Re-running install rebuilds .venv. The list below names every file it touches.
The installer writes a layer outside the project. Remove all of it to erase AIPass completely:
No cloud accounts, no external services — everything to clean up is on your machine.
AIPass ships with 18 agents. Each has its own README and a docs/ folder under src/aipass.
devpulse (orchestrator: the one you talk to) ├── aipass : machine concierge: host/OS diagnosis, doctor, installer ├── drone : command routing and @agent resolution ├── sentry : quality standards, checked across all agents ├── prax : monitoring, logs, runaway-log detection ├── ai_mail : agent-to-agent mail and task dispatch ├── flow : plans, templates, archival ├── spawn : creates, updates and deletes agents ├── hooks : hook engine and per-project config ├── memory : archival, vector store, semantic search ├── api : external APIs, keys and secrets, host server (optional) ├── trigger : event bus, wakes the agent that owns an error ├── cli : terminal formatting and output ├── backup : local snapshots (optional Drive sync) ├── daemon : scheduler for recurring jobs ├── skills : capability units any agent can run ├── commons : the social space where agents post and gather └── canary : test citizen, broken on purpose so working agents never are BAUD, the phone face BAUD shows the same fleet to a human on a phone, served from your own machine. AIPass is what everything runs on. BAUD is how you look at it. It lives in its own repo, github.com/AIOSAI/baud, whose README covers pairing and security. One line installs BAUD together with AIPass:
curl -fsSL https://github.com/AIOSAI/baud/releases/latest/download/install.sh | sh
Stable. Built by one human and the AIPass agents, with a handful of outside contributions. From here the work is fine-tuning.
Ubuntu is the platform, native or WSL2: the daily driver, the one CI proves.
Version: Python: Agents: 18 core + user-created.
A half-done edit to live-loaded code can take the hook engine down; every agent then refuses every tool with a message that starts HOOKS BROKEN, and the system is in safe mode: one recovery command allowed, everything else held. The refusal itself names the command.
If no agent can act, open the recovery guide — src/aipass/flow/templates/playbook_plans/recovery.md in your checkout. It holds the full instructions, including a ready prompt to paste into a fresh Claude session started from your home directory. Nothing is deleted and nothing is pushed on that path.
Each agent keeps its own docs under src/aipass/ /docs/. Start with these:
Open an issue first, then a PR against the dev branch. CONTRIBUTING.md has the details. To work on AIPass itself, run claude in src/aipass/devpulse, the orchestrator that plans and dispatches the work.
Need help? Ask in Discussions or file feedback. Both take 30 seconds.
AIPass keeps agent state inside your project directory. To remove it:
# Remove AIPass files from your project. # Warning: in a brought-your-own project, src/, README.md, AGENTS.md, pyproject.toml # and .gitignore may be partly or wholly YOURS (init never overwrites existing # files) — remove only what AIPass created and review the rest by hand. rm -rf .aipass/ .claude/ .agents/ src/ / / # the agent dir holds its own mailbox, memory, logs rm -f AGENTS.md README.md *_REGISTRY.json .gitignore pyproject.toml .venv rm -f src/ /__init__.py src/ /tests/conftest.py # init's package stub # If you ran the backup system, also remove its local state + the generated ignore file rm -rf .backup/ && rm -f .backupignore .venv in a project is a symlink to the AIPass runtime, not a copy.
The installer also writes a layer outside the project. Remove all of it to erase AIPass completely: every item is listed under What install changes.
Use spawn's delete command to cleanly archive and deregister:
drone @spawn delete @agent_name --retire # asks for confirmation; --yes skips it This copies the agent's directory to .archive/deleted_branches/ (minus .venv, .git, caches), removes it from the registry, then deletes the original. The fleet's own core agents (spawn, drone, devpulse, the registry owner) refuse deletion. Every agent you create is registered, and a plain delete refuses it too: --retire is the door, and the archived copy of its passport records that it was retired. A real delete or retire runs for the verified admin seat only, and every other caller is refused: admin setup describes that lane.
AIPass runs on your existing Claude subscription, any plan that includes Claude Code. No API keys required for core functionality. No extra costs beyond your existing subscription.
This works because AIPass runs Claude Code as an official subprocess — the same binary you'd run yourself in a terminal (a seat on Codex or OpenCode runs the official codex or opencode binary the same way). It doesn't extract credentials, proxy API calls, or intercept tokens. Your subscription stays within the provider's infrastructure at all times.
Claude Code is proprietary but officially supports hooks and subprocess usage.
API keys are only needed for the optional OpenRouter integration (the OpenAI SDK is its transport; nothing calls OpenAI itself). For server/automated deployments, API key authentication is recommended per Anthropic's guidance.
Both files in this release have provenance metadata.
bluesky dev drive host llm memory trinity
agents ai discovery multi-agent orchestration routing
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.
Both files in this release have been uploaded with provenance metadata.
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.
Nov 22, 2026 2 release files Full provenance
Nov 21, 2026 2 release files Full provenance
Nov 19, 2026 2 release files Full provenance
Nov 11, 2026 2 release files Full provenance
Nov 8, 2026 2 release files Full provenance
Nov 7, 2026 2 release files Full provenance
Nov 2, 2026 2 release files Full provenance
Nov 1, 2026 2 release files Full provenance
Oct 30, 2026 2 release files Full provenance
Oct 29, 2026 2 release files Full provenance
Oct 27, 2026 2 release files Full provenance
Oct 26, 2026 2 release files Full provenance
Oct 24, 2026 2 release files Full provenance
Oct 23, 2026 2 release files Full provenance
Oct 21, 2026 2 release files Full provenance
Oct 20, 2026 2 release files Full provenance
Oct 19, 2026 2 release files Full provenance
Oct 18, 2026 2 release files Full provenance
Oct 17, 2026 2 release files Full provenance
Oct 16, 2026 2 release files Full provenance
Oct 14, 2026 2 release files Full provenance
Oct 13, 2026 2 release files Full provenance
Oct 11, 2026 2 release files Full provenance
Sep 19, 2026 2 release files Full provenance
Sep 15, 2026 2 release files Full provenance
Sep 13, 2026 2 release files Full provenance
Sep 11, 2026 2 release files Full provenance
Sep 10, 2026 2 release files Full provenance
Sep 9, 2026 2 release files Full provenance
Sep 8, 2026 2 release files Full provenance
Sep 7, 2026 2 release files Full provenance
Sep 1, 2026 2 release files Full provenance
Aug 30, 2026 2 release files Full provenance
Aug 29, 2026 2 release files Full provenance
Aug 28, 2026 2 release files Full provenance
Aug 24, 2026 2 release files Full provenance
Aug 19, 2026 2 release files Full provenance
Aug 13, 2026 2 release files Full provenance
Aug 9, 2026 2 release files Full provenance
Aug 7, 2026 2 release files Full provenance
Aug 3, 2026 2 release files Full provenance
Aug 2, 2026 2 release files Full provenance
Aug 1, 2026 2 release files Full provenance
Jul 31, 2026 2 release files Full provenance
Jul 29, 2026 2 release files Full provenance
Jul 28, 2026 2 release files Full provenance
Jul 18, 2026 2 release files Full provenance
Jul 17, 2026 2 release files Full provenance
Jul 15, 2026 2 release files Full provenance
Jul 12, 2026 2 release files Full provenance
Jul 3, 2026 2 release files Full provenance
Jun 24, 2026 2 release files Full provenance
Jun 11, 2026 2 release files Full provenance
Jun 8, 2026 2 release files Full provenance
May 30, 2026 2 release files Full provenance
May 26, 2026 2 release files Full provenance
May 9, 2026 2 release files Full provenance
Apr 26, 2026 2 release files Full provenance
Apr 12, 2026 2 release files No provenance
Apr 8, 2026 2 release files No provenance




