VeriState
VeriState — Agent-Native State, Verification & Micro-Billing SaaS
VeriState is a metered API SaaS built specifically for autonomous AI agents and bots. Agents discover capabilities via /.well-known/agent.json, register programmatically, pay per call in micro-USD (1 USD = 1,000,000 micro-USD), and handle HTTP 402 Payment Required top-ups automatically.
Core Capabilities & Pricing
Checkpoints:
POST /v1/checkpoints($0.002),GET /v1/checkpoints(free),POST /v1/checkpoints/{id}/restore($0.001) — Content-addressed project snapshots and rollback.Sandboxed Verification:
POST /v1/verify($0.005) — JSON validation and isolated Python syntax,entrypoint, andunittestrunner returning compact verdicts. Runs inside ephemeral--network=none,--read-only, CPU/RAM/PID-capped Docker containers in production.Shared Agent Memory:
POST /v1/memory($0.0005),GET /v1/memory/{ns}/{k}($0.0001),DELETE /v1/memory/{ns}/{k}(free) — TTL-aware key-value memory across subagents.Billing & Replay Protection:
POST /v1/billing/topup&POST /v1/billing/stripe-webhook— Single-usepayment_prooftracking (HTTP 409on replay), hardened test/voucher mode, and optional live StripePaymentIntentverification whenSTRIPE_SECRET_KEYis configured.Account & Audit:
GET /v1/agents/balance,GET /v1/agents/ledger,GET /health.
Related MCP server: A2CR
Run Locally
pip install -r requirements.txt
uvicorn app.main:app --reloadRun Tests
python -m unittest discover -s tests -vAgent Discovery & MCP Integration
Web Dashboard:
/or/dashboardAI Crawler Summary:
/llms.txt,/robots.txt,/sitemap.xmlMachine Manifest:
/.well-known/agent.jsonRemote MCP Server (Streamable HTTP):
POST /mcp(metadata atGET /mcp, registry manifest in server.json)
Python SDK
Install directly from source or GitHub:
pip install git+https://github.com/stonedtalesdivision/veristate.gitSee sdk/veristate_agent.py (VeriStateClient) for programmatic discovery, registration, checkpointing, verification, memory, and automatic 402 top-up retries.
Deploy on a VPS (Docker Compose + Caddy)
Copy
.env.exampleto.envand setVERISTATE_DOMAIN(e.g.,api.yourdomain.comfor automatic Let's Encrypt HTTPS, or:80for IP-only HTTP).Optionally set
STRIPE_SECRET_KEY/STRIPE_WEBHOOK_SECRETandVERISTATE_ALLOW_TEST_BILLING=falsefor live Stripe billing.Run the bootstrap script on the VPS:
bash deploy/vps_setup.shAvailable Tools
7 toolsveristate_balanceB
Check current balance in micro-USD, lifetime spend, and active free-trial status.
Inputs: api_key.
veristate_checkpoint_createB
Save a content-addressed project snapshot before risky edits.
Inputs: files (required), project_id (required), label, api_key.
veristate_checkpoint_restoreC
Restore all files from a previously saved checkpoint_id.
Inputs: checkpoint_id (required), api_key.
veristate_memory_readC
Read a JSON value from shared key-value memory.
Inputs: key (required), namespace (required), api_key.
veristate_memory_writeC
Store a JSON value in TTL-aware shared key-value memory for subagents.
Inputs: key (required), value (required), namespace (required), api_key, +1 more.
veristate_register_agentB
Register a new autonomous agent with VeriState and receive an X-Agent-Key plus starter credits.
Inputs: name (required).
veristate_verifyC
Verify Python or JSON files and optionally run unittest discovery inside an isolated Docker sandbox.
Inputs: files (required), language (required), api_key, entrypoint, +1 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 7 tools
Each tool targets a clearly distinct resource and action: registration, billing status, checkpoint creation/restoration, verification, and memory read/write. No two tools overlap in a way that would cause misselection.
All tools share the veristate_ prefix, but the remainder mixes conventions: verb_noun (register_agent), noun_verb (checkpoint_create, memory_write), and a standalone noun-like term (balance). The names are still readable, but a consistent create_checkpoint/write_memory style would be clearer.
Seven tools is well-scoped for the domain, with each tool covering a distinct capability needed for agent registration, billing, snapshots, verification, and shared memory. No tool feels redundant or missing from the core set.
Core workflows are covered: agent onboarding, balance checks, checkpoint create/restore, sandboxed verification, and memory read/write. Minor gaps exist, such as listing or deleting checkpoints and deleting or listing memory keys, but agents can work around these limitations.
Maintenance
Related MCP Connectors
Verifiable execution records for AI agents: signed receipts, tamper-evident archives and portable evidence bundles, exposed via MCP and REST, with paid verify and anchor calls settled over x402.
Agent-native MCP for governed commerce, x402 payments, paid capabilities, and verifiable receipts.
Governed MCP: agent audit, provenance, deterministic checks, and receipt-backed FragGate execution.
Agent-native double-entry accounting ledger with x402 micropayments
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceFoundational MCP/A2A-native core platform for secure credential injection, native x402 micropayments, and Agent-to-Agent routing.2MIT
- AlicenseBqualityDmaintenanceMCP server for AI-agent handoffs with client-encrypted WorkBaton checkpoints and WorkStash notes.2178 PyPI2Apache 2.0
- AlicenseNot gradedqualityDmaintenanceA continuous, out-of-band trust and reliability layer for the MCP ecosystem. It fingerprints MCP server tool definitions, detects and classifies drift (e.g., rug pulls) via a severity taxonomy, maintains a hash-chained evidence ledger, and gates CI with SARIF—while also acting as an MCP server itself so agents can check a server's safety before binding.Apache 2.0
- AlicenseNot gradedqualityBmaintenanceProvides AI coding agents with shared project memory, compact evidence-first context, status checks, durable handoffs, and encrypted cross-device checkpoints through MCP.1AGPL 3.0