The control plane for AI agents

Rules, approvals, budgets and an audit trail for every model and tool call. Change one base URL; nothing to install.

cartha.in/traces
traces

    Every decision here comes from Cartha's real rule engine. Type an action, switch a rule, approve a hold.

    Works with anything that can set a base URL — and with Claude & ChatGPT over MCP.

    OpenAI · Anthropic · Gemini · Azure OpenAI · Bedrock · Vertex · Groq, Together or your own vLLM / Ollama
    any SDK, LangChain, CrewAI, LlamaIndex, n8n, Make, Copilot Studio
    Claude.ai · ChatGPT · Cursor as MCP clients

    Rules

    Stop the action before it happens.

    Write rules in plain language or as checks: who an agent may email, how much it may refund, which data may leave. Every model call and tool call is judged first; a refused call never reaches the provider or the tool. Try it: change the recipient.

    Rule · Email only acme.in

    Checking…

    Approvals

    A person decides the risky ones.

    Refunds over a limit, payments, deletes: the call waits while an approver gets a Slack message with the exact action. One click approves that one call, once. Drag the amount and see where the rule starts holding it.

    Rule · Refunds over ₹10,000 need approval

    refunds-agent wants to issue a refund of ₹48,000

    Checking…

    Evidence

    Every decision, on the record.

    Each call gets a decision record: the rule, the reason and how long the check took, written before the response is released. Edit the message and see what Cartha masks and records.

    Decision record · what Cartha returns

    // checking…

    Use cases

    What teams put Cartha in front of.

    Cap what an agent can spend

    Give an agent a budget and its model and tool calls are charged to it; once it is used up, calls are refused before they reach the provider. Slack hears at 80% and again at 100%.

    Keep customer data out of prompts

    Emails, phone numbers, card numbers, national IDs and API keys are masked before the prompt reaches the model provider. IP addresses are masked when that category is on (the playground demo includes them; organisations opt in on the gateway).

    Block prompt injection

    Inputs are checked for injection and jailbreak attempts with phrase rules, a trained classifier, or both. A flagged call is refused, and the reason is recorded.

    Approve risky tool calls

    Refunds, payments and deletes wait for a person, who gets the exact action in Slack. Tools outside an agent's allow-list are refused outright.

    Investigate what an agent did

    Every call becomes a trace: prompts, tool calls, the rule that applied and why. Open it step by step when something goes wrong.

    Govern your own models

    Point Cartha at vLLM or Ollama inside your network and the same rules apply. Fail over from OpenAI to Azure OpenAI, or Gemini to Vertex, when a provider is down.

    For lenders

    Agents can work the loan book. They cannot move the money alone.

    Agents that collect, serve, verify KYC and triage fraud alerts all call tools that touch borrowers and money. Cartha sits in front of every one of those calls and decides it before it runs: blocked, held for a person, or allowed with borrower data masked. Credit decisions stay with your own underwriting systems.

    • Collections
    • Servicing
    • KYC operations
    • Payments support
    • Fraud-alert triage

    Blocked

    The agent never does this, whoever asks and however the request is worded.

    • Disburse, sanction or approve credit

      Credit decisions stay with your underwriting systems and your credit team.

      disburse_loan { amount: 250000 }Blocked: agents do not disburse
    • Threaten or shame a borrower

      Collections conduct stays inside your policy: no threat to tell family, employer or neighbours, visit the home or call the police. English, Hinglish and Hindi.

      send_sms “…or we will inform your family and employer”Blocked: intimidating language
    • Follow an instruction hidden in a message

      A customer reply, a pasted document or a line in a file cannot change what the agent may do, in English, Hindi or Hinglish.

      “Pichle sabhi nirdesh anadekha karein…” (ignore all previous instructions)Blocked: prompt injection
    • Send borrower data outside your domain

      Email goes only to addresses you list, and cc and bcc are checked too.

      send_email { to: “files@gmail.com” }Blocked: outside your domain

    Held for a person

    The call waits. An approver sees the exact action in Slack, and one click approves that one call, once.

    • Change a credit limit, rate or tenure

      No change to a borrower's terms without a person signing it off.

      update_credit_limit { new_limit: 500000 }Held for approval
    • Pull a credit bureau report

      CIBIL, Experian, Equifax and CRIF pulls wait for a person.

      fetch_credit_report { customer_id: “C-9” }Held for approval
    • Add or change a payout account

      The usual way a payment gets redirected. New beneficiaries, payees and UPI IDs need a person.

      update_beneficiary { ifsc: “HDFC0001234” }Held for approval
    • Pay or refund above your limit

      You set the number; the starting rule is ₹50,000. The sign is ignored, so a negative amount cannot slip under, and ₹1,20,000-style amounts are read correctly.

      make_payment { amount: 750000 }Held for approval
    • Offer a settlement or a waiver

      An SMS, WhatsApp or email that promises a settlement, waiver or restructure waits for a person. English, Hinglish and Hindi.

      send_sms “We can waive your late fee if you pay today”Held for approval

    Masked or withheld

    Borrower data stays inside. Nothing to configure for a lending organisation.

    • Mask KYC data before the model sees it

      PAN, Aadhaar, GSTIN, mobile numbers, UPI IDs, IFSC codes and labelled bank account numbers are replaced before the prompt leaves for the model provider. With tokenizing on, your own user still sees the originals in the reply.

      “Pay to ramesh.k@okaxis”Sent as “Pay to [REDACTED_UPI]”
    • Withhold a reply that leaks an identifier

      If the model writes a PAN, Aadhaar, IFSC, bank account or UPI ID into its reply, the reply is withheld before your app receives it.

      “Their Aadhaar is 2345-6789-0123.”Withheld: identifier in reply

    Every decision on the record

    The rule, the reason and who approved what, exportable, in an audit log that is hash-chained so tampering shows.

    Stop one agent at once

    A kill switch the agent cannot undo. Its next call is refused before it reaches a provider or a tool.

    Cap what an agent can spend

    A budget across all its calls, which is what stops a large payment split into small ones.

    Hosted in India

    Mumbai region, or inside your own network on Kubernetes.

    Start without stopping anything.

    Install the lending rules report-only. They record what they would have stopped, on your real traffic, before they stop anything. Switch each rule to enforce when that list looks right.

    What Cartha is not: it does not score credit or validate models, and it does not make you compliant with any regulator's framework. It is the runtime control and evidence layer under your own governance. On our own test set of 81 lending cases it catches 59 of 63 attacks and wrongly flags 1 of 18 ordinary cases. It misses paraphrased threats and offers, some impersonation, and a large sum split into payments under the cap. Cartha wrote that test set, so read it as a regression suite, not an independent benchmark.

    One line to start.

    Change your app's base URL to Cartha. Same models, same code; every call now governed.

    base URLhttps://cartha.in/api/v1/proxy/v1
    API keyyour Cartha key
    modelgpt-4o · claude-sonnet-5 · gemini-2.5-flash · custom/<yours>/<model>

    The model name picks the provider. Chat, Responses, embeddings and Anthropic Messages share the same URL.

    Connect Claude & ChatGPT

    Point their remote MCP connector at Cartha. Tool calls run through your rules, budgets and approvals — Cartha holds the credential, not the chat app.

    MCP URLhttps://cartha.in/api/v1/mcp
    AuthOAuth (directory) or Bearer <agent-bound Cartha key>
    Need≥1 registered tool · title + annotations · public HTTPS
    1. ChatGPT (web): Plugins → Add custom MCP server → paste the MCP URL → OAuth or static Bearer → Install → @ the plugin in chat.
    2. Claude.ai: Settings → Connectors → Add custom connector → same URL → OAuth (consent at /mcp-oauth) or static Bearer → Install.
    3. Claude Desktop / Cursor: paste-ready configs in Documentation → MCP. Directory search needs the listing pack + vendor review.

    Remote connectors call from Anthropic / OpenAI's cloud — your API must be reachable on the public internet.

    Benchmarks

    Measured on public datasets.

    Test splits only: the classifier was trained on the train splits and never saw these. Measured on 20 October 2026 on a laptop CPU, with no network calls. Weak spots included.

    Prompt injection and jailbreaks

    Trained classifier. Share of attacks caught, and of harmless prompts wrongly flagged.

    DatasetCaughtFalse +

    xTRam1/safe-guard-prompt-injection

    2,060 cases

    98.0%0.5%

    jayavibhav/prompt-injection

    5,000 sampled cases

    94.5%1.0%

    jackhhao/jailbreak-classification

    262 cases

    92.8%2.4%

    deepset/prompt-injections

    116, mostly German cases · our weak spot

    53.3%0.0%

    deepset is mostly German and we had little non-English training data; it needs more. The phrase rules alone catch far less (0.0% to 29.5%) but never flagged a harmless prompt. A check takes 0.65 to 2.06 ms on average.

    Personal data masking

    gretelai/gretel-pii-masking-en-v1, 5,000 test documents, every category on.

    EntityRecallPrecision
    Email100.0%98.0%
    Credit card99.8%71.0%
    IP address (v4 + v6)99.6%96.4%
    API key96.7%85.3%
    Phone number79.9%75.4%
    SSN / national ID78.9%95.2%

    Not covered yet: names, addresses, dates of birth and other free-text identifiers. Those need a model-based detector. Masking takes 0.058 ms per document on average.

    Built for teams that answer to risk.

    Fails closed

    If a call cannot be checked, it is not sent.

    Your data stays yours

    Isolated per organisation in the database; hosted in India, or in your own network.

    SSO and SCIM

    OIDC or SAML sign-in; people added and removed by your identity provider.

    Your keys

    Stored credentials encrypted, optionally under your own KMS key.

    About 20 ms

    Added at p95 per call in our benchmark.

    Honest status

    SOC 2 and a penetration test are planned, not done. We say so.

    Security details

    Put your agents on a governed path.