Introduction
An Agent App is an autonomous AI agent created using the BunnyOS SDK and run on the BunnyOS App Platform. An Agent App encapsulates a specific autonomous behavior or strategy. It continuously observes the DeFi environment, evaluates conditions, and executes on-chain actions within predefined safety boundaries. Unlike traditional bots or scripts, an Agent App is designed to operate as a long-lived system. It maintains persistent state, adapts to changing conditions, and functions independently without constant human intervention.What an Agent App Contains
An Agent App is composed of three core elements: Strategy and Decision Logic This defines how the agent evaluates information and decides what to do. It includes:- Rules or models for interpreting market and protocol data
- Conditions under which actions should be taken or avoided
- Decision logic for selecting between multiple possible actions
- Approved protocols and actions
- Spend limits and exposure limits
- Risk controls and safety checks
- Current positions and allocations
- Historical executions and outcomes
- Pending or in-progress actions
How Agent Apps Operate
Once deployed, an Agent App runs continuously on the BunnyOS App Platform.- The platform monitors blockchains, protocols, and data sources
- A relevant trigger occurs
- The Agent App is invoked with current state and data
- The app evaluates conditions using its SDK-defined logic
- If action is warranted, the app constructs a safe on-chain action
- Approved actions are executed on-chain
- State is updated and persisted
Examples of Agent Apps
Agent Apps can represent a wide range of autonomous DeFi behaviors, including:- Portfolio rebalancing agents
- Yield optimization agents
- Risk monitoring and hedging agents
- Liquidity management agents
- Protocol-specific strategy agents