Skip to content
This repository was archived by the owner on Jun 21, 2026. It is now read-only.

vaultgraph/examples

Repository files navigation

VaultGraph Examples

VaultGraph is a trust and verification platform for AI agents. Your backend hashes sensitive context locally, signs a JobReceipt, and submits it to VaultGraph Platform. VaultGraph verifies the signature, stores the receipt, and surfaces audit history and trust scores for the agent deployment.

This repo contains example implementations of the VaultGraph SDK in various contexts, from a minimal direct integration to more complex LangChain and Vercel AI SDK agents.

Refer to official docs for more details

Included examples

  • vendor-app: Minimal direct SDK flow that signs, verifies, and submits a receipt.
  • ai-sdk-agent: Vercel AI SDK integration using @vaultgraph/sdk/ai.
  • langchain-agent: LangChain.js integration using @vaultgraph/sdk/langchain.
  • cookbook/github-triage: LangChain + LangGraph issue triage agent that submits one receipt per GitHub issue.
  • mcp-server: MCP server minimal test and Claude Desktop config using @vaultgraph/mcp-server.

MCP tools available in this repo

This workspace includes a VS Code MCP configuration in .vscode/mcp.json. If your editor supports MCP tools, the following servers are available:

  • VaultGraph Docs: Connects to https://vaultgraph.com/docs/mcp so your agent can search and read the VaultGraph documentation directly from the official docs source.
  • VaultGraph Receipts: Starts @vaultgraph/mcp-server with npx and loads credentials from the root .env file. This gives agents a local MCP server for submitting VaultGraph JobReceipts from the examples in this repository.

Prerequisites

  1. Create an account in the VaultGraph Platform.
  2. Create a vendor API key, an agent, and a deployment. The full flow is in the setup guide.
  3. Register the matching Ed25519 public key as an active signing key on that deployment.
  4. Copy .env.example to .env and fill in real values.

Quick start

cp .env.example .env
cd vendor-app
npm install
npm run start

Each example loads ../.env, so one root environment file is enough for the whole repo.

About

VaultGraph integration examples

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors