Skip to main content

Documentation Index

The map for the AlphaSwarm docs. Pick your entry point:

Three entry points:

All link back here.

Current deployment version: 0.1.0-alpha.1 — the shipped Kubernetes / topology label (AGENTS hard rule 65). Package versions on individual sibling repos may differ. Details: Release notes.

How the docs are organized​

The site follows the Diátaxis layout — knowing which section you're in tells you what kind of page to expect:

SectionQuestion it answersCharacter
Get started"Where do I begin?"Orientation: overview, quickstart, glossary, conventions
Tutorials"Teach me by doing"Runnable, learning-oriented walkthroughs
How-to"How do I accomplish X?"Task recipes, operations guides, runbooks
Concepts"How does X work and why?"Explanations of the systems
Reference"What exactly is the contract?"APIs, Python packages, data dictionary
Architecture"What was decided and why?"ADRs, RFCs, plans, safety runbooks
Changelog"What changed recently?"Dated engineering changes + recently-added docs

What's new (August 2026)​

The July–August development push is summarized in the 2026-08-13 changelog. New concept pages:

TopicPage
Honest promotion statistics (trial ledger, evidence bundle)Promotion evidence
HITL approvals + TTL expiryApproval queues
Order-latency measurementSix-clock latency
Vendor-agnostic market data + BYOKMarket-data vendors
Kafka schema + addressing governanceStreaming governance
Named business metrics (in development)dbt semantic layer
Interactive Dagster sandbox isolationDagster sandbox
Production Dagster Definitions + instance configDagster operations
First-class module program (ADRs 033–039)Transformation plan

Canonical runtime surfaces​

SurfaceCanonical pathStatusNotes
Local setup + runoperations/local-setup.mdactiveDefault entry point for local development
Kubernetes rolloutoperations/kubernetes-deploy.mdactiveProduction-oriented deployment path
Tower 2-node rolloutoperations/tower-cluster-deploy.mdactiveDedicated tower+laptop target bootstrap path
AlphaSwarm blue/green cutoveroperations/alphaswarm-fund-blue-green-cutover.mdactiveGreen-lane validation + switch + rollback
Deployment artifactsalphaswarm_platform/deploymentsactiveCompose + Kubernetes manifests in the sibling alphaswarm_platform repo
Operator UIalphaswarm_client READMEactiveVite frontend is the primary UI (sibling repo)
AlphaSwarm IDEalphaswarm-ide.mdactiveTheia-based IDE + AlphaSwarm extensions + research copilot
Knowledge Baseknowledge-base.mdactivealphaswarm_kb boundary — KBRuntime + adapter trinity + 4-scope KBLayerComposer
KB federation gatewaykb-federation.mdactiveCross-silo marketplace recall reverse-proxy
First-class module transformationtransformation planphase 1 landedPublic domain/application kernel facade (ADRs 033–039)
Sibling-repo path contractalphaswarm-monorepo-paths.mdactiveCanonical paths across sibling repositories
Code index governancecode-index-governance.mdactiveAgent search/index workflow across split boundaries
Repository split maprepository-split.mdexecutedDomain boundaries for standalone sibling repositories
Legacy Next.js UIwebui.mdrollbackKeep only for emergency rollback context
Archived planning/audit docsarchive/README.mdarchiveHistorical context only; not operational guidance

Operational snippet catalog​

Reusable commands that are valid against the current repository layout:

# Generate local config from schema
make generate-config ENV=local

# Start the local workload stack
make dev

# Start the isolated admin/control-plane stack
make dev-admin

# Deploy current dev overlay to Kubernetes
make deploy-k8s ENV=dev

By audience​

I'm new or non-technical​

  1. What is AlphaSwarm? — the platform in plain English: lifecycle, safety model, who does what.
  2. Glossary — plain-English basics — the trading and platform vocabulary.
  3. Recently added — what's new on the docs site.

I'm an engineer​

  1. README — what AlphaSwarm is, screenshots, release notes.
  2. architecture.md — system map + request lifecycle.
  3. Quickstart — dev stack to green backtest.
  4. CONTRIBUTING — set up the dev environment.
  5. glossary.md — terms used everywhere.
  6. Pick a subsystem from the tables below.

I'm an AI agent​

  1. AGENTS.md — terse rule-set + project map.
  2. WORKFLOW.md — Plan / Act / Reflect cadence, FAST vs SLOW modes, intervention nodes.
  3. agentic-development.md — spec-pattern as the AlphaSwarm skill-artifact + ADLC security manifesto.
  4. glossary.md — definitions.
  5. erd.md + class-diagram.md — structural maps.
  6. flows.md — end-to-end sequences.
  7. repository-split.md + code-index-governance.md — current repo boundary map.
  8. The relevant subsystem doc (tables below).

By lifecycle stage​

StageDocs
Researchstrategy-development.md, research-papers-rag.md, analysis-framework.md, analysis-lab.md, analysis-flows.md, factor-research.md, ml-framework.md, ml-libraries.md, ml-alpha-backtest.md, ml-flows.md, ml-preprocessing-pipeline.md, ml-builder.md, ml-testing.md, rl-framework.md, rl-lab.md, rl-components.md, rl-iceberg.md, strategy-browser.md
Backtestbacktest-engines.md, hft-backtest.md, strategy-lifecycle.md
Optimal controloptimal-control.md, portfolio-options-mm.md, microstructure-toxicity.md
Agenticagentic-pipeline.md, agents.md, multi-agent-patterns.md
Botsbots.md (smallest deployable unit; aggregates universe + strategy + engine + ML + agents + RAG + metrics)
Promotionpromotion-evidence.md, approval-queues.md, Promotion Gates API
Paper / Livepaper-trading.md, paper-metadata-gate.md, market-data-vendors.md, streaming-governance.md
Cross-cuttingobservability.md, six-clock-latency.md, core-types.md, domain-model.md, credentials.md, cloud-credentials.md, identity.md, multi-tenancy.md, kubernetes-adapter.md, local-platform.md, terraform-control-plane.md, iac-runbook.md

