Docs / Tutorials
Getting started
Create a vault, connect Claude Code, approve your agent's first proposal, then run a command with your first environment variable.
This takes about 15 minutes. You need a Reliquary account (the beta is invite-only), Claude Code, and Node 20 or later for the CLI.
1. Sign in
Open https://app.reliquary.redmage.cc (or choose Sign in on https://reliquary.redmage.cc). Enter your email, then the 6-digit code from the email (or open its link on the same device).
2. Create a vault
A vault holds files, variables and members. See Vaults, files and folders.
- On Home, choose New vault.
- Name it
My project. - Under Start from, leave Blank chosen for this tutorial. For real work, a template like Client engagement or Product team starts the vault with folders, rules and a README that tells your agents how to work in it.
- Choose Canon, so every change to a file is a proposal a person approves. (Open would let editors and their agents write files directly. You can change this later, and set it per folder with rules.)
- Choose Create vault. You are its owner.
3. Connect Claude Code
In a terminal, add Reliquary once for your user:
claude mcp add --transport http --scope user reliquary https://mcp.reliquary.redmage.cc/mcp
Start Claude Code, run /mcp, choose reliquary, then Authenticate. Your browser opens Reliquary's consent page:
- Leave All my vaults chosen.
- Choose Read and write, so the agent can propose changes.
- Choose Allow.
Claude Code keeps the connection and refreshes it by itself. It shows on your Tokens page, where you can revoke it at any time.
4. Let your agent propose a file
Ask Claude Code:
Using Reliquary, list my vaults. Then propose a new file notes/hello.md in "My project"
that says what this project is, with the reason "first note".
It calls list_vaults, then propose. Because the vault is canon, nothing is written yet: the change waits for you. An agent can never approve its own proposal, or anyone's. See Agents and the ceiling.
5. Approve it
In the web app, Review now shows a count of 1.
- Open the proposal. The diff comes first, then the agent's stated reason, marked unverified.
- Choose Approve.
The vault needs one approval (its quorum), so the file is written at once. Open My project: notes/hello.md is there, credited to your agent, and the change is in Activity. See Proposals and review for requesting changes, comments and snooze.
6. Add your first variable
- In My project, open Variables in the sidebar.
- Choose Add a variable.
- Name it
GREETING, pick thedevelopmentenvironment, and type a harmless value, likehello. - Choose Save variable.
The value is encrypted before it is stored. Your agent can see the name GREETING through list_variables, never the value. See Environment variables.
7. Run a command with it
Sign this computer in to the CLI. Your browser opens a consent page; choose the vaults it may read, then Allow:
npx @reliquary-ai/cli login
Run a command with the development variables in its environment. This one prints the value's length, not the value:
npx @reliquary-ai/cli run --vault "My project" --env development -- sh -c 'echo "GREETING has ${#GREETING} characters"'
Nothing is written to disk. Back in the web app, Variables, Access log shows the read, by you, through the Reliquary CLI.
What's next
- Connect your other tools: Claude.ai, ChatGPT, Cursor, VS Code.
- Bring a project's existing
.envin: Move a .env into a vault. - Work with someone: Invite someone.
For agents: this page as Markdown, and every page at /llms.txt.