TEEFi
TEEFi is an automated crypto asset management system where AI agents assist users in making investment decisions but do not have direct access to funds thanks to an isolated TEE (Trusted Execution Environment).

Trust Architecture
User Layer
Personal Smart Wallets: Each user receives an isolated wallet with a predictable address.
Flexible Deposits: Users can lock funds for a chosen period to earn yield.
Direct Control: The user independently deposits funds and initiates basic operations.
AI Agent as Advisor
Analysis and Recommendations: The AI analyzes market data and suggests strategies.
Limited Influence: The agent can allocate funds to trusted DeFi protocols but cannot withdraw assets to external addresses.
Auditable History: An immutable log of all recommendations and decisions is maintained.
TEE Backend as Executor
Isolated Execution: The backend operates within a secure Intel SGX enclave.
Autonomous Key Generation: A unique private session key is generated at startup.
Cryptographic Attestation: The system verifies the authenticity of the TEE through Intel’s certificate chain.
Limited Authority: It can perform only predefined operations (e.g., withdrawing unlocked funds, distributing yield).
Key Security Mechanisms
Separation of Powers:
AI Agent: Advises but does not execute.
TEE Backend: Executes but strictly within defined rules.
User: Retains final control over assets.
User Experience
Depositing Funds
The user deposits tokens and selects a lock period.
A personal wallet is automatically created.
Funds are locked to accrue yield.
Receiving Recommendations
The AI agent analyzes the portfolio and market trends.
It proposes optimal strategies.
Automated Management
The TEE backend monitors deposit unlock periods.
It automatically distributes accumulated yield.
A transparent commission is charged only from profits.
Withdrawing Funds
After the lock period ends.
Including the earned yield.
Under the control of the secure TEE environment.
Advantages
Security: AI cannot steal or misuse funds.
Transparency: A complete history of all recommendations and actions is stored on-chain.
Automation: The TEE ensures reliable execution of operations.
Trust: Cryptographic proofs confirm operations within a secure enclave.
Flexibility: The user chooses lock periods and strategies independently.
The system establishes a balance between AI-driven intelligence, automated TEE execution, and user-controlled asset management — creating a new standard for trusted crypto asset management.
Last updated

