3I-ATLAS

3I-ATLAS Documentation

Point-in-time market intelligence: captured evidence, versioned features, expectations, forecasts, scenario labs and Gym benchmarks. This page is public; signing in is only required for the console and the API.

Quick start API & auth Console Datasets & exports Scenario lab Gym & agents Options (N07.1) Alerts & status

Quick start

  1. Sign in to the console with Google at /console/. The sign-in page is the only entry point; sessions are opaque tokens held in the browser.
  2. Open World state for a point-in-time snapshot of domains, events and features.
  3. Use Forecasts for issued quantile bands, Datasets to preview and export chunks, and Scenario lab to run shocks through the Gym.
# API access
export ATLAS_API_BASE=https://api.3i-atlas.dev
export ATLAS_API_TOKEN=<operator token or organization API key>
curl -H "Authorization: Bearer $ATLAS_API_TOKEN" \
  "$ATLAS_API_BASE/v1/domains"

API & authentication

All data endpoints under /v1 require a bearer token. /health, this documentation site and the marketing site are public. The OpenAPI description is available at api.3i-atlas.dev/docs.

Browser sessions

Google sign-in returns an opaque atlas_sess_… token in the URL fragment; the console stores it in localStorage and sends it as a bearer token.

Organization API keys

Create scoped keys (read, write, admin) in the console Account view. Keys are shown once; only their hash is stored.

Operator token

The environment token used by scheduled jobs and operations. Never expose it in client code.

# core endpoints
GET  /v1/domains                         # tracked domains + benchmark tickers
GET  /v1/events?as_of=<iso>&domain=…      # event revisions known as of a moment
GET  /v1/features?scope=domain&entity_key=copper
GET  /v1/forecasts?domain=copper&horizon=5
GET  /v1/signals/options                 # N07.1 options subfamily
GET  /v1/datasets                        # dataset catalogue
GET  /v1/datasets/{id}/preview?domain=&known_before=&limit=
POST /v1/exports                         # filtered CSV/Parquet + signed URL

Console

World state

Domains with a point-in-time risk badge (option-implied ATM IV), latest events and the feature chips for the selected domain.

Sentiment dynamics

PCA composite bubbles: height is the signed score, the outer ring is option-implied risk (nondirectional). Click a bubble for drivers and an event for evidence quotes.

Forecasts

Champion quantile bands per horizon plus the scored ledger when outcomes realise.

Benchmarks

Gym task list and recent episodes with metrics.

Datasets & exports

Seven point-in-time products are exposed: documents, events, domain features, expectations, outcome labels, forecasts and PCA composites.

# Preview a filtered chunk
GET /v1/datasets/domain_features/preview?domain=copper&known_after=2026-11-01&limit=50

# Create a filtered export and download the signed link
POST /v1/exports
{"dataset_id":"domain_features","format":"csv","domain":"copper","limit":5000}
GET    # HMAC-signed, expires after the export TTL

Exports record their filter set, row count and SHA-256 in atlas.export; the download URL can be shared without the bearer token until it expires.

Retention: export bundles are stored in private object storage for 24 hours; the presigned download link expires after 15 minutes. Download promptly — after the bundle expires, create a new export. Raw evidence (source payloads) is archived immutably and retained indefinitely.

Forecast benchmark

The selected champion model is treated as one contender and compared with two frozen baselines on identical walk-forward folds: zero forecast (all quantiles 0) and HAR-RV (HAR-style regression on daily/weekly/monthly squared returns, converted to p10/p50/p90 return quantiles). The report gives per domain-horizon pinball/coverage and relative skill; the console shows champion/zero/HAR lines.

Champion policy: only learned models compete with each other; zero and HAR-RV are reference baselines, not promotion gates and never champions. Current aggregate: 51 domain-horizon units, 46,503 evaluated rows; champion pinball 0.02349 vs zero 0.01938 and HAR-RV 0.01293. The learned champions currently lose to both baselines (zero wins 41/51 units, HAR wins 51/51); that is recorded honestly for the next feature/model iteration rather than hidden behind a baseline gate.

