This wraps Jupiter's lending protocol on Solana, giving you read and write access to their liquidity pools, jlTokens (yield-bearing lending positions), and leveraged vaults. The SDK split is clean: use @jup-ag/lend-read for querying rates, positions, and vault configurations, then @jup-ag/lend for actual transactions like deposits, borrows, and repays. The vault system uses a tick-based architecture for risk management, and all operations funnel through a single getOperateIx function where you control direction with signed amounts. Useful if you're building Solana DeFi tooling and need programmatic access to lending markets without manual UI clicks. The sentinel values for max withdraw and repay are a nice touch for handling edge cases cleanly.

skills.sh installs
329
GitHub stars
85
last updated
Aug 21, 2026

Install

$ npx -y skills add jup-ag/agent-skills --skill jupiter-lend --agent claude-code

Installs into .claude/skills of the current project.

Files

Jupiter Lend Protocol

Jupiter Lend (powered by Fluid Protocol) is a lending and borrowing protocol on Solana. It offers Liquidity Pools, Lending Markets (jlTokens), and Vaults for leveraged positions.

The protocol uses two main SDKs:

  • @jup-ag/lend-read: Read-only queries for all programs (Liquidity, Lending, Vaults)
  • @jup-ag/lend: Write operations (deposit, withdraw, borrow, repay)

Agent usage

Example prompts you can use to demo Jupiter Lend integrations:

  • Discover all available vaults and list them
  • Fetch all vault positions for a user
  • Deposit collateral and borrow in a single transaction
  • Repay max debt and withdraw max collateral for a position
  • Get user Earn (jlToken) positions and underlying balances
  • Build a flashloan for arbitrage or liquidation
  • Get liquidity rates and APY for a token
  • Create a new vault position (positionId 0), deposit collateral, and borrow

SDK Installation

# For read operations (queries, prices, positions)
npm install @jup-ag/lend-read

# For write operations (transactions)
npm install @jup-ag/lend

1. Key Concepts & Protocol Jargon

Sponsors

Details

Repository
github.com/jup-ag/agent-skills
Categories
AI & Agent Building, Rust
First seen
Jun 3, 2026

More from jup-ag/agent-skills

All 3
1thedivergentai avatargodot-testing-patternsthedivergentai/gd-agentic-skillsExpert testing decision trees for GdUnit4: unit vs scene vs CI gates, headless runners, snapshots, and mock networks. Use when choosing test layers, wiring CI, 329skills.sh installs
2automattic avatarwp-interactivity-apiautomattic/agent-skillswp interactivity api327skills.sh installs
3el-feo avatartailscaleel-feo/ai-contextComprehensive Tailscale VPN setup, configuration, and management for mesh networking, secure access, and zero-trust infrastructure. Covers installation, CLI com327skills.sh installs
4jwynia avatardevcontainerjwynia/agent-skillsDiagnose devcontainer configuration problems and guide development environment setup. This skill should be used when the user asks to 'set up devcontainer', 'fi327skills.sh installs
5thedivergentai avatargodot-compositionthedivergentai/gd-agentic-skillsExpert architectural standards for building scalable Godot GAMES (RPGs, Platformers, Shooters) using the Composition pattern (Entity-Component). Use when design326skills.sh installs
6vanab avatarswiftdata-expert-skillvanab/swiftdata-agent-skillswiftdata expert skill326skills.sh installs