Ava

xyz.getava由 getava.xyz 发布官方发布者v0.5.1更新于 Oct 24, 2026

Coding agents run multi-leg cross-chain DeFi. Legs re-derived from your sentence before signing.

已验证Streamable HTTP可网页运行金融AI 与机器学习

概览

AI 生成的概览

Ava 让 AI 助手在用户批准的资金授权下规划、预览并执行多段跨链 DeFi 操作,并带人工审批与回执。

可以做什么
先建立会话并注册代理实例,再按链族(EVM、Solana、Sui)开通由 Turnkey 托管的钱包地址。把自然语言 DeFi 请求拆成多段计划,或把重复性请求转成有边界的长期授权。创建、列出并评估资金授权,其中定义目标、资金与约束。在签名前预览未签名的交易产物并进行模拟。批准并执行唯一真正结算的调用,包括受支持场所的真实借贷,随后获取回执并查看代理的历史记录。
适用场景
适合让编码代理在明确限额下执行跨链 DeFi 操作,如兑换、跨链桥和借贷,并由人工逐笔批准结算。也适合把资金委托给代理前先核查其已被证明的历史记录。
运行要求
远程 streamable HTTP 端点;未声明软件包、环境变量或请求头。调用需要会话工具返回的 userId,多数工具还需要代理实例和授权。钱包开通取决于服务端是否配置了 Turnkey。KYA 校验可选传入 agentId 与 agentCredential;实时价格查询使用 CoinGecko。
安装前请注意
批准执行工具会结算真实交易并转移资金;它可能因授权状态、策略限额或过期的预览哈希而拒绝。创建授权和钱包本身不入金也不转账,但执行会。钱包密钥由第三方 Turnkey 托管。回执可能只是未确认状态而非链上确认,对未经证明的说法需谨慎。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Ava,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/xyz.getava%2Fava/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "ava": {
      "type": "http",
      "url": "https://api.getava.xyz/mcp"
    }
  }
}

README

该仓库没有 README。

工具

15

ava_copilot_turn

Natural-language copilot turn: message → intent → plan → testnet quote. Example: Swap 10 USDC to SUI on sui with 50 bps slip. Returns actions with approve_execute + executionId. Optional agentId/agentCredential for KYA gate (fail closed on reject). Does NOT fill until ava_approve_execute.

输入参数modeportaluserIdagentIdmessage必填agentCredential

ava_approve_execute

Human-in-the-loop approve: the one call that actually settles a plan from ava_copilot_turn. It is gated by the bound mandate's status and constraints and by server-side policy limits, and it CAN REFUSE (e.g. mandate paused/cancelled, a policy violation, a stale preview hash); a refusal means no funds moved and no success receipt was written, only a refusal record. Testnet mode settles against simulated balances and returns a receipt + before/after balances, never a real chain. Mainnet mode signs with the caller's own Turnkey wallet and submits for real where a venue is live, and fails closed everywhere else, so it never claims a fill it cannot show. Call ava_list_venues for which routes are live rather than assuming; that tool reads the same registry this one enforces, so it cannot drift from what will actually execute. NEVER call without explicit user confirmation of the previewed quote.

输入参数modeportal必填userId必填executionId必填previewHash

ava_lend_execute

Execute a REAL lend against one of your mandates. Routes Ava has already settled a mainnet transaction on: Morpho Blue on Base, and Aave v3 on Monad, BNB Chain and Avalanche. Aave v3 on Arbitrum One is wired through the identical pipeline and address-verified, but nothing has ever settled there, so do not describe it as proven. Aave v3 on Optimism and Base, and Compound v3 on Base and Arbitrum, are wired and address-verified but operator-disabled until each settles a real transaction, so calls on those routes refuse at the capability gate. This is the only MCP tool that moves live capital. Two-phase by design: call it once WITHOUT previewHash to receive the exact artifact a human must approve plus its hash, show that to the human, then call again WITH that previewHash. Your call is never treated as the human's confirmation, because you are not the person whose money moves. Only a settlement verified against the venue's own on-chain event returns a txHash; anything else has no txHash field at all, so a draft can never be narrated as a fill.

输入参数opvenueamountportaluserId必填mandateId必填previewHashidempotencyKey

ava_portfolio

Simulated testnet portfolio for a userId (same data as GET /v1/portfolio): seeded balances, fills, optional portal. Requires userId. Does not invent live chain balances.

输入参数portaluserId必填

ava_session

Create or resume a human/org identity (userId), the first call in the loop. One human can own many agent instances (Claude + Cursor + OpenClaw + Ava-hosted). Moves no money and provisions no wallet by itself; call once and reuse the returned userId on every other tool.

输入参数userIddisplayName

ava_create_agent

Register an agent instance under userId, before it has a wallet or a mandate. Mode A (multi-agent): agentId=byo-external + label (e.g. claude-workspace, cursor-arb) for a coding agent that already exists elsewhere. Mode B (hosted): agentId=defi-lend|defi-swap|defi-perp|portfolio hires an Ava-run agent. One userId may own many agent instances; this call alone never touches funds.

