Skip to content

veriswarm/veriswarm-sdk

VeriSwarm SDK & Integrations

Official client libraries, MCP server, and plugins for VeriSwarm — trust infrastructure for AI agents.

Packages

Package Language Install Description
Python SDK Python pip install veriswarm REST client with Workflows, credential issuance, scoring profiles, LangChain adapter
Node.js SDK JavaScript npm install @veriswarm/sdk ESM client for decisions, events, Workflows, agent management
MCP Server Python pip install veriswarm-mcp 90+ MCP tools for trust scoring, Guard, Passport (incl. JIT access), Vault, Workflows, Compliance (OWASP/EU AI Act/NIST/ISO 42001), Cedar policies + ABAC attributes, SRE, context governance, and content provenance (EU AI Act Art. 50). Works with Claude Desktop, Cursor, and any MCP client.
OpenClaw Plugin TypeScript openclaw plugins install veriswarm 11 tools + 3 hooks for OpenClaw agents. PII tokenization, policy enforcement, audit. Per-feature enable/disable.
GitHub Action Python GitHub Marketplace CI/CD trust gate — check agent trust scores in your pipeline
JSON Schemas JSON npm install @veriswarm/schemas Schema definitions for events, profiles, scores, and workflows

Quick Start

MCP Server (Recommended)

Add to your MCP client config (Claude Desktop, Cursor, etc.):

{
  "mcpServers": {
    "veriswarm": {
      "command": "python3",
      "args": ["-m", "src"],
      "env": {
        "VERISWARM_API_URL": "https://api.veriswarm.ai",
        "VERISWARM_API_KEY": "YOUR_API_KEY"
      }
    }
  }
}

Or use the setup CLI:

pip install veriswarm-mcp
veriswarm-setup --platform claude --api-key YOUR_API_KEY

This installs the MCP server, Guard hooks (PII protection + activity logging), and Guard Proxy config.

Python SDK

from veriswarm_client import VeriSwarmClient

client = VeriSwarmClient("https://api.veriswarm.ai", "YOUR_API_KEY")

# Register an agent
agent = client.register_agent({"slug": "my-agent", "display_name": "My Agent"})

# Check if an action should be allowed
result = client.check_decision(agent_id="agt_123", action_type="send_email")
print(result["decision"])  # "allow", "review", or "deny"

# Ingest events
client.ingest_event(
    event_id="evt_001", agent_id="agt_123", source_type="platform",
    event_type="task.completed", occurred_at="2026-04-01T00:00:00Z",
    payload={"task": "onboarding", "success": True}
)

Node.js SDK

import { VeriSwarmClient } from '@veriswarm/sdk'

const client = new VeriSwarmClient({
  baseUrl: 'https://api.veriswarm.ai',
  apiKey: 'YOUR_API_KEY'
})

const result = await client.checkDecision({
  agentId: 'agt_123',
  actionType: 'send_email'
})

OpenClaw Plugin

{
  plugins: {
    entries: {
      veriswarm: {
        enabled: true,
        config: {
          apiKey: "YOUR_API_KEY",
          piiEnabled: true,
          policyEnabled: true,
          injectionScan: true,
          auditEnabled: true
        }
      }
    }
  }
}

Free Plan

Get started with no credit card:

  • 5,000 trust score queries/day
  • Up to 10 agents
  • Unlimited event ingestion
  • Unlimited portable credentials

Sign up at veriswarm.ai.

Links

License

MIT

Releases

No releases published

Packages

 
 
 

Contributors