Skip to main content
Rebalancing 34x Removed Tokens Behind every rebalance is a set of safety and efficiency checks designed to protect your capital and maximize returns. Learn more about our Security Agents & Human Team and Emergency Response.

1. Pool Safety

Before entering a pool, the Agent compares the pool’s size with your Yield Account balance and checks Zyfai’s total exposure against the concentration limits below. It prefers pools significantly larger than your position so you don’t end up owning a disproportionate share of the liquidity. This minimizes the impact of a sudden reduction in the pool’s TVL. If a pool shrinks unexpectedly (e.g., after a large exit), the Agent will exit your position rather than leave funds stranded in a shallow market.

2. Meaningful Yield Difference

Not every uptick in yield is worth chasing. The Agent calculates the difference between your current yield and the potential yield in the target pool. Only when the improvement crosses a meaningful threshold will it consider rebalancing. Minor differences are ignored to avoid unnecessary costs.

3. Profit vs. Transaction Costs

On mainnet, every move incurs gas fees. Slippage cost must be compensated by at least 14 days of APY. The Agent estimates how much additional yield the new pool would generate daily and compares it to the one-off cost of moving your funds. It then calculates how long it would take for the extra yield to cover those costs. If the payback period is short enough, the Agent proceeds. Otherwise, it waits for a better opportunity. The Agent never rebalances unless the expected earnings exceed the gas cost. This rule may be overridden in emergency scenarios.

4. Money Market Liquidity

The Agent monitors liquidity of each money market. When remaining liquidity shrinks to a level that could affect withdrawals, the Agent proactively exits your position. This avoids situations where your funds become illiquid. Zyfai’s TVL remains below 85% of the pool’s remaining liquidity.

5. Collateral Health

Every collateral and counterparty that Zyfai users are exposed to is monitored continuously for health. For assets with a peg, a deviation of 50 basis points (bps) triggers a Warning. At 100 bps, the asset is flagged as Risky and the Agent automatically rebalances away.

6. TVL Stability

All pool TVLs are monitored. If TVL falls below 40% of its 14-day high, the Agent flags the pool as Risky and automatically rebalances away.

Concentration Limits

Yield and Stability Gates

By combining these checks, Zyfai Agents capture higher returns without taking on unnecessary risk or incurring excessive costs. Once a rebalance passes these checks, it is executed through the Execution & Verifiability Layer, where transactions are validated by the Security Proxy Gateway.