By subsystem​

Architecture + reference​

DocPurpose
architecture.mdSystem component diagram + request lifecycle
erd.mdPer-domain entity-relationship diagrams
class-diagram.mdClass hierarchies (Symbol, LLMProvider, Strategy, Engines, Pipeline)
Data dictionaryTable-by-table column reference
flows.mdSequence diagrams for ingestion / backtest / agents / paper
glossary.mdProject-specific terminology
domain-model.mdNarrative on the domain types
core-types.mdSymbol, enums, dataclasses
repository-split.mdExecuted sibling-repo / domain boundary map
code-index-governance.mdAgent search and code-index rules

Data plane​

DocPurpose
market-data-vendors.mdVendor homes + BYOK credential resolution
dagster.mdProduction Dagster Definitions, validate gate, two code locations, instance yaml
dagster-sandbox.mdPer-session Dagster + Airbyte sandbox isolation
streaming-governance.mdKafka wire framing, schema manifest, catalog-first addressing
dbt-semantic-layer.mdNamed business metrics catalog (in development)
connector-control-plane.mdGoverned connector onboarding
layer-composition.mdHow data layers stack
pgvector-control-plane.mdpgvector control plane — data.vector.* MCP tools
memory-engines.mdAgent memory backends
rag.mdRetrieval-augmented generation baseline
research-papers-rag.mdResearch-paper corpus + retrieval

Knowledge base + graph​

DocPurpose
graph-data-pillar.mdThe governed graph plane (ADR 032)
knowledge-base.mdalphaswarm_kb boundary + runtime
knowledge-graph.mdGraph construction + queries
finance-knowledge-graph.mdFinance-domain graph schema
bi-temporal-graph.mdBitemporal vocabulary
learning-service.mdLearning-service graph layer
kb-runtime.md, kb-permissions.md, kb-federation.md, kb-silo-iac.mdKB runtime, policy, federation, and IaC

Strategy + ML​

DocPurpose
analysis-framework.mdHash-locked AnalysisSpec + AnalysisRuntime umbrella
analysis-lab.mdHybrid /analysis/lab UI (dataset-tabs + XYFlow Composer)
analysis-flows.mdPer-flow reference for the analysis catalog
factor-research.mdBuilding factor / alpha strategies
ml-framework.mdTrain → register → deploy → score
ml-libraries.mdPer-library reference (TF/Keras/Prophet/sklearn/PyOD/sktime/HF)
ml-alpha-backtest.mdAlphaBacktestExperiment orchestrator + MLAlphaBacktestRun schema
ml-flows.mdLightweight workbench flows catalog
ml-preprocessing-pipeline.mdML preprocessors as data-engine pipeline nodes
ml-builder.mdGraphical experiment builder UX
ml-testing.mdInteractive ML testing workbench
mlops-service.mdMLOps service — lifecycle handlers, MLSkill spec/runtime, alphaswarm-ml-mcp
backtest-engines.mdEngine catalogue + invariants (vbt-pro primary, event-driven, ZVT, AAT, fallback)
vbtpro-integration.mdDeep vectorbt-pro integration: modes, hooks, walk-forward
hft-backtest.mdhftbacktest-driven LOB engine, LobStrategy API, latency / queue models
optimal-control.mdJAX-compiled HJB solvers — Avellaneda-Stoikov + Cartea-Jaimungal-Penalva
portfolio-options-mm.mdPortfolio-level options market making
microstructure-toxicity.mdToxicity regime detection + agent-driven YAML mutation loop
strategy-lifecycle.mddraft → backtested → paper → live
promotion-evidence.mdTrial ledger + evidence bundle + gate chain
strategy-browser.mdData-browser → strategy spec UX

Agentic​

DocPurpose
agentic-development.mdAlphaSwarm's spec-pattern + consolidated ADLC security manifesto
multi-agent-patterns.mdSequential / Parallel / Debate / Coordinator / ReAct topologies + the seven orchestration adapter topologies
workflow-studio.mdAdditive orchestration control plane — WorkflowSpec + WorkflowRuntime + replayable runs
orchestration-refactor-rollout.mdOperator rollout / rollback runbook for every ALPHASWARM_ORCHESTRATION_* flag
agentic-pipeline.mdCrew control plane
agents.mdThe agent taxonomy

Trading + operations​

DocPurpose
paper-trading.mdSession loop + risk model
paper-metadata-gate.mdStrict startup metadata validation + operator runbook
approval-queues.mdHITL approval queues + TTL expiry
bots.mdBot entity (TradingBot / ResearchBot), graphical builder, deployment
observability.mdOTEL → Jaeger + structured logs
six-clock-latency.mdOrder-latency clocks + Grafana dashboard
webui.mdLegacy Next.js page tree (rollback only)

Doc conventions​

  • Mermaid is the diagram format. GitHub renders it natively. Don't commit PNG/SVG diagrams unless they're irreplaceable.
  • Cross-link with relative markdown paths (for example, bar.md) so the navigation works on GitHub and locally.
  • Cite code with full GitHub URLs (https://github.com/Alpha-Swarm-ai/alphaswarm/blob/main/...). Don't link to specific line numbers (they bit-rot fast).
  • Keep it short — narrative goes in subsystem docs, definitions in glossary.md, structure in erd.md / class-diagram.md. Don't repeat yourself.
  • Start with plain English — every concept page opens with a paragraph a non-specialist can follow before diving into mechanism.