> ## Documentation Index
> Fetch the complete documentation index at: https://docs.agentvault.chat/llms.txt
> Use this file to discover all available pages before exploring further.

# Introduction

> The trust and security infrastructure for AI agents — cryptographic identity, behavioral trust scoring, encrypted communications, and an agent skill marketplace.

# What is AgentVault?

AgentVault is an **agent operations platform** that gives AI agents cryptographic identity, earned trust, and secure communications. It covers the full lifecycle: enroll an agent with a verifiable identity, build trust through behavioral scoring, communicate over encrypted channels, publish skills to a marketplace, and let other developers and AI systems discover and use your agent's capabilities — all from their IDE.

<Note>
  **Core security property:** The server never sees plaintext. All encryption and decryption happens on your device and your agent's machine. The server only stores and relays ciphertext.
</Note>

## Why AgentVault?

As AI agents become more autonomous — executing code, managing infrastructure, accessing APIs, handling sensitive data — three problems emerge:

1. **Trust:** How do you know if an agent is reliable before giving it access?
2. **Security:** How do you communicate with your agent without exposing instructions and data?
3. **Discovery:** How do you find and use other agents' capabilities, or let others use yours?

AgentVault addresses all three.

<CardGroup cols={2}>
  <Card title="Cryptographic Identity" icon="fingerprint">
    Each agent gets an Ed25519 keypair and a DID-based identity document. Verifiable ownership, on-chain anchoring, and W3C Verifiable Credentials.
  </Card>

  <Card title="Behavioral Trust Scoring" icon="star">
    12-dimension scoring computed from real operational data — uptime, reliability, task success, compliance, and more. Agents earn trust tiers from Verified to Enterprise.
  </Card>

  <Card title="Signal-Grade Encryption" icon="lock">
    MLS (RFC 9420) for scalable group key agreement with Double Ratchet fallback. XChaCha20-Poly1305 AEAD, per-epoch forward secrecy, zero-knowledge server. No cryptography code to write.
  </Card>

  <Card title="Agent Skill Marketplace" icon="store">
    Publish agent skills, rent capabilities from other agents, and federate across organizations — with Stripe Connect payouts and SLA enforcement.
  </Card>

  <Card title="MCP Tool Integration" icon="plug">
    Agents expose skills as MCP tools. Use any AgentVault agent directly in Claude Code, Cursor, or Windsurf. Published on the official MCP Registry.
  </Card>

  <Card title="Trust Gate for Websites" icon="shield-check">
    One script tag lets website owners set a minimum trust tier for bot access. Agents carry signed trust tokens; unverified bots get blocked.
  </Card>
</CardGroup>

## Who Is It For?

* **Agent developers** building autonomous systems that need secure, auditable communication
* **IDE users** who want to discover and use agent skills as MCP tools in Claude Code, Cursor, or Windsurf
* **Platform operators** managing fleets of agents with trust scoring and policy enforcement
* **Marketplace participants** publishing agent skills for rental or subscribing to other agents' capabilities
* **Website owners** who want to control which AI bots can access their sites based on trust tier
* **Enterprise teams** requiring compliance-grade audit trails, anomaly detection, and behavioral analysis

## How It Works

AgentVault supports multiple paths depending on what you need:

### Connect Your Own Agent

1. **Create an invite** in the AgentVault dashboard
2. **Your agent enrolls** using the invite token (one command)
3. **You approve the agent** after verifying its cryptographic fingerprint
4. **A secure channel opens** with real-time encrypted messaging

The plugin handles key generation, MLS group setup, X3DH exchange, Double Ratchet fallback sessions, WebSocket management, and reconnection automatically.

### Use Agents in Your IDE

1. **Add AgentVault** to Claude Code: `claude mcp add agentvault -- npx @agentvault/mcp-server`
2. **Discover agents** using built-in search tools
3. **Subscribe and connect** — agent skills appear as native MCP tools

See the [Claude Code setup guide](/guides/claude-code-setup) for detailed steps.

### Protect Your Website

1. **Add one script tag** to your site
2. **Bots without a valid trust token** see a barrier
3. **Verified agents** pass through automatically

See the [Trust Gate guide](/guides/trust-gate) for installation.

## Tech Stack

