Retrieved article excerpt
Open article · Retrieved 2026-11-09T01:21:40.053892+00:00
Start here
Copy page
# Airlock docs
Airlock holds a fleet of AI agents to a policy in git. Each agent run gets its own key: a GitHub token and MCP sessions, good for one hour, no wider than the role's file in your policy repo, handed back when the run ends. Each pull request gets a level from the files it touches. Safe changes ship on green checks, and risky ones wait for a person to approve the exact commit. Airlock records every key it hands out and every one it refuses, and tells your merge gate which agent pushed each commit.
You install one GitHub App. Your agents run in GitHub Actions, on your runners. Your policy is YAML in a repository you own. Airlock reads it, and never writes it.
## [#](https://airlock.lunareng.com/docs#free-and-the-paid-plan)Free, and the paid plan
- **The standard is free.** It covers the policy repo's format ([roles](https://airlock.lunareng.com/docs/roles), [levels](https://airlock.lunareng.com/docs/levels), [repository policy](https://airlock.lunareng.com/docs/repo-policy) and their [schemas](https://airlock.lunareng.com/docs/policy-repo#the-schemas)), the [published action](https://airlock.lunareng.com/docs/actions), and the key service it calls: a key per run, shadow mode, hand-back, and the `agent: <role>` check on each commit. All of it happens in GitHub. The action's log says what a run got or why it was refused, and each pull request's checks give its level.
- **The [dashboard](https://airlock.lunareng.com/docs/dashboard) is the control plane.** It is where the people who answer for the fleet see what it ran, what it cost and what it shipped, what your policy allows, and who changed it. Sign in with GitHub to open it.
Cost and usage from [telemetry](https://airlock.lunareng.com/docs/telemetry) and the reports you can export will sit in a paid plan. It isn't priced yet and nothing is charged, so both are open to every tenant today.
Not built yet
The paid plan also adds single sign-on and dedicated support.
**Start free:** add or create your policy repo, then [install the App↗](https://github.com/apps/lunar-astronauts/installations/new) with only that repository selected, and follow the [quickstart](https://airlock.lunareng.com/docs/quickstart). Installing makes your organization a tenant, and [signing in with GitHub](https://airlock.lunareng.com/signin) opens its dashboard; there is no sign-up.
## [#](https://airlock.lunareng.com/docs#what-you-get)What you get
- **No stored agent secrets.** A role's workflow proves where it runs with GitHub's own OIDC token. Airlock checks that proof against your policy and answers with a token for that one run. No GitHub App key and no personal access token sits in a repository secret: your model's API key or Claude Code token is the one secret your workflow keeps.
- **Nothing wider than the file.** A role that may open pull requests on two repositories gets a token for those two repositories, with those permissions, for one hour. Airlock never grants `checks`, `administration` or `secrets`.
- **Shadow before live.** Every role starts in shadow: Airlock checks each run and records what it would have handed out, and hands out nothing. Two lines in the role's file turn it live.
- **Merges that follow your levels.** Every pull request is scored L1 to L4 by the paths it touches. An L1 change waits for a person; an L4 change merges on green checks. The gate knows which role pushed each commit, from Airlock's own record.
- **A record you can read.** The dashboard shows every run, what it was handed or why it was refused, what your fleet cost, every commit an agent pushed, and your policy without the YAML.
## [#](https://airlock.lunareng.com/docs#where-to-start)Where to start
| You are | Start with | Then |
| --- | --- | --- |
| Building with a fleet of agents | [Quickstart](https://airlock.lunareng.com/docs/quickstart) | [Roles](https://airlock.lunareng.com/docs/roles), [The autonomy gate](https://airlock.lunareng.com/docs/autonomy-gate) |
| Rolling agents out across a company | [How Airlock works](https://airlock.lunareng.com/docs/how-it-works) | [Levels and floors](https://airlock.lunareng.com/docs/levels), [Going live](https://airlock.lunareng.com/docs/go-live) |
| Reviewing it for security or audit | [Security model](https://airlock.lunareng.com/docs/security) | [Controls and evidence](https://airlock.lunareng.com/docs/controls), [For your vendor review](https://airlock.lunareng.com/docs/vendor-review), [Stamps](https://airlock.lunareng.com/docs/stamps) |
| Looking up a refusal | [Refusal codes](https://airlock.lunareng.com/docs/refusals) | [Troubleshooting](https://airlock.lunareng.com/docs/troubleshooting) |
## [#](https://airlock.lunareng.com/docs#with-your-ai-assistant)With your AI assistant
Every page is also Markdown: add `.md` to its address (`https://airlock.lunareng.com/docs/quickstart.md`), or use **Copy page** at the top of it, which copies that text, opens it, or opens a Claude chat that reads it. `https://airlock.lunareng.com/llms.txt` lists every page that way, and `https://airlock.lunareng.com/llms-full.txt` is all of them in one file: point an agent setting Airlock up at either. The Markdown is the page as you see it here, refusal messages and action inputs included.
## [#](https://airlock.lunareng.com/docs#how-these-docs-are-kept-true)How these docs are kept true
These pages are built from the same repository as Airlock itself, and its tests hold them to the code: every refusal code Airlock can send has its entry here, the messages in the [refusal table](https://airlock.lunareng.com/docs/refusals) are the ones Airlock sends, every route in the [API reference](https://airlock.lunareng.com/docs/api) is one Airlock serves, and every example names invented organizations. A change to Airlock that you would notice changes these pages in the same pull request.