How authorsauravkushwaha/synthesis works
SYNTHESIS turns incoming observations into an evidence-carrying causal world model, then exposes impact analysis, hypotheses, forecasts, outcomes, and calibration through an API and web console. Its principal workflow runs from adapter proposals through world-state analysis to falsification and forecast scoring; federation adds signed peer exchange and review. The graph also includes security and independent clients. The source excerpts establish several key calls, while some detailed engine internals and runtime wiring were not shown; those relationships are omitted rather than inferred.
Main entry points: world.py Causal World Model · main.py API Gateway · federation.py Federation Node · ingest.py Live Adapters
Components 17
Evidence Ingestion
- Live Adapters
server/ingest.py
World Model
- Causal World Model
server/world.py - Evidence Chain
server/world.py - Impact and Hypotheses
server/world.py - Falsification and Watchpoints
server/world.py - Contradiction Engine
server/world.py - Forecasts and Calibration
server/world.py
API and Security
- API Gateway
server/main.py - Access and Audit
server/security.py
User Interfaces
- Web Console and PWA
web/app.js - Python SDK
sdk/python/synthesis_sdk/__init__.py - TypeScript SDK
sdk/typescript/synthesis-sdk.ts - Standalone Edition
standalone/synthesis.py
Federation
- Federation Node
server/federation.py
Other components
- Analyst
- Public Data Sources
- Peer Nodes
Connections 20
- Public Data Sources → Live Adapters: supply feeds
README.md - Live Adapters → Causal World Model: propose observations
server/ingest.py - API Gateway → Live Adapters: exposes status
server/main.py - API Gateway → Causal World Model: serves model data
server/main.py - Causal World Model → Evidence Chain: records evidence
server/world.py - Causal World Model → Impact and Hypotheses: builds analyses
server/world.py - Causal World Model → Falsification and Watchpoints: tracks falsifiers
server/world.py - Causal World Model → Contradiction Engine: resolves conflicts
README.md - Causal World Model → Forecasts and Calibration: scores forecasts
server/world.py - API Gateway → Federation Node: serves peer routes
server/main.py - Federation Node → Causal World Model: imports peer evidence
server/federation.py - Peer Nodes → Federation Node: exchange bundles
server/federation.py - Federation Node → Forecasts and Calibration: reprices peer trust
server/federation.py - API Gateway → Access and Audit: checks access
server/main.py - Access and Audit → Evidence Chain: reuses chain
server/security.py - Analyst → Web Console and PWA: uses console
README.md - Web Console and PWA → API Gateway: requests and streams
web/app.js - Python SDK → API Gateway: calls endpoints
sdk/python/synthesis_sdk/__init__.py - TypeScript SDK → API Gateway: calls endpoints
sdk/typescript/synthesis-sdk.ts - Standalone Edition → Evidence Chain: implements independent chain