LockedAgents
Inline Policy Enforcement Point for Transactional AI Agents

Let your AI agents resolve and negotiate. Lock down what they can commit.

System prompts are soft context, while your agent's API keys hold full write access to Stripe, Shopify, McLeod, and SAP. LockedAgents sits inline between your agent runtime and your production APIs to enforce caller-bound identity, cross-session velocity limits, and parameter bounds before any mutation executes.

Closing the confused-deputy gap at the tool execution boundary
01 // UNTRUSTED REASONING
Agent & Tool Loop

Support, voice, and sourcing agents ingest untrusted external input and emit a proposed tool call (refunds.create, send_rate_con).

02 // INLINE POLICY ENFORCEMENT POINT
LockedAgents Proxy / Sidecar

Verifies out-of-band caller authority, atomic sliding-window velocity, and parameter ceilings in real time before exchanging a short-lived token.

03 // PRIVILEGED MUTATION
Production APIs & Ledgers

Shopify, Stripe, TMS, and ERP endpoints execute only policy-verified payloads, backed by an Ed25519-signed execution receipt.

System Architecture

How LockedAgents governs every tool call out-of-band

If an agent's service account can issue a $20 appeasement credit or book an $1,800 spot load, that same API key can be manipulated into issuing a $240 returnless refund or signing a $3,200 rate confirmation. LockedAgents intercepts the outbound tool call outside the model context window.

STAGE 1: INGRESS & AGENT
STAGE 2: LOCKEDAGENTS INLINE PEP (REAL-TIME SYNCHRONOUS EVALUATION)
STAGE 3: DETERMINISTIC VERDICT
UNTRUSTED CALLER
Ingress Surface
  • • Support Chat
  • • Carrier Voice/SIP
  • • Inbound Email
  • • External B2B Bot
↓ Prompt + History
AGENT ORCHESTRATOR
LLM / Tool Client

Sierra, Intercom Fin, HappyRobot, LangGraph, or MCP client emits tool call.

POST /v1/evaluate_tool_call
LockedAgents Enforcement Boundary

Stateful Parameter & Identity Evaluation Pipeline

VPC Sidecar or Managed Proxy
2A. OUT-OF-BAND PRINCIPAL BINDING
Confused-Deputy Prevention

Validates signed session JWTs, OAuth 2.0 On-Behalf-Of (act) claims, or Highway/ELD carrier identity outside the prompt so the LLM cannot spoof account ownership.

2B. SLIDING-WINDOW VELOCITY ENGINE
Cross-Session Abuse & Probe Graph

Maintains atomic counters across stateless LLM turns, tickets, and caller aliases to block 30/60/90-day split-refund farming and multi-call spot-rate fishing.

2C. PARAMETER-LEVEL POLICY ENGINE
Deterministic Bounds & Shadow Replay

Inspects JSON tool arguments against versioned policy-as-code: returnless refund caps by net LTV, stepped buy-rate curves against DAT benchmarks, and accessorial locks.

2D. ED25519 EXECUTION LEDGER
Non-Repudiation & CE 3.0 Evidence

Mints a cryptographic signature (X-LockedAgents-Signature) binding caller identity, chat/call hash, policy version, and executed payload for audits and chargebacks.

ZERO STANDING PRIVILEGES: Exchanges short-lived token only on ALLOW verdict In-memory synchronous evaluation
VERDICT 1 // 200 AUTHORIZE
Exchange Token & Commit

Signs scoped token and forwards mutation to Stripe, Shopify, McLeod, or SAP with audit header.

VERDICT 2 // 422 SYNTHETIC STEER
Constrain & Guide Agent

Never crashes the chat. Returns a structured tool_result instructing the bot to pivot to a return label or counter-offer.

VERDICT 3 // 202 ASYNC SUSPEND
Checkpoint for Step-Up

Serializes tool_call_id state, triggers shopper OTP or pricing-desk Slack approval, and resumes on callback.

Built for Staff Engineers & Security Architects

Why not just write an if statement in your tool wrapper or use an API gateway?

Single-request parameter checks work for static web forms. They break down the moment an autonomous agent loops across turns, channels, and shared service credentials.

Production Failure Mode Local Tool Wrapper (if amount > 50) / Stateless Gateway LockedAgents Inline PEP
Split-Transaction & Multi-Call Probing Inspects one call in one process. Bypassed when a user opens five tickets for $49 credits or a carrier dials three times to fish your max buy rate. Maintains atomic sliding-window counters across turns, tickets, voiceprints, and linked payment/MC identifiers.
Graceful Chat & Voice Recovery Throwing an HTTP 403 or Python exception causes Sierra, Fin, or LLM tool loops to retry blindly, hallucinate, or freeze the customer conversation. Injects deterministic synthetic tool_result instructions so the agent smoothly pivots to a prepaid return label or target rate counter.
Confused-Deputy & Shared API Keys Downstream API sees only the agent's standing service account key. Prompt injection can trick the agent into mutating another customer's record. Binds out-of-band caller JWT/OIDC tokens to target resource IDs and performs just-in-time OAuth On-Behalf-Of token exchange.
Async Human Approvals (HITL) Holding an HTTP request open for a 20-minute Slack approval times out worker threads and corrupts the LLM tool_call_id state. Serializes execution state, emits a clean hold response, manages Slack/PagerDuty callbacks, and resumes the exact tool_call_id.
Policy Rollouts & Chargeback Proof Rules are scattered across dozens of repos; changing a threshold requires a code deploy, and standard logs lack cryptographic dispute proof. Evaluates candidate rules in read-only shadow mode against live traffic and signs Ed25519 execution receipts for Visa CE 3.0 & SOC 2 audits.
Three Enforcement Layers

