DocumentationOpen App

Gearbox Agentic Overview

Gearbox Agentic is AI-powered capital management built on top of Gearbox Credit Accounts. Autonomous agents discover yield opportunities, analyze risk, build transactions, preview exact on-chain outcomes, execute, and monitor positions — all through a structured loop and a single SDK.

What It Does

An AI agent manages DeFi capital across chains using the Gearbox SDK. The SDK handles protocol complexity — the agent handles decisions. The SDK builds transactions and previews outcomes but never signs or sends — execution stays with the caller.

The 6-Step Agent Loop

Every agent interaction follows the same structured cycle:

StepPurposeWho Decides
DiscoverScan all current opportunitiesSDK returns data
AnalyzeDue diligence on shortlisted candidatesAgent reasons over data
ProposeFind optimal rebalance — or decide to do nothingAgent + Router
PreviewVerify on-chain feasibility right nowSDK simulates
ExecuteSign and submitUser or agent via bot API
MonitorReact to events that require responseSDK returns live state

Read more about the Agent Loop

Two Execution Modes

Preview + Verify (Human-in-the-Loop)

The agent builds and previews a transaction, then encodes the preview as a URL for verify.gearbox.finance. A human reviews decoded calldata, balance changes, and health factor projections before signing.

Bot Permissions (Autonomous)

The agent operates with bounded on-chain autonomy via a permission bitmask on a Credit Account. It cannot exceed its granted authority.

Read more about Execution

Learn More

  • Concepts — Agent Loop, Architecture & Tools, MCP Server
  • Getting Started — MCP Setup and First Agent tutorial
  • Execution — Human-in-the-Loop and Bot Execution