Deterministic Control for Non-Deterministic AI
Traditional SIEMs watch the clock. We watch the chain of custody.
LockStock is an enterprise-grade security layer that provides real-time monitoring, anomaly detection, and causal auditing for autonomous AI agents. Unlike traditional security tools that rely on timestamps and log correlation, LockStock uses cryptographic hash chains to create a tamper-evident record of agent behavior.
Traditional logs tell you when something happened. LockStock proves what sequence it happened in by creating a tamper-evident cryptographic chain linking every action to its predecessor.
Every agent action is cryptographically chained to its predecessor using parent hash references. This creates a directed acyclic graph (DAG) where:
# Traditional Log Entry (Can be spoofed)
[2026-01-15 14:32:01] Agent A: TRANSFER_FUNDS($10,000)
# LockStock Audit Entry (Cryptographically Chained)
{
"sequence": 45,
"agent_id": "production-agent-001",
"task": "TRANSFER_FUNDS",
"curr_hash": "3d9e4f2c8b7a1f5d...",
"event_type": "normal",
"timestamp": "2026-01-15T14:32:01.234Z",
"metadata": { "amount": 10000, "currency": "USD" }
}
AI agents can hallucinate. When they do, they don't just make a mistake—they make mistakes at the speed of light. A rogue agent might execute 1,000 erroneous database writes before a human can react.
LockStock monitors the rate at which agents make API requests (Δseq/Δtime). It establishes a baseline for normal operation and triggers alerts when velocity exceeds safe thresholds.
Example thresholds — actual values are configurable per agent.
| Metric | Normal Baseline | Warning Threshold | Critical Threshold |
|---|---|---|---|
| State Transitions/sec | 2-5 per second | 30 per second | 50 per second |
| API Calls/min | 10-20 per minute | 100 per minute | 200 per minute |
When velocity exceeds critical thresholds, the gateway automatically trips a circuit breaker:
Instead of text-based logs, the dashboard displays a visual topology graph showing the sequence of agent decisions. This lets you trace any transaction back through the chain to the original user prompt.
The dashboard renders a hierarchical graph where:
Click any node to see its complete lineage. For example, clicking on a TRANSFER_FUNDS operation reveals:
USER_PROMPT: "Process monthly payroll" (Seq: 0)
↳ SUB-AGENT: AUTHENTICATE_USER (Seq: 1)
↳ SUB-SUB-AGENT: VERIFY_2FA_TOKEN (Seq: 2)
↳ SUB-AGENT: LOAD_PAYROLL_CONFIG (Seq: 3)
↳ SUB-AGENT: VERIFY_ACCOUNT_BALANCE (Seq: 4)
↳ SUB-SUB-AGENT: QUERY_BANK_API (Seq: 5)
↳ SUB-AGENT: TRANSFER_FUNDS (Seq: 6) ← You are here
As AI systems grow more capable, agents increasingly collaborate — delegating subtasks, sharing intermediate results, and coordinating complex workflows across teams or organizations. LockStock provides cryptographic authentication for these interactions.
When Agent A sends a task to Agent B, the gateway verifies Agent A's chain identity and delivers the task only after confirming the chain is intact. Agent B can independently verify Agent A's history before accepting the work. Both agents' chains record the handshake, creating an auditable trail of every collaboration.
Configure per-agent A2A policies from the dashboard: enable or disable inbound tasks, restrict which agents or task types are accepted, and set limits on concurrent collaborations. Every policy change is recorded on-chain.
LockStock deploys as a reverse proxy gateway — one Docker container that sits between your AI agents and the LLM provider. No code changes required.
Point your agents at the gateway instead of the LLM provider directly.
One environment variable: OPENAI_BASE_URL=http://gateway:4000
The gateway handles multiple agents simultaneously. Each agent gets its own identity and chain, routed by a single container.
Works anywhere Docker runs — AWS ECS, Kubernetes, Google Cloud Run, bare metal, or your local machine.
Routes to OpenAI, Anthropic (native or translated), Ollama, or any OpenAI-compatible endpoint.
# Store your credentials securely
pipx install liberty-secrets && liberty init
liberty add LOCKSTOCK_API_KEY "lsk_admin_..."
liberty add LOCKSTOCK_GATEWAY_KEY "lsk_gateway_..."
liberty add LOCKSTOCK_UPSTREAM_URL "https://api.openai.com"
# Provision an agent and start the gateway
lockstock-gateway provision --name my-agent
lockstock-gateway start
# Point your agents at the gateway
OPENAI_BASE_URL=http://localhost:4000
For the full setup including Liberty integration and multi-agent provisioning, see the Gateway Quickstart.
LockStock is designed to support regulatory requirements for AI systems handling sensitive data.
Designed to support SOC2, HIPAA, PCI-DSS, ISO 27001, and GDPR compliance requirements.
Compliance frameworks like SOC2 and PCI-DSS require regular credential rotation. Most systems rotate every 30-90 days, creating windows where compromised credentials remain valid.
LockStock eliminates this gap entirely.
What This Means For Your Audit:
LockStock is priced per agent, per month. Every agent gets every feature.
| Product | Price | Agents | Features |
|---|---|---|---|
| LockStock | $9.99/agent/month | Self-service up to 100 | Everything included |
| Enterprise | Custom | 100+ | Everything + dedicated support + SLA |
Running more than 100 agents? Let's talk.
Get Started →