High containment and autonomous speed, without the margin bleed

01
Principal & Velocity Correlation

Stop cross-session farming and rate fishing

Whether a shopper opens four chat tickets in 48 hours to farm appeasement credits or a freight dispatcher calls three times from different numbers to fish your max buy rate, LockedAgents correlates state across every turn and channel.

Out-of-band caller verification

Account ownership, net LTV, and carrier Highway/ELD status are resolved from signed backend tokens and registries, never from untrusted chat text.

Rolling 30/60/90-day velocity caps

Track cumulative appeasements, DNR claims, and rate quotes across linked households, cards, and MC numbers with zero added conversational delay.

02
Payload Gating & Synthetic Steering

Block bad mutations without breaking the conversation

Hard-blocking an API call with a generic error crashes the agent loop and tanks your CSAT or booking conversion. LockedAgents rewrites out-of-bounds parameters or injects structured counter-offer instructions directly back into the agent.

Graceful fallback steering

When a cash refund breaches your returnless threshold, LockedAgents instructs your bot to offer a prepaid return label or bonus store credit instead.

Step-up OTP & supervisor holds

Require instant SMS/email OTP before contact-detail edits or pause high-dollar exceptions for 1-click pricing-desk approval.

03
Shadow Simulation & Dispute Proof

Prove ROI in shadow mode before blocking a single call

Deploy in read-only shadow mode in 15 minutes to see every unauthorized concession, rate leak, or policy bypass your agents are committing today, and generate dispute-ready cryptographic receipts when you go live.

Visa CE 3.0 & audit receipts

Bind shopper session identity, device fingerprint, and explicit chat consent directly to the Stripe Charge ID to win friendly-fraud chargebacks.

Zero-impact policy replay

Simulate tighter refund caps or stepped buy-rate curves against historical agent traffic to measure exact margin saved vs. escalation volume.

Pre-Built Industry Control Packs

Drop-in policy packs built for your exact domain stack

E-COMMERCE & CX AUTOMATION Sierra • Intercom Fin • Zendesk • Shopify • Stripe

Appeasement, Returnless Refund & ATO Guardrails

Stop wardrobers, serial DNR (Did Not Receive) claimants, and organized FTID refund rings from social-engineering your support bot into instant cash refunds and double reshipments. Inspect every outbound refunds.create and Shopify refundCreate mutation against net customer LTV and verified carrier weight scans, and require SMS OTP before email or address changes.

LTV-gated returnless caps • Drop-off scan & weight checks • Step-up OTP on account edits
FREIGHT BROKERAGE & 3PL OPS HappyRobot • FleetWorks • McLeod • Turvo • Highway

Spot-Rate Fishing & Rate Confirmation Locks

Stop dispatcher call centers and chameleon MCs from working your voice and email agents across multiple calls to burn your target rate. Enforce stepped escalation curves between your DAT/Greenscreens target and max buy rate, cap TONU, detention, and layover accessorials in code, and block rate con dispatch in your TMS until Highway status, ELD/cab-card VIN, and Verified Carrier email domain clear.

Multi-call rate-fishing defense • Pre-rate-con Highway & VIN gates • Accessorial & TONU caps
AGENTIC CHECKOUT & PAYMENTS Stripe • Adyen • Visa Intelligent Commerce • Agent Pay

First-Party Fraud & Chargeback Evidence Capture

Accept orders and subscription upgrades initiated by external AI shopping and travel assistants without eating first-party fraud chargebacks (Visa 10.4 / Mastercard 4837). Verify pre-authorized spend caps and SKU refundability rules at checkout, and bind the buyer's signed mandate hash directly to your payment processor webhook for automated Visa Compelling Evidence 3.0 dispute defense.

Visa CE 3.0 evidence packets • Pre-checkout spend-cap verification • 10.4 / 4837 dispute defense
AUTONOMOUS PROCUREMENT & SOURCING SAP Ariba • Coupa • Salesforce Agentforce • Custom MCP

Reserve-Budget Isolation & PO Write Verification

Give sourcing and renewal agents the autonomy to close tail-spend deals without leaking your walk-away budget ceiling. Prevent suppliers from extracting reserve prices through iterative requoting, lock non-negotiable Net-45/60 payment terms and SLA liability caps at the API boundary, and route any counteroffer with unit-price creep to your category buyer before a PO is written.

Reserve-budget isolation • Multi-round concession limits • Payment-term & SLA locks
Start with a 14-Day Shadow Audit

See every unauthorized refund, rate leak, or policy bypass in your logs.

Deploy LockedAgents in read-only shadow mode or run an offline audit on 100 anonymized support tickets or carrier negotiation transcripts. Zero impact on live traffic.

By submitting, you agree to our .