This is the full developer documentation for YieldSeeker
# Welcome to YieldSeeker
> Documentation for YieldSeeker, the platform for autonomous onchain agents.
YieldSeeker is a platform for autonomous agents that **run onchain strategies on your behalf**. You create an agent, give it a goal, and it manages approved onchain actions while you keep control of your assets.
## Agent types
[Section titled “Agent types”](#agent-types)
An agent’s type determines what it is trying to do, which opportunities it can use, and what results you should monitor.
Today, YieldSeeker offers the **Vault Agent**, which allocates supported assets across approved DeFi vaults to pursue risk-adjusted yield. The **Borrow Agent** and **Rebalance Agent** are coming soon.
Each type can have different goals, actions, metrics, and risks; yield and APY are specific to the Vault Agent, not a definition of every YieldSeeker agent.
## How it works
[Section titled “How it works”](#how-it-works)
1. Connect your wallet and create a YieldSeeker account.
2. Choose and create an agent.
3. Set its goal and preferences, where the agent type supports them.
4. Fund the agent’s wallet.
5. Let the agent operate. Monitoring watches your rules and wakes the agent if a limit is breached.
6. Review its activity, adjust your preferences, or withdraw whenever you choose.
See [How agents work](/introduction/how-it-works/) for the shared lifecycle, or [Getting started](/getting-started/) for the in-app walkthrough.
## Built around user control
[Section titled “Built around user control”](#built-around-user-control)
Each agent has an isolated Agent Wallet. The platform constrains automated actions through approved execution paths, while the wallet owner retains withdrawal and participation controls.
See [Architecture](/introduction/architecture/) for how this separation works, and read the full [Security](/security/) explanation before funding an agent.
## Why YieldSeeker exists
[Section titled “Why YieldSeeker exists”](#why-yieldseeker-exists)
DeFi can require constant monitoring of protocols, liquidity, incentives, and changing market conditions. YieldSeeker’s goal is to make autonomous onchain strategies easier to use without hiding how they work or removing user control.
[Explore the available agent types](/agent-types/) or [start using YieldSeeker](https://app.yieldseeker.xyz).
# Getting started
> Create, fund, and deploy your first YieldSeeker agent.
This guide follows the app from connecting a wallet to a running agent. The app currently creates a [Vault Agent](/agent-types/vault/) on Base.
## 1. Connect your wallet
[Section titled “1. Connect your wallet”](#1-connect-your-wallet)
Open [YieldSeeker](https://app.yieldseeker.xyz) and connect the wallet you want to own your account and Agent Wallets. Signing in for the first time creates your YieldSeeker account; after that, the same wallet signs you back in. One account can hold several agents.
## 2. Create an agent
[Section titled “2. Create an agent”](#2-create-an-agent)
Open the agent creation flow. The form fixes the type to Vault Agent and the network to Base.
1. Choose one of the supported base assets shown in the app.
2. Enter a name and choose an icon.
3. Select **Create Agent**. The app creates the agent immediately and takes you to onboarding.
Creating an agent records it and calculates its [Agent Wallet](/wallets/) address. It does not deploy the wallet or move any funds yet.
## 3. Choose a starting style
[Section titled “3. Choose a starting style”](#3-choose-a-starting-style)
Onboarding lets you choose the **Conservative** or **Explorative** preset. The preset sets the agent’s starting rules; you can refine them later with your own preferences. See [Vault Agent preferences](/agent-types/vault/preferences/).
## 4. Fund the Agent Wallet
[Section titled “4. Fund the Agent Wallet”](#4-fund-the-agent-wallet)
Use an in-app deposit option on the Funding page or the agent’s overview. Do not send tokens directly to the displayed Agent Wallet address: the app warns that transfers sent on the wrong chain will not be recoverable. Fund the agent with at least $10 of its base asset.
## 5. Deploy
[Section titled “5. Deploy”](#5-deploy)
When the wallet holds at least $10, choose **Deploy Agent**. This puts the Agent Wallet onchain, and the agent starts evaluating approved opportunities and allocating according to its rules.
## Next steps
[Section titled “Next steps”](#next-steps)
* Follow activity and results on the agent’s screens; see [Vault Agent performance](/agent-types/vault/performance/).
* Learn how to withdraw and exit in [Funding, monitoring, and exiting](/guides/funds/).
* Read [Security](/security/) and [Risks and limitations](/reference/risks/) before you deposit larger amounts.
Integrating programmatically? Use the [API Quickstart](/developers/api/quickstart/) instead.
# Architecture
> The layers that separate deciding from doing.
YieldSeeker separates *deciding* what to do from *doing* it. An agent can reason about your goals and propose an allocation, but nothing it decides can move funds outside the platform’s execution controls.
## Four layers
[Section titled “Four layers”](#four-layers)
* **Agent Intelligence** — understands your preferences, remembers rules from past conversations, and explains its decisions. It does not execute transactions.
* **Allocation Engine (Autoseek)** — evaluates opportunities and decides how to allocate funds within the current agent type’s strategy.
* **Monitoring** — continuously checks your positions against the limits in your rules and wakes the Allocation Engine when one is breached. It cannot decide or execute.
* **Execution Framework** — validates and executes only permitted onchain actions through the Agent Wallet, Adapter Registry, and adapters.
Each layer works inside the one around it. Agent Intelligence can turn a preference into a rule, but the Allocation Engine only turns a rule into a target allocation if it passes eligibility, liquidity, and portfolio checks. Monitoring keeps watching the resulting positions against those rules; a breach hands the decision back to the engine instead of acting on its own. The Execution Framework then only executes an allocation if it maps to an approved adapter and target. There is no path through this chain for a request like “send my funds to this address” — Agent Intelligence has no execution capability, and the Execution Framework only recognizes registered adapters and targets.
```
flowchart LR
User[You] --> Intelligence[Agent Intelligence]
Intelligence --> Engine[Allocation Engine]
Engine --> Execution[Execution Framework]
Execution --> Protocols[Supported DeFi protocols]
Monitoring[Monitoring] -. breach wakes .-> Engine
```
## How a preference becomes an action
[Section titled “How a preference becomes an action”](#how-a-preference-becomes-an-action)
```
flowchart LR
Conversation[Conversation] --> Memories[Memories]
Memories --> Rules[Rules]
Rules --> Engine[Allocation Engine]
Rules --> Monitoring[Monitoring]
Monitoring -. breach wakes .-> Engine
```
A conversation can produce a memory. A memory is compiled into one or more rules. Rules are one input the Allocation Engine applies alongside eligibility, liquidity, and portfolio constraints — a rule can narrow or bias an allocation, but it cannot make an unsupported or unsafe target eligible, and it never bypasses the Execution Framework. The same rules tell monitoring what to watch, so changing a preference changes both what the engine allows and which limits are watched. See [How agents work](/introduction/how-it-works/#6-monitoring-watches-your-rules).
## Principles
[Section titled “Principles”](#principles)
* **Simplicity through automation** — DeFi can demand constant attention to markets, protocols, liquidity, and incentives. Agents take on that routine work without asking you to approve every transaction, while keeping important decisions and limits visible.
* **Verify, don’t trust** — where practical, YieldSeeker checks protocol and portfolio information against onchain state instead of relying only on third-party dashboards or reported metrics.
* **Constrained execution** — every action goes through approved adapters and registered targets, never unrestricted contract calls.
* **You stay in control** — your connected wallet owns each Agent Wallet and can withdraw its base asset and ETH directly. Exiting a vault position goes through a supported adapter and depends on protocol liquidity.
* **One model for every agent type** — a new agent type brings a new goal and strategy, but the same wallet, execution, and monitoring model.
These are design goals, not guarantees of profit, safety, liquidity, or uninterrupted service. Read [Risks and limitations](/reference/risks/) before using an agent.
## Where to go next
[Section titled “Where to go next”](#where-to-go-next)
* [How agents work](/introduction/how-it-works/) for the account and agent lifecycle.
* [Vault Agent](/agent-types/vault/) for what the Allocation Engine checks on an ongoing basis.
* [Security](/security/) for how the Execution Framework constrains a compromised or malicious operator.
* [Platform architecture](/developers/protocol/architecture/) for the contract-level and API-level view of these same layers.
# How agents work
> The shared lifecycle of a YieldSeeker agent.
YieldSeeker agents are autonomous onchain systems with a user-defined purpose. The agent type determines its goal and strategy; the surrounding account, wallet, authorization, and safety model are shared.
## The shared lifecycle
[Section titled “The shared lifecycle”](#the-shared-lifecycle)
### 1. Connect a wallet
[Section titled “1. Connect a wallet”](#1-connect-a-wallet)
Your connected wallet identifies you and remains the owner of your YieldSeeker participation.
### 2. Create an account and agent
[Section titled “2. Create an account and agent”](#2-create-an-account-and-agent)
A YieldSeeker account can contain up to two active agents on the Free plan or five on Pro. When you create an agent, you choose its type and the configuration supported by that type.
### 3. Configure the goal
[Section titled “3. Configure the goal”](#3-configure-the-goal)
For the current Vault Agent, you can set an investment profile and natural-language preferences. Future agent types may expose different settings.
### 4. Fund or activate the agent
[Section titled “4. Fund or activate the agent”](#4-fund-or-activate-the-agent)
The current Vault Agent must hold at least $10 worth of its base asset and be deployed before it can allocate assets.
### 5. Let the agent operate
[Section titled “5. Let the agent operate”](#5-let-the-agent-operate)
An active agent evaluates its permitted opportunities and takes actions according to its type-specific strategy. It cannot bypass the platform’s shared execution restrictions.
### 6. Monitoring watches your rules
[Section titled “6. Monitoring watches your rules”](#6-monitoring-watches-your-rules)
Your profile and preferences become rules. Where a rule has a measurable limit, the platform turns it into boundaries on each position the agent holds and checks them continuously against live data. For the current Vault Agent, that covers limits on a vault’s available liquidity, its total deposits, and the collateral it uses.
Each boundary is clear, approaching (close to your limit, or trending toward it), or breached. A breach wakes the agent: it becomes eligible for its next run without waiting for its usual schedule, so it can re-evaluate that position. Monitoring does not move funds or send notifications itself; you can see each boundary’s status on the agent’s overview.
### 7. Review, adjust, or exit
[Section titled “7. Review, adjust, or exit”](#7-review-adjust-or-exit)
You can review the results and activity available for the agent type, change supported settings, withdraw where supported, or stop participating. When you change your preferences, the rules update and monitoring starts watching the new boundaries.
## What changes between agent types?
[Section titled “What changes between agent types?”](#what-changes-between-agent-types)
The type determines:
* the objective the agent is pursuing
* the assets and networks it supports
* the actions it can request
* the limits monitoring can watch
* the metrics that describe performance
* the risks you need to understand
For example, the Vault Agent pursues risk-adjusted yield across approved vaults, while the coming-soon Borrow Agent will manage a loan against your crypto. Each type gets its own guide under [Agent types](/agent-types/).
## Next steps
[Section titled “Next steps”](#next-steps)
* [See the available agent types](/agent-types/)
* [Read Security](/security/)
* [Get started in the app](/getting-started/)
# Agent types
> What an agent type is, and the agents available on YieldSeeker.
An **agent type** decides what an agent is trying to achieve. Every type shares the same account, [Agent Wallet](/wallets/), execution controls, and monitoring model; the type decides:
* the goal the agent pursues
* the assets and networks it supports
* the actions it can take
* the rules you can set, and which of them monitoring watches
* the metrics that describe its results
* the risks you need to understand
## Available agents
[Section titled “Available agents”](#available-agents)
| Agent | Goal | Status |
| ---------------------------------- | -------------------------------------------------------------------------- | ----------- |
| [Vault Agent](/agent-types/vault/) | Earn risk-adjusted yield by allocating across approved DeFi vaults | Available |
| Borrow Agent | Borrow against your crypto without selling it, with liquidation protection | Coming soon |
| Rebalance Agent | Keep a portfolio at the target weights you choose | Coming soon |
Coming-soon agents are not available in the app or API yet; requests to create them are rejected. Each will get its own guide when it launches.
## Related pages
[Section titled “Related pages”](#related-pages)
* [How agents work](/introduction/how-it-works/) explains the lifecycle every agent shares.
* [Getting started](/getting-started/) walks through creating your first agent.
* [Agent type integration contract](/developers/agents/types/) explains what a new type must implement.
# Vault Agent
> The YieldSeeker agent that earns risk-adjusted yield across approved DeFi vaults.
The Vault Agent allocates a supported base asset across approved DeFi vaults to earn risk-adjusted yield, and keeps managing those positions for you.
## At a glance
[Section titled “At a glance”](#at-a-glance)
| | |
| ------------- | -------------------------------------------------------------- |
| Goal | Risk-adjusted yield |
| Network | Base |
| Base assets | USDC, WETH, cbBTC, and EURC |
| Opportunities | Approved DeFi vaults |
| You control | Investment profile, preferences, withdrawals, and deactivation |
| Results | Balance, positions, earnings, APY, and allocation history |
## What it does
[Section titled “What it does”](#what-it-does)
* evaluates approved vaults for its base asset
* applies your investment profile, preferences, and portfolio limits to choose target allocations
* rebalances between vaults, through permitted execution paths only, when the benefit justifies the cost
* claims, converts, and reinvests supported rewards
It does not simply chase the highest advertised APY. The Allocation Engine weighs current yield, liquidity, collateral, and market and protocol data together with your rules.
## How it decides and stays on track
[Section titled “How it decides and stays on track”](#how-it-decides-and-stays-on-track)
During an Autoseek run, the Allocation Engine evaluates candidate vaults and calculates target allocations, and the Execution Framework carries out any permitted operations.
Between runs, monitoring continuously checks the limits in your rules against the vaults the agent holds. A breach wakes the agent so it is eligible for its next run early. Monitoring itself does not move funds or send notifications. See [Vault Agent monitoring](/agent-types/vault/monitoring/).
## Where it can invest
[Section titled “Where it can invest”](#where-it-can-invest)
The Vault Agent uses approved adapters for Aave V3, Compound V2, Compound V3, and compatible ERC-4626 vaults. Rewards are claimed through Merkl and swapped through Aerodrome or Uniswap V3. Every target must be registered before the agent can use it.
Availability changes as vaults are approved, paused, or blocked, for example after a protocol incident. A supported asset does not guarantee that a matching vault is available right now; use the app or the [vault opportunities endpoint](/developers/agents/vault/#list-vaults) for the live list.
## Make it yours
[Section titled “Make it yours”](#make-it-yours)
Your investment profile sets the agent’s default rules, and your preferences refine them. They shape allocation decisions but never override platform safety controls. See [Vault Agent preferences](/agent-types/vault/preferences/) and [Vault Agent performance](/agent-types/vault/performance/).
## What it does not promise
[Section titled “What it does not promise”](#what-it-does-not-promise)
APY is an estimate, not a promise. Vaults, rewards, liquidity, and protocols can change, and a Vault Agent can lose value. Read [Security](/security/) and [Risks and limitations](/reference/risks/) before funding one.
# Vault Agent monitoring
> How rule boundaries watch held vaults and wake the Vault Agent on a breach.
Monitoring continuously checks measurable limits in the Vault Agent’s effective rules against live data for vaults it holds. It tracks rule boundaries; it does not rank candidate vaults or decide where funds should move.
## What’s monitored
[Section titled “What’s monitored”](#whats-monitored)
Supported rules with measurable conditions can create boundaries for each held vault. Current Vault Agent boundaries can watch:
* **Available liquidity** and its ratio to vault deposits.
* **Total deposits** in the vault.
* **Collateral assets** you have excluded.
Capacity and position-size rules can also set boundaries tied to the size of a held position. Not every rule has a monitorable condition, so not every active rule creates a boundary.
A numeric boundary breaches at its configured threshold; monitoring also sets a warning boundary at 1.25× that threshold. For lower-limit rules, the warning can show that a vault is approaching your line before the breach threshold is reached. A collateral boundary is breached when the vault uses an excluded asset.
## Status on the agent overview
[Section titled “Status on the agent overview”](#status-on-the-agent-overview)
The overview shows boundaries as:
* **Clear** — no warning or breach condition is active.
* **Approaching** — a warning threshold is reached, or the observed trend projects a breach. A projected breach is labeled **confirming breach** in the UI.
* **Breached** — the rule’s breach condition is reached.
You can see the status and any flagged boundary details on the agent overview, beneath its holdings.
## When the agent acts
[Section titled “When the agent acts”](#when-the-agent-acts)
A triggered breach makes the agent eligible for its next Autoseek run early, bypassing its usual frequency limit. It does not start an immediate run or guarantee a particular action. Monitoring itself does not decide on an allocation, execute a transaction, or send a user notification.
## What Autoseek re-checks on every run
[Section titled “What Autoseek re-checks on every run”](#what-autoseek-re-checks-on-every-run)
Monitoring watches your limits between runs; Autoseek, the Allocation Engine, re-evaluates your whole position each time it runs. Managing your funds doesn’t stop at the first allocation. On each run it looks at:
* **Yield and liquidity** — current rates, available liquidity and deposit capacity for your positions and the alternatives.
* **Rewards** — which accrued rewards are worth claiming and converting; small or unsupported rewards are skipped.
* **Eligibility** — whether each vault is still active and registered with an approved adapter. Vaults that no longer qualify drop out of the candidates.
* **Your whole portfolio** — concentration and diversification across the agent, not just one position, together with your profile and preferences.
A rebalance, exit, or reward claim is only made when the expected benefit justifies the transaction cost and stays within your rules; a run can also keep your current allocation. See the [decision pipeline](/developers/agents/vault/decision-pipeline/) for how those choices are made.
## Verify, don’t trust
[Section titled “Verify, don’t trust”](#verify-dont-trust)
Wherever practical, YieldSeeker reads protocol state from the protocols’ own contracts, such as available liquidity, deposits, and adapter registrations, rather than relying only on third-party dashboards. This keeps decisions grounded in current onchain state. See [Architecture](/introduction/architecture/#principles).
## Platform safety controls
[Section titled “Platform safety controls”](#platform-safety-controls)
Some safety controls apply to every agent and cannot be overridden by your profile or preferences. If a vault or protocol presents an unacceptable risk, such as a security incident, YieldSeeker can make it ineligible platform-wide. Agents then stop allocating to it and move out of it on their next run, where liquidity allows. Registry-level emergency controls are described in [Governance](/developers/protocol/governance/).
## Next steps
[Section titled “Next steps”](#next-steps)
* [Vault Agent preferences](/agent-types/vault/preferences/)
* [Vault Agent performance](/agent-types/vault/performance/)
* [Risks and limitations](/reference/risks/)
# Vault Agent performance
> Understand positions, value-weighted APY, earnings, and fees.
The performance view combines current positions, a live APY based on those positions, and performance history from the agent’s daily snapshots. These describe different things: today’s vault rates are not the same as the agent’s measured past returns.
## Balances and positions
[Section titled “Balances and positions”](#balances-and-positions)
A balance is an asset held by the Agent Wallet. A position is an asset deployed into an approved vault or protocol opportunity.
The app reports the value of each position. The amount currently withdrawable can be smaller than the full position because vault liquidity and withdrawal rules vary.
## Earnings and APY
[Section titled “Earnings and APY”](#earnings-and-apy)
The live APY is a value-weighted average of the risk-adjusted APYs for the agent’s current vault positions. A larger position contributes more to the result; vault APYs are not added together. This rate reflects current vault metrics, not a guaranteed return or a forecast.
Historical APYs use the agent’s daily performance snapshots. The app shows 1-day, 7-day, 30-day, and all-time rates when available; it adjusts account returns for cash flows such as deposits and withdrawals, then annualizes performance over each period. These measured rates can differ from the live APY, and short periods can be noisy.
Cumulative yield is calculated from the agent’s value after tracked fee liabilities and its net deposits. The current snapshot subtracts fees owed and estimated pending fees from total value; the agent overview also lists fees owed, estimated accruing, and fees paid. Historical snapshots preserve the account’s performance record as positions change or are withdrawn.
## Rewards
[Section titled “Rewards”](#rewards)
Some opportunities distribute rewards in a token other than the deposited base asset. Where supported, the Vault Agent can claim, convert, and reinvest rewards.
Conversion rates, liquidity, fees, and reward-token prices can affect the result. Reward conversion does not remove market or protocol risk.
## Allocation history
[Section titled “Allocation history”](#allocation-history)
Review the agent’s transactions and decision history to see when funds entered, left, or remained in an opportunity. You can also ask the agent about some decisions through Discuss.
## Data freshness
[Section titled “Data freshness”](#data-freshness)
Balances, metrics, and positions may be cached or delayed while data is collected from the blockchain and supported providers. Treat the displayed value as the latest available view, not a real-time guarantee.
## Related pages
[Section titled “Related pages”](#related-pages)
* [Vault Agent](/agent-types/vault/)
* [Vault Agent preferences](/agent-types/vault/preferences/)
* [Funding, monitoring, and exiting](/guides/funds/)
* [Risks and limitations](/reference/risks/)
# Vault Agent preferences
> Customize how the Vault Agent approaches allocation.
Choose an investment profile for the starting rules, then add supported preferences as memories. The Allocation Engine uses the resulting effective rules when it evaluates vaults; Monitoring can watch measurable limits on vaults the agent holds.
## Investment profiles: the defaults
[Section titled “Investment profiles: the defaults”](#investment-profiles-the-defaults)
The Vault Agent currently offers two profiles:
* **Conservative** — favors established, overcollateralized vaults with proven track records.
* **Explorative** (the default) — targets higher yields across a wider range of vaults.
Each profile supplies default rules that affect which vaults are eligible and how liquidity and capacity are constrained. Switching profiles updates those defaults; it does not bypass platform safety controls or make unsupported vaults eligible.
## Natural-language preferences: refine or override the defaults
[Section titled “Natural-language preferences: refine or override the defaults”](#natural-language-preferences-refine-or-override-the-defaults)
Use Discuss or Steer to describe a supported preference in plain language, such as avoiding a vault or collateral asset, or setting a liquidity or capacity constraint. A preference is not an arbitrary transaction instruction: it only changes behavior where the Vault Agent supports the requested rule.
## Memories and rules: how preferences persist
[Section titled “Memories and rules: how preferences persist”](#memories-and-rules-how-preferences-persist)
Saved preferences are stored as memories. Active memories are compiled into typed rules when they express supported allocation constraints. Not every memory becomes an allocation rule: some guide the agent’s behavior in conversation, and an unsupported instruction may not map to a usable rule. Review the Active Rules shown in the app.
User-specific rules and profile defaults form the effective rules the Allocation Engine applies. When both contain the same rule type, the user-specific rule replaces that default; other rules can apply alongside it. A new instruction may therefore change or constrain an existing rule rather than simply add another one.
## Simulate before saving
[Section titled “Simulate before saving”](#simulate-before-saving)
In Steer, **Simulate new memories** compares the current setup with draft memories and shows the resulting rules and calculated allocations. Running the simulation does not change the live memories or move funds; choose **Save** to apply the draft memories to the agent. A simulation is a projection, not a transaction or a guarantee of future allocations.
Simulation credits are limited per day and reset at midnight UTC. Currently, Free accounts receive 3 credits per day and Pro accounts receive 10.
## Limits
[Section titled “Limits”](#limits)
The number of active memories is capped per agent: currently up to 3 on Free and 10 on Pro. If the active slots are full, a newly saved memory can remain inactive until a slot is available; inactive memories do not contribute compiled rules.
Profiles and memories also remain subject to supported rule types, platform safety controls, and the Execution Framework’s permitted operations.
## Next steps
[Section titled “Next steps”](#next-steps)
* [Vault Agent monitoring](/agent-types/vault/monitoring/)
* [Vault Agent performance](/agent-types/vault/performance/)
* [Vault Agent API integration](/developers/agents/vault/)
* [Risks and limitations](/reference/risks/)
# Developer guides
> Integrate with YieldSeeker through the API and secure agent infrastructure.
These guides cover the REST API, agent-type integrations, protocol behavior, and AgentWalletKit security.
## API
[Section titled “API”](#api)
* [API overview](/developers/api/)
* [API Quickstart](/developers/api/quickstart/)
* [API authentication](/developers/api/authentication/)
* [Creating an agent via API](/developers/api/creating-an-agent/)
* [Generated API v1 reference](/api-v1)
## Agent integrations
[Section titled “Agent integrations”](#agent-integrations)
* [Agent type integration contract](/developers/agents/types/)
* [Vault Agent API integration](/developers/agents/vault/)
## Platform internals
[Section titled “Platform internals”](#platform-internals)
* [Platform architecture](/developers/protocol/architecture/)
* [Execution framework](/developers/protocol/execution/)
* [Governance, registries, pauses, and timelocks](/developers/protocol/governance/)
* [AgentWalletKit integration and security](/developers/security/agent-wallet-kit/)
[Getting started](/getting-started/) and the [Vault Agent pages](/agent-types/vault/) explain how to use the app without implementation knowledge.
# Agent type integration contract
> The stable boundary for adding a new YieldSeeker agent type.
An agent type defines a strategy runtime inside the shared YieldSeeker account, wallet, authorization, and safety model.
## Required type definition
[Section titled “Required type definition”](#required-type-definition)
Every type should specify:
* a stable type identifier, goal, success metrics, and supported chains and assets
* creation and activation fields, plus permitted operations
* rule types and their parser, where the type supports rules or memory compilation
* monitoring metrics and status states
* user controls and exit behavior
* API errors and retry/idempotency rules
* strategy-specific risks
## Type-specific rules and monitoring
[Section titled “Type-specific rules and monitoring”](#type-specific-rules-and-monitoring)
When a type supports rules, it registers a parser to validate rule configurations and identify which rule types can be compiled from memories. Without a registered parser, the rule system allows no rules for that type.
Each type-specific `Monitor` passes its `agentType` and typed rule class to the shared `Monitor` base, then implements `_build_rule_boundaries(agent, snapshot, rules)` to build boundaries from holdings and effective typed rules, and `_list_metric_values()` to supply metric values keyed by `(chainId, subjectKey, metric)`. The base handles boundary refresh, evaluation, states, and shared queries. Rules without measurable limits may produce no boundaries.
## Shared platform boundary
[Section titled “Shared platform boundary”](#shared-platform-boundary)
A type does not receive unrestricted wallet access. It operates through the same ownership, authorization, adapter, registry, and emergency controls described in [Security](/security/) and [AgentWalletKit integration](/developers/security/agent-wallet-kit/).
## Current type
[Section titled “Current type”](#current-type)
`vault` is the currently available type. It allocates supported assets across approved DeFi vaults and exposes Vault Agent-specific yield, position, and Autoseek operations.
See [Creating an agent via API](/developers/api/creating-an-agent/) and [Vault Agent API integration](/developers/agents/vault/).
## Adding a future type
[Section titled “Adding a future type”](#adding-a-future-type)
A future borrowing, basis-trade, or other type should be a sibling integration with its own rule parser, monitor, API guide, user guide, metrics, risk disclosure, and support matrix entry.
Do not make Vault Agent fields, APY metrics, vault addresses, or rebalance semantics mandatory for every type.
# Vault Agent API integration
> Integrate with the current Vault Agent lifecycle and operations.
The Vault Agent is the current YieldSeeker agent type. Its API manages a base asset across approved DeFi vault opportunities and exposes yield, position, activity, and preference operations.
## Lifecycle
[Section titled “Lifecycle”](#lifecycle)
1. Create the agent with `type: vault`.
2. Get its Agent Wallet address.
3. Fund the wallet with a supported base asset.
4. For a standard user request, deploy after the Agent Wallet holds at least $10 worth of its base asset. A validated integrator request may deploy before funding.
5. Read positions, activity, and performance as the agent operates.
6. Withdraw positions and wallet balances before deactivation. A deactivated agent can be reactivated later.
See [Creating an agent via API](/developers/api/creating-an-agent/) for the generic create operation.
## Deposits and withdrawals
[Section titled “Deposits and withdrawals”](#deposits-and-withdrawals)
Deposits and wallet withdrawals use unsigned transactions that the user signs. `prepareDeposit` transfers from the connected wallet to the Agent Wallet; `prepareWithdrawal` moves the idle base asset back to the user’s wallet. `withdrawFromPosition` uses the Agent Wallet’s permitted execution path to move a vault position back into the Agent Wallet. None of these routes give integrators owner-key access or accept an arbitrary recipient.
### Deposit
[Section titled “Deposit”](#deposit)
1. Call `prepareDeposit` to get unsigned transaction data for transferring the base asset from the user’s connected wallet to the Agent Wallet.
2. Have the user sign and submit that transaction with their own wallet.
3. After the transaction confirms, call:
```http
POST /v1/users/{userId}/agents/{agentId}/deposit-made
GET /v1/users/{userId}/agents/{agentId}/snapshot?shouldForceRefresh=true
```
`notifyAgentDeposit` tells the agent the deposit landed, so it allocates it straight away instead of on its next scheduled check (every 30 minutes). It queues an Autoseek run that reads the wallet live; idle base asset worth at least the funding minimum skips the usual frequency limit. It does nothing for an agent that isn’t deployed yet, or within an hour of a manual withdrawal. The snapshot call refreshes the agent snapshot so the API reflects the confirmed deposit.
### Withdraw from a vault position
[Section titled “Withdraw from a vault position”](#withdraw-from-a-vault-position)
Call `withdrawFromPosition` to move assets from an approved vault position back into the Agent Wallet. This operation is executed through the agent’s permitted session-key path. It does not send assets to the user or to an arbitrary address.
### Withdraw from the Agent Wallet
[Section titled “Withdraw from the Agent Wallet”](#withdraw-from-the-agent-wallet)
1. Call `prepareWithdrawal` to get unsigned transaction data for withdrawing the idle base-asset balance to the user’s connected wallet.
2. Have the user sign and submit the transaction with their own wallet.
3. After the transaction confirms, call:
```http
GET /v1/users/{userId}/agents/{agentId}/snapshot?shouldForceRefresh=true
```
This refreshes the agent snapshot so the API reflects the confirmed withdrawal. Without `shouldForceRefresh=true`, the snapshot endpoint returns the stored snapshot straight away and refreshes it in the background when it is more than 10 minutes old.
See the [API authentication guide](/developers/api/authentication/) for signed API requests and the [generated API reference](/api-v1) for exact request and response schemas.
## List vaults
[Section titled “List vaults”](#list-vaults)
```http
GET /v1/chains/{chainId}/assets/{assetAddress}/vault-options
```
This public operation lists the vaults a new agent can allocate to, without forcing a refresh. Vaults YieldSeeker has disabled (for example 40acres and Moonwell), gated behind an experiment, or that the agent wallet can’t use are left out, so a vault picker built on this list follows those changes automatically. Add `shouldIncludeUnavailable=true` to also get those vaults, for example to show the name of a vault an agent still holds. `GET /v1/chains/{chainId}/assets/{assetAddress}/yield-options` is a deprecated alias that returns the same vaults under `yieldOptions`. The backend also defines `POST /v1/vault-options/refresh` (vault list and metrics) and `POST /v1/vault-metrics/refresh` (metrics only), which refresh every supported chain and asset, but they are cron-authenticated rather than client refresh operations. Availability, APY, liquidity, and rewards can change.
## Expected APY
[Section titled “Expected APY”](#expected-apy)
```http
GET /v1/chains/{chainId}/assets/{assetAddress}/apy-stats?rulePreset=explorative
```
This public operation returns active agents’ 7-day and 30-day APY for a supported base asset, weighted by how much each agent holds: `apyMoneyWeighted7d`/`apyMoneyWeighted30d` are the averages, and the 25th/50th/75th percentiles split the money, not the agents. Omit `rulePreset` to include every preset. These are realized returns, so they are already after the platform fee. For each window, only agents worth at least $100 with at least that many days of history count, users in a YieldSeeker reward campaign (Merkl or boost) that ran during the window are left out because campaign rewards inflate their APY, and the fields are `null` when fewer than 20 agents qualify.
Show `expectedApy7d` or `expectedApy30d`, which are never `null`. When enough agents qualify each is the matching money-weighted average. Otherwise it is an estimate: the APY the allocation engine would earn today for a $10,000 deposit on that preset, from each chosen vault’s 7-day or 30-day average APY, after the platform fee. Present it as a guide based on recent results, not a promise.
## Preferences and simulations
[Section titled “Preferences and simulations”](#preferences-and-simulations)
All preference and simulation endpoints are user-scoped. Authenticate them with the user’s signed wallet token. They change agent configuration or return projections; they do not give an integrator owner permission over the Agent Wallet.
### Read preferences and rules
[Section titled “Read preferences and rules”](#read-preferences-and-rules)
```http
GET /v1/users/{userId}/agents/{agentId}/memories
GET /v1/users/{userId}/agents/{agentId}/memories/effective-rules
GET /v1/users/{userId}/agents/{agentId}/memories/active-limit
```
Use `memories` for saved natural-language preferences, `effective-rules` to inspect the rules applied to allocation decisions, and `active-limit` for the agent’s active-memory capacity.
`effective-rules` returns memory-derived `userRules` and computed `defaultRules` separately. A user rule replaces a default of the same type.
### Save a preference
[Section titled “Save a preference”](#save-a-preference)
```http
POST /v1/users/{userId}/agents/{agentId}/memories
POST /v1/users/{userId}/agents/{agentId}/memories/{memoryId}
POST /v1/users/{userId}/agents/{agentId}/memories/{memoryId}/delete
```
Create a memory with the preference you want the agent to retain. Update its content or active state when it changes. Delete it when it should no longer be part of the agent’s configuration. A memory is interpreted as an allocation preference, not as arbitrary transaction calldata.
When replacing a filter or list-based preference, read the current effective rules first and write the complete desired end state. A new memory can replace or constrain an existing rule rather than merging with it.
To set the vaults an agent may use from an app’s vault picker, write the one managed `ignored_vault` memory instead of a free-text memory: see [vault selection for integrators](/integrators/#vault-selection). Its allowlist always applies; other memories can only add blocked vaults.
For a broad profile change, update the agent with:
```http
PATCH /v1/users/{userId}/agents/{agentId}
```
The supported presets are `conservative` and `explorative` (the default). Use memories for detailed preferences that should be compiled into allocation rules.
### Simulate before saving
[Section titled “Simulate before saving”](#simulate-before-saving)
```http
POST /v1/users/{userId}/agents/{agentId}/simulate
GET /v1/users/{userId}/simulate/credits
```
`runAgentSimulation` previews how one or more memory strings would change derived rules, vault scores, and target allocations. A saved managed `ignored_vault` memory is always included. It does not save the memories or execute an allocation. Each simulation consumes one credit. Use `getSimulationCreditsStatus` to show the remaining daily credits; credits reset daily in UTC and Pro users receive a higher limit.
## Positions and activity
[Section titled “Positions and activity”](#positions-and-activity)
```http
GET /v1/users/{userId}/agents/{agentId}/vault-positions
GET /v1/users/{userId}/agents/{agentId}/actions
```
These operations return current positions and previous allocation decisions. Treat position data as a snapshot that can become stale while blockchain/provider data is updated. `GET /v1/users/{userId}/agents/{agentId}/yield-positions` is a deprecated alias that returns the same positions under `yieldPositions`, each with `yieldOption` in place of `vaultOption`.
Each vault position has `netApy`: the vault’s current `riskAdjustedApy` after the agent’s platform fee. In a rebalance action’s `details`, each entry in `deposits` and `withdrawals` has `apy` and `netApy`, the vault’s APY when the move ran, before and after the fee. Older actions don’t have them. Both after-fee values are estimates, because the fee is only charged on realized positive yield.
## Deactivation
[Section titled “Deactivation”](#deactivation)
Deactivation fails while the Agent Wallet still holds value. Withdraw vault positions and the remaining wallet balance before deactivating.
YieldSeeker also deactivates deployed Vault Agents that stay empty (below $0.001) for 7 days in a row, in batches, including ones that were deployed but never funded. An agent that was never deployed is left alone.
### Reactivate an agent
[Section titled “Reactivate an agent”](#reactivate-an-agent)
```http
POST /v1/users/{userId}/agents/{agentId}/reactivate
```
`reactivateAgent` brings a deactivated agent back with the same Agent Wallet, memories (including a managed vault allow-list), rules, rule preset and history, so nothing has to be copied to a new agent. Deactivated agents don’t appear in the user’s agent list; integrators can find them with `deactivatedDate` in `GET /integrators/v1/{integratorId}/agents`.
* **Current wallet version only:** agents whose Agent Wallet is an older version (`walletType` on the agent’s wallet) return `AGENT_WALLET_OUTDATED`; create a new agent for those.
* **Same limits as creating an agent:** `USER_MAX_ACTIVE_AGENTS_REACHED` when the user is at their active-agent limit, `USER_ALREADY_HAS_AGENT_FOR_ASSET` when another active agent already uses that asset (assets other than USDC), and `AGENT_TYPE_NOT_SUPPORTED` when the user can no longer create that agent type.
* **Only deactivated agents:** an active agent returns `AGENT_NOT_DEACTIVATED`.
* **Allocation resumes on the next run:** Autoseek picks the agent up again once its wallet holds at least the funding minimum. After funding, call `notifyAgentDeposit` to allocate straight away.
Do not retry deactivation blindly; inspect the returned error and current wallet state first.
## Authoritative reference
[Section titled “Authoritative reference”](#authoritative-reference)
The [generated API reference](/api-v1) owns exact request/response schemas. The [Vault Agent pages](/agent-types/vault/) explain the same behavior without requiring API knowledge.
# Vault Agent decision pipeline
> How the Vault Agent evaluates and selects allocations.
The Vault Agent’s Autoseek pipeline turns the current vault options and portfolio into target allocations, then hands required actions to the shared Execution Framework.
```
flowchart LR
Options[Active vault options] --> Scope[Wallet execution checks]
Scope --> Rules[Effective rule filters]
Rules --> Scores[Model and rule-adjusted scores]
Scores --> Targets[Capacity and portfolio utility]
Targets --> Actions[Planned actions]
Actions --> Execution[Execution Framework]
Monitoring[Monitoring] -. new breach: eligible early .-> Autoseek[Autoseek run]
Autoseek --> Options
```
## Candidate discovery
[Section titled “Candidate discovery”](#candidate-discovery)
Autoseek loads vault options for the agent’s base asset and removes inactive options. It also excludes experiment-blocked and permanently disabled vaults. The wallet’s execution path applies its own target checks, such as requiring a registered adapter or an approved address. The public vault-options API already leaves out disabled, experiment-gated and unregistered vaults, but a vault it returns can still be filtered out by the agent’s rules.
## Rules and eligibility
[Section titled “Rules and eligibility”](#rules-and-eligibility)
The Rule Manager supplies the effective Vault Agent rules: memory-derived user rules and computed defaults from the selected preset. `explorative` is the default preset; `conservative` is the other supported profile. The `effective-rules` API returns the user and default rules separately, and a user rule replaces a default of the same type. Autoseek also injects ignored-vault rules for blocked or non-depositable targets.
`VaultRulesEngine` applies exclusion and eligibility rules first: ignored vaults, vault-type filters, collateral exclusions, and configured liquidity floors. It then applies per-vault capacity and withdrawable-liquidity allocation limits. Forced allocations are considered only for eligible vaults and remain subject to their capacity, available balance, and the portfolio’s vault-count limit.
## Scores and target allocations
[Section titled “Scores and target allocations”](#scores-and-target-allocations)
The inference model scores options; an optional yield-curve rule can adjust those scores. APY alone does not determine the result. The engine evaluates candidate portfolios using adjusted scores, liquidity and concentration risk, and estimated transition costs, within the agent’s vault-count limit. It may keep a current allocation or choose a different target portfolio.
## Monitoring and early runs
[Section titled “Monitoring and early runs”](#monitoring-and-early-runs)
Monitoring is a separate feedback path, not an allocation or execution step. The Vault Monitor builds measurable rule boundaries for held vault positions and checks them continuously against live metrics. If a breach becomes triggered after the agent’s last Autoseek, the agent becomes eligible for its next run without waiting for the normal frequency limit. Monitoring does not choose a target or move funds; Autoseek re-evaluates the portfolio.
## Execution handoff
[Section titled “Execution handoff”](#execution-handoff)
Autoseek plans actions from the target allocation. The shared Execution Framework validates and submits only permitted protocol interactions. See [Execution framework](/developers/protocol/execution/).
## Explaining a decision
[Section titled “Explaining a decision”](#explaining-a-decision)
The agent actions API can return recorded action and decision details for supported runs. They describe the inputs and outcome for that run, not a promise about future allocations.
# Vault Agent vault selection
> The checks used before a Vault Agent can allocate to a vault.
Vault selection is a sequence of execution checks, typed rules, score adjustments, and portfolio constraints—not a single APY ranking.
## Candidate universe
[Section titled “Candidate universe”](#candidate-universe)
Autoseek starts with active vault options for the agent’s base asset. It removes experiment-blocked and permanently disabled vaults, then filters targets for the wallet’s execution path, such as registered adapters or approved addresses. The public vault-options list leaves out the same disabled, experiment-gated and unregistered vaults, but a returned vault can still be ruled out by the agent’s rules.
## Rule filters and presets
[Section titled “Rule filters and presets”](#rule-filters-and-presets)
The Vault Agent’s registered rule types include:
* `ignored_vault` to exclude listed vaults or, with `allowedVaultAddresses`, allow only listed vaults; an empty `allowedVaultAddresses` list allows no vault, so the agent exits its vaults and keeps its funds idle
* `vault_type_filter` to exclude vault types
* `collateral_exclusion` to exclude vaults with specified collateral exposure
* `liquidity_filter` to require minimum total deposits, withdrawable value, or withdrawable ratio
* `capacity_cap` to cap a vault’s allocation using its deposits and configured capacity factor
* `liquidity_allocation_filter` to cap an allocation relative to withdrawable liquidity
* `forced_vault_allocation` to request a target for a vault, subject to eligibility, capacity, remaining balance, and the portfolio’s vault-count limit
* `yield_curve_scoring` to adjust a model score for yield-curve and stability inputs; it is registered but not memory-compilable
* `vault_safety` to withdraw from a vault its provider no longer lists; it is always on and not memory-compilable
The `explorative` preset is the default when an agent is created without one; `conservative` is the other supported preset. Presets generate platform defaults rather than saved user rules. `GET /v1/users/{userId}/agents/{agentId}/memories/effective-rules` returns `userRules` and `defaultRules` separately; a user rule replaces a default of the same type.
## Scoring and allocation
[Section titled “Scoring and allocation”](#scoring-and-allocation)
Eligible options receive inference-model scores, which an optional yield-curve rule can adjust. The engine evaluates candidate allocations using those scores alongside liquidity and concentration risk and estimated transition costs. It also respects vault-count and capacity limits, so a high-scoring vault may receive only part of the portfolio or no allocation.
## Monitoring boundaries
[Section titled “Monitoring boundaries”](#monitoring-boundaries)
Some rules also produce measurable boundaries for held vault positions, including liquidity, capacity, and collateral limits, and whether the vault is still listed. The Vault Monitor checks those boundaries continuously; a triggered breach can make the agent eligible for an early Autoseek run that bypasses the normal frequency limit. Monitoring itself does not select or execute an allocation.
## Inspecting current data
[Section titled “Inspecting current data”](#inspecting-current-data)
Use the current `effective-rules` and [vault-options API](/developers/agents/vault/#list-vaults) responses instead of hard-coding profile defaults, availability, APY, liquidity, or rewards. The list endpoint does not force a refresh, and these values can change.
See [Vault Agent decision pipeline](/developers/agents/vault/decision-pipeline/) for how the engine combines these inputs and [Vault Agent preferences](/agent-types/vault/preferences/) for user-facing configuration.
# API overview
> Conventions for integrating with the YieldSeeker REST API.
The core YieldSeeker REST API lets applications create accounts and agents, read agent state, and call operations available for each agent type.
## Base URL and versioning
[Section titled “Base URL and versioning”](#base-url-and-versioning)
Core API endpoints use `/v1`. The companion integrator API uses `/integrators/v1`; keep the appropriate base URL and prefix in client configuration.
The [interactive reference](/api-v1) is generated from API source in the same repository, not fetched from a deployed production service during the docs build.
## Requests and responses
[Section titled “Requests and responses”](#requests-and-responses)
Send JSON request bodies with `Content-Type: application/json`. Successful responses are JSON unless an operation is explicitly streamed.
Scalar owns the exact parameters, request bodies, response models, and authentication requirements.
## Authentication
[Section titled “Authentication”](#authentication)
User-scoped core operations require a SIWE wallet signature in the `Authorization` header. `createUser` instead verifies `signatureString` in its request body. A valid `X-Api-Key` never replaces user authentication: it adds integrator context on a signed route only when the signed-in user was referred by that integrator, and on `createUser` it attributes the new account. The read-only integrator routes separately accept an API key instead of SIWE.
Read [API authentication](/developers/api/authentication/).
## Agent types
[Section titled “Agent types”](#agent-types)
Agent-specific operations are not automatically valid for every type. Check the operation’s type scope and support matrix before calling it.
The [Vault Agent API integration](/developers/agents/vault/) documents the current type-specific operations.
## Errors and limits
[Section titled “Errors and limits”](#errors-and-limits)
Use an operation’s returned status and error details. The generated reference shows its rate limit; a `429` response includes `Retry-After`. See [Rate limits](/developers/api/rate-limits/).
# API authentication
> Authenticate user-scoped YieldSeeker API requests.
User-scoped endpoints require proof that the caller controls the user’s wallet. YieldSeeker uses a Sign-In with Ethereum message and its signature as the authentication token.
## Create the token
[Section titled “Create the token”](#create-the-token)
1. Create a SIWE message for the user’s wallet.
2. Use an allowed authentication domain.
3. Set `issued_at` to no more than 30 days before the request.
4. Have the wallet sign the complete message.
5. Base64-encode a JSON object containing the message and its hexadecimal signature.
```json
{
"message": "",
"signature": ""
}
```
## Resolve your userId
[Section titled “Resolve your userId”](#resolve-your-userid)
After `loginWithWallet`, user-scoped resource routes use `userId` rather than wallet address. Resolve it for a wallet:
1. Build the token above from a SIWE message signed by that wallet.
2. Send `POST /v1/users/login-with-wallet` with `walletAddress` in the JSON body and the token in `Authorization: Signature `.
3. On success, use `user.userId` from the response.
4. If the API returns `NO_USER`, send `POST /v1/users` with `walletAddress`, `username`, and the same token as `signatureString` in the JSON body. `createUser` does not require `Authorization`; its response also contains `user.userId`.
For resource-owner routes, the supplied `userId` must match the account recovered from the signature. Call `loginWithWallet` before `createUser`; only create an account after `NO_USER`. See the [generated API reference](/api-v1) for both endpoints’ exact schemas.
## Send the token
[Section titled “Send the token”](#send-the-token)
For the documented v1 API, send the complete value in the `Authorization` header:
```http
Authorization: Signature
```
## Integrator API keys
[Section titled “Integrator API keys”](#integrator-api-keys)
For `GET /integrators/v1/{integratorId}` and its read-only `/users`, `/revenue-summary`, and `/agents` routes, `X-Api-Key: ysk_...` can be used instead of a SIWE signature. The key must belong to the same integrator identified in the request. If both credentials are sent, either valid matching credential is sufficient. Keys are not individually endpoint-scoped: any active key for that integrator can use all four routes.
Listing integrators and API-key or dashboard-member management routes still require a SIWE signature. For routes scoped to an integrator, the signer must be a member; adding or removing dashboard members requires the master user. On core API routes, `X-Api-Key` only adds integrator context where the route supports it; it never replaces that route’s authentication. On signed user routes, a valid key adds context only when the signed-in user was referred by that integrator. For other users, the key is ignored as context after validation; an invalid or origin-disallowed key is still rejected. On `createUser`, a valid key attributes the new account to the integrator.
Keys may have allowed origins. A configured origin list is checked against the request’s `Origin` header. Treat the key as a bearer secret: keep it server-side and never embed it in browser code.
## Rejected requests
[Section titled “Rejected requests”](#rejected-requests)
Requests can be rejected when the signature is missing or invalid, the SIWE domain is not allowed, `expirationTime` has passed, or `issued_at` is too old. Use the returned HTTP status, `exceptionType`, and `message` for diagnosis; do not retry an invalid credential.
A request can also be rejected for exceeding the operation’s [rate limit](/developers/api/rate-limits/), which returns a `429` with a `Retry-After` header rather than an authentication error.
## Security
[Section titled “Security”](#security)
Never log signature tokens, private keys, seed phrases, or API keys. A signature proves control for its intended message, so construct and display the message before asking a user to sign it.
# Creating an agent via API
> Create an agent and its associated wallet programmatically.
Creation registers an agent and computes its deterministic Agent Wallet address. It does not deploy the wallet or move funds.
## Request
[Section titled “Request”](#request)
```http
POST /v1/users/{userId}/agents
Content-Type: application/json
Authorization: Signature
```
The request model requires `userId`, `name`, and `emoji`; the signed-in wallet must own that `userId`. If omitted, `chainId`, `assetAddress`, and `type` default to the configured Base chain, its USDC asset, and `vault`. `rulePreset` is optional; `null` or omitted creates an `explorative` agent. The request has no generic type-configuration object. See the generated [API reference](/api-v1) for the full schema.
## Agent type
[Section titled “Agent type”](#agent-type)
The `type` field currently supports `vault` only. Other values fail with `AGENT_TYPE_NOT_SUPPORTED`. Do not assume that Vault Agent operations apply to another type.
## Result
[Section titled “Result”](#result)
The response shape is `{ agent: Agent }`; `Agent` includes `agentId`, `createdDate`, `name`, `emoji`, `chainId`, `assetAddress`, `type`, and `rulePreset`. Call `GET /v1/users/{userId}/agents/{agentId}/wallet` for `{ agentWallet: AgentWallet }`, which includes `walletAddress`. That deterministic address is available before deployment.
## Next steps
[Section titled “Next steps”](#next-steps)
Creation is followed by the type-specific funding and activation flow:
* [Vault Agent API integration](/developers/agents/vault/) for the current type.
* [User guide: Choosing and creating an agent](/getting-started/) for the app flow.
## Validation and errors
[Section titled “Validation and errors”](#validation-and-errors)
Unsupported types fail with `AGENT_TYPE_NOT_SUPPORTED`; unsupported chain/asset pairs fail with `AGENT_ASSET_NOT_SUPPORTED`. The signed-in wallet must own the requested `userId`. Correct input or authentication errors before retrying.
# API Quickstart
> Make the first YieldSeeker API calls.
This flow resolves or creates a wallet account, creates an agent, and reads its state. Use the [interactive API reference](/api-v1) for the complete schemas and current operation details.
## 1. Authenticate the wallet
[Section titled “1. Authenticate the wallet”](#1-authenticate-the-wallet)
Create a SIWE message, have the user’s wallet sign it, and encode the message/signature pair as the token described in [API authentication](/developers/api/authentication/).
## 2. Resolve or create the user
[Section titled “2. Resolve or create the user”](#2-resolve-or-create-the-user)
Call `loginWithWallet` first. Send the wallet address in the JSON body and the signed token in `Authorization`. If the wallet has an account, the response contains `user.userId`. If the API returns `NO_USER`, create the account with the same wallet address and signed token:
```http
POST /v1/users/login-with-wallet
Content-Type: application/json
Authorization: Signature
{"walletAddress":"0x..."}
```
```http
POST /v1/users
Content-Type: application/json
{"walletAddress":"0x...","username":"...","signatureString":""}
```
`createUser` verifies `signatureString` from the request body; it does not use the `Authorization` header. A valid integrator `X-Api-Key` may be included to attribute the new account. `referralCode` is optional.
## 3. Create an agent
[Section titled “3. Create an agent”](#3-create-an-agent)
```http
POST /v1/users/{userId}/agents
Content-Type: application/json
Authorization: Signature
```
The signed-in wallet must own the `userId`. Provide the required `name` and `emoji`; chain, base asset, type, and rule-preset fields and defaults are listed in [Creating an agent via API](/developers/api/creating-an-agent/).
## 4. Fund and activate it
[Section titled “4. Fund and activate it”](#4-fund-and-activate-it)
Funding and deployment are separate from agent creation. For the current Vault Agent, follow [Vault Agent API integration](/developers/agents/vault/) for the type-specific flow.
## 5. Read state
[Section titled “5. Read state”](#5-read-state)
Use the type’s balance, position, activity, and statistics operations to verify the agent’s state after each lifecycle step.
## Safe client behavior
[Section titled “Safe client behavior”](#safe-client-behavior)
* Validate the response before moving to the next step.
* Preserve transaction hashes and request IDs for support.
* Do not blindly retry mutations.
* Treat unsupported type/asset combinations as configuration errors.
* Keep signature tokens and API keys out of logs.
# Rate limits
> Current API rate limit tiers and how to handle a 429 response.
Rate limits are declared per route and count calls within configured time windows. Public-read and public-account tiers are keyed by IP. Standard signed user operations are keyed by the authenticated user; API-key requests to integrator analytics use the integrator as the key. The public-account tier remains IP-keyed for wallet login and account creation, including `loginWithWallet`, which also requires SIWE.
A request over the limit receives a `429` response with a `Retry-After` header giving the number of seconds to wait before retrying. Treat that header as authoritative — read it and back off accordingly rather than hard-coding a client-side assumption about the limit.
## Current tiers
[Section titled “Current tiers”](#current-tiers)
The table summarizes current route metadata. Check each operation in the [generated API reference](/api-v1) for its configured tier; some routes have no explicit limit.
| Tier | Typical limit | Used for |
| ---------------- | -------------------------- | ------------------------------------------------------------------------------ |
| Public read | 30/minute, 300/hour | Public lookups (health, supported assets, onchain status, vault opportunities) |
| Public account | 5/minute, 20/hour, 100/day | Wallet login and account creation (IP-keyed) |
| Standard read | 30/minute, 300/hour | Authenticated reads (agent snapshots, positions, activity, memories) |
| Standard write | 15/minute, 120/hour | Authenticated writes (creating/updating an agent, saving a memory) |
| Expensive mutate | 5/minute, 30/hour | Expensive mutations, including deposit and withdrawal operations |
| Chat | 6/minute, 20/5 minutes | Sending a message to an agent conversation |
| Simulate | 3/minute, 10/hour | Preview-only allocation simulations |
| OAuth | 5/minute, 20/hour | OAuth login requests (Twitter, Discord, Telegram) |
`GET /v1/platform-stats` currently has no explicit route limit; the platform stats detail and activity-feed routes do.
## Handling a 429
[Section titled “Handling a 429”](#handling-a-429)
1. Read the `Retry-After` header on the response.
2. Wait at least that many seconds before retrying the same operation.
3. Avoid tight retry loops. Retry only after the indicated delay, and honor any later `Retry-After` values.
## Next steps
[Section titled “Next steps”](#next-steps)
* [API authentication](/developers/api/authentication/)
* [Generated API reference](/api-v1)
# Platform architecture
> How YieldSeeker's platform components fit together.
This page is the contract-level and API-level companion to [Architecture](/introduction/architecture/), which explains the same layers in plain language.
YieldSeeker separates the user, agent runtime, wallet, execution controls, and supported protocols. Agent type determines the runtime goal; the wallet and safety boundary are shared.
```
flowchart LR
User[User wallet] --> Account[YieldSeeker account]
Account --> Agent[Agent type runtime]
Agent --> Wallet[Isolated Agent Wallet]
Wallet --> Registry[Adapter Registry]
Registry --> Adapter[Approved adapter]
Adapter --> Protocol[Supported protocol]
Monitoring[Offchain monitoring] -. breach wakes .-> Agent
```
## User and account
[Section titled “User and account”](#user-and-account)
A user’s connected wallet owns the account relationship and authorizes user-scoped actions. An account can contain multiple agents where product limits allow it.
## Agent runtime
[Section titled “Agent runtime”](#agent-runtime)
The runtime is type-specific. The current Vault Agent uses Autoseek to evaluate approved vault opportunities; future types can pursue different goals without changing the shared wallet boundary.
Agent intelligence may interpret user preferences or explain decisions, while the type-specific strategy determines what those preferences mean.
## Monitoring
[Section titled “Monitoring”](#monitoring)
Monitoring continuously evaluates active rule boundaries against current vault data. A triggered breach can bypass the normal run-frequency limit and make the agent eligible for its next run. Monitoring wakes the runtime; it does not choose an allocation or execute a transaction.
## Agent Wallet
[Section titled “Agent Wallet”](#agent-wallet)
Each agent has an isolated smart wallet that holds its assets and submits validated operations. Read [AgentWalletKit integration](/developers/security/agent-wallet-kit/) for the contract-level model.
## Execution infrastructure
[Section titled “Execution infrastructure”](#execution-infrastructure)
The wallet does not call arbitrary targets directly. The Adapter Registry maps approved targets to adapters, and adapters validate protocol-specific parameters before interacting with a target.
## Source boundaries
[Section titled “Source boundaries”](#source-boundaries)
* API routes expose account, agent, and type-specific operations.
* Smart contracts enforce wallet ownership and execution constraints.
* Offchain runtimes evaluate data and propose actions.
* Supported protocols remain independent contracts with their own risks.
## Related guides
[Section titled “Related guides”](#related-guides)
* [Execution framework](/developers/protocol/execution/)
* [Governance and timelocks](/developers/protocol/governance/)
* [Security](/security/)
# Execution framework
> How agent actions are constrained before reaching DeFi protocols.
The execution framework turns a type-specific strategy decision into a constrained blockchain operation. It is shared by current and future agent types.
## Execution flow
[Section titled “Execution flow”](#execution-flow)
```
flowchart LR
Decision[Strategy decision] --> Wallet[Agent Wallet]
Wallet --> Registry[Adapter Registry]
Registry --> Adapter[Registered adapter]
Adapter --> Target[Registered target]
```
1. The runtime prepares an ERC-4337 UserOperation. An owner signature can authorize supported wallet actions; an agent-operator signature is accepted only for `executeViaAdapter` or `executeViaAdapterBatch`.
2. The wallet rejects the unrestricted `execute` and `executeBatch` entry points, applies its owner-controlled adapter and target blocklists, and checks the requested adapter against the target’s registry mapping.
3. The wallet delegatecalls the approved adapter. That adapter validates its supported operation and parameters before calling the protocol target.
## Adapter-only execution
[Section titled “Adapter-only execution”](#adapter-only-execution)
Each adapter accepts defined operations and validates their protocol-specific parameters. The wallet’s ordinary `execute` and `executeBatch` methods revert, so agent operations cannot use an unrestricted arbitrary-call path.
## Registry controls
[Section titled “Registry controls”](#registry-controls)
The Adapter Registry’s admin role registers adapters and maps targets; its emergency role can remove a target, unregister an adapter, or pause the `getTargetAdapter` lookup. Pausing that lookup blocks adapter-backed calls through the registry; removing a target or unregistering an adapter blocks calls through the affected mapping or mappings. Neither action blocks direct owner-only withdrawals of ETH or withdrawable base asset, and neither can reverse a settled transaction.
Owners can also block adapters or targets for their own wallet. A registered target is approved for a particular adapter, not a guarantee that the underlying protocol is safe or liquid.
## Adapter context
[Section titled “Adapter context”](#adapter-context)
Adapters run by `delegatecall`, so their code executes in the Agent Wallet’s context and makes protocol calls from that wallet. The adapter supplies protocol-specific validation and call encoding.
## Agent-type boundary
[Section titled “Agent-type boundary”](#agent-type-boundary)
The framework is shared, but the operations and risk checks are type-specific. Vault Agent adapters support vault, lending, reward, and swap operations; a future type must document its own adapters and validation rules.
See [Security](/security/) for the user explanation and [AgentWalletKit integration](/developers/security/agent-wallet-kit/) for implementation details.
# Governance, registries, pauses, and timelocks
> How platform capabilities are approved and disabled.
YieldSeeker’s governance controls determine which wallet implementations, adapters, and protocol targets can be used by agents.
## Registry administration
[Section titled “Registry administration”](#registry-administration)
The deployment assigns `DEFAULT_ADMIN_ROLE` on the Adapter Registry and Wallet Factory to the `AdminTimelock`. The registry admin registers adapters and maps targets; the Factory admin updates wallet implementation, registry, and fee-tracker settings. A separate registry `EMERGENCY_ROLE` can remove a target mapping, unregister an adapter (disabling its mappings until re-registered), or pause the `getTargetAdapter` lookup. The default admin can unpause.
Registry approval allows an interaction to be attempted. It does not guarantee protocol solvency, liquidity, or performance.
## Wallet Factory
[Section titled “Wallet Factory”](#wallet-factory)
The Factory creates deterministic Agent Wallet proxies and stores the approved implementation, Adapter Registry, and fee tracker. The `AGENT_OPERATOR_ROLE` authorizes wallet creation. Wallets cache registry and operator settings at initialization or when synchronized. Factory implementation changes do not automatically upgrade existing wallets; the owner must call `upgradeToLatest` to install the currently approved implementation.
## Timelocked changes
[Section titled “Timelocked changes”](#timelocked-changes)
The production deployment script sets the AdminTimelock’s initial minimum delay to four days (testing mode uses zero). Its configuration batch schedules adapter registration and Factory updates through the timelock. The vault-registration script reads the current `getMinDelay()` and schedules the target-to-adapter mapping there; under the production four-day setting, registration waits four days before execution.
Governance can change the live delay, so read `AdminTimelock.getMinDelay()` on the deployed contract before relying on a duration. A scheduled operation is visible onchain during the delay, giving users time to inspect it and decide whether to continue participating or exit, subject to the liquidity and withdrawal rules of their positions.
## Deployed contracts
[Section titled “Deployed contracts”](#deployed-contracts)
Current addresses for the Adapter Registry, Wallet Factory, AdminTimelock, and each adapter are published in [`deployments.json`](https://github.com/tokenpage/yieldseeker-contracts/blob/main/deployments.json) in the contracts repository. This file is the source of truth; addresses are not reproduced here because they change across deployments and networks.
## Emergency response
[Section titled “Emergency response”](#emergency-response)
The emergency role can stop new adapter-backed operations by pausing registry lookups, removing a target mapping, or unregistering an adapter. These emergency actions bypass the timelock; unpausing requires `DEFAULT_ADMIN_ROLE`.
Pausing or disabling a registry route does not create liquidity or reverse a settled transaction. It does not block direct owner-only withdrawals of ETH or withdrawable base asset, but a pause can block adapter-backed withdrawals of non-base positions. Underlying-protocol withdrawal conditions remain separate.
## Adding a new agent type
[Section titled “Adding a new agent type”](#adding-a-new-agent-type)
A new agent type should reuse the shared governance and execution boundary unless the platform changes. Its own adapters, targets, metrics, and risks must be reviewed before being enabled.
See [Security](/security/) and the [AgentWalletKit integration guide](/developers/security/agent-wallet-kit/) for the broader threat model.
# AgentWalletKit integration and security
> Contract-level details behind YieldSeeker Agent Wallets.
This page is the technical companion to [Security](/security/). It explains how the reusable AgentWalletKit design constrains autonomous wallet operations.
## Wallet deployment
[Section titled “Wallet deployment”](#wallet-deployment)
The Factory deploys a deterministic proxy for an owner and agent index; its address can be calculated before deployment. Initialization sets the owner, base asset, Adapter Registry, cached agent operators, and fee tracker.
See [AgentWalletFactory](https://github.com/tokenpage/yieldseeker-contracts/blob/main/src/AgentWalletFactory.sol) and [YieldSeeker AgentWalletV2](https://github.com/tokenpage/yieldseeker-contracts/blob/main/src/AgentWalletV2.sol).
## ERC-4337 authorization
[Section titled “ERC-4337 authorization”](#erc-4337-authorization)
The deployed AgentWalletV2 validates ERC-4337 v0.6 UserOperations. The owner can sign supported wallet operations; a cached agent-operator signature is accepted only for `executeViaAdapter` and `executeViaAdapterBatch`.
Wallets cache the Factory’s operator list, registry address, and fee tracker. After a Factory-level change, the owner or a cached operator must call `syncFromFactory` on each wallet to update that cached configuration; pausing a wallet’s currently cached registry immediately blocks that wallet’s adapter-backed operations.
## Adapter-only execution
[Section titled “Adapter-only execution”](#adapter-only-execution)
The wallet uses `executeViaAdapter` or its batch form; its standard `execute` and `executeBatch` entry points revert. It checks per-wallet adapter and target blocklists, then requires the registry to map the requested target to the requested registered adapter.
The wallet delegatecalls the adapter, which runs in the wallet’s context. Each adapter accepts specific selectors and validates its own protocol parameters before making an external call; adapter code is not a separate custody wallet.
## Registry and emergency controls
[Section titled “Registry and emergency controls”](#registry-and-emergency-controls)
The registry can remove one target mapping, unregister an adapter (its existing mappings stay stored and become active again if the adapter is re-registered), or pause the `getTargetAdapter` lookup. These controls affect wallets sharing that registry and can block future adapter-backed operations, but cannot guarantee protocol liquidity or undo a settled transaction.
## User controls
[Section titled “User controls”](#user-controls)
The owner can block adapters and targets, withdraw ETH, and withdraw the configured base asset subject to accrued fees. Supported non-base tokens and protocol positions must be handled through approved adapters. The owner alone can use the wallet’s approved upgrade path; platform administration has no server-only withdrawal path.
## Upgrade and timelock model
[Section titled “Upgrade and timelock model”](#upgrade-and-timelock-model)
Factory implementation and configuration changes are subject to the AdminTimelock, giving users time to review a change or exit where appropriate. Production deployment sets its initial minimum delay to four days, but governance can change that live value. Approving an implementation does not upgrade deployed wallets: the owner must call `upgradeToLatest`, which only accepts the Factory-approved implementation.
Check the deployed `AdminTimelock.getMinDelay()` and contract addresses before relying on a specific delay or deployment.
## Threat model
[Section titled “Threat model”](#threat-model)
A compromised server may use a cached operator key to authorize adapter-call operations, but it cannot sign the wallet’s owner-only withdrawals or upgrades, and unrestricted `execute` and `executeBatch` revert. Its calls remain subject to the wallet’s per-wallet blocklists, registry mapping, and adapter implementation. This limits arbitrary-call authority; it does not eliminate risks from a flawed adapter, protocol, or execution infrastructure.
This is a risk-reduction model, not a guarantee that adapters, registries, protocols, infrastructure, or future implementations are bug-free.
## Sources
[Section titled “Sources”](#sources)
* [AgentWalletKit documentation](https://agentwalletkit.tokenpage.xyz/)
* [Contracts README](https://github.com/tokenpage/yieldseeker-contracts/blob/main/README.md)
* [Adapter Registry](https://github.com/tokenpage/yieldseeker-contracts/blob/main/src/agentwalletkit/AWKAdapterRegistry.sol)
* [Nethermind audits](https://github.com/tokenpage/yieldseeker-contracts/tree/main/audits)
# Funding, monitoring, and exiting
> Add funds, follow activity, and leave an agent.
The current Vault Agent runs on Base. It starts with a supported base asset in its Agent Wallet and can place assets into approved vault positions.
## Funding an agent
[Section titled “Funding an agent”](#funding-an-agent)
After creating an agent, open its Funding page or use the deposit form on its overview. The app offers direct deposits, a bridge, and a Coinbase deposit option. Follow the in-app flow rather than sending tokens manually to the displayed Agent Wallet address; the app warns that transfers sent on the wrong chain will not be recoverable.
Fund the agent with at least $10 of its base asset, then choose **Deploy Agent**; this deploys the Agent Wallet onchain.
## Monitoring activity
[Section titled “Monitoring activity”](#monitoring-activity)
Use the agent’s overview and Activity view to review balances, positions, transactions, and results. For Vault Agent metric definitions, see [Vault Agent performance](/agent-types/vault/performance/).
A rule boundary is a measurable limit produced by a rule for a held vault. Monitoring continuously checks relevant boundaries against vault metrics. When boundaries exist, the agent overview shows whether they are clear, approaching breach, or breached.
When a breach becomes active, it can wake the agent early and make it eligible for its next run. Monitoring does not choose an allocation, execute a transaction, or send you a notification.
## Withdrawing
[Section titled “Withdrawing”](#withdrawing)
From the agent overview, withdraw a vault position first. Once assets return to the Agent Wallet as an idle base-asset balance, use **Withdraw** to transfer that balance to your connected wallet.
How much you can withdraw and how quickly depends on the underlying protocol’s liquidity and withdrawal rules. Pending transactions or an incident can delay or limit an exit; the app cannot guarantee immediate liquidity.
Withdraw all positions and remaining balances before deactivating. An agent can be deactivated once its value is $0.
## Need help?
[Section titled “Need help?”](#need-help)
Read [Security](/security/) to understand ownership and controls, or [Recovery and emergencies](/guides/recovery/) if the app or an underlying protocol is unavailable.
## Developer path
[Section titled “Developer path”](#developer-path)
Developers should use the [Vault Agent API integration](/developers/agents/vault/) and the generated [API reference](/api-v1).
# Recovery and emergencies
> What to do when the app, an agent, or a protocol has a problem.
For a deployed Agent Wallet, ownership and wallet state are onchain; the app is not the source of ownership. If something goes wrong, avoid repeated transactions and record the wallet address, agent, network, and transaction hashes.
## If the app is unavailable
[Section titled “If the app is unavailable”](#if-the-app-is-unavailable)
Your connected wallet remains the owner of a deployed Agent Wallet. The owner can submit authorized contract actions without the app, but the current Vault Agent’s direct withdrawal path is limited to available base-asset balances. Vault positions and other assets require permitted adapter operations and remain subject to the underlying protocol’s withdrawal conditions.
If you need to exit a position while the app is unavailable, contact support before attempting unfamiliar contract interactions. See the [developer AgentWalletKit guide](/developers/security/agent-wallet-kit/) for contract-level details. An Agent Wallet address that has not yet been deployed still needs deployment before its contract can act.
## If a transaction is pending or failed
[Section titled “If a transaction is pending or failed”](#if-a-transaction-is-pending-or-failed)
Wait for the transaction state to settle before submitting another action. Check the network, transaction hash, wallet balance, and whether the underlying protocol accepted the operation.
If the same action continues to fail, save the error and contact support rather than repeatedly retrying.
## If a protocol has an incident
[Section titled “If a protocol has an incident”](#if-a-protocol-has-an-incident)
At the contract layer, the Agent Wallet owner can block an adapter or target for that wallet; the platform’s emergency role can pause registry lookups or remove a target or adapter. Blocking or pausing stops affected adapter execution and may also prevent an adapter-based exit. These controls do not withdraw assets or create liquidity.
Do not assume that a high displayed APY, a registry pause, or an emergency response guarantees an immediate exit.
## If you suspect compromise
[Section titled “If you suspect compromise”](#if-you-suspect-compromise)
Do not approve unfamiliar transactions. Record what happened, disconnect the affected browser session, and contact YieldSeeker support through the official channel.
The Agent Wallet’s adapter restrictions and owner-controlled blocklist limit which contract interactions can run, but they do not eliminate software, market, protocol, or operational risk.
## What to include in a support request
[Section titled “What to include in a support request”](#what-to-include-in-a-support-request)
Include:
* your agent and wallet addresses
* network and asset
* transaction hashes
* the time and action that failed
* the exact error message
* screenshots that do not expose private keys or seed phrases
Never share a seed phrase, private key, signature you did not intend to authorize, or secret API credential.
# Integrator guides
> Manage your integrator's API keys and dashboard access, and pull revenue-share analytics for the users and agents referred through it.
This companion API lets integrators manage API keys and dashboard members, then read analytics for users and agents attributed to their integrator.
Read the [Developer guides](/developers/) first if you haven’t already; they cover authentication and the User and Agent resource models this API builds on.
## Authentication
[Section titled “Authentication”](#authentication)
Read-only integrator details and analytics routes — `GET /integrators/v1/{integratorId}`, `GET /integrators/v1/{integratorId}/users`, `GET /integrators/v1/{integratorId}/revenue-summary`, and `GET /integrators/v1/{integratorId}/agents` — accept either a SIWE signature from an integrator member or master user, or an active `X-Api-Key` for that integrator. The key must match the path’s `integratorId` and pass its configured `Origin` allowlist, if one is set.
Listing, creating, or deactivating API keys and listing dashboard members require a SIWE signature from an integrator member. Only the master can add or remove dashboard members. A new key’s secret is returned once at creation; later listings expose key metadata only.
On the core API’s `createUser` endpoint, the wallet signature is still verified; a valid `X-Api-Key` attributes the new account to its integrator and takes precedence over a referral code in that request. On other signed-in core routes that support optional integrator context, the key does not replace the user’s signature and adds context only if the signed-in user was referred through that integrator; it does not re-attribute other users.
Treat API keys as bearer secrets: keep them server-side and never embed them in browser code. An origin allowlist does not make a key safe to expose.
## Why integrate with YieldSeeker?
[Section titled “Why integrate with YieldSeeker?”](#why-integrate-with-yieldseeker)
Give your users an automated way to seek yield across supported DeFi vaults while retaining control of their wallets. YieldSeeker configures a revenue-share rate for each integrator and reports its share of eligible platform fees for users attributed to that integrator.
The dashboard and API let you manage access and track referred users, agents, performance, and revenue-share analytics.
To get started, email . We can help set up your integration, API access, and revenue-share terms.
## Referred users and revenue share
[Section titled “Referred users and revenue share”](#referred-users-and-revenue-share)
Attribution follows the user’s referrer: referred users are users whose `referrerUserId` is the integrator’s master user. A dashboard member gets access to integrator data but does not become a referred user.
Revenue summaries report all-time counts, cumulative yield, platform-fee totals, and transaction totals, alongside current holdings, APY percentiles, and the configured `revenueShareBps`. `integratorFeeShareUsd` is calculated from collected and owed platform fees; estimated pending fees are reported separately and are not included in that share. These routes provide analytics, not a revenue-share payout.
Each agent in `GET /integrators/v1/{integratorId}/agents` also carries the same APYs the agent’s owner sees on its snapshot: `apy1d`, `apy7d`, `apy30d`, `apy90d`, `apyAllTime`, `apyStartDate`, and `hasEnoughHistory`. Show the APYs only once `hasEnoughHistory` is true; before that they cover too few days to be meaningful. Agents that aren’t yield products (for example Borrow Agents) report 0 and `hasEnoughHistory` false. `deactivatedDate` is set once an agent is deactivated, by its user or because it stayed empty; [reactivate it](/developers/agents/vault/#reactivate-an-agent) to keep its vault selection and other memories instead of creating a new agent.
## Vault selection
[Section titled “Vault selection”](#vault-selection)
To limit an agent to the vaults a user picked, save one managed memory with `POST /v1/users/{userId}/agents/{agentId}/memories` and `managedRuleType: "ignored_vault"`, listing the vault addresses in the content (for example `Only allocate to these vaults and never to any other vault: 0x4e65fE4DbA92790696d040ac24Aa414708F5c0AB (Aave Base USDC)`). This is a core API route, so it needs the user’s SIWE signature; `X-Api-Key` does not replace it.
* **No language model:** the vault addresses are read from the content directly.
* **Only our vaults count:** addresses YieldSeeker doesn’t list for the agent’s chain and asset (another chain, another asset, another provider’s pools) are ignored. Listed vaults autoseek can’t deposit into are skipped when it runs.
* **Nothing left means no vault:** for example when the user picked only pools YieldSeeker doesn’t offer, the agent exits every vault and keeps its funds idle. Withdrawing to the user is usually better than leaving funds idle.
* **Changing it:** call the endpoint again to replace the list; deactivate or delete the memory to remove the restriction. The user’s chat agent can’t change it.
* **Picking vaults:** build the picker from [`vault-options`](/developers/agents/vault/#list-vaults), which only returns vaults a new agent can use.
## API
[Section titled “API”](#api)
* [Generated Integrator API reference](/integrator-api-v1)
The reference lists the exact routes and schemas generated from the API’s request and response models. This page describes authentication, attribution and vault selection behavior.
# YieldSeeker Pro
> What YieldSeeker Pro includes, how billing works, and how to manage access.
YieldSeeker Pro is an optional subscription that raises account limits and adds premium features across your agents. It is separate from the 10% platform fee charged on earned yield.
## What Pro unlocks
[Section titled “What Pro unlocks”](#what-pro-unlocks)
Pro benefits apply across your YieldSeeker account and inside each Vault Agent.
### Account-wide benefits
[Section titled “Account-wide benefits”](#account-wide-benefits)
| Feature | Free | Pro |
| -------------- | --------- | -------- |
| Chat model | Lite | Large |
| Discord access | Community | Superior |
| Support | Community | Priority |
### Vault Agent benefits
[Section titled “Vault Agent benefits”](#vault-agent-benefits)
| Feature | Free | Pro |
| ------------------------- | ------------- | ---------------------------- |
| Active agents | 2 | 5 |
| Active memories per agent | 3 | 10 |
| Diversification slots | Based on tier | Tier rate, plus one slot |
| Autoseek frequency | Based on tier | Tier rate, up to 2× as often |
| Autoseek priority | Regular | Highest |
| Yield leaderboard points | 1x | 1.5x |
| Rule simulations per day | 3 | 10 |
## Pricing and billing
[Section titled “Pricing and billing”](#pricing-and-billing)
Pro packages are configured in the ProBilling contract. Active package names, USDC prices, and access durations can change; the app displays the packages currently available.
Subscribe with USDC:
1. Choose an active Pro package.
2. Approve the ProBilling contract to spend the package amount in USDC.
3. Subscribe to the package.
Your connected wallet approves and calls the configured ProBilling contract; the API uses its state and events for subscription status and payment history.
If renewal is enabled, the service attempts to collect the next package payment during the renewal window near expiry. The connected wallet needs enough USDC and USDC allowance for the charge; otherwise renewal may fail and access may lapse.
You can top up an active subscription to add more access time. Cancelling stops future automatic renewals but does not remove Pro access you have already paid for. You keep that access until its current expiry.
## Trials and vouchers
[Section titled “Trials and vouchers”](#trials-and-vouchers)
Eligible accounts may see a free seven-day Pro trial in the app. YieldSeeker can also issue vouchers that add free Pro time. Voucher availability, eligibility, and expiry are controlled by the current product configuration.
## Managing Pro
[Section titled “Managing Pro”](#managing-pro)
Open [YieldSeeker Pro in the app](https://app.yieldseeker.xyz/account-pro/) to see your current status, available packages, access expiry, renewal setting, USDC balance, and allowance.
Use the Pro page to subscribe, top up, cancel renewal, or redeem a voucher. Keep enough USDC in the active payer wallet and maintain the required USDC allowance if you want automatic renewal.
## Related pages
[Section titled “Related pages”](#related-pages)
* [Fees](/reference/fees/)
* [Your wallet and Agent Wallets](/wallets/)
* [Agent types](/agent-types/)
* [YieldSeeker API reference](/api-v1/)
# FAQ
> Answers to common YieldSeeker questions.
## What is YieldSeeker?
[Section titled “What is YieldSeeker?”](#what-is-yieldseeker)
YieldSeeker is an agents-for-DeFi platform. You create an autonomous agent with a specific goal and retain control through the platform’s wallet and security model.
See [Introduction](/) and [Agent types](/agent-types/).
## What agent types are available?
[Section titled “What agent types are available?”](#what-agent-types-are-available)
The Vault Agent is available today and pursues risk-adjusted yield across approved DeFi vaults. The Borrow Agent and Rebalance Agent are coming soon; see [Agent types](/agent-types/).
## What assets and networks are supported?
[Section titled “What assets and networks are supported?”](#what-assets-and-networks-are-supported)
Support depends on the agent type. The Vault Agent runs on Base with USDC, WETH, cbBTC, and EURC; see [Vault Agent](/agent-types/vault/) before funding an agent.
## Does YieldSeeker have access to my funds?
[Section titled “Does YieldSeeker have access to my funds?”](#does-yieldseeker-have-access-to-my-funds)
Agents operate through isolated Agent Wallets and constrained execution paths. Read [Security](/security/) for what users and automated operators can do.
## Can I withdraw?
[Section titled “Can I withdraw?”](#can-i-withdraw)
Users can withdraw where the agent and underlying protocol support it. Liquidity, pending transactions, protocol rules, or incidents can delay an exit; immediate withdrawal is not guaranteed.
See [Funding, monitoring, and exiting](/guides/funds/).
## Does the Vault Agent choose the highest APY?
[Section titled “Does the Vault Agent choose the highest APY?”](#does-the-vault-agent-choose-the-highest-apy)
No. It considers yield alongside liquidity, protocol conditions, diversification, preferences, and transaction costs. APY is an estimate, not a promise.
## How often does the Vault Agent review positions, and what makes it rebalance?
[Section titled “How often does the Vault Agent review positions, and what makes it rebalance?”](#how-often-does-the-vault-agent-review-positions-and-what-makes-it-rebalance)
The Allocation Engine evaluates opportunities and decides whether an allocation change fits your strategy and rules. Monitoring separately and continuously checks rule limits; it never decides or executes a rebalance or sends notifications. When a boundary is breached, Monitoring wakes the agent so the breach is eligible for its next run, including before its usual schedule. See [Vault Agent monitoring](/agent-types/vault/monitoring/) and [Architecture](/introduction/architecture/).
## How does YieldSeeker approve and add a new protocol or vault?
[Section titled “How does YieldSeeker approve and add a new protocol or vault?”](#how-does-yieldseeker-approve-and-add-a-new-protocol-or-vault)
A new adapter or protocol target is registered on the Adapter Registry through the platform’s timelocked governance process, so a pending change is visible onchain before it takes effect. Registration allows an opportunity to be attempted by agents; it is not a guarantee of that protocol’s safety or liquidity. See [Governance, registries, pauses, and timelocks](/developers/protocol/governance/).
## Has YieldSeeker been audited, and where can I read the reports?
[Section titled “Has YieldSeeker been audited, and where can I read the reports?”](#has-yieldseeker-been-audited-and-where-can-i-read-the-reports)
Yes. YieldSeeker’s contracts have been audited by [Nethermind](https://nethermind.io/), and the reports are published in the [contracts repository](https://github.com/tokenpage/yieldseeker-contracts/tree/main/audits). An audit reduces risk; it does not guarantee that current or future code is bug-free. See [Security](/security/).
## Can I customize an agent?
[Section titled “Can I customize an agent?”](#can-i-customize-an-agent)
The current Vault Agent supports the profiles and preferences documented in [Vault Agent preferences](/agent-types/vault/preferences/). Preferences do not bypass safety controls.
## What happens if the app goes offline?
[Section titled “What happens if the app goes offline?”](#what-happens-if-the-app-goes-offline)
The app being unavailable does not erase onchain wallet ownership. Follow [Recovery and emergencies](/guides/recovery/) and contact support before attempting unfamiliar contract calls.
## What happens if a protocol has an incident?
[Section titled “What happens if a protocol has an incident?”](#what-happens-if-a-protocol-has-an-incident)
YieldSeeker may restrict a target or pause automated operations. This cannot create liquidity or guarantee an immediate exit from the underlying protocol.
## Are returns guaranteed?
[Section titled “Are returns guaranteed?”](#are-returns-guaranteed)
No. DeFi protocols, markets, assets, liquidity, infrastructure, and agent strategies all carry risk. Read [Risks and limitations](/reference/risks/).
## Where can developers start?
[Section titled “Where can developers start?”](#where-can-developers-start)
Use the [Developer guides](/developers/) and [Generated API reference](/api-v1).
# Fees
> How YieldSeeker's 10% fee on earned yield works.
YieldSeeker charges a 10% platform fee on yield earned by the Vault Agent. The fee applies to positive yield, not to your principal: if the agent does not earn yield, there is no platform fee.
## How the platform fee works
[Section titled “How the platform fee works”](#how-the-platform-fee-works)
YieldSeeker tracks the cost basis of each vault position. When a position is withdrawn, the fee is charged only on the positive gain above that cost basis. Reward yield is charged when it is claimed. A loss does not create a fee, and a partial withdrawal adjusts the remaining cost basis.
For example:
* You deposit $1,000 and the Vault Agent earns $100 in yield.
* The platform fee is 10% of that $100, or $10.
* You keep the remaining $90 in yield, plus your $1,000 principal.
The fee is tied to the agent’s performance. YieldSeeker earns a platform fee only when the agent generates yield, and you keep 90% of that yield before any costs charged by an underlying protocol or opportunity. This keeps the fee proportional to the value the service creates: when the agent earns more, you still receive the larger share.
## What the fee pays for
[Section titled “What the fee pays for”](#what-the-fee-pays-for)
The Vault Agent searches approved opportunities, allocates funds, and manages supported switches, reward claims, conversions, and reinvestment. The 10% fee pays for this ongoing automated service. It lets you access an active yield strategy without having to research and manage each opportunity yourself.
Yield is not guaranteed, and APY can change. Review the [Vault Agent performance](/agent-types/vault/performance/) page to understand how the app reports earnings and APY.
## When fees are recorded
[Section titled “When fees are recorded”](#when-fees-are-recorded)
The agent overview separates **Fees Owed** (charged but not yet collected), **Fees Accruing (est.)** (an estimate on eligible gains in tracked vault positions), and **Fees paid** (amounts collected). These figures are separate from your deposited principal.
The Vault Agent attempts fee collection when fees owed are worth at least $1. Collection is limited to liquid base asset in the Agent Wallet, so some fees may remain owed.
## Other costs
[Section titled “Other costs”](#other-costs)
The 10% platform fee is separate from costs charged by an underlying vault or protocol. Reward swaps can involve slippage, liquidity limits, protocol fees, or vault withdrawal fees. These costs affect the result of an opportunity and can reduce your net return.
Review the opportunity details and the agent’s performance information before depositing. APY is an estimate, not a guarantee of future returns.
## Related pages
[Section titled “Related pages”](#related-pages)
* [Vault Agent performance](/agent-types/vault/performance/)
* [Risks and limitations](/reference/risks/)
* [Taxes and reporting](/reference/taxes/)
# Glossary
> Definitions of terms used throughout YieldSeeker.
## Agent
[Section titled “Agent”](#agent)
An autonomous system with a defined goal, permitted actions, controls, and risks.
## Agent type
[Section titled “Agent type”](#agent-type)
The strategy and product configuration that defines an agent’s goal, supported assets, operations, metrics, and risk profile.
## Agent Wallet
[Section titled “Agent Wallet”](#agent-wallet)
An isolated smart account associated with one agent. The user’s connected wallet owns it and retains withdrawal control; agent operators can execute only validated, permitted operations.
## AgentWalletKit
[Section titled “AgentWalletKit”](#agentwalletkit)
The reusable wallet infrastructure behind Agent Wallets. It lets agents execute only validated operations through approved adapters and registered targets; the connected user wallet retains owner withdrawal control.
## APY
[Section titled “APY”](#apy)
Annual Percentage Yield; an annualized return estimate that may account for compounding. YieldSeeker displays APY for supported Vault Agent metrics where available; it is not a guarantee.
## Adapter
[Section titled “Adapter”](#adapter)
A protocol-specific contract that validates and executes an approved interaction.
## Adapter Registry
[Section titled “Adapter Registry”](#adapter-registry)
The registry that maps approved protocol targets to adapters and can disable or pause adapter-backed execution.
## Allocation Engine (Autoseek)
[Section titled “Allocation Engine (Autoseek)”](#allocation-engine-autoseek)
The decision layer that evaluates approved opportunities and produces target allocations within an agent’s strategy, active rules, and portfolio constraints. Autoseek is the current Vault Agent’s Allocation Engine; the Execution Framework separately validates and executes permitted actions.
## Base
[Section titled “Base”](#base)
The Ethereum Layer 2 network on which the current YieldSeeker Vault Agent deployment operates.
## Boundary
[Section titled “Boundary”](#boundary)
A measurable limit emitted by a rule for a held vault and metric. Monitoring records a boundary as clear, approaching (a warning or projected breach), or breached. A breach can wake the Allocation Engine early; the boundary itself does not decide or execute an action.
## Candidate vault
[Section titled “Candidate vault”](#candidate-vault)
A vault considered by the Vault Agent before eligibility, risk, liquidity, portfolio, and user-preference checks are applied.
## Constrained execution
[Section titled “Constrained execution”](#constrained-execution)
An execution model in which agents use approved paths and cannot make arbitrary contract calls.
## Discuss and Steer
[Section titled “Discuss and Steer”](#discuss-and-steer)
User-facing experiences for asking questions about an agent and expressing supported preferences.
## Execution Framework
[Section titled “Execution Framework”](#execution-framework)
The shared layer that validates and submits permitted onchain operations through an Agent Wallet, Adapter Registry, approved adapters, and registered targets. It executes decisions but does not choose allocations.
## ERC-4337
[Section titled “ERC-4337”](#erc-4337)
An account-abstraction standard using UserOperations and an EntryPoint for smart-wallet execution.
## Investment profile
[Section titled “Investment profile”](#investment-profile)
A predefined configuration that influences current Vault Agent opportunity selection and allocation behavior.
## Liquidity
[Section titled “Liquidity”](#liquidity)
The capital available to enter or exit an opportunity without materially affecting execution conditions.
## Memory
[Section titled “Memory”](#memory)
Saved user instruction for an agent. Active, non-dismissed memories can guide agent behavior or compile into typed rules; a memory does not always produce a rule.
## Monitoring
[Section titled “Monitoring”](#monitoring)
The service that continuously evaluates active rule boundaries against supported live metrics. It records clear, approaching, and breached states and can wake the Allocation Engine after a breach; it never decides allocations, executes actions, or sends notifications.
## Rebalancing
[Section titled “Rebalancing”](#rebalancing)
Moving an agent’s allocation between supported opportunities according to its strategy and constraints.
## Registered target
[Section titled “Registered target”](#registered-target)
A protocol contract approved in the Adapter Registry for a specific adapter.
## Rule
[Section titled “Rule”](#rule)
A typed constraint or preference applied by the Allocation Engine. Rules come from saved memories or profile defaults; some rules also emit boundaries for Monitoring to watch. A rule cannot make an unsupported target eligible or bypass execution controls.
## Reward token
[Section titled “Reward token”](#reward-token)
A token distributed as an incentive in addition to a deposited or underlying asset.
## Smart account
[Section titled “Smart account”](#smart-account)
A programmable blockchain account, such as an Agent Wallet, that can validate and execute structured operations.
## Timelock
[Section titled “Timelock”](#timelock)
A mandatory delay before an administrative change becomes active.
## TVL
[Section titled “TVL”](#tvl)
Total Value Locked; the value of assets deposited in a protocol or vault.
## User sovereignty
[Section titled “User sovereignty”](#user-sovereignty)
The principle that users retain ownership, withdrawal rights, and the ability to stop participating.
## Vault Agent
[Section titled “Vault Agent”](#vault-agent)
The current YieldSeeker agent type that allocates supported assets across approved DeFi vaults to pursue risk-adjusted yield.
# Risks and limitations
> Risks to understand before using YieldSeeker.
YieldSeeker is an experimental onchain financial system. You can lose some or all of the value you deposit. Do not use funds you cannot afford to lose.
## Platform risks
[Section titled “Platform risks”](#platform-risks)
* Smart contracts, adapters, APIs, and infrastructure can contain bugs.
* A compromised operator or service can attempt permitted actions; execution controls reduce but do not eliminate this risk.
* A pause or service outage can prevent automated actions or delay support.
* Blockchain congestion, reorganization, or transaction failure can affect timing and cost.
## Protocol and market risks
[Section titled “Protocol and market risks”](#protocol-and-market-risks)
* Supported DeFi protocols can be hacked, insolvent, paused, or unavailable.
* Asset prices, reward values, interest rates, and exchange rates can change quickly.
* Liquidity may be insufficient to exit a position when you want to.
* Oracles, external data, or stale snapshots can affect decisions and displayed metrics.
## Vault Agent risks
[Section titled “Vault Agent risks”](#vault-agent-risks)
The current Vault Agent pursues risk-adjusted yield across approved vaults, but its strategy can underperform, lose value, or fail to rebalance as expected. APY is an estimate of past or expected performance, not a guaranteed return.
Reward conversion can introduce slippage, fees, price risk, and execution risk. A position can also be only partially withdrawable depending on the underlying protocol.
## Future agent types
[Section titled “Future agent types”](#future-agent-types)
A future borrowing, basis-trade, or other agent type will add its own strategy risks. Its documentation must explain leverage, collateral, liquidation, funding/rate, counterparty, and exit risks before launch where applicable.
Do not infer the risks of a future agent from the Vault Agent documentation.
## Wallet and security limits
[Section titled “Wallet and security limits”](#wallet-and-security-limits)
[Security](/security/) explains ownership, constrained execution, registry controls, emergency pause, and recovery. These controls are designed to reduce risk; they do not guarantee safety, profit, liquidity, or uninterrupted access.
## No financial, tax, or legal advice
[Section titled “No financial, tax, or legal advice”](#no-financial-tax-or-legal-advice)
YieldSeeker does not provide financial, tax, or legal advice. Review [Taxes and reporting](/reference/taxes/) and consult qualified professionals about your circumstances.
# Taxes and reporting
> General information for tracking agent activity.
YieldSeeker does not provide tax, legal, or accounting advice. Tax treatment depends on your jurisdiction, agent type, transactions, assets, and personal circumstances.
## Keep your records
[Section titled “Keep your records”](#keep-your-records)
Keep copies of:
* deposits and withdrawals
* wallet addresses and networks
* transaction hashes
* asset amounts and values
* rewards, conversions, and fees
* dates and portfolio history
The app’s history and the underlying blockchain can help you assemble records, but you are responsible for determining whether they are complete.
## Ask a professional
[Section titled “Ask a professional”](#ask-a-professional)
A qualified tax professional or your local tax authority can explain how yield, rewards, borrowing, trading, losses, and transfers should be reported where you live.
Do not assume that a future agent type has the same tax treatment as the current Vault Agent.
## Privacy
[Section titled “Privacy”](#privacy)
Only share transaction information and wallet data with a provider you trust. Never share private keys, seed phrases, signature secrets, or API credentials as part of tax reporting.
# Security
> How YieldSeeker protects user control and constrains autonomous agents.
Security is part of the platform design, not an optional feature. YieldSeeker combines isolated Agent Wallets, restricted execution, onchain validation, emergency controls, and user exit rights.
No system eliminates all risk. You should understand the controls and limitations before depositing funds.
## Security through layers
[Section titled “Security through layers”](#security-through-layers)
No single control is expected to catch every failure on its own. Each layer below assumes the one before it could fail, and is designed to still hold:
1. **Wallet isolation** — your Agent Wallet is scoped to you; assets are never pooled with other users.
2. **Adapter-only execution** — an agent can only reach approved adapters and registered targets, never an arbitrary contract call.
3. **Onchain parameter validation** — adapters validate the asset, recipient, vault, or route before a call is made, so a permitted function cannot be redirected to an attacker-controlled destination.
4. **Registry and emergency controls** — a target or adapter can be removed, disabled, or paused across every wallet that uses the registry.
5. **User exit rights** — the wallet owner can withdraw up to the base-asset balance less any fees owed, and can withdraw ETH directly, independent of the interface or server. Vault positions and reward tokens require supported adapter paths, and exits remain subject to the underlying protocol.
These layers are described individually below and in more technical detail in [AgentWalletKit integration](/developers/security/agent-wallet-kit/).
## You own your Agent Wallet
[Section titled “You own your Agent Wallet”](#you-own-your-agent-wallet)
Each agent uses an isolated smart wallet associated with one user. Assets are not pooled between users, and the owner retains onchain withdrawal control over the agent’s base asset and ETH.
The YieldSeeker interface is a way to operate the wallet, not the source of ownership. If the interface is unavailable, the owner can use suitable wallet tooling to withdraw the base-asset balance and ETH directly. Positions in a vault must first be exited through a supported adapter, and protocol liquidity may limit that exit.
## Agents cannot make arbitrary calls
[Section titled “Agents cannot make arbitrary calls”](#agents-cannot-make-arbitrary-calls)
The platform does not give an agent unrestricted access to every contract. Automated actions must use approved adapters and registered protocol targets.
This matters because allowing a function such as `swap` is not enough on its own: a malicious call could otherwise redirect the result to an attacker. The execution framework validates the target and relevant parameters onchain.
## Protection against server compromise
[Section titled “Protection against server compromise”](#protection-against-server-compromise)
YieldSeeker’s server signs operations for agents, so a compromised server is a serious incident. The wallet and registry controls are designed to limit what a compromised server can do:
* It may attempt operations through approved adapters.
* It cannot use the disabled arbitrary-call path.
* It cannot use unregistered adapters or targets.
* Adapter validation is designed to keep assets and receipts in the Agent Wallet.
* Emergency controls can pause adapter execution across wallets.
These controls reduce the impact of a compromise; they do not make the platform or its integrations risk-free.
## Emergency controls and upgrades
[Section titled “Emergency controls and upgrades”](#emergency-controls-and-upgrades)
The Adapter Registry can remove targets, disable adapters, or pause operations when an integration or operator presents a threat. Administrative changes and approved wallet implementation changes are subject to the controls described in the deployed contracts.
Some wallet configuration is cached for execution efficiency. A configuration change may require the wallet to synchronize from the Factory, while the registry pause provides an immediate execution stop.
## Audits and open source
[Section titled “Audits and open source”](#audits-and-open-source)
YieldSeeker’s contract system is open source and has been audited by [Nethermind](https://nethermind.io/). Independent audits and source code are useful evidence, but an audit is not a guarantee that future code, integrations, or operations are safe.
* [AgentWalletKit](https://agentwalletkit.tokenpage.xyz/) explains the reusable security model.
* [YieldSeeker contracts](https://github.com/tokenpage/yieldseeker-contracts) contain the implementation and deployment material.
* [Nethermind audit reports](https://github.com/tokenpage/yieldseeker-contracts/tree/main/audits) contain the published audit documents.
## What security does not cover
[Section titled “What security does not cover”](#what-security-does-not-cover)
You can still lose value through market movements, protocol exploits, bad liquidity, oracle failures, unsupported assets, operational errors, or an agent strategy performing poorly. Withdrawals can also be limited by the underlying protocol’s liquidity or state.
See [Risks and limitations](/reference/risks/) and [Recovery and emergencies](/guides/recovery/).
## Technical details
[Section titled “Technical details”](#technical-details)
For the contract-level lifecycle, ERC-4337 authorization, Factory deployment, adapter delegatecalls, registry mappings, operator synchronization, and permissions, see the [developer AgentWalletKit guide](/developers/security/agent-wallet-kit/).
# Use with your own AI
> Connect an external AI assistant to your YieldSeeker agent without giving it wallet ownership.
You can connect an AI assistant such as OpenClaw, Grok, Hermes, or another model to your YieldSeeker agent. Give it the agent’s wallet address and a signed YieldSeeker authentication token. The token authenticates API requests as you; it is a bearer credential, so anyone who receives it can make API requests until it expires. Never give the AI your private key or seed phrase.
The assistant does not get Agent Wallet ownership or unrestricted blockchain access. Its token authenticates specific YieldSeeker API operations, while AgentWalletKit constrains wallet execution.
### Generate an access signature
Connect a wallet on Base to create the pre-signed authentication token your external AI will use. This form does not send a transaction or transmit your private key.
Connect wallet``
Review the message before signing
```
```
Sign access message
Copy this token into your AI provider Copy token
Tell your AI to use the [YieldSeeker API reference](/api-v1/) for the operations it needs. It should follow the documented request fields and endpoint behavior rather than inventing calls.
## What your AI can do
[Section titled “What your AI can do”](#what-your-ai-can-do)
Through the YieldSeeker API, an external AI can:
* read your agent’s balances, positions, activity, and performance
* create supported Vault Agents, and update their names, emojis, and investment profiles
* save, update, and remove memories
* simulate memory instructions before saving them
* request a vault-position withdrawal back into the Agent Wallet
* request an Autoseek run
## What your AI cannot do
[Section titled “What your AI cannot do”](#what-your-ai-cannot-do)
An external AI cannot:
* send assets to the AI provider or an arbitrary recipient
* directly withdraw assets from the Agent Wallet to any wallet, including yours; those withdrawals are owner-only onchain actions
* change wallet ownership or blocklists
* make unrestricted contract calls or bypass the Adapter Registry and registered targets
Direct Agent Wallet withdrawals require the owner’s authorization. API access lets the AI request supported agent operations, but does not let it sign owner-only wallet actions.
## Why the wallet remains protected
[Section titled “Why the wallet remains protected”](#why-the-wallet-remains-protected)
AgentWalletKit separates API access from wallet ownership:
* Agent operations that interact with protocols use registered adapters and targets with protocol-specific validation.
* The YieldSeeker Agent Wallet disables unrestricted `execute` and `executeBatch` calls for agent operations.
* The connected wallet remains the Agent Wallet owner and retains owner-only withdrawal control.
* The owner can block an adapter or target for that wallet.
These controls keep API access separate from wallet ownership. Treat the token as action-capable, not read-only.
## Give access safely
[Section titled “Give access safely”](#give-access-safely)
Use the [access signature box above](#access-signature) to connect your wallet and create the token. Before sharing it with an AI provider:
1. Use a SIWE message for an allowed YieldSeeker domain.
2. Set `issued_at` to no more than 30 days before the request.
3. Share the token and Agent Wallet address only with a provider you trust; the token can authorize API actions, including agent runs and position withdrawals back into the Agent Wallet.
4. Never share your private key or seed phrase.
5. Review the agent’s activity and wallet balance after the AI takes an action.
A signature token authorizes YieldSeeker API requests. It does not give the external AI owner-level authority over the Agent Wallet.
## Related pages
[Section titled “Related pages”](#related-pages)
* [API authentication](/developers/api/authentication/)
* [Security](/security/)
* [Your wallet and Agent Wallets](/wallets/)
* [Fees](/reference/fees/)
# Your wallet and Agent Wallets
> How your wallet, your account, and each agent's wallet fit together, and who controls them.
## Your wallet owns everything
[Section titled “Your wallet owns everything”](#your-wallet-owns-everything)
The wallet you connect is linked to your YieldSeeker account and is the onchain owner of every Agent Wallet on that account. Keep control of its recovery method, and never share its private key or seed phrase.
Your account can have up to two active agents on the Free plan or five on [Pro](/pro/). Deactivated agents do not count toward these limits.
## One Agent Wallet per agent
[Section titled “One Agent Wallet per agent”](#one-agent-wallet-per-agent)
Each agent has its own isolated Agent Wallet. It holds that agent’s idle assets and carries out its permitted operations. Assets the agent invests sit in that agent’s own vault positions, never in a pool shared with other users.
The Agent Wallet’s address is calculated when you create the agent. The wallet itself is deployed onchain after funding, when you choose **Deploy Agent**.
## What the agent can do
[Section titled “What the agent can do”](#what-the-agent-can-do)
The agent can use only the operations its wallet contract and approved adapters allow. Arbitrary contract calls are disabled, so the agent cannot send your assets to an address of its choosing. [Security](/security/) explains the controls behind this.
## What you can do
[Section titled “What you can do”](#what-you-can-do)
* review the Agent Wallet address, balances, and activity in the app
* change settings and supported preferences
* exit a vault position, then withdraw the idle base asset to your wallet
* deactivate the agent once its value is $0
Your wallet keeps owner withdrawal control over the Agent Wallet’s base asset, even without the YieldSeeker app; see [Recovery and emergencies](/guides/recovery/).
## What wallet controls cannot promise
[Section titled “What wallet controls cannot promise”](#what-wallet-controls-cannot-promise)
These controls limit the impact of software and infrastructure failures, but they do not remove market, protocol, liquidity, smart-contract, or operational risk. Review [Risks and limitations](/reference/risks/) before funding an agent.
Developers can read the [AgentWalletKit guide](/developers/security/agent-wallet-kit/) for wallet deployment, authorization, adapters, registry controls, and contract-level recovery.
# Privacy Policy
> Yield Seeker Privacy Policy
**Last updated: 31/08/2026**
This Privacy Policy describes how **Yield Seeker** (“we”, “our”, “us”) collects, uses, and protects your information when you access or use our platform (“Interface”).
We respect your privacy and are committed to safeguarding your data in a manner consistent with Web3 values: **minimal data collection**, **user control**, and **transparency**.
***
## 1. Information We Collect
[Section titled “1. Information We Collect”](#1-information-we-collect)
We do not collect personally identifiable information (PII) such as names, email addresses, or phone numbers unless you voluntarily provide them (e.g., via customer support).
We may automatically collect:
* Wallet address used to connect to the Interface
* Device data (e.g., browser type, OS, screen size)
* Usage data (e.g., pages visited, interactions with the AI agent or platform features)
* Transaction metadata routed through our platform
> We do **not** link this data to your real-world identity.
***
## 2. How We Use Your Information
[Section titled “2. How We Use Your Information”](#2-how-we-use-your-information)
We use the data we collect to:
* Operate and maintain the Interface
* Improve platform performance, UX, and stability
* Detect suspicious activity and enhance security
* Analyze usage trends to optimize DeFi strategies
* Respond to technical support requests
> We do **not** sell your data or share it for advertising purposes.
***
## 3. Cookies & Tracking Technologies
[Section titled “3. Cookies & Tracking Technologies”](#3-cookies--tracking-technologies)
We may use limited tracking technologies (such as cookies or local storage) to:
* Maintain session state
* Track anonymized performance metrics
* Monitor system health
You can control cookies through your browser settings. Disabling them may impact functionality.
***
## 4. Data Sharing & Third Parties
[Section titled “4. Data Sharing & Third Parties”](#4-data-sharing--third-parties)
We do not share your personal data with third parties, except:
* As required by law, regulation, subpoena, or legal process
* To cooperate with law enforcement, regulators, or investigations
* With infrastructure service providers (e.g., cloud or analytics providers), under strict data protection terms
> We do **not knowingly share user data with jurisdictions subject to international sanctions.**
***
## 5. Data Retention
[Section titled “5. Data Retention”](#5-data-retention)
We retain data only as long as necessary for:
* Platform operation
* Security auditing
* Legal compliance
We strive to minimize storage of any unnecessary or sensitive information.
***
## 6. Your Rights
[Section titled “6. Your Rights”](#6-your-rights)
As a user, you have the right to:
* Access any data we may hold about you (to the extent identifiable)
* Request deletion of your data (if applicable)
* Withdraw your consent where applicable
You may contact us at with any data requests.
***
## 7. Security
[Section titled “7. Security”](#7-security)
We use reasonable technical and organizational safeguards to protect data. However, no system is 100% secure, especially in decentralized and experimental environments.
> You acknowledge the inherent risks of using blockchain infrastructure and AI systems that interact with digital assets.
***
## 8. Changes to this Policy
[Section titled “8. Changes to this Policy”](#8-changes-to-this-policy)
We may update this Privacy Policy from time to time.
* Changes will be posted on this page with an updated “Effective Date.”
* Continued use of the Interface constitutes acceptance of the updated Policy.
***
## 9. Contact
[Section titled “9. Contact”](#9-contact)
If you have questions about this Privacy Policy, please contact us at:
# Terms of Service
> Yield Seeker terms of service
**Last updated: 31/08/2026**
Welcome to **Yield Seeker**, a platform that uses AI agents to manage and allocate digital assets transferred by users across decentralized finance (DeFi) protocols. Please read these Terms of Service (“Terms”, “Agreement”) carefully. By accessing or using Yield Seeker (“Interface”, “Platform”), you agree to be bound by these Terms.
***
## 1. Eligibility & User Commitments
[Section titled “1. Eligibility & User Commitments”](#1-eligibility--user-commitments)
By using Yield Seeker, you represent and warrant that:
* You are at least 18 years old and legally capable of using DeFi platforms.
* You are not located in, or accessing the Interface from, any jurisdiction subject to U.S., UK, EU, or UN economic sanctions.
* You will not use the Interface to conduct or promote unlawful activities, including but not limited to money laundering, terrorist financing, or fraud.
* You accept the risks involved in using blockchain-based systems and AI-driven financial automation.
***
## 2. Overview of the Platform
[Section titled “2. Overview of the Platform”](#2-overview-of-the-platform)
Yield Seeker:
* Accepts transfers of digital assets to isolated Agent Wallets owned by users.
* Uses autonomous software agents to allocate those assets across integrated DeFi protocols.
* Operates through smart contracts and isolated Agent Wallets owned by users. The platform’s authorized operators can submit only permitted operations; they cannot withdraw assets as the owner.
* Makes autonomous allocation decisions based on available market and protocol data and user-selected risk profiles.
> You understand and agree that once funds are transferred to an Agent Wallet, the agent may rebalance or redeploy those assets within its permitted strategy and execution controls.
***
## 3. No Financial Advice
[Section titled “3. No Financial Advice”](#3-no-financial-advice)
Yield Seeker does **not** provide financial, legal, or tax advice.
* All outputs, data, or decisions are informational and algorithmic in nature.
* There are no guaranteed returns, and past performance does not indicate future outcomes.
* You are solely responsible for evaluating your risk tolerance and understanding the implications of DeFi strategies.
***
## 4. Risk Disclosure & Assumption of Risk
[Section titled “4. Risk Disclosure & Assumption of Risk”](#4-risk-disclosure--assumption-of-risk)
By using Yield Seeker, you acknowledge that:
* The use of AI agents, smart contracts, and DeFi protocols carries material risk.
* These risks include market volatility, protocol failure, smart contract bugs, exploits, and AI misjudgment.
* You have sufficient financial and technical knowledge to understand and accept these risks.
You expressly waive and release Yield Seeker from any and all liability related to:
* Loss of funds
* Platform downtime
* Bugs, hacks, data breaches
* Unexpected or erroneous AI behavior
> You accept that you are solely responsible for your use of the Interface and your deposited capital.
***
## 5. User Responsibilities
[Section titled “5. User Responsibilities”](#5-user-responsibilities)
You agree to:
* Maintain control over the devices and credentials you use to access the Interface.
* Use the platform only in compliance with applicable laws and regulations.
* Not interfere with or attempt to compromise platform integrity or security.
* Not enable access to the Interface by unauthorized third parties using your devices or credentials.
***
## 6. Analytics and Monitoring
[Section titled “6. Analytics and Monitoring”](#6-analytics-and-monitoring)
We use analytics tools to collect anonymized usage data while you interact with the Interface. This includes information such as:
* Technical device details (e.g., browser, screen size, operating system)
* Interaction logs (e.g., pages visited, time spent, features used)
* Aggregated usage trends
This data is used solely for the purpose of improving platform functionality, performance, security, and user experience. We do not sell your data or use it for advertising.
By using the Interface, you consent to our use of such analytics in accordance with this section.
***
## 7. Modification of Terms
[Section titled “7. Modification of Terms”](#7-modification-of-terms)
We may update these Terms at any time, at our sole discretion.
* All modifications will be posted on this page with the updated “Last Revised” date.
* Continued use of the Interface after any changes constitutes acceptance of the revised Terms.
* If you do not agree with the changes, you must immediately stop using the Interface.
***
## 8. Platform Control & Additional Rights
[Section titled “8. Platform Control & Additional Rights”](#8-platform-control--additional-rights)
We reserve the right (but not the obligation) to:
* Modify, substitute, suspend, or discontinue any aspect of the Interface at any time.
* Review, filter, disable, or remove content or data at our discretion.
* Cooperate with law enforcement or legal authorities in disclosing content or user information.
***
## 9. No Warranties & Limitation of Liability
[Section titled “9. No Warranties & Limitation of Liability”](#9-no-warranties--limitation-of-liability)
Yield Seeker is provided on an “**AS IS**” and “**AS AVAILABLE**” basis, without warranties of any kind.
To the fullest extent permitted by law, we and our affiliates shall not be liable for:
* Any indirect, incidental, special, consequential, or exemplary damages
* Lost profits, revenue, data, or goodwill
* Unauthorized access, hacking, or breaches of security
* Errors, bugs, viruses, or interruptions in the Interface
* Third-party conduct or protocol failures
> If liability is imposed, our aggregate liability shall not exceed the greater of (a) $100 or (b) the amount you paid us (if any).
***
## 10. Indemnification
[Section titled “10. Indemnification”](#10-indemnification)
You agree to defend, indemnify, and hold harmless Yield Seeker, its affiliates, and personnel from any claims, damages, losses, or expenses arising from:
* Your use of the Interface
* Your violation of these Terms
* Any third-party access enabled by your actions or devices
***
## 11. Dispute Resolution & Governing Law
[Section titled “11. Dispute Resolution & Governing Law”](#11-dispute-resolution--governing-law)
We aim to resolve disputes through good-faith, informal negotiations. If no resolution is reached:
* These Terms shall be governed by and construed under the laws of the **United Kingdom**, without regard to conflict of law principles.
* You waive any objection to jurisdiction or venue under these laws.
* For the purposes of legal correspondence or service of process, Token Page Ltd. may be contacted at its registered office: Quijano Chambers, Road Town, Tortola, P.O. Box 3159, VG.
***
## 12. Entire Agreement
[Section titled “12. Entire Agreement”](#12-entire-agreement)
These Terms constitute the **entire agreement** between you and Yield Seeker regarding the Interface. They supersede all prior or contemporaneous agreements, communications, or understandings, whether oral or written.
***
## 13. Contact
[Section titled “13. Contact”](#13-contact)
For questions or support, contact us at: