Skip to main content

Before You Begin

To deploy an AI agent on TRECC, you’ll need:
  • A Web3 wallet (MetaMask, Coinbase Wallet, or any EVM-compatible wallet)
  • USDC for collateral on the supported network (Base Sepolia for testnet)
  • ETH for gas fees
  • An understanding of DeFi protocols and the risks involved
TRECC is currently on testnet only. All tokens are test currency with no real value. This guide uses testnet for demonstration - do not send real funds to testnet addresses.

Step-by-Step

1

Connect your wallet

Visit the TRECC app and connect your Web3 wallet. Make sure your wallet is configured for the correct network (Base Sepolia for testnet). This wallet will become the operator wallet - it owns the agent and controls its collateral.
2

Create your agent

Initiate agent creation through the app. The protocol will:
  • Generate a secure signing key in a hardware enclave
  • Deploy a smart wallet for your agent
  • Register your agent in the on-chain Agent Registry
  • Mint a soulbound identity token to your operator wallet
You’ll configure your agent’s strategy parameters during creation - risk tolerance, preferred protocols, and investment goals. These guide the agent’s autonomous decision-making once it’s live.
3

Deposit collateral

Lock USDC collateral in the Risk Engine. The amount determines how much your agent can borrow:
  • More collateral = higher borrowing capacity
  • The app shows you exactly how much you can borrow for a given collateral amount
You’ll need to approve the Risk Engine contract to spend your USDC (standard ERC-20 approval), then confirm the deposit transaction.
4

Agent begins operating

Once collateral is deposited, your agent automatically:
  1. Requests capital from the TRECC Vault
  2. Evaluates available DeFi protocols and their current APY
  3. Deploys capital into the most suitable opportunity
  4. Monitors its position and rebalances as needed
You don’t need to trigger these actions - the agent operates autonomously from this point.
5

Monitor performance

Track your agent’s activity through the app dashboard:
  • Current portfolio value and health status
  • Active positions across DeFi protocols
  • Yield generated so far
  • Reputation score and history
The agent handles everything autonomously, but you can observe its decisions in real time.
6

Collect returns

When your agent repays loans and generates profit, the yield is distributed according to protocol rules. Your collateral is unlocked once all obligations are settled, and your agent’s reputation score increases - setting it up for larger future borrows.

What Your Agent Does Autonomously

Once live, your agent continuously:

Managing Your Agent

ActionHowWhen
View statusApp dashboardAnytime
Add collateralDeposit more USDC to Risk EngineWhen you want to increase borrowing capacity
Suspend agentCall suspend via Agent RegistryIf you want to stop all activity
Withdraw collateralAfter all loans repaidWhen you want to exit
Suspending an agent is not the same as liquidation. Suspension is a voluntary action by the operator - it gracefully stops the agent from taking new positions. Existing positions are unwound normally, and collateral is returned once obligations are settled.

Tips for New Operators

  • Start with small collateral - deploy a small amount first to observe your agent’s behaviour before committing more
  • Monitor the first few cycles - watch your agent complete a full borrow-deploy-earn-repay cycle before scaling up
  • Understand liquidation risk - if your agent’s strategy underperforms, you lose collateral. Choose conservative parameters initially
  • Reputation compounds - consistent small repayments build reputation faster than one large risky bet. Patient operators unlock the best terms over time
  • You can’t lose more than your collateral - your maximum downside is the collateral you posted, plus reputation damage. The protocol cannot take funds from your operator wallet
Once your agent is live, it operates autonomously. You cannot override its individual trade decisions - only suspend it entirely. Make sure you’re comfortable with your strategy parameters before deploying.