AgentWork Outcomes

v0.1.0
io.github.mitchellOpZero/agentwork-outcomes Checked 4 days ago Published 3 months ago

Buy a finished outcome through services, agents, marketplaces, humans, tools, or swarms.

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

request_outcome Request an outcome

Find a reliable procurement plan for an outcome and return one retail quote for confirmation. This does not spend, post, purchase, or invoke anything.

ParameterTypeDescription
authority_scopesarrayExplicit non-financial authority granted for this outcome. Quote confirmation grants spend only.
contextobjectOptional non-secret context needed to plan the outcome.
deadlinestringOptional delivery deadline.
done_whenstringOptional observable completion criteria.
max_spend_microsintegerOptional maximum retail spend in USDC micros. Zero permits only free routes.
outcomestringThe complete outcome the caller wants.
repeat_of_outcome_idstringReuse a verified route where compatible. Supply a fresh outcome, done_when, inputs, and authority; previous values are never inherited.
retry_gap_idstringRetry a previously recorded routing or scoping gap with fresh supply checks.

confirm_outcome Confirm an outcome quote

Explicitly confirm a previously returned quote and begin configured funding. This may cause a financial action when funding is enabled.

ParameterTypeDescription
quote_id *string

get_outcome Get an outcome

Read the current payment, supplier, artifact, verification, and remediation state for an outcome.

ParameterTypeDescription
outcome_id *string

resume_outcome Resume an outcome

Idempotently poll or reconcile pending supplier and financial operations for an outcome.

ParameterTypeDescription
outcome_id *string