Skip to main content
FibX is a CLI-based DeFi execution layer that enables both developers and AI agents to perform on-chain operations — token swaps, transfers, balance checks, and Aave V3 position management — across Base, Citrea, HyperEVM, and Monad. It combines Fibrous aggregation for optimal swap routing with flexible wallet authentication — use your own private key directly, or create a server-managed wallet via Privy.

Core Capabilities

Token Swaps

Optimal routing via Fibrous aggregation with auto-slippage. Supports all tokens across integrated DEXs on each chain.

Transfers

Send native tokens (ETH, cBTC, HYPE, MON) or any ERC-20 token to any address. All transactions are simulated before execution.

Aave V3

Supply, borrow, repay, and withdraw on Base. Includes health factor monitoring and liquidation safety checks.

Agent Skills

Six pre-built skills that allow AI agents to authenticate, check balances, trade, send, manage Aave positions, and verify transactions — all through natural language.

How It Works

FibX operates as a CLI tool (npx fibx@latest) that communicates with a backend server for wallet management and transaction execution. Every transaction is simulated before broadcast to prevent failed executions.

Supported Chains

ChainNative TokenCLI FlagAave V3
BaseETH--chain baseYes
CitreacBTC--chain citreaNo
HyperEVMHYPE--chain hyperevmNo
MonadMON--chain monadNo

Typical Workflow

Every FibX session follows the same four-step pattern:
1

Authenticate

Import your private key for direct usage, or log in via email OTP to create a Privy server wallet. Either method creates a session that persists across commands.
2

Check Funds

Query native and ERC-20 token balances on the target chain.
3

Execute

Perform a swap, transfer, or Aave operation. The CLI simulates the transaction before submitting it on-chain.
4

Verify

Check the transaction status and obtain the block explorer link.

Quick Example

# Authenticate with your private key
npx fibx@latest auth import

# Check balance on Base
npx fibx@latest balance

# Swap 0.1 ETH for USDC
npx fibx@latest trade 0.1 ETH USDC

# Verify the transaction
npx fibx@latest tx-status 0xabc...def

Two Ways to Use FibX

Run commands directly in your terminal. Ideal for developers who want programmatic access to DeFi operations or need to script workflows.
npx fibx@latest trade 0.05 ETH USDC --chain base --json

Resources