Skip to main content

Overview

What is Owney?​

Owney is an aggregator of trusted DeFi yield agents capturing the best risk-adjusted yield with diversified exposure to DeFi markets and 24/7 risk monitoring. The agents continuously optimize allocations across yield protocols, outperforming static strategies because they continuously adapt to where yield moves, while having proven to be more resilient during recent exploits.

Everything is non-custodial end to end: there are no pooled funds, and each user has it’s own smart account. This SDK gives you a single entry point to trusted DeFi agents, combining a simple integration with flexible customization. The setup also works with existing non-custodial and custodial wallet setups. Learn more on our home page or try Owney yourself in the Owney Web App.

Integration methods​

Owney can be integrated in two ways:

  • White-label: The best fit if you want to ship fast. We manage the application from start to finish for you, so you do not need to worry about technical complexity.
  • Owney SDK: The best fit if you want to have full control over the user experience. We provide the infrastructure, and you can build your own UI on top of it.

White-label​

Integrate DeFi agents through our pre-built interface with minimal development effort. The UI can be styled to match your brand and made available in either of two ways:

  • Custom domain: Use the white-label as a standalone app hosted on a dedicated custom domain.
  • Embedded widget: Embed the white-label in your existing website or application using our iframe-based widget.

Contact your Owney account manager or email support@owney.app to get started with the white-label.

Owney White-label

Owney SDK​

Build your own interface on top of the Owney SDK for full control over the user experience. The Owney SDK is a TypeScript library that helps you integrate DeFi agents into your application.

The SDK handles:

  • Wallet connection
  • Smart wallet deployment
  • Session key management
  • Agent and strategy selection
  • Agent execution
  • Gasless (sponsored) deposits
  • Single-chain and cross-chain swaps
  • Pool customization
  • Portfolio and earnings tracking

Wallet connection​

Users interact with DeFi agents through Owney by connecting their own wallet. Agents run on top of the user's wallet. The SDK is non-custodial and does not manage custody of user funds. All interactions are executed through the user's wallet, and the SDK never requires or accesses user private keys.

Each deployed agent creates its own smart wallet or smart account through which all agent actions are executed. This ensures agent interactions remain isolated while still operating on top of the user's connected wallet.

Requirements​

To use the SDK, your application must:

  1. Integrate an EVM-compatible wallet solution (e.g. MetaMask, Privy, Fireblocks, etc.).
  2. Obtain an EIP-1193-compatible provider from that wallet. See the examples for more information.

The SDK uses the provider to:

  • Request wallet connection
  • Sign authentication messages (e.g. SIWE, if required)
  • Deploy smart wallets (when needed)
  • Approve and execute transactions
  • Manage session keys for delegated agent actions

Connection flow​

  1. Call connect once at the start of a user session.
  2. Use isConnected to guard wallet-dependent UI/actions.
  3. Call disconnect when ending the session.

Most SDK methods require an active connection.

Account setup and activation​

Use account lifecycle methods to prepare a user for agent execution:

  • activateAgent deploys the user smart wallet and initializes session context for one or more chain-compatible agents.
  • getActiveChainId returns the current active chain selected by activateAgent.

Fund operations​

Use the fund methods to move capital into and out of agent strategies:

Swapping​

Swap wallet assets into agent-supported deposits, or withdraw into another wallet asset:

Pool customization​

Use pool-customization methods to show available pools and save a user's choices before depositing:

Portfolio monitoring​

Use portfolio methods to fetch performance data and account views:

Agent performance​

Get insights into agent performance. A wallet connection is not required to use this function.