New · How-to
How to Use AgentTrust: Beginner's Guide for AI Agents
Learn how to use AgentTrust to put zero-trust policies, human approval gates and a hardware-sealed audit ledger around your autonomous AI agents.
AgentTrust is a security layer that sits between an autonomous AI agent and the tools that agent wants to call. Its own documentation describes it as a verifiable zero-trust control plane, cryptographic black box, and post-quantum policy gateway for autonomous AI agents. This guide explains how to use AgentTrust to put policy, approvals and a tamper-evident audit trail around agent actions.
Because this is security infrastructure rather than a chat app, "using" AgentTrust means integrating and configuring it, not clicking through a wizard. Commands, file names and configuration keys change between releases, so treat the steps below as the decisions you need to make, and follow the project's own onboarding for the exact clicks and syntax. Nothing here replaces reading the repository at github.com/SRN0129/Agenttrust.
What you will achieve and what you need
The goal is a setup where no agent action reaches an external tool until it has been evaluated against your policies, and where every allowed or blocked action leaves a record you can verify later.
What you will achieve
- Every proposed agent action intercepted before external tool execution.
- Deny-by-default capability policies scoped to specific actions and verbs.
- Parameter screening for prompt injections and data leaks before a tool call goes out.
- Real-time blast-radius checks that flag actions touching more than you intended.
- Human approval gates on dangerous actions.
- An immutable, hardware-sealed audit ledger with post-quantum anchoring.
What you need
- An agent runtime: LangChain, CrewAI, AutoGen, or a custom runtime.
- An inventory of the tools, databases, cloud resources and APIs your agent can reach, so you can write meaningful capability policies.
- Credentials for the gateway in the form of Bearer tokens or API keys.
- Hardware or infrastructure that supports TPM 2.0 or Nitro Enclave if you want the hardware-sealed ledger path.
- At least one human available if you plan to use approval gates.
- Access to an external satellite service such as Iridium SBD or Starlink D2C if you want space-airgap attestations.
- A staging environment where a mis-scoped policy will not break production.
How to use AgentTrust, step by step
- Read the repository before installing anything. AgentTrust ships as an open modular monorepo with standalone packages, so the deployment model matters more than any single install command. Confirm which package or control-plane component your use case needs, and note the dependencies it requires.
- Decide whether you are deploying the core control plane or starting with standalone packages. The project offers standalone modular packages named orbital-notary, space-killswitch, doppler-ephemeris, qkd-witness, and core. The full enterprise control plane is separate from those standalone packages. Starting small with core is usually easier than wiring everything at once, especially in a first evaluation.
- Map your agent's tool surface. List every tool, API call, database statement and cloud action your agent could reach, then group them by risk. This inventory is the raw material for the policies you will write in the next steps, and it is the step people skip most often.
- Connect your runtime to the gateway. AgentTrust is documented as integrating with LangChain, CrewAI, AutoGen, or custom runtimes. The aim is that every proposed agent action is intercepted before external tool execution, rather than being checked after the fact.
- Set up gateway authentication. The direct authenticated gateway uses strict Bearer and API key validation. Issue credentials deliberately, keep them out of your agent's own memory or prompt context, and rotate them if an agent can read its own environment.
- Write capability policies with deny-by-default glob matching. Deny-by-default means an action that no policy explicitly allows does not run. Start with a narrow allow list that covers what your agent legitimately needs, then expand as you observe what it actually calls.
- Scope policies down to the verb, not just the resource. AgentTrust supports action-specific and verb scoping through sub-resource and AST verb extraction. In practice that means you can allow a read such as database:orders:SELECT while a destructive verb such as DROP on the same resource stays blocked. Be explicit about the distinction, because a resource-level rule is far too coarse for anything that writes.
- Turn on parameter screening. The control plane screens parameters for prompt injections and data leaks. This is the layer that catches an instruction smuggled into a tool argument, or a call that would ship sensitive data out of your environment, so leave it enabled rather than treating it as optional.
- Review blast-radius checks. AgentTrust checks real-time blast radius and enforces fine-grained capability policies. Use this to decide which actions warrant an approval gate: an action with a wide blast radius is a good candidate, a routine read usually is not.
- Put dangerous actions behind human approval. Dangerous actions can be gated behind one-click human approvals. Remember that this workflow requires human-in-the-loop availability, so decide who is on the hook, what they see, and what happens when nobody responds.
- Configure the audit ledger. Events are recorded in an immutable hardware-sealed audit ledger using TPM 2.0 or Nitro Enclave. If your infrastructure does not expose either, plan for a different audit path instead of assuming the sealed ledger works everywhere.
- Enable post-quantum anchoring. Audit records are anchored with NIST FIPS 204 (ML-DSA) post-quantum Merkle proofs. This is what makes the trail independently verifiable rather than just a log file someone could edit.
- Consider satellite attestations only if you truly need them. AgentTrust provides orbital LEO satellite space-airgap attestations, which rely on external systems such as Iridium SBD or Starlink D2C. For most teams this is an advanced option, not a day-one requirement.
- Test with a low-risk action, then verify the record. Trigger a harmless tool call, confirm it was allowed, then trigger something your policy should block and confirm it was stopped before execution. Check that both events appear in the audit ledger before you move on.
Common mistakes
- Treating AgentTrust as something to install and forget. Policies, capability lists and approval rules need review as your agent gains new tools.
- Writing allow rules at the resource level. Allowing a whole database rather than specific sub-resources and verbs gives away far more than intended.
- Leaving the gateway credentials somewhere the agent can read them. Strict Bearer and API key validation is only useful if the key itself is not exposed to the agent.
- Enabling approval gates with nobody assigned to approve. The workflow needs a human who is actually available; otherwise legitimate actions stall.
- Assuming pricing or plan details exist. No pricing or plan information is stated on the fetched pages, so budget for a conversation with the project rather than a self-serve checkout.
- Enabling every package on day one. Satellite attestation and hardware-sealed ledgers add operational dependencies that are easier to add after the core gateway works.
Tips for better results
- Run the gateway in a staging environment with a copy of your real tool inventory, so you learn which calls your agent actually makes.
- Keep an explicit list of every change to capability policies, and review it whenever you add a tool to an agent.
- Use the audit ledger as a review tool, not just a compliance artifact: reading blocked actions is the fastest way to find policies that are too tight or too loose.
- Start with deny-by-default and a minimal allow list. Widening later is easy; discovering after the fact that an agent dropped a table is not.
- If you are evaluating security infrastructure rather than committing, compare what each option actually enforces. Guardrails AI, Lakera, Prompt Security, HiddenLayer and Invariant Labs all sit in the same broad space; AgentTrust differentiates itself with post-quantum anchoring, hardware-sealed records and satellite attestation concepts.
Free-plan limits to keep in mind
The honest answer is that there is no confirmed free plan. No pricing or plan details are stated on the pages that were checked, so you should not assume a particular allowance, seat count or credit budget. Confirm on the project's own pricing link, listed as github.com/features/issues, and in the repository, before you plan a rollout around it.
Two structural limits matter regardless of price. First, the full enterprise control plane is separate from the standalone packages, so a free or light path through the modular packages may give you components without the complete control plane. Second, some capabilities depend on infrastructure you supply: the hardware-sealed ledger requires TPM 2.0 or Nitro Enclave, satellite features rely on external systems such as Iridium SBD or Starlink D2C, and human approval workflows require someone available to approve. Free plans in this category also change often, so re-check before committing.
Troubleshooting
- Audit records are not sealing. Check whether your environment actually exposes TPM 2.0 or Nitro Enclave. Without one of them, the hardware-sealed ledger cannot do its job.
- Satellite attestation fails or is unavailable. These features depend on external systems such as Iridium SBD or Starlink D2C. Check the upstream service before assuming the problem is in AgentTrust.
- Legitimate actions are blocked. Your deny-by-default rules are probably too broad at the verb level. Confirm the exact action and verb your agent sends, and add a narrow rule for it rather than opening up the resource.
- Actions hang waiting for approval. The approval workflow needs a human in the loop. Either assign someone to the queue or mark that action class as non-approval, accepting the risk deliberately.
- The agent cannot reach the gateway. Re-check the Bearer token or API key and whether it is being passed correctly by your runtime integration, whether that is LangChain, CrewAI, AutoGen or a custom runtime.
- Parameters are being flagged constantly. Screening for prompt injections and data leaks is designed to be sensitive. Review the flagged parameters for false positives and tune your policies rather than switching screening off.
Who AgentTrust is for, and who should look elsewhere
AgentTrust suits teams already running autonomous agents that touch real systems, and who need enforced capability limits, approval gates and a verifiable audit trail, particularly where compliance frameworks such as the EU AI Act are in scope. It is a strong fit if you already run LangChain, CrewAI, AutoGen or a custom runtime and you want security wrapped around it rather than rebuilt inside it.
It is a poor fit if you are still prototyping an agent and have not settled on a runtime, if you need a self-serve free tier with published limits, or if you want a tool that helps you build agents rather than police them. AgentTrust is heavily focused on security infrastructure. If you need content moderation or evaluation tooling, tools such as Guardrails AI, Lakera, Prompt Security, HiddenLayer or Invariant Labs may cover adjacent needs more directly.
Frequently asked questions
Is AgentTrust free to use?
No pricing or plan details are stated on the pages that were checked, so there is no confirmed free plan. Check the project's repository and its listed pricing page, and treat any allowance as unconfirmed until the project states it.
Does AgentTrust work with LangChain, CrewAI and AutoGen?
Yes, the project documents integrations with LangChain, CrewAI, AutoGen, or custom runtimes. You route your agent's tool calls through the gateway so each proposed action is intercepted before external tool execution.
What is the difference between the core control plane and the standalone packages?
AgentTrust offers standalone modular packages named orbital-notary, space-killswitch, doppler-ephemeris, qkd-witness, and core. The full enterprise control plane is separate from those standalone packages, so decide which one you are deploying before you start.
Can AgentTrust stop prompt injection and data leaks from agent tool calls?
The control plane screens tool call parameters for prompt injections and data leaks, and enforces deny-by-default capability policies. That makes it a preventive layer, but it still depends on you writing sensible policies for your own tool surface.
What hardware does AgentTrust need?
The hardware-sealed audit ledger requires TPM 2.0 or Nitro Enclave, and satellite features rely on external systems such as Iridium SBD or Starlink D2C. Human approval workflows also require a person available to approve.