Skip to main content

Introduction

AgentFish provides smart wallet infrastructure for AI agents, enabling autonomous payments via the x402 protocol.

What is AgentFish?

AgentFish is a financial infrastructure platform that gives AI agents the ability to:

  • Pay for APIs automatically - When an API returns HTTP 402 Payment Required, AgentFish handles payment seamlessly
  • Manage spending limits - Set per-transaction and daily limits to control agent spending
  • Track all activity - Complete visibility into every payment your agents make
  • Stay non-custodial - Your keys are securely managed, never exposed

Products

Agentic Wallets

Programmable wallets for AI agents. Perfect for:

  • AI assistants that need to pay for services
  • Trading bots with spending controls
  • Autonomous agents accessing paid APIs

Treasury (Coming Soon)

Institutional-grade stablecoin management with multi-sig controls for teams and enterprises.

How x402 Works

The x402 protocol enables HTTP-native payments:

  1. Your agent makes a request to a paid API
  2. The API returns 402 Payment Required with payment details
  3. AgentFish SDK automatically pays and retries the request
  4. Your agent receives the response - payment is invisible!
import { AgentFish } from '@agentfish/sdk';

const agent = new AgentFish({
apiKey: 'agentfish_live_...',
walletId: 'your-wallet-id',
});

// Payment happens automatically if needed!
const response = await agent.fetch('https://api.example.com/ai-endpoint');