Skip to main content

Zyfai SDK & MCP Server

Zyfai is not just a product for end users. It is an agentic yield layer that any builder can integrate into their own application.

Whether you are building a wallet, an exchange, a neobank, or an autonomous agent, the Zyfai SDK gives you a production-ready yield engine without building one from scratch.

Why Build on Zyfai?

1. Faster time-to-ship. Building a yield optimization engine from the ground up requires months of development: smart contract architecture, rebalancing logic, multi-chain deployment, security audits, and ongoing pool curation. The Zyfai SDK abstracts all of this into a single integration. You ship an "Earn" feature in hours.

2. Battle-tested infrastructure. The stack behind the SDK is the same infrastructure that powers the main product: Safe7579 Smart Accounts, the Security Proxy Gateway, Smart Rebalancing v.2, OmniAccounts, and ZK-proven execution via ERC-8004. It has been audited by Sherlock and has securely processed over $2B in agentic volume.

3. The highest agentic yield in the market. Zyfai Agents continuously scan and rebalance across 35+ pools on Base, Arbitrum, and Plasma. The yield your users earn through the SDK is the same yield Zyfai's own users earn. No degraded version, no separate pool set, same rules apply to everyone.

4. Permissionless. Generate an API key from sdk.zyf.ai and start building. No approval process, no gatekeeping.

Who Is Building on Zyfai?

Early SDK integrations are already live, with more in the pipeline:

  • Thirdfy: created an autonomous Agent with its own o(3,3) gauge
  • Zoof Wallet: embedded yield directly into the wallet experience
  • 10+ upcoming integrations across wallets, protocols, and autonomous agents

If you are building any of the following, the SDK is relevant:

  • A wallet looking for sticky, value-added features
  • A protocol with idle treasury assets
  • A bridge or cross-chain service looking to enhance capital efficiency
  • The next generation of onchain autonomous agents

You will face the same infrastructure challenges. We have already solved them.

sdk


Two Paths to Integration: SDK and MCP Server

Both paths lead to the same infrastructure. The difference is the interface.

This is the path for production integrations that need complete control over the user experience.

The Zyfai SDK is a TypeScript library for full programmatic access to the Zyfai yield engine. Deploy Safe Smart Accounts, manage DeFi positions, track earnings, and optimize yield across multiple chains.

📖Resources