three.ws Autopilot

v0.2.2
io.github.nirholas/autopilot-mcp Checked 2 hours ago Published 1 month ago

Set autopilot scopes and a daily SOL spend cap, then propose, execute, and undo agent actions.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

get_autopilot_config Get autopilot config

Read the agent's autopilot permission model: whether autopilot is enabled, which capability scopes the owner granted (create_alert, briefing, wallet_transfer), which reversible scopes may auto-execute, the daily SOL spend ceiling (in SOL; 0 = no spending), and whether irreversible actions require explicit confirmation. Also returns the live trust level (sandbox → trusted → autonomous) computed from real action history. Nothing the agent can do exists outside these owner-granted scopes — read this before proposing or executing. Read-only.

ParameterTypeDescription
agentId *stringUUID of the three.ws agent whose autopilot config to read. Must be an agent owned by the credential.

set_autopilot_config Set autopilot config

Update the agent's autopilot guardrails. A partial patch — only the fields you pass change; the rest are preserved. Set `enabled` to arm/disarm autopilot, `scopes` to grant/revoke each capability (create_alert, briefing, wallet_transfer), `autoExecute` to let reversible scopes run without review, `dailySpendSol` for the daily SOL outflow ceiling (in SOL; 0 disables spending), and `requireConfirm` to force explicit confirmation on irreversible actions. WRITE but idempotent: it changes only the boundaries, takes no action, and re-applying the same values is a no-op. Returns the full updated co…

ParameterTypeDescription
agentId *stringUUID of the three.ws agent to configure. Must be an agent owned by the credential.
autoExecuteobjectReversible scopes allowed to auto-execute on generation (wallet_transfer can never auto-run).
dailySpendSolnumberDaily ceiling on autonomous SOL outflow, in SOL (fractional allowed). 0 means no spending. The agent spends SOL, never $THREE.
enabledbooleanMaster switch — autopilot can only act when this is true.
requireConfirmbooleanWhen true (default), irreversible actions need explicit confirm:true at execution.
scopesobjectPer-capability grants. Omitted keys keep their current value.

generate_proposals Generate autopilot proposals

Run the agent's mind: read its high-salience memories and pending reflections and synthesize real, concrete autopilot proposals — each citing the exact memories that justify it. New proposals are persisted to the queue (see list_proposals). WRITE: any reversible proposal the owner has scoped for auto-execution may run immediately and is reported under `autoRan`; irreversible SOL transfers never auto-run — they stay pending for explicit execute_proposal. Returns the created proposals, the autoRan receipts, the generation `source` (reflection | memory | heuristic), what was `scanned`, and up…

ParameterTypeDescription
agentId *stringUUID of the three.ws agent to generate proposals for. Must be an agent owned by the credential.

list_proposals List autopilot proposals

List the agent's autopilot proposals — candidate actions it generated, each grounded in cited memories (provenance hydrated). Each proposal carries its id (needed for dryrun/execute/dismiss/undo/adjust), kind (create_alert | briefing | wallet_transfer), title, plain-language rationale (the receipt), params, confidence, requiresConfirmation, status, result, and the source memories. Filter by status to find what is actionable. Also returns the current config + trust for context. Read-only.

ParameterTypeDescription
agentId *stringUUID of the three.ws agent whose proposals to list. Must be an agent owned by the credential.
limitintegerMax proposals to return (1–200, default 50).
statusstringFilter to one lifecycle status. Omit to return all statuses (newest first).

dryrun_proposal Dry-run an autopilot proposal

Preview exactly what executing a proposal WOULD do, without taking any action. Returns the kind, a plain-language "willDo" sentence, and a checklist of guard checks (scope granted? params valid? within the daily SOL cap? wallet balance covers a transfer?) plus a `blocked` flag if any check fails. Always dry-run an irreversible wallet_transfer before executing it. Performs a live balance read but no write and no spend — safe to call freely. Read-only.

ParameterTypeDescription
agentId *stringUUID of the agent that owns the proposal. Must be an agent owned by the credential.
proposalId *stringUUID of the proposal to preview (from list_proposals or generate_proposals).

adjust_proposal Adjust a pending autopilot proposal

