Stock Trends Intelligence Agent
The Intelligence Agent reads each week's Stock Trends market-structure evidence and publishes structured research and guidance. Each artifact cites the evidence it uses, weighs competing explanations, states its confidence, and names the conditions that would change its reading.
It shows how the Stock Trends classification framework supports disciplined reasoning, and it gives your application or agent an interpretation it can read, check, and monitor, not just raw data.
What it publishes
- Market guidance: the governed reading in machine-readable form (paid)
- Market research: guidance plus narrative and sector-level detail (paid)
- Editorial preview: opening excerpt of the latest editorial (free)
- Discovery metadata: artifact types and access tiers (free)
Access: REST API, published weekly. Paid artifacts accept Subscription · x402 · MPP. They are not available through the current Remote MCP.
One framework, three related components
- Classification framework The foundation: weekly trend states, persistence, maturity, and relative strength, aggregated into market structure.
- ST-IM Probabilistic forward-return distributions conditioned on classified states. Its ST-IM Select opportunity set is one input to the Agent. See ST-IM.
- Intelligence Agent A research application that interprets that evidence and publishes research and guidance. It does not replace either layer, or your own judgment.
What a market guidance artifact contains
| Part of the reasoning | Field(s) | What it contains |
|---|---|---|
| Market observations | evidence[] | Each piece of evidence the reading rests on, with an evidence_id (for example breadth.trend_direction or relative_strength.state), its value, and a short summary |
| Structural interpretation | central_claim, highest_value_insight | The governed reading for the week, and the single most important insight with why it matters |
| Competing explanations | interpretations[].interpretation | Each explanation's claim, the questions it addresses, its cited evidence IDs, and its terminal outcome |
| Supporting and contradictory evidence | supporting_evidence_ids, limiting_evidence_ids, contradiction_items, material_contradiction | Which evidence supports, limits, or contradicts each explanation, and how any material contradiction was resolved |
| Confidence and uncertainty | confidence_calibration | The proposed confidence level, any caps applied, and the final level. When explanations cannot be separated, they are reported as tied and confidence is capped; there is then no combined confidence figure |
| Invalidation conditions | invalidation_conditions[] | Machine-readable conditions (evidence ID, operator, expected value, persistence periods) that would overturn an explanation |
| Monitoring priorities | monitoring_priorities[] | What to watch in later weeks, linked to the invalidation conditions |
| Provenance | artifact_id, content_hash, provenance.research_artifact_id, provenance.method_artifact_id | The artifact's identity and hash, the research artifact from the same run, and the reasoning record the guidance was derived from |
| Limitations | limitations, material_change | Notable absences, data-scope warnings, what validation does and does not establish, and whether the reading is new or a change from a prior one |
What one explanation looks like to software
Illustrative structure. Values in angle brackets are placeholders, not taken from a published artifact.
{
"interpretation": {
"hypothesis_id": "<explanation id>",
"claim": "<explanation text>",
"cited_evidence_ids": ["<evidence_id>"],
"terminal_outcome": "<terminal outcome>"
},
"confidence_calibration": {
"proposed_confidence_level": "<level>",
"applied_caps": ["<cap>"],
"confidence_level": "<level>"
},
"invalidation_conditions": [{
"condition": {
"evidence_id": "<evidence_id>",
"operator": "equals",
"expected_value": "<value>",
"persistence_periods": 2
},
"condition_type": "invalidating"
}]
}
Market research carries the same interpretations, invalidation conditions, and monitoring priorities, plus a narrative report and sector-level detail. For a single machine-readable reading, use market guidance.
How another application could use it
Test an idea against structure
Before recommending exposure, an investment agent checks whether its candidates' sectors
appear in sector.confirmed, and lowers conviction where breadth is
declining. The decision stays with the agent.
Watch what would change the reading
Store each week's invalidation conditions. When the next artifact is published, look up
each condition's evidence_id in its evidence list and test whether the
expected value has held for the stated number of periods.
Answer with cited evidence
A copilot answering "how healthy is this market?" can quote the research narrative with its evidence IDs and limitations attached, instead of generating unsupported commentary.
Testing an invalidation condition
def condition_met(condition, weekly_evidence):
"""weekly_evidence: one {evidence_id: value} dict per published week, oldest first."""
n = condition["persistence_periods"]
recent = weekly_evidence[-n:]
if len(recent) < n or condition["operator"] != "equals":
return False # not enough history, or an operator this sketch does not handle
return all(week.get(condition["evidence_id"]) == condition["expected_value"] for week in recent)
Evidence IDs name Intelligence Agent evidence fields. Their values are published in each
guidance artifact's evidence list. This sketch handles only the
equals operator; handle any other operator explicitly.
The reasoning method, and what is implemented today
The Agent follows a documented reasoning method that runs from evidence to a governing reading. The table separates the steps you can observe in published artifacts from steps that are documented but not yet operational.
| Step | Status | Where you see it |
|---|---|---|
| Evidence intake and validation | Implemented | Evidence IDs with values; validation_status; lineage and content hashes |
| Change detection | Implemented | Changes over recent weekly windows, reported as evidence |
| Competing explanations | Implemented | interpretations[], with addressed questions and cited evidence |
| Testing against supporting, limiting, and contradictory evidence | Implemented | Supporting and limiting evidence IDs, contradiction records |
| Rejecting explanations with stated reasons | Outcome-dependent | Each explanation carries a terminal outcome. When the evidence does not separate explanations, they are reported as tied rather than rejected |
| Confidence calibration | Implemented | confidence_calibration: proposed level, applied caps, final level |
| Invalidation conditions and monitoring priorities | Implemented | Machine-readable conditions with persistence periods |
| Governing reading and highest-value insight | Implemented | central_claim, highest_value_insight |
| Reasoning against the prior week's thesis | Documented, not yet operational | Published artifacts currently report no prior context; the free editorial preview shows prior_context_source: "none" in its run_context |
| Calibrating confidence with historical outcomes | Documented, not yet operational | Historical ST-IM Select outcome statistics are included in research as context only |
| News or macro narrative | Excluded by design | Stock Trends evidence leads; macro_context_role: "disabled" |
"Implemented" means the step's output is present in published artifacts. It is not a claim about predictive accuracy.
How an artifact reaches you
- Paid guidance and research artifacts are validated and explicitly promoted to
product_grade. Editorial previews require an owner-accepted editorial. Publication is owner-authorized; the Agent does not publish its own output automatically. - The API serves only exported artifacts that pass schema, content-hash, publication-status, and expiry checks, and it fails closed otherwise. Requests never trigger generation.
- A payment challenge is issued only when a valid artifact is available, so callers are not charged for a missing or invalid artifact.
- The envelope's
providerblock describes ST-IM, the inference provider whose outputs are part of the evidence. The artifact itself is produced by the Intelligence Agent.
Checking an artifact's content hash
Each envelope's content_hash is a SHA-256 over the stored envelope, excluding
the content_hash field itself, serialized as JSON with sorted keys, compact
separators, and UTF-8 text. You can apply the same procedure to the JSON the API returns:
import hashlib, json
def content_hash(envelope):
body = {k: v for k, v in envelope.items() if k != "content_hash"}
encoded = json.dumps(body, sort_keys=True, separators=(",", ":"),
ensure_ascii=False, default=str).encode("utf-8")
return "sha256:" + hashlib.sha256(encoded).hexdigest()
On 2026-11-04 this reproduced the published hash exactly from the API responses for the free
discovery and editorial preview artifacts, including the null values nested in
their payloads. A match is not guaranteed for every artifact: the API omits top-level
envelope fields whose value is null, while the hash covers the stored envelope.
If a recomputed hash differs, the response does not by itself show the content was altered.
Treat content_hash as the artifact's published identifier and compare it with the
value you recorded when you fetched the artifact.
What you receive
| Editorial preview | Market guidance | Market research | |
|---|---|---|---|
| Route | GET /v1/intelligence/editorial/latest/preview | GET /v1/intelligence/guidance/latestGET /v1/intelligence/guidance/{artifact_id} | GET /v1/intelligence/research/latestGET /v1/intelligence/research/{artifact_id} |
| Access | Free | Paid: Subscription · x402 · MPP | Paid: Subscription · x402 · MPP |
| Price | — | Live catalog, rule intelligence_guidance_latest / _by_id | Live catalog, rule intelligence_research_latest / _by_id |
| Contents | Title and opening excerpt of the latest available Stock Trends editorial | Central claim, evidence values, interpretations with confidence, invalidation conditions, monitoring priorities, provenance link to research | Narrative report, sector breadth and relative-strength detail, ST-IM Select concentration, cross-signal alignment, historical outcome context, caution flags, agent use cases, and the same interpretations, invalidation conditions, and monitoring priorities |
| Best for | People deciding whether to buy | Agents that monitor conditions or need one structured reading | Research assistants, analyst and editorial workflows |
- Published weekly.
latestreturns the most recent valid artifact, and{artifact_id}returns a specific one. - REST API only. Published research and guidance are not Remote MCP tools or resources.
- For a single machine-readable reading, use market guidance. Its central claim and interpretations come from the Intelligence Agent's reasoning record.
- Prices come from
GET /v1/pricing/catalog. Do not hard-code them.
What you can inspect for free
- Read a free preview
GET /v1/intelligence/editorial/latest/preview: the title and opening excerpt of the latest available Stock Trends editorial - See what is offered
GET /v1/intelligence/discovery: artifact types and access tiers (capability metadata, not current inventory) - Study the structureWhat an artifact contains: evidence, explanations, confidence, conditions, and provenance
- Check the inputsMarket structure and evidence: what the Agent's evidence measures and how the framework has been tested
- Price it
GET /v1/pricing/catalog, then calllatestwith your subscription key, x402 client, or MPP session
Example free preview response, trimmed (week ended 2026-10-30):
{
"artifact_type": "editorial_preview",
"publication_status": "publish_ready",
"weekdate": "2026-10-30",
"payload": {
"title": "Narrower Participation, Visible Leaders",
"excerpt": "The market’s problem is not a lack of leaders. It is that leadership is no longer enough to settle the argument. ..."
}
}
What not to infer
- Artifacts describe market structure. They are non-advisory and are not investment advice, price targets, or buy/sell instructions.
- A reading is not a forecast of market direction. A tie at low confidence is a legitimate outcome and is reported as one.
- Artifacts are weekly and describe their data week. They are superseded by later publications.
- Validation checks identity, content correspondence, and public safety. It does not certify analytical correctness.
- Historical outcome statistics included in research are context about the ST-IM Select universe, not a performance claim for any reading.