Repository avatar
AI Tools
v0.1.0
active

sovereign-route

io.github.srigenmedia/sovereign-route

India DPDP/RBI geo-pinned <5ms LLM router with AP2 mandates, x402/MPP billing & 12% FinOps.

Documentation

SovereignRoute + AP2 (io.github.srigenmedia/sovereign-route)

mcptry

India DPDP/RBI Geo-Pinned <5ms LLM Router with AP2 Mandates, x402/MPP Billing & 12% FinOps (https://route.srigenmedia.com)

SovereignRoute routes AI inference across Indian sovereign cloud endpoints (asia-south1, ap-south-1, asia-south2, ap-south-2), scrubs regulated Indian PII in volatile request memory before upstream dispatch, enforces cryptographic AP2 (Intent -> Cart -> Payment) mandates, and caps runaway agent spend atomically.

Endpoints

  • FinOps Cockpit: https://route.srigenmedia.com
  • Streamable HTTP MCP Endpoint: https://route.srigenmedia.com/mcp
  • OpenAI-Compatible Chat Completions: https://route.srigenmedia.com/v1/chat/completions
  • Health Check: https://route.srigenmedia.com/health

MCP Client Configuration (mcp_config.json)

{
  "mcpServers": {
    "sovereign-route": {
      "type": "streamable-http",
      "url": "https://route.srigenmedia.com/mcp",
      "headers": {
        "Authorization": "Bearer ${SOVEREIGN_ROUTE_API_KEY}"
      }
    }
  }
}

Available MCP Tools

  1. route_classify_prompt — Scrub regulated Indian PII in volatile memory, classify prompt complexity in <5ms, and resolve a DPDP/RBI geo-pinned upstream region.
  2. route_get_savings_ledger — Inspect live RouteBudgetCoordinatorDO daily/monthly USD spend and freeze state.
  3. route_verify_ap2_mandate — Verify an Ed25519 or ES256 chained AP2 Intent -> Cart -> Payment mandate bundle against TTL, ceiling, and D1 anti-replay nonces.
  4. route_trigger_budget_freeze — Atomically freeze/unfreeze a tenant spend coordinator and dispatch a <50ms Kavach KYA kill-switch sync.

14-Day Shadow Audit & License

See docs/14-day-shadow-audit.md for the 14-day zero-risk shadow audit guide and SECURITY.md for our zero-PII and fail-closed security architecture. Released under the MIT License.