Skip to main content
Relayer ships five public packages on npm. Pick the ones that match what you’re building.

At a glance


Widget Kit (React)

The prebuilt React widget for end-user swap, transfer, and bridge flows. Renders the UI, manages wagmi connectivity, and orchestrates signing in both Metadata Mode (user’s own wallet) and Passkey Signing Mode.
See Widget Kit → Installation and Widget Kit → Integration for setup.

Widget Kit (Native)

The same UI patterns as Widget Kit (React) but for React Native — drop into your mobile app.

Widget Kit (Core)

Framework-agnostic core logic shared by widget-kit-react and widget-kit-native. Use directly if you’re building a custom widget for Vue, Svelte, or any other framework that isn’t covered.

Action Kit

TypeScript library for building and validating widget action metadata. Defines the action schema, validates payloads before submission, and provides template helpers for common parameter types (token amounts, chain selectors, recipient addresses).
See Widget Kit → SDK reference for the full API.

Agent SDK

The runtime SDK for AI agents you operate via Relayer. Handles three-layer budget enforcement (infra / tokens / payments), x402 payment execution, kill-switch polling, and event reporting. Mastra-compatible.
See Agent Kit → Getting Started and Agent Kit → SDK reference.

Source code

All packages are open source under the relayerfi GitHub organization:

Widget Kit packages

Mono-repo for @relayerfi/widget-kit-react, widget-kit-core, widget-kit-native, and action-kit.

Agent SDK

Source for @relayerfi/agent-sdk lives in packages/ of the Relayer monorepo.