Hidden holdout benchmarks

Official Gym benchmarks use server-side holdout seeds and carry visibility=official. Their seeds and scenario are hidden from the public registry (only episode_count is exposed), and evaluation reports return aggregate metrics with episodes_hidden=true — per-episode traces and seed labels are withheld. Public benchmarks stay fully inspectable for development.

Launch official benchmarks: analyst_forecast_copper_official_v1 and portfolio_allocator_it_official_v1. The Gym reference set also includes a General LLM marker for V1 demos (GLM + DeepSeek combination, with provider fallback under rate limits); more benchmarking models are coming soon.

Scenarios, runs and datasets API

The full v3 REST inventory is live: immutable scenario versions, simulation timeline/state/artifact/cancel endpoints, dataset detail and schema versions, matured outcomes, point-in-time feature batch queries, bounded graph path queries and organization member management. Operators also get /v1/health and /v1/openapi.json.

The post-v3 desktop shell (`atlas-desktop-shell`) hosts this console/API in a sandboxed Electron window and ships no legacy local engine or provider secrets.

Graph-native query

The console has a Knowledge graph tab and POST /v1/kg/query. It links entities from the question, walks Atlas relations plus event/entity/domain/evidence links for 1–3 hops at a point-in-time cutoff, and returns the subgraph, events, domains and explicit evidence citations. Ask Atlas also uses this as a built-in kg_query tool.

Raw document and event merging is evidence-preserving: same-source documents dedupe by provider id/URL; event writes merge same-type events within one hour when entities/KG and headlines overlap, and official sources can supersede the current claim through normal revisions.

Ask Atlas (built-in-tools chat)

Ask Atlas conversations are saved server-side (sessions + messages per owner), and retrieval now combines keyword/embedding hybrid search over documents and events with explicit evidence citations. The console has an Ask Atlas tab: a V1 multi-turn assistant that answers from Atlas's own event/KG, point-in-time features, forecasts and canonical prediction markets. It uses only server-side built-in tools (parameterized retrieval, no arbitrary SQL and no live web access); if the LLM provider is unavailable it falls back to deterministic retrieval and labels the answer accordingly. MCP/tool plugins are planned after V1.

Python SDK & local harness

atlas-gym-sdk is a standalone installable package (no Atlas-internal imports), currently in beta demo V1. It provides the auth/data client, the Gym agent contract (reset → act → step → finish), remote benchmark evaluation helpers and a deterministic local replay harness.

pip install https://api.3i-atlas.dev/v1/gym/downloads/atlas_gym_sdk-0.1.0-py3-none-any.whl

from atlas_gym_sdk import AtlasClient
client = AtlasClient.from_env()                 # ATLAS_API_BASE / ATLAS_API_TOKEN
task = client.gym.get_task("analyst_forecast_v1")
session = client.gym.create_session(task, scenario_dict, seed=42)
obs = session.reset()
while not obs.terminated:
    obs = session.step({"p10": -0.02, "p50": 0.0, "p90": 0.02})
print(session.finish().metrics)

Official PyPI publication is planned after V1; the hosted wheel is the supported beta distribution.

The package is also bundled in the Gym starter pack. A replay bundle can be built with client.build_replay_bundle(run_id, task_id=...) and run offline with LocalReplayHarness; the local harness matches server analytics on the same bundle (verified). Hidden holdout benchmarks must still stream observations from the server.

Remote agent evaluations (Colab/SDK)

Agents can run on your own machine, Colab or CI while Atlas owns the hidden world and scoring. Start with POST /v1/gym/benchmarks/{id}/evaluations/remote, then loop GET /v1/gym/evaluations/{id}/observation / POST /v1/gym/evaluations/{id}/step with idempotency keys until the episode completes, and read GET /v1/gym/evaluations/{id}/report. No executable code is uploaded; the server never sends outcome labels or other episodes' data.