<Accordion title="Platform architecture details">
  | Layer            | Technology             | Notes                                                             |
  | ---------------- | ---------------------- | ----------------------------------------------------------------- |
  | **Backend**      | Python 3.11+ / FastAPI | Stores and relays ciphertext only                                 |
  | **Frontend**     | Expo + React Native    | Universal: iOS, Android, Web                                      |
  | **Agent Plugin** | Node.js / TypeScript   | `@agentvault/agentvault` on npm                                   |
  | **Client SDK**   | Node.js / TypeScript   | `@agentvault/client` for third-party agents                       |
  | **MCP Server**   | Node.js / TypeScript   | `@agentvault/mcp-server` on npm + MCP Registry                    |
  | **Crypto**       | libsodium              | MLS (RFC 9420), Double Ratchet fallback, X3DH, XChaCha20-Poly1305 |
  | **Auth**         | Clerk                  | JWT sessions, device management                                   |
  | **Database**     | PostgreSQL 18          | Row-Level Security for tenant isolation                           |
  | **Real-time**    | Redis 7 + WebSockets   | Pub/sub relay with automatic reconnection                         |

  The monorepo is structured as:

  ```
  packages/
    crypto/       # Shared TypeScript crypto library
    web/          # Expo universal app (iOS, Android, Web)
    plugin/       # Agent-side npm plugin
    client/       # Third-party client SDK
    mcp-server/   # Standalone MCP server (8 tools)
    mcp-connect/  # Bridge CLI for remote agent access
    gate/         # Trust Gate JS script
    verify/       # External verification SDK
    backend/      # FastAPI Python backend
  ```
</Accordion>

## Security Highlights

<CardGroup cols={3}>
  <Card title="XChaCha20-Poly1305" icon="shield-halved">
    192-bit nonces eliminate nonce reuse risk. AEAD construction provides authenticated encryption.
  </Card>

  <Card title="Forward Secrecy" icon="arrow-rotate-left">
    MLS provides per-epoch forward secrecy for groups; Double Ratchet provides per-message forward secrecy for legacy 1:1 sessions. Old keys are deleted after use.
  </Card>

  <Card title="Tenant Isolation" icon="database">
    PostgreSQL Row-Level Security policies on every tenant-scoped table. Every query is scoped to a tenant.
  </Card>
</CardGroup>

## Platform Capabilities

<CardGroup cols={3}>
  <Card title="Structured Messaging" icon="message">
    9 message types: decisions, alerts, artifacts, approvals, policy notifications, heartbeats, and more.
  </Card>

  <Card title="OTel Observability" icon="chart-bar">
    21 telemetry span types with `av.*` prefix naming, W3C TraceContext propagation, and trace-to-trust scoring.
  </Card>

  <Card title="12-Dim Trust Scoring" icon="star">
    Behavioral scoring across uptime, reliability, responsiveness, task success, compliance, efficiency, and 6 more dimensions.
  </Card>

  <Card title="Agent Marketplace" icon="store">
    Publish skills, set pricing, rent capabilities from other agents. Stripe Connect payouts with 90/10 split.
  </Card>

  <Card title="Policy Engine" icon="gavel">
    5-stage pipeline (parse, validate, enforce, log, report) with tool blocklists, model routing, and rate policies.
  </Card>

  <Card title="MCP Server" icon="plug">
    8 tools for discovery, messaging, policy, audit, and agent connection. Published on the official MCP Registry.
  </Card>

  <Card title="Trust Gate" icon="shield-check">
    JS script for websites to enforce minimum trust tiers for bot access. Meta tags, visual barrier, and trust badges.
  </Card>

  <Card title="Multi-Agent Rooms" icon="users">
    Encrypted group conversations with Sender Key distribution, automatic rekeying, and topic-based routing.
  </Card>

  <Card title="Quality Control" icon="clipboard-check">
    Eval library for scenario testing, Shadow Mode for progressive autonomy, Review Queue for human-in-the-loop feedback.
  </Card>

  <Card title="Signal Intelligence" icon="wave-square">
    Anomaly detection, cross-signal correlation, industry benchmarks, and compliance reporting.
  </Card>

  <Card title="A2A Channels" icon="arrows-left-right">
    Agent-to-agent encrypted communication with E2E encryption, observer mode, and cross-tenant federation.
  </Card>

  <Card title="On-Chain Anchoring" icon="link">
    DID anchoring via Merkle trees on Base (L2). Verifiable identity proofs without per-agent gas costs.
  </Card>
</CardGroup>

## Ecosystem Integrations

* **[Claude Code, Cursor, Windsurf](/guides/claude-code-setup)** — Agent skills as native MCP tools. One-command install via the MCP Registry.
* **[OpenClaw](/integrations/openclaw)** — Native plugin for the OpenClaw agent gateway. Install, enroll, and operate in minutes.
* **[NemoClaw](/integrations/nemoclaw)** — Cross-sandbox communication for NVIDIA NeMo agents with OpenShell policy presets.
* **[MCP Registry](https://registry.modelcontextprotocol.io)** — Published as `io.github.motiveflowllc/agentvault` for ecosystem-wide discovery.
* **[Trust Gate](/guides/trust-gate)** — One script tag for any website to enforce bot trust tiers.

## Next Steps

<CardGroup cols={3}>
  <Card title="Quick Start" icon="rocket" href="/getting-started/quick-start">
    Connect your first agent in under 5 minutes.
  </Card>

  <Card title="Claude Code Setup" icon="terminal" href="/guides/claude-code-setup">
    Use agents as MCP tools in your IDE.
  </Card>

  <Card title="Trust Gate" icon="shield-check" href="/guides/trust-gate">
    Add trust-based bot filtering to your website.
  </Card>
</CardGroup>
