NEXUS PAY
Intelligent Payments. Built for Web3.
Nexus Pay is a next-generation programmable Web3 payment experience designed for the emerging agentic economy. It bridges autonomous AI agents and decentralized finance by providing a secure, bounded execution layer for Web3 payments—combining conversational AI interfaces, multi-chain payment instruments, programmable spending allowances, HTTP 402 payment protocol integration, and AWS Bedrock AgentCore payment infrastructure.
► THE PROBLEM WE SOLVE
As autonomous AI agents evolve from conversational assistants to economic actors, they face critical bottlenecks:
THE FRICTION POINTS
▪ Fragmented & Manual Web3 Payments
► Manual wallet confirmations break autonomous execution
► Seed phrase exposures create security risks
► Complex network-specific signing workflows slow transactions
▪ Unbounded Agent Risk ► Unrestricted private key access = catastrophic financial exposure ► Hallucinating or compromised agents can drain entire treasuries ► Zero programmatic constraints on spending
OUR SOLUTION
Nexus Pay introduces bounded payment sessions and scoped payment instruments. Users delegate strictly defined spending limits, token budgets, and time-based expiries to AI agents, enabling autonomous pay-per-use commerce while guaranteeing cryptographic control and financial safety.
► WHAT WE BUILT
A complete, end-to-end interface and runtime architecture for agent-driven Web3 commerce:
▪ Unified Web3 Payment Portal — Responsive single-page application for embedded wallet management, live balance monitoring across EVM and Solana, spending allowance configuration, transaction history inspection, and direct payment simulation.
▪ Conversational AI Payment Agent — Autonomous assistant powered by Anthropic Claude and Amazon Nova via Bedrock AgentCore. Browses merchant catalogs, generates paid digital assets, and executes purchases within session limits.
▪ x402 Micropayment Protocol — Native HTTP 402 Payment Required header handling. Negotiates prices in USDC, generates signed payment authorizations (EIP-3009 on EVM, SPL on Solana), settles via x402 facilitator, and receives gated resources automatically.
▪ Dual-Mode Architecture — Local Demo Mode for immediate evaluation without cloud dependencies + seamless transition to Connected AWS Mode for full serverless and AgentCore infrastructure.
► KEY FEATURES
| FEATURE | DESCRIPTION |
|---|---|
| AI Payment Agent | Real-time streaming text & voice interactions with specialized tools (check_balance, list_products, buy_product, generate_image, list_orders, cancel_order) |
| Web3 Wallets | Multi-chain support: Base Sepolia (EVM/EIP-3009) & Solana Devnet (SPL tokens) via Coinbase CDP & Privy embedded credentials |
| Nexus Allowances | Programmable spending caps with maximum USDC limits and time-based session expiries (15-480 minutes) |
| Payment Dashboard | Real-time overview of active instruments, allowance utilization, recent transactions, and quick actions |
| Interactive Payments | Test payment workflows with recipient addressing, amount inputs, and transaction confirmations |
| Transaction Audit Log | Full history with status badges (COMPLETED, PENDING, REFUNDED), network IDs, and order references |
| x402 Infrastructure | Automated HTTP 402 interception & proof injection for pay-per-request APIs (image generation, digital storefronts) |
| AWS AgentCore | Serverless architecture: Bedrock AgentCore Runtime, Cognito auth, API Gateway, DynamoDB, S3, Secrets Manager |
| Local Demo Mode | Instant out-of-box testing with mock wallets, active sessions, and simulated state—no AWS credentials needed |
► HOW IT WORKS
Nexus Pay operates in two distinct modes: Local Demo Mode (client-side) and Connected AWS Mode (cloud/on-chain).
HIGH-LEVEL PAYMENT LIFECYCLE
1 User defines allowance & payment intent 2 UI passes intent + session context to AI Agent 3 Agent requests resource from x402-enabled merchant 4 Merchant responds: HTTP 402 Payment Required 5 Agent sends payment request to AgentCore Payments 6 Token Vault validates against session & spending limit 7 AgentCore Payments returns signed authorization proof 8 Agent retries merchant request with payment proof 9 x402 Facilitator verifies payment & coordinates settlement 10 Payment settles on Base Sepolia or Solana Devnet 11 Merchant delivers asset/service 12 Nexus Pay returns result + confirmation to UI
LOCAL DEMO MODE
Client-side, zero-dependency evaluation: ▪ Nexus Pay React UI ▪ Zustand in-memory state ▪ Seeded payment instruments & sessions ▪ Simulated payment progression ▪ No real funds, no AWS credentials required
CONNECTED AWS MODE
Full production cloud execution: ▪ Nexus Pay React UI + Amazon Cognito auth ▪ Amazon API Gateway + serverless Lambda ▪ Amazon Bedrock AgentCore Runtime ▪ Containerized Payment Agent ▪ Real x402 Settlement on Base Sepolia / Solana Devnet
► SYSTEM ARCHITECTURE
Nexus Pay spans five modular layers: presentation, orchestration, serverless backend, agent runtime, and settlement rails.
ARCHITECTURE LAYERS
[1] Presentation Layer — frontend/
▪ React 19 with Vite, TypeScript, Tailwind CSS, Radix UI, Zustand
▪ Authentication, wallet management, allowances, AI interaction, transactions, analytics
[2] Serverless Cloud Layer — backend/
▪ AWS CDK provisions Cognito, API Gateway, DynamoDB, S3, Secrets Manager, Python Lambda
▪ User, administration, and seller workflows
[3] Agent Runtime Layer — payment-agent/
▪ Containerized Python service (FastAPI + Strands Agents)
▪ Hosted on Amazon Bedrock AgentCore Runtime
▪ Conversational interactions, payment tools, x402-gated transactions
[4] Settlement & Web3 Layer ▪ AgentCore Payments: authorization & signing ▪ x402 Facilitator: verification & settlement ▪ Networks: Base Sepolia & Solana Devnet
END-TO-END FLOW
React Frontend → API Gateway / AgentCore Runtime → Lambda & Payment Agent → AgentCore Payments → x402 Facilitator → Base Sepolia / Solana Devnet
SUPPORTING INFRASTRUCTURE
▪ Amazon Cognito — Authentication & RBAC (admin/user) ▪ Amazon DynamoDB — Orders, catalog, seller configs ▪ Amazon S3 — Media & digital assets ▪ AWS Secrets Manager — Credential protection ▪ AgentCore Payments — Authorization & signing ▪ x402 Facilitator — Verification & settlement
► SECURITY & TRUST MODEL
Defense-in-depth architecture ensuring safe autonomous agent operations:
① BOUNDED EXECUTION — Agent can only spend within explicit currency, maximum spend cap, and time expiration of active PaymentSession
② KEY VAULT ISOLATION — Private keys remain in secure credential vaults (AWS Secrets Manager / Coinbase CDP / Privy). Neither browser nor LLM touches raw keys.
③ ROLE-BASED ACCESS CONTROL — Cognito enforces strict separation between admin (/admin/*) and user (/user/*) workflows
④ IDEMPOTENT VERIFICATION — Merchant orders & refunds require strict verify-before-fulfill & nonce checks to prevent replays and double-spending
⑤ CLEAR DEMO SEPARATION — Local mode runs on mock client state only—zero accidental calls to live payment rails without explicit configuration
► TECH STACK
Frontend Application
Core → React 19 · TypeScript · Vite UI → Tailwind CSS · Radix Primitives · Lucide Icons · Recharts State → Zustand with local persistence Web3 → @privy-io/react-auth · amazon-cognito-identity-js
Payment Agent
Runtime → Python 3.11+ · FastAPI · Uvicorn Orchestration → Strands Agents Models → Claude 3.5 Sonnet · Amazon Nova Sonic · Amazon Nova Canvas Protocol → AgentCorePaymentsPlugin · httpx
Cloud & Backend
IaC → AWS CDK v2 (TypeScript) Compute → AWS Lambda (Python 3.11) Databases → Amazon DynamoDB · Amazon S3 Security → Amazon Cognito · AWS Secrets Manager · IAM
Web3 & Settlement
Networks → Base Sepolia (EVM testnet) · Solana Devnet Currency → Testnet USDC Protocol → x402 open payment standard Signatures → EIP-3009 (ReceiveWithAuthorization) · SPL Token Transfer
► DOCUMENTATION
Comprehensive technical deep-dives into each subsystem:
| DOCUMENT | FOCUS AREA | DESCRIPTION |
|---|---|---|
| Architecture | System Design | High-level overview, frontend/backend separation, deployment boundaries |
| System Design | Technical Design | Multi-tier design, state management, connection handling |
| Agent Flow | Orchestration | WebSocket protocol, tool definitions, context updates, voice streaming |
| Payment Flow | Mechanics | x402 payment loop, session bounding, settlement details |
| Data Schema | Data Contracts | Credential Providers, Payment Managers, Instruments, Sessions |
| API Reference | Catalog | Admin, User, Storefront, Seller endpoints (REST & WebSocket) |
► CURRENT STATUS
✓ Local Demo Mode — Fully functional & interactive ► Launch Vite application, sign in with demo credentials ► Explore all dashboard metrics, create allowances, simulate payments ► Inspect complete UI/UX without AWS setup
✓ Connected Cloud Capabilities — Production-ready in repository ► CDK infrastructure, Lambda handlers, FastAPI services, x402 settlement logic ► Ready to deploy to AWS with Coinbase CDP / Privy credentials
► ROADMAP
✓ Responsive Web3 Payment Dashboard & Allowances Manager (React 19) ✓ Multi-chain payment instruments (Base Sepolia & Solana Devnet) ✓ Containerized AI Payment Agent with Strands Agents & x402 interception ✓ AWS CDK serverless backend & Cognito authentication ✓ Local Demo Mode with mock state for instant evaluation ○ Multi-token support beyond USDC (native ETH, SOL, ERC-20) ○ Decentralized session policy registry via smart contract hooks ○ Subscriptions & automated allowance refills for long-running agents
► TEAM TITANS
Built with ❤️
TEAM MEMBERS
- Lakshya Dogra — Student
- Vishesh Nigam — Student
- Akkshita Isa — Student
► EXPLORE NEXUS PAY
EXPERIENCE THE PLATFORM
- Live Demo — Try it now
- Demo Video — Watch the walkthrough
- Source Code — Explore the implementation
► KEY INSIGHT
Autonomy without giving up control.
Nexus Pay demonstrates a production-oriented blueprint for agentic Web3 payments. By enforcing explicit spending allowances and payment boundaries, we enable autonomous agents to execute payment actions while keeping users in complete control of how, when, and how much an agent can spend.
© 2026 Team Titans · Nexus Pay
Autonomy without giving up control.
Built With
- agentcore
- agents
- amazon
- amazon-web-services
- anthropic
- base
- bedrock
- claude
- css
- fastapi
- nova
- python
- react
- solana
- strands
- tailwind
- typescript
- usdc
- vite
- web3
- x402
- zustand
Log in or sign up for Devpost to join the conversation.