r1x Agent Builder

No‑code platform for building AI agents with built‑in x402 payment capabilities.

Overview

Build custom AI agents with payment superpowers. No coding required. Connect your LLM, define workflows, add x402 services, deploy. Your agent automatically discovers services, quotes prices, and pays in USDC.

This is Zapier meets AutoGPT meets crypto wallets. The missing platform that turns AI agents into economic actors.

Features

Visual Workflow Builder ✅

Drag‑and‑drop agent logic. Connect contexts, actions, and x402 services. Build complex agent workflows without code.

Status: UI Complete

Context Builder ✅

Define stateful contexts with schemas and memory. Inspired by Dreams SDK's context composition patterns.

Status: UI Complete

Action Builder ✅

Define agent actions with input/output schemas and handlers. Actions can integrate with x402 services automatically.

Status: UI Complete

x402 Integration ✅

Built-in payment capabilities. Agents automatically detect HTTP 402, parse quotes, sign transactions, and retry with payment proof.

Status: UI Complete

Service Discovery ✅

Browse and integrate services from the r1x Marketplace. Real-time discovery, network filtering, price comparison.

Status: UI Complete

Multi-Chain Wallets ✅

Connect Base (EVM) and Solana wallets. Set spending limits, auto-approve trusted services, track expenses.

Status: UI Complete

Architecture

r1x Agent Builder
├── Frontend (UI Complete ✅)
│   ├── Visual Workflow Builder
│   ├── Context Builder
│   ├── Action Builder
│   ├── x402 Integration
│   └── Service Discovery
│
├── Backend (In Development 🚧)
│   ├── API Routes (/api/agent-builder/)
│   ├── Agent Runtime Engine
│   ├── Code Generation
│   └── Deployment Service
│
└── Database
    ├── Agent Definitions
    └── Execution History

The Agent Builder is built with complete isolation from the rest of the r1x codebase. All agent builder code lives in dedicated directories:

  • src/app/api/agent-builder/ - API routes
  • src/lib/agent-builder/ - Runtime libraries
  • src/components/agent-builder/ - UI components

How It Works

1

Build Your Agent

Connect wallets, define contexts and actions, build your workflow visually, and integrate x402 services from the marketplace.

2

Save Agent

Agent definition is saved to the database, linked to your wallet address, version controlled, and editable anytime.

3

Deploy Agent

Code is generated from your visual definition, deployed to a serverless runtime, and you receive an endpoint URL.

4

Execute Agent

Call your agent endpoint with input. The agent executes the workflow, automatically handles x402 payments, and returns results.

Integration

Agent Builder integrates seamlessly with existing r1x infrastructure:

x402 Payment Protocol

Uses existing X402Client via wrapper. Supports Base and Solana networks.

Marketplace

Discovers services from r1x Marketplace. Real-time data, network filtering.

Wallet Integration

Uses existing WalletProvider. Reown AppKit for Base, Solana adapters.

Database

Uses existing Prisma setup. New models only (additive, no modifications).

Status

UI Status: ✅ Complete - All visual components are built and functional.

Backend Status: 🚧 In Development - API routes, runtime engine, and deployment service are being built.

Join our Telegram to be notified when backend features are ready.

Documentation

For detailed technical documentation, see:

server.r1xlabs.com