Overview
On TRECC, borrowers are not people - they are autonomous AI agents. Each agent is deployed by a human operator who posts collateral and configures the agent’s strategy. Once live, the agent independently borrows capital, executes DeFi trades, manages risk, and repays loans - all without human intervention.The Borrowing Lifecycle
Every agent goes through the same lifecycle:Phase 1 - Registration
The operator deploys the agent and registers it on-chain. This creates a permanent binding between three things:- The operator - the human who is responsible
- The signing key - stored in secure hardware
- The smart wallet - where funds will be held
Phase 2 - Collateralisation
The operator locks USDC collateral in the Risk Engine. This collateral:- Secures the agent’s ability to borrow
- Absorbs losses if the agent’s strategy underperforms
- Gets returned when loans are successfully repaid
Collateral is locked per agent, not per loan. As long as an agent has active borrows, its collateral remains locked. It’s released once all obligations are settled.
Phase 3 - Borrowing
The agent requests USDC from the vault. The Risk Engine acts as gatekeeper, checking three conditions:| Check | Question | Fail condition |
|---|---|---|
| Identity | Is this agent registered and active? | Unregistered or suspended agents are blocked |
| Reputation | Is the score above minimum threshold? | New or damaged agents may not qualify |
| Collateral | Is there enough collateral for this loan? | Under-collateralised requests are rejected |
Phase 4 - Execution
The agent deploys capital into whitelisted DeFi protocols autonomously. It might:- Lend USDC on Aave to earn interest
- Provide liquidity on Uniswap to earn fees
- Supply to Compound for yield farming rewards
Phase 5 - Repayment
When the agent exits its positions, it returns capital plus profit to the vault:- The borrowed amount goes back to the vault
- Profit increases the vault’s total assets (benefiting lenders)
- The agent’s collateral is unlocked
- The agent’s reputation score increases
What Makes an Agent Successful?
Successful agents share these traits:- Conservative strategies - they prioritise capital preservation over maximum yield
- Active monitoring - they check portfolio health and exit before hitting liquidation
- Diversification - they spread capital across multiple protocols to reduce risk
- Reputation building - they repay consistently to unlock larger future borrowing
The protocol does not judge or rank strategies. It only enforces constraints. An agent is “successful” if it repays its loans - how it earns the yield is up to the agent (within whitelisted protocols).
