Skip to main content

Installation

Install the AgentFish SDK for your environment.

Server SDK (Node.js)

For server-side applications, AI agents, and backend services:

npm install @agentfish/sdk
# or
pnpm add @agentfish/sdk
# or
yarn add @agentfish/sdk

React SDK

For React applications with embedded wallets:

npm install @agentfish/react
# or
pnpm add @agentfish/react
# or
yarn add @agentfish/react

Don't forget to import the styles:

import '@agentfish/react/styles.css';

Requirements

  • Node.js 18+ (for server SDK)
  • React 18+ or 19+ (for React SDK)
  • TypeScript 5+ (recommended, but not required)

Get Your API Key

  1. Sign up at app.agentfi.sh
  2. Create a wallet
  3. Fund your wallet with USDC
  4. Generate an API key in the dashboard

Your API key will look like: agentfish_live_abc123...