Alexandria

Agent Library Systems

A Library is a private brain that lives on your Mac, as plain Markdown in a folder you own. You feed it your notes, your mail, two minutes at the end of the day, and it files each piece where it belongs and answers when you ask. It runs on the AI you already have, Claude or ChatGPT. No cloud, no accounts; nothing leaves your machine.

Paste into Claude Desktop’s Code tab

Set up Alexandria on this Mac. You're doing the environment work; I'll take over after. 1. Check the machine: Apple Silicon (M2 or newer), 8GB+ memory, macOS 26 or newer. If it falls short, say so and stop. 2. Make sure Homebrew and git are installed. If Homebrew is missing, install it from brew.sh and put it on PATH for this session. If git is missing, run brew install git. If a command dies on an Xcode licence prompt, hand me the exact sudo line to run; don't run it yourself. 3. If ~/Alexandria already exists, stop and tell me. I have a brain there already; don't touch it. 4. Otherwise download https://keystone.computer/Alexandria.zip and its .sha256 sidecar, verify the checksum, refuse to continue on a mismatch, and unpack it to ~/Alexandria. The home folder itself, never Documents or Desktop: those sync to iCloud, which corrupts a brain. 5. Confirm ~/Alexandria/CLAUDE.md and ~/Alexandria/.alexandria/ are both there. Then tell me in two lines exactly what to click: point this Code tab at ~/Alexandria, and set the model to Opus with thinking on Max. I'll say "Install" from there. Don't install Claude Code, don't run claude in a terminal, and don't start the install itself: that runs in the next session, from inside the folder.

v5.7.0 · 1.5 MB · changelog

Works withClaudeandChatGPT

Compatible with(Optional)Obsidianandgit

Catches up on(Optional)WhatsAppiMessageViberandGmail

Requirements

  • Apple M2+ with 8GB+ Unified Memory
  • Claude Pro subscription, for the Code tab in Claude Desktop (or ChatGPT Pro, for Codex)
  • Access to ~1M+ tokens per day
  • Homebrew and git: the Library runs on them (the prompt installs both)

Installation on MacOS 26+

  1. 1Open Claude Desktop (or ChatGPT), sign in, and open the Code tab </> — not a terminal
  2. 2Paste the prompt above and let it work
  3. 3Point the Code tab at ~/Alexandria/, then choose Opus in the model picker and set thinking to Max
  4. 4Say Install
  5. 5Feed the Library
  6. 6Teach the Library your voice

Or install it yourself

Download Alexandria

Unzip it into your home folder, not Documents or Desktop (those sync to iCloud, which corrupts a brain), then open the Code tab on ~/Alexandria/ and continue from step 3.

Or the same fetch and unpack, from a terminal:

curl -fsSL https://keystone.computer/install.sh | sh

© Keystone Context Systems, Inc.