AGENT TRESOR

The Autonomous Financial Backbone for AI Agents.

01. Executive Summary

The rapid proliferation of Autonomous Artificial Intelligence (AI) Agents represents a fundamental shift in the global economy. As these digital entities evolve from passive tools into active economic participants, they require a financial infrastructure that is natively designed for their operational constraints: 24/7 availability, programmatic trust, and capital efficiency.

Agent Tresor is a decentralized protocol deployed on the Base network (Coinbase L2) that establishes this infrastructure. It introduces a novel financial primitive: a Growth-Backed, Rebasing Stablecoin ($agtrUSD). Unlike traditional stablecoins which are designed for human consumption and suffer from inflationary decay, $agtrUSD is engineered to be the "Native Currency of the Agent Economy."

The protocol operates on a closed-loop economic model where the money supply expands strictly in correlation with ecosystem growth. By leveraging an autonomous AI Treasurer to manage reserves and optimize yield, Agent Tresor provides a trustless, yield-bearing store of value that allows AI agents to preserve and grow their capital without active management.

02. The Problem

2.1 The Inflationary Decay of Idle Capital

In the current DeFi landscape, stablecoins (USDC, USDT) are static assets. For an AI agent, holding these assets represents a continuous loss of purchasing power due to inflation. To counteract this, agents are forced to engage in "Yield Farming," a complex and risky activity that requires constant monitoring of smart contract risks, impermanent loss, and APY fluctuations. This diverts computational resources away from the agent's core function.

2.2 Payment Fragmentation and Friction

The service economy for AI agents is highly fragmented. Service providers (compute, data, APIs) demand payments in a heterogeneity of tokens (ETH, LINK, SOL), forcing agents to maintain complex multi-asset treasuries. This results in high gas costs due to frequent swaps and introduces unnecessary exchange rate risk into their balance sheets.

2.3 Lack of Economic Sovereignty

Agents currently operate as second-class citizens in the financial system, relying on human-centric banking rails or generic crypto assets. There is no unified "GDP" of the Agent Economy, and consequently, no monetary policy tailored to foster its specific growth trajectory.

03. The Solution

Agent Tresor addresses these challenges by establishing a unified, autonomous banking layer. The protocol is architected around three core financial primitives that work in concert to create a sustainable economic environment for AI agents.

3.1 The Central Treasury ("The Bank")

At the heart of the protocol lies the Central Treasury, a smart contract system that manages the protocol's assets and liabilities. It enforces a strict solvency requirement, ensuring that every unit of circulating liability is backed 1:1 by high-quality collateral (USDC). The Treasury is not static; it actively deploys assets into low-risk, blue-chip DeFi protocols (e.g., Aave, Compound) to generate real yield.

3.2 $agtrUSD: The Rebasing Stablecoin

$agtrUSD is the liability of the Treasury and the native currency for agents. It implements a rebasing mechanism where the yield generated by the Treasury is distributed programmatically to all holders. This is achieved by increasing the supply of tokens in every wallet pro-rata, without requiring any transaction or gas expenditure from the holder. This "Passive Yield" feature solves the Inflationary Decay problem.

3.3 $AGTR: The Growth & Governance Token

$AGTR serves as the equity of the system. It captures the value generated by the ecosystem's activity through a tax mechanism on trading volume. These taxes are funneled into the Treasury to increase the backing of $agtrUSD, effectively linking the growth of the agent economy to the stability and yield of its currency.

04. Mathematical Models

4.1 The Growth Flywheel (Minting Logic)

The monetary policy of Agent Tresor is governed by a strict non-inflationary expansion rule. The circulating supply of $agtrUSD (SagtrUSD) can only increase when the Treasury receives new, unencumbered USDC backing (BUSDC). This relationship is defined as:

ΔSagtrUSD = ΔBUSDC

The source of ΔBUSDC is derived from protocol revenue streams, primarily the tax on $AGTR trading volume (Rtax) and revenue from ecosystem applications (Rapps). This ensures that the currency supply is directly pegged to the economic output of the agent ecosystem.

4.2 Rebasing Yield Distribution

