commodities.sh

Agent trading desk packs

Sector snapshots and deterministic decision packs that bundle multi-series commodities context into one x402 call for desk-style agents.

How agents call this

Choose sector energy | metals | ags (or all). GET /v1/snapshot/{sector} for labeled observations; GET /v1/decision/{sector} for deterministic signals built from those inputs. Iterate constituents and cite each child’s as_of, freshness_class, and quality — the pack timestamp must not erase weekly EIA vs annual USGS mismatches inside the same payload. Use MCP snapshot.get / decision.get when the host already speaks MCP; otherwise REST + x402 is enough.

When should an agent use a snapshot?

When it needs energy, metals, or ags context without eight separate 402 round-trips. Snapshots bundle labeled observations for a sector.

What is a decision pack?

A deterministic pack of signals derived from primary-source inputs — not an LLM narrative brief. Agents still must read freshness and quality on constituents.

Are all-sector bundles cheaper?

Yes — /v1/snapshot/all and /v1/decision/all are priced as bundle discounts versus three separate sector calls.

Are decision packs model-generated research notes?

No. They are deterministic packs from primary-source inputs. Agents must still surface constituent freshness/quality and must not market the pack as a licensed futures blotter or LLM opinion memo.

Related