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
- Sign up at app.agentfi.sh
- Create a wallet
- Fund your wallet with USDC
- Generate an API key in the dashboard
Your API key will look like: agentfish_live_abc123...