Edit a pending proposal's params before executing it — tune a threshold, swap a briefing cadence, correct a transfer amount/recipient. The new params are validated SERVER-SIDE against the proposal kind and shape: create_alert → { asset:"three"|<mint>, condition:"price_above"|"price_below"|"graduation"|"whale_buy", threshold_usd?|threshold_sol? }; briefing → { summary, cadence:"once"|"daily"|"weekly", topic }; wallet_transfer → { recipient:<solana addr>, amount_sol:number, reason? }. An invalid edit is rejected with the reason and nothing changes. Only a pending proposal can be adjusted…

ParameterTypeDescription
agentId *stringUUID of the agent that owns the proposal. Must be an agent owned by the credential.
params *objectThe full replacement params object for the proposal, matching its kind (see description). Validated server-side.
proposalId *stringUUID of the pending proposal to adjust.

execute_proposal Execute an autopilot proposal (moves real value)

EXECUTE a proposal for real, within the owner-granted scope. ⚠️ This is the funds-touching action: a `wallet_transfer` proposal sends REAL SOL on Solana mainnet and is IRREVERSIBLE — you MUST pass confirm:true for it (unless the owner durably pre-authorized that scope), and it is capped by the daily SOL budget. It sends native SOL only — never $THREE. `create_alert` and `briefing` are real writes but reversible via undo_action. Always dryrun_proposal first. Scope, confirmation, and spend caps are enforced SERVER-SIDE; this tool cannot override them — an out-of-scope, over-budget, or…

ParameterTypeDescription
agentId *stringUUID of the agent that owns the proposal. Must be an agent owned by the credential.
proposalId *stringUUID of the pending proposal to execute (from list_proposals or generate_proposals).
confirmbooleanMust be true to execute an irreversible SOL wallet_transfer (when require_confirm is on). Ignored for reversible kinds.

dismiss_proposal Dismiss a pending autopilot proposal

Dismiss a pending proposal the agent decided not to act on. Marks it dismissed and records a feedback memory ("don't propose this again") so future generate_proposals steers away from it — this is how the agent learns the owner's boundaries. WRITE. Only a pending proposal can be dismissed (executed/undone/dismissed ones are rejected). Returns the updated proposal and trust.

ParameterTypeDescription
agentId *stringUUID of the agent that owns the proposal. Must be an agent owned by the credential.
proposalId *stringUUID of the pending proposal to dismiss.

undo_action Undo a reversible autopilot action

Reverse a reversible executed proposal: deletes the real artifact the execution created — the alert rule (create_alert) or the briefing notification (briefing) — and records a feedback memory so the agent learns to be more conservative next time. WRITE. NOTE: an irreversible SOL wallet_transfer is on-chain and cannot be undone — the server rejects that with `irreversible`; to send value back you would have to execute a new transfer. Returns the updated proposal (status → undone) and trust.

ParameterTypeDescription
agentId *stringUUID of the agent that owns the proposal. Must be an agent owned by the credential.
proposalId *stringUUID of the executed proposal to undo.

list_autopilot_activity List autopilot activity (signed receipts)

Read the append-only log of every autonomous action the agent has taken, newest first — the real agent_actions trail. Each receipt carries the kind (alert created / briefing authored / wallet transfer), its rationale, the outcome (created rule id / notification id / on-chain signature), the source memories it was grounded in, and the cryptographic signature + signer address when the action was signed by the agent's wallet. Use it to audit what the agent did and why. Omit agentId to aggregate across every agent the credential owns. Paginate with the returned next_cursor. Read-only.

ParameterTypeDescription
agentIdstringUUID of a specific agent (must be owned by the credential). Omit to aggregate across all your agents.
cursorstringPagination cursor: pass the next_cursor from a previous call to fetch the next page.
limitintegerMax receipts per page (1–200, default 50).

compute_trust Compute autopilot trust level

The agent's earned trust level, computed from its REAL autopilot history. Returns level (sandbox → trusted → autonomous), a 0+ score (net kept executions weighted by reliability), the underlying stats (executed / undone / dismissed / pending counts + reliability %), and what it takes to reach the next level. Trust rises as the owner keeps the agent's actions and falls when they undo or dismiss them — it is not configurable, only earned. Read-only.

ParameterTypeDescription
agentId *stringUUID of the three.ws agent whose trust to compute. Must be an agent owned by the credential.