← Projects

AudiThor

AI agents audit your smart contracts and get paid by the second. Safe code takes less time to check, so it costs you less.

  • AI Agents
  • Payments
  • Security
  • TypeScript

The problem

Smart contract audits are expensive, slow and gatekept. A traditional firm charges thousands and takes weeks, which prices out exactly the small teams shipping the most unreviewed code.

AI scanning is fast and cheap enough to change that, but the payment model doesn't fit. A flat fee charges the same for clean code and a disaster. A subscription charges you when you ship nothing. And there is no trust layer to tell a legitimate auditor from a bot harvesting vulnerability data.

What I built

AudiThor is an audit platform where AI agents scan your code and are paid in streaming micro-payments for exactly the time they spend. Safe code finishes quickly and costs less; vulnerable code takes longer and costs more. The price tracks the work.

Around that pricing core: a wallet connection that accepts payment in any major token and swaps it automatically, encrypted delivery so findings are readable only by the wallet that paid for them, an immutable log of every payment and finding, and human-in-the-loop verification so a real person stands behind a result.

Unused budget is refunded on-chain when the session closes.

This grew out of an earlier iteration, KronoScan, which established the escrow and per-category payment model; AudiThor is that design with the integrations finished.

I worked across the whole stack — the agent logic, the payment and escrow layer, and the front end.

How it works

You connect a wallet and pay in whatever token you hold; a swap converts it and the proceeds are deposited into escrow. As the agents work, micro-payments stream out of that escrow every few seconds against the time consumed. A live dashboard shows findings appearing and the cost climbing in real time — you watch the invoice being written.

Results are encrypted so only the paying wallet can decrypt them, and every payment and finding is written to an immutable consensus log, so the audit trail is externally verifiable rather than something we assert. When the session closes, whatever is left in escrow goes back.

Decisions and trade-offs

Streaming payment over a flat fee. The pricing model is the product. It aligns cost with work in a way no subscription does, and it makes the incentive honest: we are not paid more for finding more, only for looking longer.

Escrow with automatic refund. Pre-funding is the only way to stream payments without a credit relationship, and it is only acceptable to users if the unused remainder comes back without anyone having to ask. That refund path is what makes the pre-funding tolerable.

Encrypted results. An audit finding is an exploit until it is fixed. Anything less than encryption-at-delivery turns the platform into a directory of live vulnerabilities.

Human verification in the loop. An AI-only verdict is not something to stake a deployment on. Requiring a verified human to sign off keeps the output accountable, at the cost of some throughput.

What I'd do differently

The per-second billing granularity is finer than anyone needs, and it cost real complexity in the escrow accounting. Billing per completed check — a unit the user can reason about — would give the same incentive alignment with far less machinery, and a user could actually predict their bill before starting.

Built with

Next.js · TypeScript · Solidity · Hedera · Chainlink CRE · Uniswap API · World ID