# Signo > Signo gives you AI agents that watch your DeFi positions around the clock. Each agent follows a position or a market condition you choose, alerts you on Telegram when it matters, and prepares options for the next step for you to review and sign in your own wallet. Signo never holds your funds. In early access, agents can also act on their own within limits you sign onchain and can revoke at any time. - App: https://app.signo.fi - Docs: https://docs.signo.fi - Blog: https://signo.fi/blog - Pricing: https://signo.fi/pricing - LinkedIn: https://www.linkedin.com/company/136014545/ - Company: Flip AI, Inc. ## Key pages - Get started: https://docs.signo.fi/get-started - Agents (Notify, Prepare): https://docs.signo.fi/for-users/agents - Execute what you authorize: https://docs.signo.fi/for-users/execute-what-you-authorize - Telegram alerts: https://docs.signo.fi/for-users/telegram - Protocol coverage and risk tiers: https://docs.signo.fi/protocol-coverage - Security: https://docs.signo.fi/security - For AI assistants (MCP): https://docs.signo.fi/for-assistants/ - For integrators (API, SDK): https://docs.signo.fi/for-integrators/ - Guide: automate DeFi without giving an AI your private key: https://docs.signo.fi/guides/automate-defi-without-your-private-key - Guide: give an AI agent limited spending rights on your wallet: https://docs.signo.fi/guides/limited-spending-rights-for-ai-agents - Guide: get warned before your Aave loan is liquidated: https://docs.signo.fi/guides/aave-liquidation-alerts - Guide: watch a Uniswap or Aero LP position that goes out of range: https://docs.signo.fi/guides/lp-range-alerts - Guide: agents for Pendle PT positions: https://docs.signo.fi/guides/pendle-pt-agents - Guide: Signo compared with trading bots, session keys, EIP-7702 delegations, spend vaults, automation services and alert-only tools: https://docs.signo.fi/guides/signo-compared - AI agents for DeFi: what Notify and Prepare agents do: https://signo.fi/blog/ai-agents-notify-prepare - Idle stablecoins: find money in your wallet that earns no yield: https://signo.fi/blog/idle-stablecoins ## Signo API > Turn a plain-English outcome into a ready-to-sign, multi-step, cross-chain transaction > plan. The planning API returns UNSIGNED transactions (EVM calldata + Solana base64 > messages); your own wallet or MPC signer signs and broadcasts. Separately, an > owner-authorized Execute permission can run within its signed on-chain limits. Base URL: https://app.signo.fi/api/v1beta Auth: `Authorization: Bearer sg_...` for partner operations (key kept server-side). Public agent drafting needs no API key; it grants no account or spending authority. Format: JSON in, JSON out, all public fields snake_case. Every response carries a `Signo-Schema-Version` header; every error uses one envelope: `{ error, friendly_message, issues[] }`. Metering: 5 credits per delivered call, debited from a per-tenant balance. ## Ways to use Signo from an AI WITHOUT A KEY (any assistant): add https://app.signo.fi/api/mcp with no Authorization header. Three tools: wallet_insights_report (read public wallet data), signo_draft_agent (draft Notify/Prepare; wallet optional) and signo_draft_permission (draft an Execute permission on X Layer or Arbitrum; wallet required). Drafts return a private review_url for owner authorization; no tool claims a draft, signs a permission, manages a private account or spends funds. Docs: https://docs.signo.fi/for-assistants WITH YOUR SIGNO ACCOUNT: add https://app.signo.fi/api/mcp/account and complete OAuth with your wallet sign-in. It exposes the three public tools plus six account tools: signo_account_agents, signo_account_agent, signo_account_agent_history, signo_account_agent_status, signo_account_agent_update and signo_account_agent_remove. Access covers the account's wallets. A connected app can pause and resume Execute; resume re-arms the existing signed permission and can allow a firing at the next check without another signature. Execute edits require owner review, and removal is refused while its permission is live. Only the wallet owner can revoke it on chain in Signo. Disconnect under Settings > Connected apps. Disconnecting removes the app's access; it does not pause agents or revoke on-chain permissions. Signing out of the browser is not the same as disconnecting an app. See https://docs.signo.fi/for-assistants. WITH A PARTNER KEY (protocols and apps): everything below. Docs: https://docs.signo.fi/for-integrators ## User-facing Advanced reasoning and ordinary token approvals Any plan may use Settings > AI Models > Advanced reasoning with a supported model subscription; on Signo Free those turns count toward the 15 requests a day. Only the providers listed there are available; the hosted connection supports ChatGPT today, and Claude is not offered until its runtime is enabled. Enable selects the provider that answers Chat; Disable switches Chat back to Signo's model but keeps the connection. When the connected model can answer, the first loading line names Advanced Reasoning, the provider and the selected model; later progress can replace that line. If the turn starts with plain Thinking, Signo's standard model handles it. Settings puts a green Enabled badge on the usable provider answering Chat and a gray Disabled badge on another usable connected provider. Pending, disconnected and failed rows have no status badge; their sentence and button show the available next step. The provider login is held in an isolated hosted-runtime snapshot, while Signo's database keeps only the provider, status, model choice and an opaque pointer. The snapshot expires after 30 days unless use refreshes it. Disconnect asks the runtime to delete the login and account-tagged copies immediately; any copy that cannot be deleted expires within 30 days. A connected turn sends the current prompt, relevant Chat history and answer instructions to the provider under the user's own account, terms, privacy settings and usage limits. A linked account receives occasional product news and offers in Telegram by default. `/news` shows the setting, `/news off` stops those messages, and `/news on` restores them; Settings > Privacy and data > Product news controls the same flag. Turning news off does not pause Agents or alerts. `/feedback ` sends a problem report directly to the Signo team. Users can also report a problem in Chat. Removing a wallet stops Portfolio tracking and sign-in for that address; it does not delete the account or revoke an on-chain permission. Notify and Prepare Agents stay account-owned. Their delivered history, Chat history, saved flows and saved Insights move to the first remaining same-chain wallet. With no same-chain wallet, those records are archived under the released account key and are no longer shown. They do not follow the removed wallet into another account. The removed wallet's own description, wallet-specific patterns and legacy per-wallet profile and prompt history are deleted. Account-level notes stay with the account. The account planning summary is cleared and rebuilt from the remaining wallets on the next Chat turn; prompts recorded to the account stay until account deletion. The wallet-specific Telegram link is disabled. Execute Agents remain bound to the wallet that signed their Shield permission. Removing that wallet neither pauses the Agent nor revokes the permission; the owner must revoke it from that wallet to stop it. Settings > What Signo knows shows Summary under About you, account notes and a per-wallet view of the user's own description, removable on-chain patterns, scan activity and latest Wallet Insights result. The summary can use linked-wallet activity, saved Agents, recent requests and actions, up to 8 saved web Chat exchanges (including assistant reply context), and up to 4 dated scan problem findings. Rebuild refreshes it. Clear removes it and excludes pre-Clear memory from later rebuilds. Account notes can be added there or by an explicit "remember …" request in Chat; there are at most 30, each at most 300 characters, and Chat reads them on later turns. Signo refuses to save seed phrases, private keys or passwords. The summary and account notes are not in the self-service CSV bundle; they remain viewable and manageable in Settings and are removed with account deletion. Signed-in web Chat can search the user's saved conversations by topic or date. It returns the best 4 matching exchanges plus a total match count, scoped to that user's retained Chat history and wallets; deleted conversations are skipped. The search is unavailable in Telegram and partner API sessions. Advanced reasoning may receive matching excerpts as context; the user still receives one final answer rather than a separate search result UI. Signed-in users can close an account at Settings > Sessions and security > Delete account; an active paid plan must be cancelled first. Account closure removes the sign-in identity and live configuration (linked wallets, active Agents, Telegram links, saved flows, devices and connected-app grants). It is not the privacy-rights deletion process and does not erase every retained record: billing/credit records, pseudonymized analytics or prompt-quality records, and released historical chat/Agent records can remain for the purposes stated in the Privacy Policy. It also cannot revoke a Shield permission or token approval on chain. Revoke every Execute permission and wait for confirmation first. Portfolio has Overview and DeFi tabs. Priced holdings below $1 are collapsed behind Show N holdings under $1; native gas assets and unpriced assets stay visible. Unverified tokens use a separate reveal. DeFi protocol cards net debt as negative rows; each loan row shows its borrow rate when known, while current health factor is on Home rather than the DeFi tab. A Rewards column appears only on cards with rewards. Supplied rows can include an underlying token's own yield (for example wstETH staking) in composite APY. Incomplete direct protocol reads keep Zerion fallback rows instead of treating positions as gone. The Portfolio header waits for every balance, position, LP and debt read required by its total instead of printing a partial figure. If one wallet's position read fails after the other reads finish, the total can appear with a line saying it may be missing that wallet's positions. Home uses the same complete-figure rule; on a return visit it may show the last complete figure saved on that device for the same wallet set, for up to 24 hours, with an Updating ring until fresh reads replace it. A completed transaction invalidates that save. Home's Working for you card combines user-paused, plan-paused and Telegram-waiting Agents into one N paused count. If anything is waiting for Telegram, its CTA is Link Telegram; otherwise it is Set up an agent. While any eligible position lacks an Agent, the Agents for you card takes that slot; Working for you returns when every eligible position is covered. Suggestions can be position-based or, for accounts with few/no eligible positions, market cards for WBTC price, idle USDC, or the Aave USDC supply rate. Two or more uncovered positions can fold into one protocol-wide card for every loan at one lender, every Uniswap LP, every Pendle PT, or claimable rewards across protocols. Aero is the exception: one in-range Aero Slipstream position can offer one Aero LPs card that watches every current Aero LP across chains plus positions opened later. Grouped loan cards watch the lowest health factor below the line or wait for every loan to recover above it. Eligible plain stablecoin holdings of at least $100 each can produce one depeg card once they total $1,000 across wallets; its default line is below $0.99. Every account with a wallet may also get a weekly Yield rate card until it has one; the user picks Monday through Sunday (Monday by default), and the Prepare schedule runs at 9:00 in the browser's time zone. It checks all idle and deployed assets across all account wallets for better yield and reports no idle money below $50. Patterns remain in the wallet analysis panel; they do not power these current cards. Creating a card is free; Notify is free; a Prepare Agent that delivers a ready-to-sign plan uses 5 paid-plan credits or one Free daily request. Most presets default to Prepare; report-only cards can remain Notify. Home Recent activity, the Agents page's recent-run rows, and History's Open in chat open Chat at that exact Agent run. The row names what happened and its detail. Review and sign builds a prepared plan at that point in the conversation; it never signs automatically. The newer no-wallet demo scan does not save local Agents: Add asks the user to connect a wallet. A saved-wallet scan can instead show the full findings list and From your apps. The LP-health score check is Uniswap-specific today. Two additional score categories, perpetual-position risk and perpetual funding, appear only for a wallet with a Hyperliquid footprint. Compatible Uniswap, Morpho, Aave and Spark Flow and Agent presets can show Pick 1 of N existing positions and fill chain plus asset/pair together; Compound does not use this picker. Incomplete position reads are not offered as a complete shortlist. Ordinary Chat plans usually approve the exact amount. Uniswap v4 liquidity adds currently approve a maximum token amount to canonical Permit2 for reuse, then give the Position Manager a Permit2 authorization that expires after 30 days. Aave and Spark full repayments use their maximum-value sentinel so the pool takes the actual debt at execution, including accrued interest; the token approval persists until revoked. These maximum approvals are implementation choices, not protocol requirements. The plan row says "Approve TOKEN spend" without a number; the wallet request is the source of truth for the actual allowance. Revoke ordinary approvals through the wallet's approval controls or the chain explorer. Settings > Wallet permissions covers Shield Execute approvals only. Compound V3 has no max-repay sentinel: Signo refuses a max repayment and requires an exact amount instead of creating an unlimited approval that could turn an overpayment into a deposit. An ordinary EVM or Pendle swap quote that would lose more than 15% of its input value is never silently presented as routine. A fixed-amount swap can be removed before the plan is built; a full-balance or chained swap can remain with a prominent value-loss warning for the user to review before signing. Shield Execute and Aero swaps refuse quotes over the same threshold. ## What you are building Signo's partner offer is AGENTS on your own pages: a user turns one on from a market, vault, position or wallet page in one or two clicks, it watches and notifies them on Telegram, and it can prepare the next transaction for review (see "Contextual partner surfaces" below). Underneath sits the chat experience described here. Signo's product surface is a CHAT experience: prompt → streamed reasoning → clarifications → plan → sign. An integration is "Chat-in-a-box", not an API console. If you are a coding agent scaffolding a UI, follow the UI guidelines below — the default dashboard instinct (sidebars, raw JSON, a manual "Review plan" button) is wrong here. ## Flow (the happy path, automate all of it) 1. POST /intent — natural language in, structured `intents[]` out (or `clarifications[]` when ambiguous). Stream it (SSE). 2. When `intents[]` is non-empty, AUTOMATICALLY POST /plan — unsigned `steps[]` (real calldata) out. No "Review plan" click. 3. AUTOMATICALLY POST /simulate on the plan's same-chain step groups — render per-step results in the chat card BEFORE any wallet opens. 4. At sign time, POST /steps/reencode for the step being signed, then hand the FRESH calldata to the wallet. Quotes are perishable. Tier A integrations stop after step 3 (plan-only: prove the engine, never sign). Tier B integrations add a signer (MetaMask / Phantom / MPC) and follow the Signing rules below. ## Plan review metadata (REST and partner MCP) The authoritative Step, NetChange, PositionDetail, PositionPreview and ResolvedPlanPath schemas are in https://app.signo.fi/signo-openapi.yaml (flip-openapi.yaml is identical). Partner MCP signo_plan exposes the same optional snake_case review fields as POST /plan. These are display metadata, never new signing authority or transaction targets. - steps[].history_action retains operation semantics when type is only a transaction primitive; operation identifies the protocol operation and order_id the selected order. review_target is the resolved readable market/vault label. position_detail carries protocol, opaque id, label and optional composition. Preserve the ID and its case; never aggregate distinct positions by a token symbol or display label. - amount_exact is an optional canonical human decimal string (token units, not atomic units or max). amount_mode: all retains full-balance intent. amount_estimated: true requires approximate wording even if the decimal representation is exact. - unit_price_usd, if returned on a step, is a finite positive unit price explicitly resolved by its protocol adapter. It is display valuation input, not a guaranteed execution price. Missing/invalid price stays unknown; never infer it from a symbol. - net_changes[] includes position_detail, position and estimated. A position or debt delta is not a second wallet-token gain. usd_known: false overrides numeric usd: show Value unavailable rather than $0.00, and do not invent a missing price. Missing previews or amounts remain unknown, not proof of a zero position or zero transaction effect. - paths[].position_preview supplies resolved position identity and optional quantity; summary_sends supplies sized outgoing symbol/amount legs; summary_amount supplies a display quantity for a full-close path. These fields do not replace calldata or signing amounts. quote_expires_at on a step is numeric Unix seconds; show it in local time. - estimated effects and if-filled changes are review estimates, not fill or settlement evidence. Keep the distinctions in cards and History; verify actual holdings/fills after execution. Re-encode and freshness checks still apply before signing. ## Endpoints - POST https://app.signo.fi/api/v1beta/intent: Parse a prompt into a structured plan. Body `{ prompt, wallets[], balances?, messages?, conversation_context?, clarify_follow_up?, options? }`. Send `Accept: text/event-stream` to stream tool progress as `tool-start` and `tool-end`; reasoning is not streamed incrementally. The terminal `final` event carries the complete response `{ reasoning, suggested_name, intents[], clarifications[], kind }`. A future monitoring or conditional-trade request can also return an inactive Agent draft and a private review URL; nothing activates until the wallet owner opens it, verifies the wallet, links Telegram and signs. 5 credits. - POST https://app.signo.fi/api/v1beta/plan: Resolve intents into unsigned transactions. Body `{ intents[], wallets[] }` (supply wallet addresses and chains; Signo reads the input balances needed for compilation, and caller balances are optional hints). Returns `{ steps[], summary, net_changes?, paths? }`; each step is `{ order, type, chain, chain_id, source_wallet, to, data, value, description, ... }` (EVM) or carries `solana_tx` (Solana). Gas figures here are planner/encoder ESTIMATES, not a simulation. 5 credits. - POST https://app.signo.fi/api/v1beta/steps/reencode: Re-quote ONE step at sign time. Body `{ step, actual_amount }` — `actual_amount` is a decimal number in token units (NOT wei): use `step.amount`; if the step is `chained`, use `step.chained.estimate_amount` (or the confirmed post-bridge amount once known). Never invent amounts from raw hex. Returns `{ ok, data, amount_raw, value, quoted_at }` or `solana_tx`; 409 `route_expired` when a pinned route is gone (re-plan). `quoted_at` marks when the quote was priced — open the wallet immediately, re-encode again if the user idles. - POST https://app.signo.fi/api/v1beta/simulate: Dry-run steps against a fork before signing. Body `{ chain, sender, steps[] }` — one call per chain; `sender` is the user's signing wallet. Returns `{ success, gas_used, gas_price, gas_price_source, total_cost, error, steps[] }` with human-readable revert reasons in `error` / `steps[].error` (e.g. "ERC20: transfer amount exceeds balance") — show them directly in the chat card. Read-only. 5 credits. - GET https://app.signo.fi/api/v1beta/usage: The tenant's credit balance and recent ledger. Returns `{ balance, cost_per_call, recent[] }`. Free. Partner/integrator metering — check the tenant balance and debug 402s server-side or in your partner ops dashboard. Not an end-user UI element: do not render a credits balance or refill CTA in Chat. - GET https://app.signo.fi/api/v1beta/meta: Capability discovery — `{ schema_version, cost_per_call, actions[], chains[], rate_tiers }`. Feature-detect from this; validate the actions/chains you render against it. Free. - POST https://app.signo.fi/api/v1beta/agents: Create an agent — plain-English `{ request, wallets[] }` (compiled, may return `needs_clarification` or `422 unwatchable`) or typed `{ kind: price|yield|health|portfolio|schedule, wallets[], ... }` (no compile step). `wallets[]` are bare address strings, not `{address,chain}` objects. Not credit-metered; gated by a per-tenant active-agent quota (429 `agent_quota_exceeded` — beta 50 / standard 500 / high 5000). Defaults to Notify; `autonomy: "prepare"` plus an `action` (typed) or an action inside `request` (plain-English) stores a Prepare agent whose fire hands back an UNSIGNED plan via `preparation.review_url` on the event (outcome ready|clarification|informational|failed|cancelled; 5 credits per `ready`, once). Explicit Prepare without an action → 422 action_required; `autonomy: execute` → 422 execute_requires_shield. Optional tenant-scoped `idempotency_key` (409 on a changed body, 410 after delete). 201 (or 200 on `needs_clarification`). - GET https://app.signo.fi/api/v1beta/agents: List the tenant's agents. Query `status` (active|paused), `kind` (price|yield|health|portfolio|schedule|condition), `wallet`, `cursor`, `limit`. Free. - GET/PATCH/DELETE https://app.signo.fi/api/v1beta/agents/{id}: Get a tenant-owned agent; `PATCH { status: paused|active }` or `PATCH { request }` (re-compile a supported `condition` agent's text only); `DELETE` is idempotent. Owner-only Execute rows are excluded from key-based control: pause and edits return not found; delete returns 204 without removing the agent. A 204 is not proof of deletion or on-chain revocation. - POST https://app.signo.fi/api/v1beta/agents/{id}/test: Manually trigger an agent once for integration testing — queues a `agent.test` event through the same delivery path a real trigger uses. 202. - GET https://app.signo.fi/api/v1beta/agent-events: Cursor-paginated pull of the tenant's trigger history — the fallback/reconciliation rail when you haven't registered a webhook endpoint, or to replay a delivery gap. Delivery is at-least-once; dedup on `id`. Free. - POST/GET https://app.signo.fi/api/v1beta/webhook-endpoints: Register (`{ url }`, https only, no private/internal hosts) or list webhook endpoints that agent triggers push to. `POST` returns `signing_secret` exactly once. Max 5 per tenant (429 `endpoint_quota_exceeded`). - DELETE https://app.signo.fi/api/v1beta/webhook-endpoints/{id}: Remove a webhook endpoint. Idempotent (204). - GET https://app.signo.fi/api/v1beta/telegram/link-status?address=&chain= — `{ address, chain, linked }` whether that wallet has an active Telegram link. Auth: Bearer sg_, scope agents. Free. Use it to pick Turn on vs Turn on with Telegram. Never call this from the browser with an sg_ key. - GET https://app.signo.fi/api/v1beta/positions?wallet=&protocol=&kind=&chain=: a wallet's ADDRESSABLE positions, each row carrying the canonical composite `id` already built: `{ wallet, positions[], degraded, unavailable[] }`, each position `{ id, owner, protocol, reference, kind, chain, asset, value_usd, apy_pct?, days_to_expiry?, claimable?, started?, accepted_hours_ago?, fill_pct? }`. Send a row's `id` straight to /surfaces/resolve and /surfaces/activate as the `position` subject. Never assemble the string. Pendle (pt, yt, lp) and Saffron (fixed, variable) today; other protocols hold real positions but cannot be a position subject, so they are not listed. `degraded: true` with a non-empty `unavailable` means a source could not be read, so do NOT treat `positions: []` as "holds nothing"; every source failing is 503 `positions_unavailable`. Auth: Bearer sg_, scope agents. Free. One wallet per call. - POST https://app.signo.fi/api/v1beta/agent-drafts: KEYLESS (no Authorization). `{ request, wallet?, autonomy?: notify|prepare }` (wallet optional: omit it and the first wallet to sign on the review page owns the agent) → 201 `{ proposal_id, review_url, expires_at, status: "draft", wallet, summary, autonomy, action, activation }`. Stores an INACTIVE draft only: the owner must open `review_url`, sign a draft-bound challenge, link Telegram and explicitly press Set up agent. No agent, subscription or spending authority is created; a claimed agent is user-owned and not in the tenant's `GET /agents`. Rate limited per client and globally (429 + Retry-After); drafts expire after 72 h; 422 on ambiguous/unwatchable; 503 if the draft service is not configured. Execute is not available here. - POST https://app.signo.fi/api/v1beta/shield/proposals: Draft a Signo Shield permission, an Execute agent (partner key with agents scope, or NO key under the draft rate limits; free) and return `{ proposal_id, review_url, summary, limits, fee_bps, expires_at }`. NEVER authorizes spending — the owner signs the permission on the review page. New Execute setup is in early access: a wallet without access no longer gets 403 `execute_team_only`; no proposal is stored, and the response is a Prepare agent draft for the same trigger and action (status "draft", `fallback.from` "execute", its own review_url). The owner signs each plan. To request Execute access, open https://app.signo.fi/app/agents/new, connect the owner wallet, choose Execute, and press Join waitlist. One shape: `{ schema_version: 2, wallet, chain_id: 196|42161, trigger (health_factor | token_balance | price | condition), action (transfer|swap|vault|supply|repay_from_wallet|repay_from_collateral), budget, cap_per, expiry_days? }`. The old protection short-form (no schema_version) is retired and answers 400 with the mapping. X Layer (chain_id 196) and Arbitrum One (42161) today. 422 with the compiler reason when it cannot be drafted. - GET https://app.signo.fi/api/v1beta/shield/proposals/{id} | /permission | /runs?limit=: Read a proposal you created, the permission once authorized (null before), and its bounded execution runs. Tenant-scoped; not yours → 404. ## Public Wallet Insights API Separate from `/v1beta`, `POST https://app.signo.fi/api/insights` accepts any public EVM or Solana address and returns `signoScore` (0-100, the Signo Score: how well the wallet's capital is managed, from idle cash, yield against the cash benchmark, unclaimed rewards, the leverage guard and dust; not a safety or liquidation-risk score), `riskTolerance`, `walletAge`, `holdings` (every chain's tokens, DeFi positions and loans with USD values, largest first, up to 30 tokens per chain with the remainder counted, and a `complete` flag), `categories` (each with state, headline, detail, a next step and, where an agent fits, `agentSuggestion`), `suggestedAgents` plus `draftWith` (the exact `request` and `autonomy` arguments for `signo_draft_agent`, and the endpoint to call), and an `appUrl` for the next step. Body: `{ address, chain?, narrative? }`. It is read-only, keyless, free of `/v1beta` credits, IP-rate-limited, and cached per address for 24 hours. It cannot read the owner's private Agents, so watch coverage is `not_applicable` with "Agent coverage isn't shown here" and the public score omits that category. A signed-in owner's app scan adds watch coverage, so its score can differ from the public report. The same report is the `wallet_insights_report(address, narrative?)` tool on BOTH keyless Streamable HTTP MCP servers: `https://app.signo.fi/api/mcp` (next to the drafting tools, so one connection reads the report and drafts the agents it suggests) and `https://app.signo.fi/api/insights/mcp` (the OKX.AI listing endpoint). ## UI guidelines (make it feel like Signo) Layout - Single chat column, composer pinned at the bottom. Not a multi-panel admin layout. - Wallet connect stays compact (top-bar pills), never a full sidebar. - Reasoning, clarification chips, and the unsigned plan render INLINE in the thread, under the Signo message that produced them. - Never dump `intents[]` or step JSON in the primary UI. Structured payloads belong in logs/devtools. Calldata goes behind a disclosure, not a wall of hex. Flow - Stream /intent (SSE) into the Signo bubble as it arrives; show tool status lines while it thinks. - Clarifications render as option chips in the chat, then re-send with `clarify_follow_up` (template below) — never a modal form. - Auto-/plan when intents arrive; render each step as a readable card (title, chain, protocol, human description). Tone - Composer placeholder and empty state sound like chat ("Message Signo…"), with 2-3 example prompts as chips. Not an API console. Anti-patterns (do not ship these) - Two-column "Wallets | Chat" dashboards. - A required manual "Review plan" click after every intent. - Primary UI that is mostly OpenAPI-shaped JSON. - Hiding the plan until the user clicks something else. - A partner credits balance or "refill credits" control in the end-user chat UI — `/usage` is integrator metering, not end-user chrome. ## Signing (Tier B) - Execute `steps[]` in ascending `order`. Typical pattern: approve → wait for confirmation → swap. Soft-disable later Sign buttons until prerequisites confirm (allowance set, bridged funds arrived, `chained` amount known). Respect `wait_for_bridge` before simulating or signing post-bridge steps. This is UX guidance, not server-enforced — but out-of-order signing produces wallet failures and support tickets. - ALWAYS re-encode before signing: POST /steps/reencode, hand the returned calldata to the wallet, sign promptly. Re-encode again if the user idles past ~30s (`quoted_at` tells you the age). - HARD-FAIL on re-encode failure: if /steps/reencode returns an HTTP error or `ok: false`, do NOT fall back to plan-time calldata. Show `unsupported_reason` in the chat and stop. Plan-time calldata embeds quote-time amounts and deadlines; signing it stale can pass a simulation and still revert on-chain. - Branch on `unsupported_code`, not the prose: every `ok: false` from /steps/reencode carries one of invalid_request, unknown_target, step_type_unsupported, protocol_unsupported, quote_failed, target_changed, step_incomplete. `quote_failed` is worth one retry; `target_changed` means the protocol answered with a contract the user did not review, so re-plan; the others will not improve on retry. `unsupported_reason` stays as the human sentence. - A 429 carries `Retry-After` in seconds, computed from the key's real rate window. Honour it rather than guessing a backoff. - Trust Signo's errors over the wallet's: when calldata is stale or a swap would revert, browser wallets often mislabel it as "insufficient ETH for gas" / "likely to fail" even when gas is fine. Run /simulate and surface `steps[].error` in the chat card BEFORE opening the wallet. Branch on `steps[].status`: only `failed` means the step ran and reverted; `unverified` means it was not confirmed and MUST NOT be rendered as a failure. Use `steps[].cause` to explain why. - After a successful broadcast, show the tx hash + explorer link. Never imply Signo signed or broadcast anything. - Log Signo request/response bodies server-side (truncate calldata), plus a thin UI event log (prompt sent, clarification picked, sign clicked, re-encode result). That log is what makes support handoffs fast. ## Simulation pattern - Intended usage, same as Signo's own Chat UI: intent → (auto) plan → (auto) simulate → render per-step results before sign; re-simulate after a re-encode (results are only as fresh as the calldata you pass). - One /simulate call per chain (`chain` + `sender` + that chain's `steps`). - Multi-chain caveat: a batch simulates against CURRENT chain state. Steps funded by a bridge that has not landed stay unverified until it lands; simulate them after it lands rather than showing a failure. - Gas $ figures use real per-chain gas prices (`gas_price_source: "rpc"`); a `"fallback"` source means the $ estimate is approximate. ## Gas reserves and all-sized plans When a plan spends a chain's native gas asset, say the amount that stays for gas. The reserve uses the plan's estimate plus a buffer and is at least 0.0005 ETH on ETH-gas chains. An `all` amount includes the wallet's existing balance plus output from earlier steps. If an all-sized plan would leave more than $5 beyond the gas reserve, it is not ready and must name the remainder. If the destination chain has no gas asset, Chat can add a gas bridge first from the connected chain holding the most: about $5, or $15 on Ethereum. It is a separate reviewable step. ## Multi-turn conversations /intent is stateless. Send prior turns in `messages`, oldest first, with the current message in `prompt`. Up to 100 messages, each with `role` (`user` or `assistant`) and `content` (a string up to 64000 characters). The server formats roles and keeps the newest history within 6000 characters. messages: [ { "role": "user", "content": "what is the best stable yield on Base?" }, { "role": "assistant", "content": "Here are the current options." } ] Only structured user turns can confirm an earlier recipient or spender address. Assistant text cannot impersonate a user turn. Legacy `conversation_context` uses newline-joined `User: ` / `Signo: ` lines as descriptive context, but its addresses are not user-confirmed: paste the address in the current `prompt` or migrate to `messages`. When both fields are sent, `messages` takes precedence, even an empty array. Malformed `messages` are rejected rather than falling back to the legacy text. ## Clarifications When a request is ambiguous, /intent returns `intents: []` plus `clarifications[]`, each `{ id, kind, question, options: [{ id, label }] }`. Render the options as chips in the chat; when the user picks one, re-send /intent with: prompt = original prompt + "\n\n" + "Clarification — : " clarify_follow_up: true The flag makes the planner acknowledge the answer and continue — it never re-asks. Example: prompt: "deploy my idle USDC\n\nClarification — Which wallet should fund this?: Main treasury (Ethereum)" clarify_follow_up: true ## Wallets `wallets[]` entries are `{ address, chain }`. Include the chain the user intends to ACT on: if the connected EVM account will transact on Arbitrum, pass an entry with `chain: "arbitrum"` (or one entry per relevant chain) — a wallet passed only as "ethereum" while the prompt targets Arbitrum confuses planning. Signo fetches balances for transactional /intent requests and reads required input balances for /plan. Caller balances are optional hints. Wallet-sized "max" is refreshed from chain; an unavailable required read returns 503 balance_unavailable rather than treating a failed read as zero. Retry after checking the wallet and chain. ## Intent actions transfer, sweep, bridge, deposit, withdraw, stake, unstake, claim, approve, swap, borrow, repay, lp-add, lp-remove, lp-collect. `amount` is a token-denominated number, or the string `max` (full balance) or `chained` (size from the previous step's real output at sign time). `lp-add` uses `token0`/`token1`, `fee_tier` (Uniswap units, 3000 = 0.3%), `amount0`/`amount1`, optional `slippage_bps` — full-range positions only. ## Chains ethereum, base, arbitrum, optimism, polygon, xlayer, robinhood, solana. EVM addresses are 0x-hex; Solana addresses are base58 (never lower-cased). ## Pool discovery Chat discovers Uniswap v3/v4, Aero, Aero Slipstream and Curve pools by token, pair or chain on Ethereum, Base and Arbitrum. Results default to a $1M TVL floor and include protocol, risk, TVL, whether the pair is stable/stable or ETH-family, a one-day annualized fee APY when available, and a 30-day mean total APY (fees plus rewards). The default yield order uses that 30-day mean where available. Both rates are historical, not forecasts. Signo can open a verified hookless Uniswap v4 pool or resolve a supported Aero pool on Base. Uniswap v3 and Curve rows are reference-only for entry. ## Aave V4 Chat supports supply, withdraw (including max), borrow and repay in supported Aave V4 spokes on Ethereum and Base. The user must name Aave V4 or the spoke/market; bare Aave means v3. Borrows stay in the collateral's spoke. Signo checks the spoke health factor and blocks a withdrawal that would lower it below 1.15. Portfolio amounts come from Aave's API. Health-factor Agents can watch one named spoke, and Home can suggest one V4 loan card per wallet, chain and spoke. Spokes containing tokenized stocks are excluded unless separately enabled. Aave V4 reward claims are not supported. ## Pendle by chain Filled from the capability matrix in code (`lib/pendle/capabilities.ts`), one row per CHAINS entry: - Ethereum: market discovery, PT/YT/LP reads, positions, convert trading, claims, watchers, PT-loop handoff, boxed-loop reads. - Base, Arbitrum, Optimism, Robinhood Chain (4663): discovery, positions, convert trading, claims, watchers. No boxed-loop reads, no in-product PT loop. - Polygon, Solana, Hyperliquid: not a Pendle chain. `getPendleMarkets` / a Pendle plan on those names the matrix, it does not return an empty list. Convert on Robinhood Chain is live for SY-list tokens (RouterV4). Aggregator zaps of arbitrary tokens can still 400. Pendle trading also includes Keep YT liquidity adds and market-dependent PT/YT limit orders. Keep YT mints PT and YT, sends the PT and underlying into the pool and returns the YT to the wallet, so the add has no pool price impact. A limit order targets an implied APY, may fill partly and lasts at most 30 days. After any required approval to Pendle's Limit Router (`0x000000000000c9B3E2C3Ec88B1B4c0cD853f4321`), placing it is a free wallet signature; tokens leave only on fill, and cancellation is an on-chain transaction. Not every market accepts limit orders. On Ethereum, Signo also stakes PENDLE 1:1 into sPENDLE and supports the fee-free cooldown/finalize path or instant unstake at the contract's live fee. It reads the live duration and fee and permits one open cooldown per wallet. The sPENDLE contract is `0x999999999991E178D52Cd95AFd4b00d066664144`. For matured PT, one PT is a claim on one unit of the accounting asset only when the underlying did not lose value. Underlying loss can reduce the redemption payout; show the current chain-resolved payout rather than describing maturity as a guaranteed 1:1 return. ## Claimable rewards Chat can run one claimable-rewards read per wallet and chain across Merkl, Pendle campaigns, Aave, Compound, Pendle YT/LP incentives, Uniswap fees and Aerodrome fees/emissions. Merkl is read on Ethereum, Base, Arbitrum, Optimism and Polygon through distributor `0x3Ef3D8bA38EBe18DB133cEc108f4D14CE00Dd9Ae`. Every priced reward line below $0.10 is omitted from a built claim and named. A Merkl line whose proof does not yet match the on-chain reward root is also omitted and labelled cannot be claimed yet. Pendle campaign rewards are shown by this read but claimed through Pendle. Portfolio's Rewards column is a position display and is not this complete actionable read. Generic Merkl claims are public and can include rewards earned through Morpho. A claim explicitly named with `protocol: morpho` remains an early-access Morpho action. Chat can also find live Merkl reward programs for an asset on Ethereum, Base, Arbitrum, Optimism and Polygon. The lookup defaults to a $1M TVL floor and top 5 results, and returns reward APR, reward tokens, end date, conditions, base APY when known, and whether Signo can open the market at the same address and chain. This is discovery, not proof of eligibility. ## Request ids Every response carries a `Signo-Request-Id` header, streaming responses included, and every error body repeats it as `request_id`. Send the header yourself and we keep your value, so one id joins your logs, your user's report and ours; omit it and we generate one. Log it on every call. Accepted shape is 8-128 characters of `A-Za-z0-9._:-`; anything else is replaced with a generated id. ## Errors Single envelope `{ error, friendly_message, issues[] }`. Common codes: - 400 invalid_request — malformed body or unsupported chain/asset (`issues[]` lists offending fields). - 400 invalid_url — a webhook endpoint URL failed the safety check (not https, or a private/internal host). - 401 invalid_key — missing, malformed, or revoked key. - 402 insufficient_credits — tenant balance below the call cost. - 403 scope_forbidden — key not authorized for the endpoint. - 409 route_expired — a pinned route is gone; re-plan the step. - 422 unwatchable — an agent `request` isn't a measurable trigger; rephrase it. - 429 rate_limited — per-key tier exceeded; back off and retry. - 429 agent_quota_exceeded / endpoint_quota_exceeded — per-tenant agent or webhook-endpoint cap hit; pause/delete one first. ## Agents & webhook delivery Programmatic alerts (price / yield / health-factor / portfolio-move / schedule / a plain-English condition), scoped to your tenant, not credit-metered. Recommended setup order for an integration: register a webhook endpoint (`POST /webhook-endpoints`) → create an agent (`POST /agents`) → receive signed `POST` events at that endpoint. Registering an endpoint is optional, not required — an agent created with none registered still arms, evaluates, and triggers normally; it just has nothing to push to, so poll `GET /agent-events` instead (the same triggers, cursor-paginated). Every push is signed: `X-Signo-Signature: t=,v1=hex_hmac_sha256(signing_secret, ".")`, plus `X-Signo-Event-Id` (dedup key, at-least-once delivery, retried with backoff 1m/5m/30m/2h/12h before dead-lettering). Full walkthrough, typed-kind field reference, and a copy-paste signature-verification snippet: https://docs.signo.fi/for-integrators/agents Agent ids: create, list, get, and the `agent.id` inside a trigger event ALL return the same public id, shaped `w__` (e.g. `w_alert_nn730k1p...`). Store it and pass it back verbatim on `/agents/{id}`, `/agents/{id}/test`, PATCH and DELETE. The prefix is the storage TYPE (alert | condition | reminder), NOT the public `kind` — a `kind:"price"` agent is `w_condition_...` — so you cannot derive the id from `kind`; use the id you were given. A bare, unprefixed id returns 404 agent_not_found. Wallets: Notify and Prepare agents are READ-ONLY at fire time (a Prepare plan is unsigned until the owner signs), so any address works — no signature, no connected session, no ownership check. `wallets[0]` is the owner for bookkeeping; array case is preserved (Solana is case-sensitive). Display: every agent carries a `rendered` one-liner for UI ("BTC price is above $65,350"); plain-English ones also carry `intent`. Prefer `rendered` over building your own label per kind. Clarification round-trip: a too-broad plain-English `request` returns 200 (NOT 201) with {status:"needs_clarification", question, options:[{id,label}]}. Both are 2xx — branch on the BODY (`status === "needs_clarification"`), never on res.ok, or you'll treat a clarification as a created agent. Send the option's LABEL back, not its id (ids are positional per response, nothing server-side remembers them); `options` may be empty (cap 4), in which case show a free-text input. Re-POST the ORIGINAL request with the answer folded in — `\n\nClarification — :