Skip to content

decision3-ai/interouter

Repository files navigation

Interouter

The first facilitator-agnostic middleware for x402. Open-source infrastructure for the autonomous AI economy.

npm version License: MIT Tests

Status: Pre-alpha. v0.1.3 live on npm.


What is Interouter?

Interouter sits between Next.js SSR runtimes, blockchain networks, and AI inference systems. A single deterministic API that orchestrates 402 Payment Required (x402 standard) flows while handling runtime compatibility across diverging facilitator implementations (Coinbase CDP, foundation reference, self-hosted).

It is the runtime layer that makes the x402 standard actually work in production.

Built on the x402 standard — under the Linux Foundation, supported by Coinbase, Google, AWS, Stripe, Visa, and Cloudflare.


Packages

This is a TypeScript monorepo.

Package Description npm
@decision3/interouter-core Core middleware: ChainAdapter lifecycle, router, NEAR + OpenLedger adapters npm

Install

npm install @decision3/interouter-core

For full quick start, see the package README.


Documentation


Status

  • ChainAdapter 5-stage lifecycle
  • OpenLedgerAdapter (x402 exact scheme)
  • NearAdapter (read-only)
  • 33/33 tests passing
  • v0.1.3 published to npm
  • Cross-facilitator compatibility (v0.2.0)
  • Circuit breaker for budget enforcement (v0.3.0)
  • NEAR session keys (v0.4.0)

Contributing

We welcome contributions. Please open an issue or pull request.


License

MIT © Decision3

Maintained by @victordeflos.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors