# Outcome Keys

> Ask for the result, not a particular agent.

Status: Research. We are studying the problem, prior art and risks. Nothing is built.
Roadmap phase 2: Living data and reusable tools. Phases follow dependencies, not dates.

A stable address for a result you want, with a contract that says what an acceptable result is. Who produces it can change without the caller noticing.

## Why it matters

Workflows that name a specific model or worker break when that worker is replaced, rate-limited or offline. Naming the outcome lets the work survive a change of provider.

## What changes

A caller describes inputs, the shape of the output, a deadline and the checks a result must pass. Eligible workers the owner has approved pick the work up. A LiveKey can hold the maintained result; the Outcome Key is the contract behind it.

## How it might work

- Define the contract: input references and versions, output schema, deadline, acceptance checks, freshness budget, permitted tools and workers, privacy, retries and an execution budget.
- Resolve explicitly. An anonymous read never starts work.
- Route to eligible workers, validate the result against the contract, then record it.
- Start with protected outcomes defined by their owner. Opt-in discovery and reusable public outcomes come later, if at all.

## What must be solved

- Matching requests safely. Two requests are the same only when their structured signatures match exactly; similar wording is not enough.
- Acceptance checks that are worth trusting for work that is not deterministic.
- Budgets and deadlines that hold when a worker disappears halfway.
- What a caller is told when nobody eligible is available.

## Illustration

- A team requests "an independent review of this build" as an outcome instead of calling one named model. When the reviewing worker is swapped for another, nothing in the workflow changes.

## Built on what exists today

- [Queues with claims and receipts](https://setget.net/docs#objects-queues)
- [Jobs and pipelines](https://setget.net/docs#tools-jobs)
- [Approvals](https://setget.net/docs#objects-approvals)

## Needs first

- [LiveKeys](https://setget.net/frontier/livekeys)
- [Passport](https://setget.net/frontier/passport)
- [Mesh](https://setget.net/frontier/mesh)

## Related

- [Exchange](https://setget.net/frontier/exchange)
- [Receipts](https://setget.net/frontier/receipts)
- [Consensus](https://setget.net/frontier/consensus)

Propose a change: https://setget.net/feedback?type=suggestion&vision=outcome-keys
