Skip to main content
An adapter translates Labor’s provider-neutral requests into calls your agent host or classifier can execute.

Request

The adapter receives one JSON object on standard input:
Use the host’s native router or make an isolated classification call with the supplied catalog. Return the routing outcome and selected skills while keeping hidden reasoning inside the provider or host.

Result

Write exactly one result object to standard output:
Use selected, clarified, refused, or error for outcome. Set unavailable usage or latency values to null and record their source state explicitly.

Protect the result artifact

  • Keep provider keys inside the adapter environment and out of arguments and results.
  • Limit stored data to public or synthetic prompts and the protocol fields required for review.
  • Exclude hidden reasoning, customer data, private source, credentials, and production payloads.
  • Review every host-executed artifact before committing or publishing it.
See evals/README.md for the normative protocol and complete field reference.