Built with Starkzap SDK

Starknet DeFi from
your Terminal & your AI

Swap, stake, lend, DCA and batch on Starknet — from the CLI, AI agents or Telegram. 42 MCP tools, 12 Agent Skills, built-in gas abstraction.

Or install globally: npm i -g starkfi

starkfi v0.6.4
~ starkfi trade 0.5 ETH USDC --slippage 1

route Fetching best route across providers...

alt_route Best route: ETH → USDC (Ekubo)

check_circle Swap executed — received 1,247.50 USDC

~ starkfi balance
Wallet Balances Starknet Mainnet
ETH 1.42 | STRK 5,200 | USDC 1,247.50
MCP Tools 42
Commands 42+
Agent Skills 12
Protocols 5

What Can You Do
With StarkFi?

Every DeFi primitive on Starknet — accessible from a single CLI or through AI-powered automation.

Full Feature Map arrow_forward
currency_exchange

Token Swaps

Best-price routing via Fibrous, AVNU and Ekubo — or auto to race all. Multi-swap up to 3 pairs.

layers

Batch Transactions

Combine swap + stake + supply + borrow + repay + withdraw + send + DCA into a single transaction. Define steps inline, execute everything atomically.

savings

Lending & Borrowing

Vesu V2 lending with health monitoring and auto-rebalance. Supply, borrow, repay, close — all with simulation.

account_balance

Liquid Staking

Stake, unstake and claim rewards across pools and validators. Supports STRK, WBTC and BTC variants.

local_fire_department

Gas Abstraction

AVNU Paymaster built-in. Gasfree (sponsor gas) or Gasless (pay in USDC, USDT, DAI, STRK, ETH).

smart_toy

MCP Server + Skills

42 MCP tools + 12 Agent Skills. Let Claude, Cursor or any MCP-compatible agent operate autonomously.

pie_chart

Portfolio & Rebalance

Full portfolio view with USD values. Set target allocations and auto-rebalance via optimized multi-swap.

science

Transaction Simulation

Preflight any operation before execution. See estimated fees in STRK + USD, catch reverts before they cost gas.

send

Telegram Bot

AI-powered DeFi on Telegram. Bring your own model — OpenAI, Claude or Gemini. Chat to swap, stake, lend and DCA.

event_repeat

DCA Orders

Recurring buy orders via AVNU and Ekubo. Set amount, frequency and let the protocol execute automatically.

visibility_off

Confidential Transfers

Powered by Tongo Cash. Execute anonymous and untraceable ERC-20 transfers using Zero-Knowledge (ZK) proofs completely locally.

vpn_key

Secure Authentication

Email OTP login powered by Privy TEE. Private keys are derived and encrypted entirely locally — never transmitted over the network.

MCP Server
& Agent Skills

Every feature exposed as an MCP tool — AI agents like Claude or Cursor can execute DeFi operations directly. 12 Agent Skills bundle multi-step workflows into single commands.

api

42 MCP Tools

Swap, stake, lend, DCA, send, batch, portfolio — all exposed as typed JSON-schema tools for any MCP-compatible agent.

auto_fix

12 Agent Skills

Pre-packaged multi-step workflows — trade, stake, lend, DCA, batch — that agents can invoke with zero config.

Active MCP Session
person
Swap 500 STRK to USDC with max 0.5% slippage, then stake 200 STRK to the highest-yield validator.
memory

Calling swap_tokens via Fibrous...
Route: STRK → USDC (Ekubo)

Then calling stake with best validator...

MULTICALL STATUS ACCEPTED_ON_L2
BATCH TX: 2 operations
GAS: Gasless via Paymaster
StarkFi Bot • Telegram
person
What's my portfolio looking like?
smart_toy

Here's your portfolio summary:

PORTFOLIO $4,892.30
ETH 1.42 $3,544.80
USDC 1,247.50 $1,247.50
STRK 500.00 $100.00

Would you like to rebalance to a target allocation?

DeFi on
Telegram

All DeFi features in a chat interface. Powered by AI — pick your model, each user gets an isolated session with encrypted storage.

psychology

Bring Your Own Model

OpenAI, Claude, or Gemini — swap providers with a single env variable. Full Vercel AI SDK support.

shield

Per-User Isolation

Each user gets a dedicated MCP process. Sessions are encrypted in SQLite with automatic idle cleanup.

send Try the Bot arrow_forward

Start trading on Starknet

Install with one command. Swap, stake, lend and DCA in minutes. Open source, MIT licensed, community-driven.