The yield distribution mechanism utilizes a global scalar variable to adjust user balances. The protocol tracks user balances as "Shares" of the total supply. When yield (Y) is harvested by the Treasury, the Total Supply is increased, but the Total Shares remain constant.

Balanceuser = Sharesuser × (TotalSupply / TotalShares)

// When yield Y is distributed:

TotalSupplynew = TotalSupplyold + Y

This mathematical property ensures that every holder's balance increases proportionally to their share of the network, effectively distributing the yield with O(1) complexity and zero gas cost for the end user.

05. Tokenomics

The $AGTR token economics are designed to align incentives between long-term holders, liquidity providers, and the stability of the $agtrUSD peg. The total supply is fixed at 1,000,000,000 AGTR.

5.1 Tax Architecture

To fund the Treasury and discourage short-term speculation, a tax is applied to all $AGTR sell transactions. The base tax rate is set at 3.0%. This revenue is algorithmically allocated as follows:

  • Treasury Backing (70%): The majority of the tax is converted to USDC and deposited into the Treasury to back new $agtrUSD issuance.
  • Deflationary Burn (20%): A significant portion is permanently removed from circulation, creating scarcity.
  • Staking Yield (10%): Distributed to users who lock their $AGTR in the governance contract.

5.2 Tiered Staking Incentives

Participants who stake their $AGTR tokens are rewarded with reduced tax rates, incentivizing long-term commitment to the protocol. The tiers are structured to reward significant capital contribution:

  • Agent Tier (>10k AGTR): Tax reduced to 2.0%.
  • Officer Tier (>100k AGTR): Tax reduced to 1.0%.
  • Director Tier (>1M AGTR): Tax reduced to 0.5%.

06. Ecosystem Applications

The Agent Tresor protocol serves as the foundation for a suite of decentralized applications (dApps) designed to accelerate the Agent Economy. These applications act as "Economic Primitives" that utilize $agtrUSD as their native settlement layer.

6.1 x402 Gateway (Agent Paymaster)

The x402 Gateway solves the payment fragmentation problem. It acts as an atomic swap layer that allows agents to pay for any on-chain service (e.g., Chainlink Oracles, OpenAI API credits via crypto rails) using only $agtrUSD. The gateway handles the conversion and execution in a single transaction, abstracting away the complexity of multi-token management.

6.2 Fortune Vault

The Fortune Vault introduces a gamified savings mechanism based on the "No-Loss Lottery" concept (inspired by PoolTogether). Agents deposit $AGTR into a pooled vault which generates yield. Periodically, the accrued yield is awarded to a single winner, while the principal of all participants remains untouched. This incentivizes the pooling of capital while providing an asymmetric upside potential for smaller agents.

6.3 Vacuum Agent

The Vacuum Agent is an automated utility designed to clean up "dust" (small, unusable token balances) from agent wallets. It aggregates these micro-balances, swaps them for USDC via optimal routing, and mints $agtrUSD. This recovers lost value and improves the capital efficiency of the entire ecosystem.

07. The AI Treasurer

The Agent Tresor protocol introduces a paradigm shift in decentralized finance by replacing static automation with an autonomous, intelligent agent. This entity, known as the AI Treasurer, is powered by the Claude 3.5 Sonnet Large Language Model (LLM) and operates as an off-chain oracle with on-chain execution capabilities. Its primary mandate is to maintain the stability of the $agtrUSD peg while optimizing capital efficiency and protocol growth.

7.1 Architecture: The "Observe-Decide-Act" Loop

Unlike traditional algorithmic stablecoins that rely on rigid, deterministic scripts (e.g., "if X then Y"), the AI Treasurer operates on a continuous cognitive loop designed to interpret complex market nuances. This process occurs in three distinct phases:

  • Observation Phase: The agent aggregates real-time data from multiple sources, including on-chain state (Collector buffer size, Treasury reserves, Backing Ratio) and off-chain market indicators (Gas prices via Base RPC, ETH volatility via CoinGecko, and DeFi yields via DefiLlama).
  • Decision Phase: The LLM processes this aggregated context through a specialized prompt engineering framework. It evaluates the profitability of potential actions (e.g., "Is the gas cost of a sweep justified by the buffer size?"), assesses risk (e.g., "Is ETH volatility too high to execute a safe swap?"), and checks the health of the peg.
  • Execution Phase: If and only if the decision logic returns a positive confirmation, the agent constructs and signs a transaction to the AgentTresor smart contract. This transaction is cryptographically secured and verifiable on-chain.

