← All projects
Project record1 mention
Originally shared on Hacker News

Airlock

Airlock is a policy-as-code framework and open standard for managing autonomous fleets of AI coding agents, built on GitHub. Agent runs authenticate with GitHub OIDC and receive a short-lived GitHub token scoped to the repos and permissions in the agent's role file. Policies configure agent behaviors, lifecycles, and autonomy levels (repo base level with stricter per-file overrides, on a standard 1-4 autonomy scale) under version control. It ships an out-of-the-box OTEL collector for audit logging and a shadow mode to observe behavior before enforcement. Users install a GitHub App, create a policy repository, and run on GitHub-hosted runners (the submitter uses self-hosted EC2 spot runners). The schema and reusable GitHub Actions are publicly available; the submitter runs 23 workflows across four large-scale projects in his own company. The project is 3-4 weeks old, with the configuration standard and backplane planned to be open sourced.

Last shared For Larger enterprises (the submitter's desired customer), specifically engineering teams managing autonomous AI coding agents at scale.
01 / The problem

What it addresses

How businesses can effectively manage autonomous development with AI agents at scale: managing AI spend, prioritizing token usage, ensuring auditability of agent actions, and complying with governance, risk and compliance frameworks.

02 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. Airlock

    Airlock is a policy-as-code framework and open standard for managing autonomous fleets of AI coding agents, built on GitHub. Agent runs authenticate with GitHub OIDC and receive a short-lived GitHub token scoped to the repos and permissions in the agent's role file. Policies configure agent behaviors, lifecycles, and autonomy levels (repo base level with stricter per-file overrides, on a standard 1-4 autonomy scale) under version control. It ships an out-of-the-box OTEL collector for audit logging and a shadow mode to observe behavior before enforcement. Users install a GitHub App, create a policy repository, and run on GitHub-hosted runners (the submitter uses self-hosted EC2 spot runners). The schema and reusable GitHub Actions are publicly available; the submitter runs 23 workflows across four large-scale projects in his own company. The project is 3-4 weeks old, with the configuration standard and backplane planned to be open sourced.

    Problem: How businesses can effectively manage autonomous development with AI agents at scale: managing AI spend, prioritizing token usage, ensuring auditability of agent actions, and complying with governance, risk and compliance frameworks.

    Audience: Larger enterprises (the submitter's desired customer), specifically engineering teams managing autonomous AI coding agents at scale.

    Posted by @lovetocode · Original source ↗

    Story title · @lovetocode · · Source ↗

    Show HN: Airlock – Policy-as-code for fleets of AI coding agents

    Submitted URL · @lovetocode · · Source ↗

    https://airlock.lunareng.com/docs

    Source text · @lovetocode · · Source ↗

    My name is Matt and I am building Airlock. Airlock is going to be an open standard on managing autonomous fleets of engineering agents.

    Source text · @lovetocode · · Source ↗

    Airlock is still really early, only 3-4 weeks old.

    Source text · @lovetocode · · Source ↗

    Right now I am running my own company using this framework with a total of 23 workflows across four large scale projects.

    Source text · @lovetocode · · Source ↗

    Airlock's configuration standard is aimed to be open source and I will also open source the backplane once I gain a bit more confidence in what I have built here and it is a bit more ready for public scrutiny.

    Source text · @lovetocode · · Source ↗

    Today the schema itself and the reusable GitHub actions are publicly available.

    Source text · @lovetocode · · Source ↗

    1) Allows for the configuration of agent behaviors and life cycles under version control. Each agent run proves who it is with GitHub’s OIDC token, and Airlock trades that for a GitHub token that lasts one hour and can only touch the repos and permissions listed in that agent’s role file.

    Source text · @lovetocode · · Source ↗

    2) Allows for configuring levels of autonomy starting with a repository's base autonomy level with stricter overrides down to individual files within a code base. (e.g. you trust agents for most of the repo but perhaps you want extra gating around the 'billing' or 'auth' modules).

    Source text · @lovetocode · · Source ↗

    3) Supports a standard autonomy scale. At level 4 agents are leading a project's direction while at level 1 they are dependent on humans to lead the direction of a project.

    Source text · @lovetocode · · Source ↗

    4) Provides an out-of-the-box OTEL collector that stores a subset of agent actions you would care about in the event of an audit.

    Source text · @lovetocode · · Source ↗

    5) Comes with a shadow mode that allows you to run Airlock and observe how it would behave in your org without turning it on.

    Source text · @lovetocode · · Source ↗

    To try it you just need to install the GitHub App, create a policy repository and run on GitHub hosted runners. I personally use self-hosted runners on EC2 spot instances. Visit https://airlock.lunareng.com/docs/quickstart to get started.

    Source text · @lovetocode · · Source ↗

    I want to help answer the question of how can the business better manage AI spend, prioritization of token usage, auditability of agent actions and compliance with various governance, risk and compliance frameworks.

    Source text · @lovetocode · · Source ↗

    my desired customer is going to be larger enterprises

    Source text · @lovetocode · · Source ↗

    Instead engineering teams are managing a larger backlog of work that is automatically picked up by these agents.

    Source text · @lovetocode · · Source ↗

    https://github.com/lunareng/airlock-actions

    Source text · @lovetocode · · Source ↗

    https://airlock.lunareng.com/schema/role.schema.json

    Source text · @lovetocode · · Source ↗

    https://airlock.lunareng.com/schema/autonomy.schema.json

    Source text · @lovetocode · · Source ↗

    https://airlock.lunareng.com/schema/config.schema.json