Uploading a fitted forecast model directly is coming soon (the console shows a disabled upload button for V1). Today you can use the Gym API/SDK or submit action traces.

Benchmarks & leaderboard

The Gym ships a frozen benchmark registry: each benchmark fixes a task, replay scenario, episode seeds, evaluator version, reference baselines and scoring metric. GET /v1/gym/benchmarks lists them; POST /v1/gym/benchmarks/{id}/evaluations evaluates a built-in baseline or a submitted action trace over every episode; GET /v1/gym/leaderboard?benchmark_id=... returns the best result per agent. Launch benchmarks: copper quantile forecast (pinball) and IT portfolio allocator (net return after 5 bps costs).

Storage, retention & limits

Raw source evidence is archived immutably in S3-compatible object storage (Cloudflare R2) and retained indefinitely. Export bundles are stored privately for 24 hours; the download link itself is a 15-minute presigned URL. After a bundle expires, create a new export.

The R2 free tier includes 10 GB-month of storage (egress free). Atlas tracks bucket usage after every upload/delete and emails the operator when usage crosses 9 GB (approaching the limit) and again at 10 GB (free quota used up; billing starts at $0.015 per GB-month for the overage, with the estimated monthly charge in the alert). Operators can read current usage from GET /v1/admin/storage/usage.

Prediction markets

Market Expectations ingests two prediction-market sources: Kalshi (exchange API) and Polymarket (public Gamma API). Each captured contract keeps its source, and recognised events get a primitive canonical key (event family + expiry month + threshold). When both venues quote the same canonical event, L2B deduplicates them into a single liquidity-weighted probability instead of summing correlated forecasts; per-source contracts and quotes remain available for audit.

GET /v1/prediction-markets returns the deduplicated canonical events with source list, probability, dispersion, open interest and volume.

Scenario lab

Scenarios are JSON documents with a base domain/date/mode plus scheduled shocks. Modes: historical_overlay (explicit effects, rest of the world stays historical) and replay (no intervention events).

POST /v1/scenarios/validate
POST /v1/simulation-runs                 # persists the run + step timeline
GET  /v1/simulation-runs/{run_id}        # manifest, metrics, steps, injected shocks

Shock types: market_override, feature_override, options_iv_override, options_skew_override, news_release. Synthetic overlays are labelled in the observation stream and never rewrite the historical baseline.

Gym & agents

Two launch tasks: analyst_forecast_v1 (p10/p50/p90, pinball) and portfolio_allocator_v1 (long-only weight, net return). Create a session from a scenario, then reset/step/finish and read the trace.

POST /v1/gym/sessions {task_id, scenario, seed}
POST /v1/gym/sessions/{id}/step {"action": {"weight": 0.5}}
POST /v1/gym/sessions/{id}/finish
POST /v1/agent-runs {task_id, agent_name, agent_version, metadata}
POST /v1/agent-runs/{run_id}/metrics

Agent runs are external registrations; an official benchmark requires replaying the same policy through the Gym.

Download the Gym starter pack (.zip) — trainable demo agent, REST client, train/run/register CLI, tests and README. No login required.

Options market signals (N07.1)

Options are a Numerical Intelligence subfamily, not a separate node. L1 captures licensed chains with open interest and greeks; features are nondirectional risk/uncertainty signals and never signed sentiment.

GET /v1/signals/options
GET /v1/options/underlyings
GET /v1/options/feature-definitions

Features: ATM IV and changes, 25-delta skew, IV minus realised vol, IV term slope, put/call volume and open-interest change. A subset flows to Market Expectations with an explicit risk-neutral label. Research-only: risk-neutral tail probability (disclosed lognormal model, never a production feature).

Alerts & status

Operational alerts are sent from Atlas API <[email protected]> through Resend to the configured recipients. Jobs record durable rows in atlas.job_run; the API health endpoint is /health.

Questions or access: [email protected].