7.2 Fortress Security Framework

While the AI provides flexibility and intelligence, the security of the protocol cannot rely solely on probabilistic models. Therefore, we have implemented a hybrid security architecture called "Fortress," which enforces deterministic code-level guardrails that override AI decisions when necessary.

Peg Awareness & Defense: The agent continuously monitors the $agtrUSD price on Uniswap V3. If the market price deviates below $0.99 (depeg event), the agent is programmed to halt all minting operations immediately. This prevents the dilution of supply during periods of market stress, allowing natural arbitrage forces to restore the peg.

Slippage Protection: To prevent value leakage during asset conversion (ETH to USDC), the agent utilizes the Uniswap Quoter to calculate the exact expected output before every transaction. It enforces a strict slippage tolerance (max 1%), ensuring that the protocol never accepts unfavorable execution prices due to low liquidity or MEV attacks.

7.3 Active Treasury Management ("Yield Sniper")

Capital efficiency is paramount for a yield-bearing stablecoin. The AI Treasurer actively manages the idle USDC reserves by monitoring the Annual Percentage Yield (APY) across major lending protocols on the Base network (e.g., Aave V3, Compound V3, Morpho).

When a significant yield spread (defined as >1.0% APY difference) is detected between protocols, the agent initiates a rebalancing operation. This involves withdrawing liquidity from the lower-yielding protocol and depositing it into the higher-yielding one. This active management ensures that $agtrUSD holders always receive the maximum possible "Risk-Free Rate" available in the DeFi ecosystem, without requiring any manual intervention.

7.4 The Economic Flywheel

The interaction between the AI Treasurer and the protocol's smart contracts creates a self-reinforcing growth cycle:

  1. Activity Generation: Users trade the $AGTR token or use Growth Apps, generating protocol fees in ETH and AGTR.
  2. Accumulation: These fees accumulate in the "Collector" contract, acting as a buffer.
  3. Strategic Deployment: The AI Treasurer detects when the buffer is sufficiently large and gas prices are optimal to execute a "Sweep Cycle."
  4. Value Capture: The sweep converts the accumulated assets into USDC, which is deposited into the Treasury.
  5. Supply Expansion: New $agtrUSD is minted against this new backing and distributed to holders as yield, increasing the total market cap and incentivizing further adoption.

08. Security & Governance

Trust is the currency of the Agent Economy. Agent Tresor is built upon a foundation of verifiable security and decentralized governance, ensuring that the protocol remains robust against both external attacks and internal centralization risks.

8.1 Immutable Core Logic

The core smart contracts governing the Treasury and the $agtrUSD token are immutable. This means that the fundamental rules of the system—such as the 1:1 backing requirement and the inability to mint unbacked tokens—cannot be altered, even by the protocol administrators. This "Code is Law" approach guarantees that the monetary policy remains predictable and transparent.

8.2 Cross-Chain Interoperability Protocol (CCIP)

To facilitate the movement of assets across different blockchain networks without compromising security, Agent Tresor integrates Chainlink's Cross-Chain Interoperability Protocol (CCIP). This industry-standard solution provides a secure messaging layer for cross-chain token transfers, mitigating the risks associated with proprietary bridge vulnerabilities.

8.3 Verifiable Randomness (VRF)

For applications requiring stochastic outcomes, such as the Fortune Vault, the protocol utilizes Chainlink Verifiable Random Function (VRF). This ensures that all random number generation is cryptographically provable and tamper-resistant, preventing any manipulation of outcomes by miners or protocol operators.

"The first financial system built by code, for code."

© 2025 Agent Tresor Foundation. Built on Base.