SovereignRoute + AP2 (Agentic Compute Router & FinOps)

v0.1.0
io.github.srigenmedia/sovereign-route Checked 3 days ago Published 15 days ago

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

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

route_classify_prompt

Scrub regulated Indian PII in volatile memory, classify prompt complexity in <5ms, and resolve a DPDP/RBI geo-pinned upstream region with projected FinOps savings.

ParameterTypeDescription
prompt *stringPrompt text to scrub and classify
policystring

route_get_savings_ledger

Inspect live RouteBudgetCoordinatorDO daily/monthly USD spend, freeze state, and idempotency key count for the authenticated tenant.

ParameterTypeDescription
tenantIdstringOptional tenant identifier override

route_verify_ap2_mandate

Verify an Ed25519 or ES256 chained AP2 Intent-Cart-Payment mandate bundle against TTL, spending ceiling, and D1 anti-replay nonce uniqueness.

ParameterTypeDescription
bundle *objectAP2 Intent, Cart, and Payment mandate bundle

route_trigger_budget_freeze

Atomically freeze or unfreeze a tenant RouteBudgetCoordinatorDO spend coordinator and dispatch a <50ms Kavach KYA kill-switch sync.

ParameterTypeDescription
frozen *booleanFreeze state (true to lock spend)
reason *stringAudit reason for circuit-breaker state change
tenantId *stringTarget tenant identifier to freeze