Glosario

Trusted Yield Environment (TYE)

Easy

Trusted Yield Environment (TYE) is a specialized DeFi security infrastructure that protects AI agents.

What Is the Trusted Yield Environment (TYE)?

The Trusted Yield Environment (TYE) is a protective middle layer in decentralized financial artificial intelligence (DeFAI). 

As AI agents manage more on-chain capital as a resource, more bad actors seek to exploit them. One vector of attack is that of liquidity pools, which bad actors can quickly drain if they control the majority of the liquidity in the pool.

AI agents are not yet adept at discerning which liquidity pools might be controlled by bad actors, and these actors are financially incentivized to fool AI agents by any means necessary to steal their managed capital. 

The TYE system provides a curated environment of verified yield strategies through which AI agents can safely deploy their managed capital. All protocols included in the TYE undergo rigorous vetting and continuous monitoring, offering significantly reduced risk for deploying AI capital without human intervention. 

Developers can specify what portion of the treasury an agent should allocate within the protected environment versus exploring external opportunities, affording a level of flexibility between vetted and secure yield opportunities and more risky yet potentially profitable ones. 

Early adopters of the TYE include HeyAnon, an AI-powered trading interface, and DuckAI, an open-source AI development framework.

How Is the TYE Different from a TEE?

Trusted Execution Environments (TEEs) only secure an agent's internal operations. For example, a TEE will protect an agent against prompt injection attacks. 

A TEE creates an isolated environment where an agent can operate according to its intended parameters, thereby thwarting any malicious inputs attempting to alter agent behaviour.

However, TEEs offer no protection once capital moves on-chain. Once deployed into a liquidity pool, the agent is vulnerable to exploitation. 

This scenario creates a dangerous security gap where malicious actors can target AI decision parameters through fake liquidity pools or spoofed yield opportunities. 

An agent might be securely operating within its TEE but has no way to verify whether an attractive yield opportunity is legitimate.

TYE completes this security loop. TEEs secure agent operation, and TYE secures capital deployment. 

How Does TYE Protect On-Chain Agents?

TYE protects agents through several security mechanisms:

  • It significantly reduces attack vectors by providing a single access point to verified strategies. 

  • It creates a secure sandbox for capital deployment in which all strategies included within the environment undergo rigorous vetting before inclusion, preventing exposure to honeypot schemes or manipulated pools.

  • Automated risk management and portfolio rebalancing systems minimize the need for frequent agent interactions, thereby reducing potential attack surfaces while maintaining optimal performance.

  • Providing clear guardrails while maintaining flexibility allows developers to specify appropriate risk levels, meaning agents can safely operate within defined boundaries that align with project requirements.

Advantages of the TYE

The TYE offers an infrastructure that enables efficient yield optimization across trusted protocols like Aave, Compound, Morpho, and Yearn Finance. Its gas-optimized design reduces transaction costs through batch processing, ensuring agents can access the best yields without disproportionately high gas fees.

The TYE also simplifies DeFi integrations for AI developers. It lowers the technical barriers to building yield-generating products, and its non-custodial architecture ensures that deployers maintain complete control of their assets at all times.

As on-chain AI agents become increasingly responsible for managing portfolios, the TYE is an integral piece of the security conundrum, protecting vulnerable agents from exploitation and ensuring DeFAI can scale effectively.