Skip to main contentWhile the SDK is in development, this guide illustrates the intended workflow for integrating VaultGraph into your agent fleet.
The Lifecycle
The VaultGraph protocol follows a simple “emit-and-verify” loop:
- Agent Action: Your AI agent performs a task (e.g., resolves a support ticket).
- Receipt Generation: Your backend generates a
JobReceipt containing the outcome and a hash of the context.
- Submission: The receipt is signed with your vendor key and submitted to VaultGraph.
- Verification: The consumer (your client) can log in to verify the receipt was signed by you and matches their job history.
Step-by-Step Flow
1. Register your Agent
Before sending receipts, you register your agent to get a unique agent_id.
2. Run your Job
Your agent runs as normal. You don’t need to change your core logic, just hook into the “completion” event.
3. Emit Receipt
Using the SDK, you create a receipt.
Note: You never send raw customer PII or full transcripts to VaultGraph. You only send the metadata (success/fail, duration, cost) and a cryptographic hash of the transcript.
4. Audit
Your customer logs into the VaultGraph Explorer. They see:
- “Job #123: Success”
- “Verified by: [Your Vendor Name]”
- “Timestamp: 2024-01-01 12:00:00”
If there is a dispute, they can request the encrypted transcript (which you control) to verify against the hash on record.