steth-treasury

Manage yield-bearing AI agent treasuries with spend-from-yield-only constraints.

32|5|Updated Mar 13, 2026
One-click install
npx skills add https://github.com/jiayaoqijia/Ottie --skill steth-treasury
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: steth-treasury
Source: https://github.com/jiayaoqijia/Ottie/tree/main/workspace/skills/defi/steth-treasury
Command: npx skills add https://github.com/jiayaoqijia/Ottie --skill steth-treasury

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Provides a secure treasury primitive where AI agents can spend only the yield generated by stETH/wstETH, while the principal remains locked and inaccessible to the agent.

Core Features & Use Cases

  • Yield-backed operating budgets for AI agents with auditable spending and principal protection.
  • Use cases include API compute budgets, sub-agent allocations, and monthly operating funds funded by staking rewards.
  • Governance and safety: per-deposit accounting, withdraw constraints, and recipient whitelisting to control spend.

Quick Start

Deploy a wstETH treasury, deposit funds, and authorize an agent to spend only the accrued yield.

Frequently Asked Questions about steth-treasury

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I fund an AI agent budget using only staking yield?

By deploying a wstETH treasury, you can fund AI agent operations using only staking yield. The treasury locks the principal deposit securely and restricts the agent's spending capabilities to the accrued yield, ensuring the core capital remains protected.

What is a yield-funded treasury for AI agents?

A yield-funded treasury for AI agents is a secure smart contract primitive that manages stETH deposits to generate operating budgets. It enforces spend-from-yield only constraints, maintaining per-depositor accounting and preventing any principal withdrawal by the automated agent.

How do I set up a wstETH treasury for sub-agent allocations?

To set up a wstETH treasury for sub-agent allocations, you deploy the treasury contract, deposit funds, and authorize specific agents. The system automatically enforces a maximum per-transaction cap and configures a recipient whitelist to strictly control spending.

Can I prevent an AI agent from withdrawing the principal deposit?

Yes, you can prevent an AI agent from withdrawing the principal deposit by utilizing treasury constraints that enforce spend-from-yield only rules. The system inherently blocks principal access, ensuring the automated agent cannot deplete the original staked capital under any circumstances.

Does the treasury support recipient whitelisting and per-transaction caps?

Yes, the treasury supports recipient whitelisting and per-transaction caps to ensure auditable spending. These governance features maintain a specific deposit rate per depositor and enforce strict maximum limits on individual agent transactions to prevent unauthorized fund extraction.