Api3 Feed Manager (Executor)
This is the executor-capable Api3 skill for agents that need to get a feed all the way from discovery to live funded status.
It can prepare funding actions and, when explicitly requested, execute the supported onchain or browser-assisted activation path.
That means this variant can influence real funds and must be treated as a guarded execution skill, not a planning-only helper.
It is designed to let agents:
- find the correct Api3 feed
- distinguish between feeds that are merely discoverable and feeds that are currently active
- determine whether a feed is already usable
- fund/activate it when possible
- maintain runway for continued operation
without requiring manual coordination with the Api3 team.
When to use
Use this skill when:
- a project needs a reliable, onchain, decentralized price feed
- an agent wants not just readiness analysis but actual feed activation or top-up execution when supported
- an existing feed may need a runway check followed by a guarded funding action
- a downstream skill or app needs feed activation as a prerequisite and execution authority is intentionally allowed
Core modes
1. discover-feed
Use when you need to identify the best Api3 data feed for:
- an asset
- a pair
- a chain
- a specific oracle use case
Expected output:
- feed identity
- chain availability
- whether it is discoverable
- whether it appears active/usable
- whether activation may be needed
- any ambiguity or missing mapping
2. ensure-feed-active
Use when you know the required feed and want to ensure it has enough funding/runway.
Default target runway:
- 90 days
Expected output:
- current funding/liveness status
- estimated runway
- whether funding/top-up is needed
- execution path or exact transaction instructions
3. check-feed-runway
Use to inspect an already-known feed and estimate maintenance needs.
Expected output:
- current status
- remaining runway estimate
- whether action is required soon
4. top-up-feed
Use when a feed exists but needs more runway.
Expected output:
- required funding token/amount
- top-up execution plan
- resulting status if executed
5. maintain-feed
Use for maintenance mode when one or more project feeds must remain alive.
Expected output:
- current state per feed
- top-up recommendation or actions taken
- next maintenance checkpoint recommendation
Inputs to gather before acting
Collect these first when available:
- target chain
- asset or pair required
- use case (e.g. lending collateral pricing, borrow asset pricing)
- desired runway in days
- whether execution is allowed or discovery-only
- signer/funder available to the agent
- explicit operator approval if any real transaction submission is requested
Operating rules
- Do not pretend a feed is active without checking.
- Make the execution boundary explicit before acting: plan-only, browser-assisted, exact executable, or unsupported.
- Distinguish clearly between:
- feed missing
- feed present but unfunded
- feed available on another chain only
- feed exists but agent lacks execution capability
- Prefer permissionless operation paths.
- If a step cannot be done permissionlessly, say exactly why.
- Return concrete feed identifiers, execution classification, and maintenance recommendations.
- If discovery is ambiguous, surface the ambiguity instead of guessing.
- Treat signer-backed execution as a guarded operator action, not a default background step.
- Never hide that this variant can spend funds when the supported execution path is available.
- Prefer signer material from local runtime setup, never from committed files.
Suggested workflow
For a new project
- Discover feed
- Confirm chain/feed suitability
- Check whether active/funded
- Ensure 90-day runway
- Return feed details to downstream builder/deployer
For an existing project
- Check current runway
- If below threshold, top up
- Return next maintenance recommendation
Output contract
Aim to return structured results containing:
feedFounddiscoverableactiveactivationPossiblestatusClassificationfeedNamefeedAddressOrIdchainfundedrunwayEstimateDaysrequiredFundingAssetestimatedFundingAmountactionsTakentransactionsnextMaintenanceRecommendationwarnings
Current implementation status
Current honest state:
- feed discovery and readiness inspection: implemented
- exact guarded
buySubscription(...)execution: implemented - execution modes:
directwrapperwhen exact wrapper calldata is derivable safelyauto
- machine-usable funding state classification: implemented
not-neededexecutablebrowser-assistedunsupported
- browser-assisted funding should stay automatable where safe
- use
browser-planto produce the exact Market flow - if the required UI is reachable, execute that plan with the browser tool instead of downgrading to a vague manual handoff
- after any funding execution, re-run feed readiness before claiming the feed is ready for downstream oracle or EVK steps
- use
- browser-assisted funding planning: implemented via
browser-plan
Still not universal:
- not every funding path is exact onchain-executable yet
- some flows still require browser-assisted automation
- unsupported cases must still fail closed and be reported explicitly
Current priorities:
- broaden executable funding coverage beyond the first exact family
- keep browser-assisted flows automatable where safe
- preserve explicit state classification instead of overclaiming support
- improve maintenance-mode and multi-feed workflows
- keep downstream EVK and Morpho handoffs aligned with the live planner behavior proven in canaries
Feed-name matching guardrails for downstream lending flows
When this skill is used as a prerequisite for EVK or Morpho deployment:
- prefer a literal exact dAPI name match before any alias-normalized match
- treat symbol-family aliases as fallback discovery aids, not as reasons to block a live literal feed that already matches the requested asset pair
- preserve the original requested dAPI name for live readiness checks; only use canonicalized symbols for fallback route derivation when no literal match exists
- if a literal match is live and readable on-chain, classify that feed as ready even when alias-equivalent feeds also exist
- only surface ambiguity when the literal-exact bucket itself is ambiguous
- keep this logic asset-agnostic: the same path should work for whichever supported collateral and borrow assets the planner selects, not just previously tested majors
Downstream EVK canary handoff
When this skill hands off to downstream EVK deployment tooling or canary execution:
- require a signer-backed dry-run before any real send
- treat multi-transaction deployment plans as sequential, not parallel
- if later transactions depend on contracts created earlier in the same plan, wait for each receipt before sending the next transaction
- if funding landed through the
browser-assistedbranch, execute the returnedbrowser-planwhen the Market flow is reachable and then re-run readiness before continuing - do not collapse
fundingExecutionClassification.stateinto a generic “ready”; preserve the exact branch all the way into downstream reporting - do not assume
real-send readymeans “safe to fire blind”, it only means the plan has executable payloads and still needs a final operator check - if downstream EVK work needs proof of real borrowability, treat that as a separate post-deploy milestone rather than equating deployment success with borrowability
- if the operator intentionally wants a duplicate or near-duplicate market attempt, require
duplicatePolicy: "warn-only"so the planner keeps the path deployable and emits an explicit warning instead of silently bypassing duplicate protection - if the direct pair is unavailable but a supported composition route is live (for example through a shared unit of account such as USD), allow the EVK path to use that composed oracle route rather than failing prematurely
- keep deployment and verification rules generic across supported asset pairs; do not special-case only the pairs used in earlier canaries
- after a real send, verify more than submission: confirm nonce movement, status=1 receipts, deployed contract addresses for each oracle leg/wrapper, and final market deployment success before reporting the canary as successful
Downstream Morpho handoff
When this skill hands off to downstream Morpho deployment tooling:
- keep proxy-first ordering when a communal proxy deploy is required before adapter deploy or market creation
- keep the same signer, RPC, and nonce assumptions across deploy + verify steps in a single live run
- support the planner selecting whichever supported collateral/borrow pair is requested, as long as the oracle path resolves cleanly and verification invariants hold
- do not treat a mined market-create transaction as success unless downstream verification confirms the market exists, params match,
price()succeeds, and the oracle price is positive - persist enough artifact context for the next operator turn: tx hashes, market id, final oracle address, and a short failure-before / success-after note