@irelia0nerf4
Alex BolsonFounder▲8
Founder and chief architect, FoundLab
Oct 31 · Security · Balneário Camboriú

Your AI agent passed every eval. Who authorized its next action?

We've spent a lot of time making AI agents smarter. I'm increasingly convinced we're asking the wrong question.

The hard problem isn't whether an agent can decide what to do.

It's whether anyone can independently verify that it was authorized to do it.

Consider a financial AI agent that initiates a transaction, changes a risk limit, or accesses sensitive customer data.

Six months later, an auditor asks:

  • Who authorized that specific action?
  • Which policy version was evaluated?
  • What evidence supported the decision?
  • Can we verify that the executed action matches what was approved?

A successful eval doesn't answer those questions. Neither does a beautiful observability dashboard.

At FoundLab, we're building REX Guard around a specific architectural principle:

AI proposes. Deterministic policy controls authorization. Execution produces verifiable evidence.

The goal is to make authorization enforceable at runtime, independent of the model, and bind the resulting action to an auditable decision record.

This introduces real engineering trade-offs: latency, failure handling, cryptographic evidence, privacy, and the separation of decision authority from execution.

I'm curious how other builders are solving this.

Where do you enforce authorization for AI agents with real-world side effects: inside the agent framework, at the tool gateway, or in the downstream system?

And how do you prove that the action actually executed was the one authorized?

— Alex Bolson
Founder & Chief Architect, FoundLab

Comments4

  • @ryanallis
    Ryan Allis
    Founder of AI Lounge and SaasRise, helping founders reach $100M+ exits
    Nov 1

    That auditor asking questions six months later is often the person whose opinion decides whether a bank buys REX Guard. Could you post a screenshot of the record an auditor would see for one transaction, showing who approved it, which policy version applied and the proof that what ran matched what was approved?

  • @irelia0nerf
    Alex Bolson
    Founder & Chief Architect - FoundLab.
    Nov 1

    Ryan, this is the exact audit gap we’re closing with REX Guard.

    I’d split the evidence into two linked records.

    The DecisionReceipt captures the principal, signed policy authorization, delegation, request digest and ALLOW/DENY decision.

    The EffectReceipt binds that decision to the deployed artifact, the enforcement point and the actual event recorded by the destination system.

    The hard part isn’t verifying a signature. It’s proving that the policy was authorized at the time of the decision, the exact version was enforced, and the resulting execution matches what was permitted.

    We’ve already completed independent offline reproduction of Authority Core V0.2: 309/309 tests passed, including 18/18 mutation checks. Next is validating that decision-to-execution binding end to end.

    For the screenshot, I’d rather show one sanitized transaction with its policy hash, DecisionID, verification results and target-generated event evidence. If a check can’t be verified, it should return INCONCLUSIVE instead of rendering a green checkmark.

    That’s the evidence an auditor needs to inspect six months later, without relying on access to our infrastructure.

    — Alex Bolson
    Founder & Chief Architect, FoundLab

  • @astralhorizonlabs
    Stéphane Roche
    Websites, apps and AI, built end to end.
    Nov 2

    In Piko I enforce it in the code each tool runs, server side, not in the agent framework. The model only picks a tool and its arguments; the tool function then checks ownership, quotas and cost limits against the signed-in user, exactly as if the request came from an untrusted client. Same rule as any public API: the caller is untrusted, and the model is just another caller.

    That covers "was this allowed", not your second question, proving that the executed action is the one that was approved. How do you bind the approval to the execution when the agent chains several tool calls in one turn: one record per call, or one per plan?

  • @irelia0nerf
    Alex Bolson
    Founder & Chief Architect - FoundLab.
    Nov 3

    Stéphane, that’s exactly the distinction we’re trying to make. And I agree with your approach: enforcement belongs on the server side, at the tool or execution boundary, not inside the agent framework.

    Our proposed model treats every protected operation as a separate authorization event.

    The agent can propose a sequence of actions, but that sequence doesn’t inherit execution authority automatically.

    Each protected operation needs a bounded, verifiable grant tied to the authenticated principal, target, exact action and parameters, policy version, and idempotency key.

    For multi-step workflows, we’d preserve the causal relationship between decisions without turning an approved plan into blanket permission. Each consequential step must still satisfy its own execution preconditions.

    Then comes the harder part you identified: proving what actually happened.

    A DecisionReceipt establishes what was authorized. An EffectReceipt links the observed downstream outcome to that specific operation. If the target times out or the outcome cannot be established, we preserve that uncertainty rather than claiming success or failure.

    This is the architecture we’re working toward, not a claim that we’ve already validated every multi-tool failure mode.

    We’re particularly interested in testing concurrency, replay, partial execution, and changes in authority between steps.

    I’d genuinely value your perspective on which of those boundaries is most likely to fail in practice.

Log in to join the thread.