Kavach KYA (Sovereign Agentic Spend Firewall)

io.github.srigenmediaPublished by GitHub account srigenmediav0.1.0Updated Nov 20, 2026

Zero-custody agentic spend firewall with <50ms kill-switch, 1-tap 2FA holds & audit hash chains.

The publisher's own server: agentic.no

VerifiedStreamable HTTPWeb executableFinanceSecurity & Monitoring

Overview

AI-generated overview

Remote Kavach KYA firewall that lets an assistant check agent spend policy, inspect agent eligibility and spend, and trigger a kill switch.

What you can do
  • Evaluate an agent spend tuple against velocity limits, merchant allowlists and prompt-injection guards
  • Inspect an agent's live eligibility flag, daily velocity spend and pending 2FA holds
  • Atomically revoke an agent by flipping its eligibility flag and propagating the revocation downstream
When to use it
Useful when an assistant operates or supervises autonomous agents that spend money and you want a policy check before a payment, a status view of an agent's limits, or a fast way to revoke an agent's spending eligibility.
Requirements
A remote streamable HTTP endpoint; no local package. A bearer token supplied in the Authorization header is required for tenant firewall policy and kill-switch calls.
Before you install
The Authorization bearer token is a secret granting access to your tenant's spend policy and kill-switch controls; keep it out of logs and shared configs. The kill switch changes state and revokes an agent's eligibility, so calls should be deliberate. Spend decisions and audit receipts are handled by the third-party service.

Installation

In SourceWeft

  1. Open Kavach KYA (Sovereign Agentic Spend Firewall) in the dashboard and add it to a workspace.
  2. Connect Authorization token credentials. They are stored privately and never shown on public pages.
  3. Enable the server for the chats that should use its tools.

Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.

Use with an agent

Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.

Read https://sourceweft.com/mcp/io.github.srigenmedia%2Fkavach-kya/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.

Read the install guide the agent follows

Other MCP clients

Add this to your client's mcpServers config.

{
  "mcpServers": {
    "kavach-kya-sovereign-agentic-spend-firew": {
      "type": "http",
      "url": "https://kavach.srigenmedia.com/mcp",
      "headers": {
        "Authorization": "Bearer <YOUR_TOKEN>"
      }
    }
  }
}

README

Kavach KYA (io.github.srigenmedia/kavach-kya)

[mcptry]

Sovereign Agentic Spend Firewall & Streamable HTTP MCP Guard (https://kavach.srigenmedia.com)

Kavach KYA is a zero-custody (₹0.00 customer funds held) horizontal B2B Know-Your-Agent (KYA) spend firewall for autonomous AI agents, 402-in-a-Box gateways, and Model Context Protocol (MCP) tool servers.


Core Capabilities

  • Streamable HTTP /mcp Endpoint (https://kavach.srigenmedia.com/mcp):
    • kavach_check_spend_policy — Evaluates canonical 5-tuples [asset_or_currency, kya_agent_id, merchant_vpa_or_recipient, amount_minor_or_units, eligibility_flag] against velocity limits, merchant allowlists, and prompt-injection guards.
    • kavach_get_agent_status — Inspects live eligibility_flag (0/1), daily velocity spend, and pending 2FA holds.
    • kavach_trigger_kill_switch — Atomically flips eligibility_flag = 0 in < 50ms via Cloudflare SQLite Durable Objects (KyaSpendCoordinatorDO) and propagates revocation to 402-in-a-Box (PUT /api/admin/kya/agents/:id/eligibility).
  • Hibernatable 15-Minute 2FA Holds & 1-Tap Webhooks: Velocity/amount breaches enter AWAITING_HUMAN_2FA with 15-minute Durable Object alarm() expiry and constant-time HMAC-SHA256 verified Slack (X-Slack-Signature) and WhatsApp Business (X-Hub-Signature-256) 1-tap callbacks.
  • Tamper-Evident Audit Hash Chain: Every decision appends a SHA-256 hash-chained receipt (prev_receipt_hash -> receipt_hash) with verified bank/gateway UTR/RRN proofs and zero raw PII.
  • Zero-Custody & Indian Regulatory Safe-Harbor: Holds ₹0.00 customer funds; B2B SaaS plans are billed under SAC 998315 (18% GST INR) or 0% Export LUT (USD).

Quick MCP Client Configuration

json
{  "mcpServers": {    "kavach-kya": {      "type": "streamable-http",      "url": "https://kavach.srigenmedia.com/mcp",      "headers": {        "Authorization": "Bearer ${KAVACH_OPERATOR_JWT}"      }    }  }}

See docs/402-in-a-box-connector.md for the complete 5-minute HTTP & webhook integration guide and SECURITY.md for our fail-closed security architecture.

Source: README.md at commit 066edfe

Tools

3

kavach_check_spend_policy

Evaluate an agent spend 5-tuple against Kavach KYA velocity limits, merchant allowlists, and prompt-injection guards.

Parameterstenant_idrequiredkya_agent_idrequiredintent_summaryuser_intent_hashrequiredasset_or_currencycart_mandate_hashrequiredtool_payload_summaryamount_minor_or_unitsrequiredmerchant_vpa_or_recipientrequired

kavach_get_agent_status

Inspect a KYA agent's live eligibility_flag (0/1), daily velocity spend, and pending 2FA holds.

Parameterstenant_idrequiredkya_agent_idrequired

kavach_trigger_kill_switch

Atomically flip eligibility_flag = 0 in <50ms and propagate revocation to downstream 402-in-a-Box gateways.

Parametersreasonrequiredtenant_idrequiredkya_agent_idrequired

Version history

1
  1. v0.1.0LatestNov 20, 2026

Score

100% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 daysRequired25 pts
  • Auth declaredRequired10 pts
  • Tools listedRequired15 pts
  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts

Other Agentic integrations