Architecture

How the pieces connect

AgentVault is an operating system for on-chain AI agents. The dashboard is the shell; CSPR.click is the wallet layer; module agents form the reasoning layer; Odra contracts on casper-test are the settlement layer. Finance, Compliance, and Commerce are applications built on top.

System layers

LayerRoleResponsibility
PresentationWeb dashboardModule tabs, transaction feedback, activity timeline
WalletCSPR.click + Casper WalletConnect, sign, and broadcast transactions to casper-test
AgentsModule-specific reasoningEvaluate each action before wallet approval
SettlementOdra contracts (Escrow, Attestation)Persist escrow state and attestation reputation on-chain
Chain accessCasper RPCBalance queries and transaction construction

Action pipeline

Step 1User actionUser selects an action in Guardian, RWA, or Marketplace
Step 2Agent reasoningModule agent returns summary, risk notes, and preview
Step 3Transaction buildSystem prepares RPC read, simulation, or signed transaction
Step 4Wallet signingCSPR.click requests approval and submits to casper-test
Step 5FeedbackDashboard updates status and activity timeline

Agent coordinator pattern

Each application maps to a dedicated agent — Guardian, RWA, Marketplace. A shared coordinator dispatches requests by action ID, normalizes responses, and returns structured insight (summary, reasoning, preview) to the dashboard. Module logic stays isolated behind one API surface.

  • Advisory actions return agent reasoning without a chain call
  • RPC actions query live chain state — Guardian balance scan
  • Transaction actions require wallet approval and on-chain settlement

Core components

  • Agent layer — module agents and shared coordinator
  • Dashboard — wallet connection, application UI, transaction feedback
  • Contracts — Odra Escrow and Attestation on casper-test