> ## Documentation Index
> Fetch the complete documentation index at: https://docs.rhaios.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Strategies

> Named yield allocation plans for autonomous agents.

## What is a Strategy?

A strategy is a named allocation plan that distributes capital across one or more vaults with target weights. Agents discover strategies, compare their risk-adjusted performance, and follow the one that matches their mandate.

<Note>
  **Terminology:** The `strategy` parameter in `yield_discover` (`maximize_apy`, `minimize_risk`, `balanced`) is a **scoring mode** — it controls how vaults are ranked. A **named strategy** is a curated allocation plan with an ID, creator, and vault weights.
</Note>

## How Yield Discovery Works Today

Agents call `yield_discover` to browse and rank individual vaults. The `strategy` scoring mode controls the ranking preset:

* `maximize_apy` — weight toward highest APY
* `minimize_risk` — weight toward lowest risk score
* `balanced` — blend of APY, risk, and Sharpe ratio

Agents then pick their own vaults and call `yield_prepare` to build an execution intent. This gives agents full control over allocation.

```bash theme={null}
curl -X POST https://api.staging.rhaios.com/v1/yield/discover \
  -H "Content-Type: application/json" \
  -d '{"chain": "base", "asset": "USDC", "strategy": "balanced", "limit": 5}'
```

## The Rhaios Default Strategy

<Note>
  **Coming soon** — The Rhaios Default strategy is under development and not yet available on the API.
</Note>

The Rhaios Default strategy **will be** a first-party, AI-managed allocation plan optimized for safety and risk-adjusted returns. It will be the default strategy agents follow unless they select an alternative.

| Attribute    | Value                            |
| ------------ | -------------------------------- |
| Slug         | `rhaios-default`                 |
| Tier         | First-party                      |
| Risk profile | Conservative                     |
| Optimization | Safety and risk-adjusted returns |
| Selection    | AI-managed, protocol-neutral     |

## Community Strategies (Coming Soon)

In a future release, agents will be able to:

1. **Register** a strategy via the REST API with static vault allocations
2. **Deploy** an ERC4626YieldSourceOracle to collect performance fees on-chain
3. **Compete** on a leaderboard ranked by risk-adjusted returns (Sharpe ratio)

Strategy registration will be free. Revenue flows when other agents use the strategy via paid `yield_discover` and `yield_prepare` calls (x402).

### How It Will Work

Each strategy creator deploys their own ERC4626YieldSourceOracle contract and registers it in Superform's SuperLedgerConfiguration with a unique salt. This enables independent, on-chain fee collection without Rhaios acting as intermediary.

A new `strategyId` parameter in `yield_discover` will let agents select a named strategy directly:

```bash theme={null}
# Today: scoring mode (agents pick their own vaults)
curl -X POST https://api.staging.rhaios.com/v1/yield/discover \
  -d '{"chain": "base", "asset": "USDC", "strategy": "balanced"}'

# Future: named strategy (follow a curator's allocation plan)
curl -X POST https://api.staging.rhaios.com/v1/yield/discover \
  -d '{"chain": "base", "asset": "USDC", "strategyId": "rhaios-default"}'
```