输入参数labelportal必填userId必填agentId必填

ava_provision_wallet

Provision a Turnkey-custodied wallet address for this userId, scoped to one chain family (evm | solana | sui). Requires ava_session first. Returns the address for funding and later signing; it does not fund the wallet and does not move any money. If Turnkey is not configured server-side, the wallet comes back with status pending_provision rather than a fabricated active address, and cannot sign or hold funds until it is active.

输入参数family必填userId必填

ava_preview_tx

Pre-sign preview: build the exact venue artifact (CoW EIP-712 order or unsigned Solana transaction) for a pending plan against the provisioned Turnkey wallet, simulate it where supported, and return it UNSIGNED. Nothing is signed or submitted. Show the artifact to the human, then pass the returned previewHash to ava_approve_execute so the signature covers exactly what was reviewed.

输入参数portal必填userId必填executionId必填

ava_plan_workflow

Turn ONE natural-language DeFi request into the dependent actions it actually contains, across one chain or several. Example: "Supply 300 USDC to Morpho on Base, bridge no more than 200 to Avalanche, then supply what arrives to Aave" returns three legs with the third depending on the second and taking its amount from what the bridge actually delivered, not a plan-time guess. Same-chain works identically: "swap 100 USDC to WETH on Base then supply the WETH to Aave" records the swap OUTPUT token so the second leg is denominated in WETH. Plans nothing it cannot execute: a clause naming an unsupported operation, an unnamed venue, a zero or negative amount, or one amount split across venues comes back in `unsupported` with a reason rather than being guessed at. Signs nothing and moves nothing. Every leg reports `executable` so you can see what Ava could actually run today.

输入参数userId必填message必填

ava_plan_standing

Turn a request for REPEATED autonomous action into an envelope of bounds the user signs once. Use this instead of ava_plan_workflow when the request describes a cadence: "every hour, rotate my USDC into the best yield on Base using Aave and Morpho, never move more than 200 per rotation, never exceed 1000 total, stop after 30 days". Asking a human to approve each rotation would defeat the point, so the user authorizes LIMITS rather than a plan: allowed operations, venues, chains, per-move and cumulative caps, a minimum gain that stops the agent churning capital for fees, an expiry, and revocation. Every bound must come from the user: anything missing is returned in `missing` and the envelope is NOT signable until supplied. minGainBps is required from you because users say "the best yield" rather than a basis-point floor, and Ava must not choose how much of their money goes to gas. Returns the envelope unsigned; nothing is authorized until the user signs it.

输入参数userId必填message必填minGainBps

ava_create_mandate

Create a capital mandate: the objective, capital and constraints an agent is allowed to act under, optionally scoped to an agentInstanceId. Example: "Earn on 500 USDC on Base, max 5% drawdown". Or pass structured capital {asset,amount,chain}. Creating a mandate moves no money by itself and is not yet signed by an external wallet: it is Ava's own record of what was asked for, not a user-authorised instruction a stranger can rely on. Every later ava_approve_execute run under this mandate is gated on its status (active/paused/cancelled) and constraints, and can refuse.

输入参数nameportal必填userIdcapitalmessageobjectiveconditionsconstraintsagentInstanceId

ava_list_mandates

List capital mandates for a userId (optional filter by agentInstanceId).

输入参数portalstatususerId必填agentInstanceId

ava_eval_mandate

Read-only: check a mandate's exit conditions against a market snapshot and record the result. Omit snapshot to pull a live CoinGecko price for the condition asset. Never executes and never moves money; ava_approve_execute is the only tool that does.

输入参数snapshotmandateId必填

ava_agent_record

Read an agent's track record before delegating capital to it. Returns mandates held, executions attempted, refusals by typed code, and receipts with their proof standing. Distinguishes CLAIMED from PROVEN: receiptsProven counts only chain-confirmed receipts; unconfirmed receipts prove nothing. AP2-aligned (each receipt's ap2.reference is the hash of the closed mandate) so an AP2-aware verifier can check it. Owner-readable always; a stranger reads only if the owner opted the record public. Zero is zero, never a placeholder.

输入参数userIdagentInstanceId必填

ava_get_receipt

Retrieve the receipt for a prior ava_approve_execute by executionId, the loop's final step. Returns the stored receipt plus its honest proof.standing: none (nothing submitted), unconfirmed (an identifier exists but nothing independent confirmed it), chain-confirmed (the declared chain returned the transaction and it matches what the receipt claims), or chain-contradicted (the chain disagrees with the receipt). A verified receiptHash does not by itself mean chain-confirmed; read proof.standing, not just verified. Owner-scoped: only the userId the receipt was produced for can read it by executionId; also returns a receiptHash-addressed verify URL a stranger can check with no credential.

输入参数userIdexecutionId必填

版本历史

1
  1. v0.5.1最新Sep 16, 2026

评分

已满足适用检查项的 75%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分

    请声明包含 README 的 GitHub 仓库,或在 OAuth 受保护资源元数据中提供 resource_documentation。

  • 许可证10 分

    请在仓库或注册中心条目中声明许可证。