2026-11-26 15:47 UTC

PRÆTORE offers policy-based authorization and evidence for AI-agent tool calls

state: seedheat: lowuncertainty: mediumrelevance: mediumagent-security authorizationMavericksantander

What is this?

PRÆTORE is a Rust project by Mavericksantander for policy-based authorization and governance of AI-agent actions. Its GitHub repository describes a core that evaluates signed requests against delegated authority and declarative policies, defaults to deny when no rule applies, and can produce signed, verifiable evidence. The project also offers a local MCP proxy intended to mediate certain tool calls, plus approval and offline-verification demos. A prebuilt praetore-mcp v0.3.6 release is described as available, but it was built from an older commit rather than current main. The project says it is under active development and has not been independently audited or accredited; its own documentation also details limits on what it governs and what its evidence proves.

Why it matters

As AI agents gain access to tools and services, authorization outside the model could provide a way to constrain actions with explicit rules, human approval, and records that can be checked later. PRÆTORE makes that approach tangible in a Rust library and local MCP proxy. Its potential is meaningful, but the supplied evidence is primarily the project's own documentation and demos: it does not establish independent security validation or production readiness. Enforcement is limited to actions routed through the integration, and the project says commercial use requires a separate written license.

Current assessment

The new development evidenced here is a publicly available, actively developed authorization/governance project, including a documented prebuilt praetore-mcp v0.3.6 release and a broader Rust workspace. The repository says the core separates agent identity, delegated authority, action, policy, decision, and evidence; uses deterministic policy evaluation rather than an LLM for the decision; and supports deny-by-default behavior, signed receipts, offline verification, and human approval flows. These are project-described capabilities, not independently confirmed security outcomes. Important qualifications: PRÆTORE says it is pre-release and unaudited; its MCP proxy governs only covered tool calls routed through it, enforcement is cooperative, and it is not itself a sandbox or complete identity/key-management system. Receipt integrity does not establish that an action actually executed or that no records were deleted. The v0.3.6 binaries are not a build of current main; the README says macOS binaries are unsigned and unnotarized, and there are no Windows or Linux ARM binaries. The source license permits non-commercial use only unless a separate written commercial license is obtained. No independent benchmarks, adoption evidence, or audit results are supplied, so track as an early security-infrastructure project rather than established protection for production agents.

Measured heat

now 0 pts/hpeak 2 pts/hcomments 0/hpeers p21momentum: steady2 platformsage 45h
points/hour across evidence · reading as of 2026-11-27 02:23:58.509736+11:00 · deterministic, not a model opinion

How the heat travelled

11-24 19:28 (minted)⭐ origin echo-reconstructedThe HN post links directly to the repository, whose README presents PRÆTORE as its own software project: “Deterministic authorization and go
Mavericksantander (GitHub account; HN submitter santander_cl) on github (echo) · attributed from hn.story.50632565 · published time unknown
—
11-24 18:43first on hacker news · published · lag ?PRætore, a Rust authorization engine between AI agents and their tools
santander_cl
—
11-24 18:43amplified on hacker news 👑hn.story.50632565
santander_cl
peak 1 · 0 comments · 103% of case engagement
11-24 19:21our radar first saw it · lag ?discovery anchor: hn.story.50632565—
pace: p18 vs 1548 stories at the 24h mark (now 45h old) — behind agent-alley-social-experiment (0.5x)

Evidence (2) — ⭐ canonical anchor

sourceobjectauthorscorecomments
🟧 hnPRætore, a Rust authorization engine between AI agents and their tools
Retrieved article excerpt

Open article · Retrieved 2026-11-24T19:24:35.567300+00:00

# PRÆTORE

