Kosha

Every agent payment,
tax-ready.

An x402 payment gateway on Hedera. An AI agent paying an Indian API in USDC owes Indian TDS, and nobody withholds it today. Kosha does, in the same transaction.

1% past ₹10,000 a year, 20% without a PAN. Rule pack in-2026.2, Hedera testnet.

One payment, four records

Core quotes the tax, settles the price and the TDS in one Hedera transfer, logs the decision to HCS, and turns the quarter into the file a chartered accountant needs.

  1. QuotePOST /v1/quote₹8.84 · pair total ₹10,113 · rate 1%
  2. One atomic transferTransferTransaction, Core pays the fee0.101019 tUSDC from the agent
  3. The API ownerreceiver-in+0.100000 tUSDC, the full price
    The payer’s own reserve2-of-2: agent + Kosha+0.001019 tUSDC, the TDS
  4. HCS recordtopic 0.0.11342856, message #6rate, reason, rule-pack hash, running total
  5. TDS filequarterly CSV, deductee-wisewhat the CA files, with evidence links

Four products, one gateway

Gate for the API owner, Pay for the agent, Core between them, and the Console for the people who file.

Evidence on testnet

Every claim on this page links to the chain or the code. What is not live yet says so.

  1. A payment under the thresholdone leg, no TDS · 0.0.11341449@1793987958.456Open on HashScan
  2. A payment with 1% TDS reservedtwo legs in one transfer · 0.0.11341449@1793987971.680Open on HashScan
  3. A reserve releasethe co-signed scheduled transaction, after the monthly closecoming soon
  4. The payments topicevery tax decision, submit key held by Core · 0.0.11342856Open on HashScan
  5. The sourcethe whole monorepo, with the README as the full write-upOpen on GitHub
  6. The live Consolethe owner, agent and CA workspaces on sample datacoming soon
  7. The demo videothe eight demo steps in under five minutescoming soon
  8. The waitlistfor API owners and agent builders who want this livecoming soon

APIs an agent can pay

Every Kosha-protected API publishes its terms to Arkiv. This list is read live from Arkiv in your browser, so an agent can find what it may pay without asking Kosha.

arkiv.schema = str('kosha.api-listing.v1') AND $owner = addr(0xeA102e83bD920cc72dC70eA18CEcd8A05c8B0604) ORDER BY priceMicroUsdc:u64 ASC

Reading Arkiv…

Listings are written by 0xeA102e83bD920cc72dC70eA18CEcd8A05c8B0604 and expire a week after the API last published its terms.

Why Hedera

  1. 1
    Fixed, tiny feesWithholding 1% of an ₹8 call only pays when the fee is cents, not gas.
  2. 2
    A native multi-party transferOne TransferTransaction does the atomic split. No smart contract, no Solidity.
  3. 3
    HCS as the evidence logOrdered, timestamped, append-only, with a submit key so only Kosha can write.
  4. 4
    Scheduled transactionsThe 2-of-2 reserve release without custody code.
  5. 5
    Agent Kit, HCS-14 and HCS-11Agent identity and policy-enforced spending out of the box.