# Build with Onchain Router

Onchain Router by AgenticFI gives your agents one provider-neutral API for text, images, text to speech, and speech to text. Pay per successful request with USDC on Base and receive a durable receipt. You do not need payer registration or a provider API key.

## Choose how you connect

| Integration | Best for | Availability | Source |
| --- | --- | --- | --- |
| [Direct API](https://onchainrouter.dev/docs/direct-api) | You already have an x402 buyer | Public API | Use the public API |
| [TypeScript SDK](https://onchainrouter.dev/docs/sdk-examples) | You are building a Node.js application | npm alpha · 0.1.2 | [GitHub](https://github.com/AgenticFI/onchain-router-clients) |
| [Buyer CLI](https://onchainrouter.dev/docs/cli) | You work in a terminal | npm alpha · 0.1.2 | [GitHub](https://github.com/AgenticFI/onchain-router-clients) |
| [MCP](https://onchainrouter.dev/docs/mcp) | Your agent uses native tools | npm alpha · 0.1.2 | [GitHub](https://github.com/AgenticFI/onchain-router-clients) |
| [Local OpenAI proxy](https://onchainrouter.dev/docs/proxy) | Your app accepts an OpenAI base URL | npm alpha · 0.1.2 | [GitHub](https://github.com/AgenticFI/onchain-router-clients) |
| [Agent Skill](https://onchainrouter.dev/docs/agent-skill) | Your coding agent follows reusable instructions | MIT source · alpha | [GitHub](https://github.com/AgenticFI/onchain-router-clients) |
| [OpenClaw](https://onchainrouter.dev/docs/openclaw) | You use OpenClaw agents | GitHub alpha · 0.1.0 | [GitHub](https://github.com/AgenticFI/onchain-router-openclaw) |
| [Hermes Agent](https://onchainrouter.dev/docs/hermes) | You use Hermes Agent | GitHub alpha · 0.1.0 | [GitHub](https://github.com/AgenticFI/onchain-router-hermes) |

> AgenticFI client packages version 0.1.2 are public MIT-licensed alphas on npm under the alpha tag. OpenClaw and Hermes version 0.1.0 are public MIT alphas installable through their hosts’ native GitHub installers. The Python SDK remains source-only; ClawHub and PyPI listings are not claimed. Verify the package scope, `alpha` tag, version, and repository before installation.

Buyer Runtime is the shared wallet and payment foundation for the local tools, not another endpoint to choose. Read [how the runtime works](https://onchainrouter.dev/docs/buyer-runtime).

## Start building today

If you already have an official x402 buyer supporting Base USDC `exact`, follow the [first-request guide](https://onchainrouter.dev/docs/quickstart). A standard OpenAI client alone cannot pay the public API: it needs an x402-capable transport or our local proxy.

For our client tools, review [installation and availability](https://onchainrouter.dev/docs/installation), then install the `0.1.2` npm alpha or a `0.1.0` host-native GitHub alpha. OpenClaw and Hermes Agent have dedicated copyable install guides. For a browser walkthrough, see [Workbench](https://onchainrouter.dev/docs/workbench).

## Choose a capability

- [Text](https://onchainrouter.dev/docs/text): Chat Completions or Anthropic-style Messages.
- [Images](https://onchainrouter.dev/docs/images): one generated image with a hosted URL or Base64 output.
- [Text to speech](https://onchainrouter.dev/docs/speech): hosted MP3 audio with a curated voice.
- [Speech to text](https://onchainrouter.dev/docs/transcription): an MP3 transcript, with provider-retention disclosure.

The current catalog determines which models and parameters work. The brand stays provider-neutral; supporting a request format does not imply support for that provider's models. Video is not currently available.

## Source of truth

Use [live models](https://onchainrouter.dev/v1/models), [live pricing](https://onchainrouter.dev/v1/pricing), and [OpenAPI](https://onchainrouter.dev/openapi.json). The HTTP 402 challenge determines the exact request price; the receipt confirms payment and normalized usage. See [pricing](https://onchainrouter.dev/pricing) for the 0% service fee launch promotion and the separate fixed fee.

For agents, [llms.txt](https://onchainrouter.dev/llms.txt) is the compact index and [llms-full.txt](https://onchainrouter.dev/llms-full.txt) is the complete Markdown documentation. [products.json](https://onchainrouter.dev/products.json) records publication and build availability, not live uptime.
