# Pigeon: Signed passes stop AI sub-agents from overstepping their authority

Original title: Pigeon, a signed Pass for what a sub-agent may do

> Hacker News story 49585209 · language: en · submitted 2026-09-06
> Web version: https://zeli.app/story/49585209
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 8 · by [pigeonlabshq](<https://news.ycombinator.com/user?id=pigeonlabshq>) · 💬 6
[original](<https://github.com/pigeonlabsHQ/pigeon>) · [HN discussion](<https://news.ycombinator.com/item?id=49585209>)

## Summary

Pigeon is an open-source Python library that lets developers hand a sub-agent a signed, narrowed credential—a Pigeon Pass—instead of copying the parent's API key. The Pass specifies exactly which actions the agent may perform on which resources, with constraints like rate limits. Verification returns detailed denial reasons, and delegation prevents privilege escalation. It integrates with MCP middleware and works without a central server.

## Key quote

> Identity tells you who the agent is. Authority tells you what it may do.

## HN discussion (6 comments)

### [Retr0id](<https://news.ycombinator.com/item?id=49585435>)

> \> Pigeon Pass is its own credential format. It is not a profile of JWT, CWT, macaroons, Biscuit, or UCAN.
>
> Why?
>
> \> Pigeon is [...] not a [...] key custodian.
>
> What's going on here then? https://github.com/pigeonlabsHQ/pigeon/blob/eb6a1e97b80c4951...
>
> I suppose I'm the first human to read any of this.

### [awestroke](<https://news.ycombinator.com/item?id=49585516>)

> A trivial problem solved in a very complex way

### [pigeonlabshq](<https://news.ycombinator.com/item?id=49585210>)

> When an agent starts a sub-agent, it usually hands over the same credentials. An API key is the obvious case. The same pattern is deploy rights, database access, or permission to merge to main. The child then has everything the parent has.
>
> Pigeon is a small protocol for that. You grant a Pass (capabilities, resources, constraints), delegate a narrower one to the child, and verify before the tool runs. If the child asks for more, it fails closed. Identity says who the agent is. Authority says what it may do.
>
> There is no server. The real secret stays on the runner. The child carries the Pass.
>
> from pigeon import grant, verify
>
> auth = grant(
>
> subject="agent:deployer",
>
> capabilities=["deploy"],
>
> resources=["environment:staging"],
>
> )
>
> verify(auth, "deploy", "environment:staging").allowed          # True
>
> verify(auth, "deploy", "environment:production").reason_code   # RESOURCE_NOT_ALLOWED
>
> v0.1: own format (not JWT/Biscuit/UCAN), Ed25519, rate/count constraints, chain verify, MCP helpers as an enforcement point. Not a platform. Does not stop prompt injection.
>
> Repo: https://github.com/pigeonlabsHQ/pigeon
>
> Release: https://github.com/pigeonlabsHQ/pigeon/releases/tag/v0.1.0
>
> Demo: python demo/agent.py

---

## Cite

- Page: https://zeli.app/story/49585209
- Date: 2026-09-06
- Source: github.com (https://github.com/pigeonlabsHQ/pigeon)
- Hacker News: https://news.ycombinator.com/item?id=49585209

## Other languages

- zh: https://zeli.app/zh/story/49585209 · markdown: https://zeli.app/zh/story/49585209.md
- ja: https://zeli.app/ja/story/49585209 · markdown: https://zeli.app/ja/story/49585209.md
- ko: https://zeli.app/ko/story/49585209 · markdown: https://zeli.app/ko/story/49585209.md
- de: https://zeli.app/de/story/49585209 · markdown: https://zeli.app/de/story/49585209.md
- es: https://zeli.app/es/story/49585209 · markdown: https://zeli.app/es/story/49585209.md
- ru: https://zeli.app/ru/story/49585209 · markdown: https://zeli.app/ru/story/49585209.md