[Assurance gates](https://github.com/Mavericksantander/praetore/actions/workflows/assurance.yml)
[Rust](https://www.rust-lang.org/)
[Python](https://www.python.org/)
[PostgreSQL](https://www.postgresql.org/)

**Deterministic authorization and governance primitives for AI-enabled
systems.**

PRÆTORE Core is a Rust library for evaluating signed authorization requests
against declarative policy and delegated authority. It keeps identity,
authority, policy, decisions, and evidence as separate concepts and defaults
to deny when a policy has no applicable rule.

```
flowchart LR
    A[Agent] --> B[Authority]
    B --> C[Action]
    C --> D[Policy]
    D --> E[Decision]
    E --> F[Evidence]
```

 Loading

> **Status:** under active development. Not independently audited or
> accredited. Passing the repository's tests is not a substitute for your own
> threat model, deployment validation and security assessment.

---

## Contents

- [Quickstart](https://github.com/Mavericksantander/praetore#quickstart)
- [Install a prebuilt binary (no Rust)](https://github.com/Mavericksantander/praetore/blob/main/docs/install-prebuilt.md)
- [Install with your AI coding agent](https://github.com/Mavericksantander/praetore#install-with-your-ai-coding-agent)
- [Third-party verification demo](https://github.com/Mavericksantander/praetore#third-party-verification-demo)
- [Human approval with `praetore approve`](https://github.com/Mavericksantander/praetore#human-approval-with-praetore-approve)
- [Claude Code hook: visual evidence](https://github.com/Mavericksantander/praetore#claude-code-hook-visual-evidence)
- [Verify evidence offline](https://github.com/Mavericksantander/praetore#verify-evidence-offline)
- [Workspace crates](https://github.com/Mavericksantander/praetore#workspace-crates)
- **Reference**
  - [Status](https://github.com/Mavericksantander/praetore#status)
  - [Current state on `main`](https://github.com/Mavericksantander/praetore#current-state-on-main)
  - [Limitations](https://github.com/Mavericksantander/praetore#limitations)
  - [Not verified](https://github.com/Mavericksantander/praetore#not-verified)
  - [In development](https://github.com/Mavericksantander/praetore#in-development)
  - [What it is — and is not](https://github.com/Mavericksantander/praetore#what-it-is--and-is-not)
  - [Local PostgreSQL gateway demo](https://github.com/Mavericksantander/praetore#local-postgresql-gateway-demo)
  - [Documentation](https://github.com/Mavericksantander/praetore#documentation)
  - [Core Concepts](https://github.com/Mavericksantander/praetore#core-concepts)
  - [Design Principles](https://github.com/Mavericksantander/praetore#design-principles)
  - [Repository Structure](https://github.com/Mavericksantander/praetore#repository-structure)
  - [Security and production use](https://github.com/Mavericksantander/praetore#security-and-production-use)
  - [Development](https://github.com/Mavericksantander/praetore#development)
  - [Architecture](https://github.com/Mavericksantander/praetore#architecture)
  - [Authorization Model](https://github.com/Mavericksantander/praetore#authorization-model)
  - [Evidence and Integrity](https://github.com/Mavericksantander/praetore#evidence-and-integrity)
  - [Verify evidence offline (reference)](https://github.com/Mavericksantander/praetore#verify-evidence-offline-reference)
  - [End-to-end examples](https://github.com/Mavericksantander/praetore#end-to-end-examples)
  - [Security](https://github.com/Mavericksantander/praetore#security)
  - [License](https://github.com/Mavericksantander/praetore#license)
  - [Trademarks](https://github.com/Mavericksantander/praetore#trademarks)
  - [Copyright](https://github.com/Mavericksantander/praetore#copyright)

---

## Quickstart

Requirements: Rust 1.88 or newer and Cargo.

Readers who want a prebuilt `praetore-mcp` binary and no Rust can install
from the published v0.3.6 release:
[Install from the v0.3.6 release](https://github.com/Mavericksantander/praetore/blob/main/docs/install-prebuilt.md).
The commands in this Quickstart stay a from-source path.

Run the self-contained example from the repository root:

```
git clone https://github.com/Mavericksantander/praetore.git
cd praetore
cargo run -p praetore-core --example quickstart
```

Expected output:

```
Strict: ALLOW; request intent, issuer authority, and evidence integrity verified.
HighAssurance: ALLOW; intent, issuer authority, attester signature, and evidence integrity verified.
```

The example creates an agent keypair, issues an authority bound to that key,
signs requests, evaluates them in **Strict** and **HighAssurance** modes and
verifies the resulting evidence. It uses ephemeral keys, an in-memory replay
guard and a demonstration freshness provider.

It creates an agent keypair, issues an authority bound to that key, signs
requests, evaluates them in both **Strict** and **HighAssurance** modes, and
verifies the resulting evidence. The example uses ephemeral keys, an
in-memory replay guard, and a demonstration freshness provider; none is
suitable for production. See the [policy language guide](https://github.com/Mavericksantander/praetore/blob/main/docs/policy-language.md)
for declarative rules and the [crypto and policy guide](https://github.com/Mavericksantander/praetore/blob/main/docs/crypto-and-policy.md)
for signing and verification details.

For the HighAssurance-only variant:

```
cargo run -p praetore-core --example high_assurance
```

For a guided walkthrough (three agent actions, the decision for each, the
hash-linked evidence chain and tamper detection), run `make demo`; see
[docs/DEMO.md](https://github.com/Mavericksantander/praetore/blob/main/docs/DEMO.md).

---

## Install with your AI coding agent

This section is for a person who wants an assistant to install the published
`praetore-mcp` v0.3.6 binary. The same steps are written out in
[Install from the v0.3.6 release](https://github.com/Mavericksantander/praetore/blob/main/docs/install-prebuilt.md). Copy the prompt
below and paste it into the assistant. The assistant should explain every
step and wait for an explicit yes before it changes anything on the computer.
When no stdio server is configured, the prompt can add one test filesystem
server. It can then add one `write_file` deny rule and, if you ask, switch
from observe to enforce. If you ask after that switch, it can add one
`REQUIRE_APPROVAL` rule for `create_directory` on `~/praetore-test`. You
approve the held call in your own terminal. The assistant does not run
`approve`. Each of those waits for its own yes.

The prebuilt binaries come from the published
[v0.3.6 release](https://github.com/Mavericksantander/praetore/releases/tag/v0.3.6),
built from commit `27ceddbbd295162ca351ea5dfa47fe8bb37315a3`. They are not a
build of the current `main` branch. This install does not use Rust and does
not clone the repository. On macOS, verification is `praetore-mcp verify`
only.

This is pre-release software, not independently audited, with no security
guarantees. It is not a network service; it runs on the person's computer.

### Prompt to copy

```
Install praetore-mcp (PRÆTORE) for me from the published v0.3.6 release,
without cloning the repository and without installing Rust. The prebuilt
binaries come from
https://github.com/Mavericksantander/praetore/releases/tag/v0.3.6
and were built from commit 27ceddbbd295162ca351ea5dfa47fe8bb37315a3.
They are not a build of the current main branch. Follow these rules exactly.
If docs/install-prebuilt.md is already on this machine, you may read it.
Do not clone the repository to get it. The steps below are complete.

Ground rules
- Explain each step in plain language before you run it, and wait for my
  explicit "yes" before you download anything, copy a binary onto PATH,
  run `praetore-mcp init`, create or edit any MCP client configuration, or
  change policy. If I do not answer, do not continue.
- After I say yes to an install or uninstall, add `--yes` to that command.
  `praetore-mcp install` and `praetore-mcp uninstall` ask
  `Apply these changes to <file>? [y/N]` only when stdin is a terminal.
  Without a terminal they exit 1, print
  `not modifying <file> without confirmation; re-run with --yes`, and
  change nothing. Piping `y` into the command does not make stdin a
  terminal. Show me the exit code.
- Never use sudo. The binary goes in ~/.local/bin. Keys, policy and
  receipts stay in ~/.praetore/mcp. `install` records the absolute path
  of the binary that is running. Do not move that file after install.
- Never disable, uninstall, bypass or weaken PRÆTORE for yourself, and
  never edit its policy or my client config without asking me first.
  Do not turn off Gatekeeper or any other system check. On macOS, the
  only quarantine command is `xattr -d com.apple.quarantine praetore-mcp`,
  and only after the checksum matches.
- Do not install Rust, Cargo, or Node. Do not clone the repository
  (`git clone`) and do not build from source (`cargo install`, including
  `cargo install --git`). Do not download or run `praetore-verify`. On
  macOS that file is a Linux ELF x86_64 binary. Verification is
  `praetore-mcp verify` only.
- Do not install cosign, and do not verify the Sigstore signature, unless
  I ask. That check is optional. The required check is the SHA256 list in
  step 3. If I ask, pass
  `--certificate-github-workflow-sha 27ceddbbd295162ca351ea5dfa47fe8bb37315a3`
  literally. Do not clone the repository to run `git rev-parse`.
- Only use commands and flags shown by `praetore-mcp --help` and
  `praetore-mcp <command> --help`. If something you need is not there,
  stop and tell me.
- v0.3.6 has no Windows binary and no Linux ARM binary, and there is no
  brew installer. If this machine is not macOS (Apple silicon or Intel)
  or Linux x86_64, stop and tell me.
- Never point a filesystem MCP server at my home directory or at a
  project folder. A test server may use only a new folder created for
  this install, and only after I say yes.

Steps
1. Choose the one archive that matches this machine. Stop if none matches.
     macOS Apple silicon: praetore-mcp-v0.3.6-aarch64-apple-darwin.tar.gz
     macOS Intel:         praetore-mcp-v0.3.6-x86_64-apple-darwin.tar.gz
     Linux x86_64:        praetore-mcp-v0.3.6-x86_64-unknown-linux-gnu.tar.gz
2. In a directory under my home, download SHA256SUMS and that one archive
   from
   https://github.com/Mavericksantander/praetore/releases/download/v0.3.6/
   Do not download the other archives. Do not download praetore-verify.
3. Check the archive against SHA256SUMS before you open it.
   On macOS:  shasum -a 256 -c SHA256SUMS --ignore-missing
   On Linux:  sha256sum -c SHA256SUMS --ignore-missing
   The published SHA256SUMS is:
     93af3bf576a3158fd3087e23fccd3f118aeeb33578bd617f68a47b2e54f66fd2  praetore-mcp-v0.3.6-aarch64-apple-darwin.tar.gz
     99ec7ae7a66cfb9069778a538f8573285eb3be0564769ffa55c5cab19505e368  praetore-mcp-v0.3.6-x86_64-apple-darwin.tar.gz
     d03a7799ef173b767d4bac4da8435466c30d401142644c21b23345c3946d1a46  praetore-mcp-v0.3.6-x86_64-unknown-linux-gnu.tar.gz
     45672489a2d23b42f06b65b1cfcbd271295f8573ad3f1098fe4378970b7490ff  praetore-verify
   The praetore-verify line is there so you can recognize the file. Do not
   download that binary. Show me the check output. If the archive line is
   not OK, or if SHA256SUMS does not match this list, stop. Do not clear a
   quarantine attribute and do not copy the binary.
4. Unpack the archive. It contains a directory of the same name, with
   praetore-mcp, LICENSE and NOTICE.
5. On macOS, after the checksum matches, from that directory run:
     xattr -d com.apple.quarantine praetore-mcp
   macOS binaries are not signed or notarized. Gatekeeper can report that
   the program cannot be opened or is from an unidentified developer. Do
   not change Gatekeeper any other way. If the attribute is already absent,
   say so and continue. Skip this step on Linux.
6. Put the binary
santander_cl10
🟧 echo.github ⭐The HN post links directly to the repository, whose README presents PRÆTORE as its own software project: “Deterministic authorization and goMavericksantander (GitHub account; HN submitter santander_cl)——

Interpretation history

Decision trace