Saltar al contenido principal

Documentation Index

Triple-axis table of contents for the AlphaSwarm docs.

Two entry points:

Both link back here.

Canonical runtime surfaces (May 2026)

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.mdactivealpha-swarm.ai green-lane validation + switch + rollback
Deployment artifacts../alphaswarm_platform/deployments/README.mdactiveCompose + Kubernetes manifests for current architecture
Operator UI../alphaswarm_client/README.mdactiveVite frontend is the primary UI
AlphaSwarm IDEalphaswarm-ide.mdactiveTheia 1.72 + 6 AlphaSwarm extensions + research copilot + notebook
Knowledge Baseknowledge-base.mdactivealphaswarm_kb boundary — KBRuntime + KBCorpusSpec + adapter trinity (HierarchicalRAG default, Cognee / Graphiti / Mem0 opt-in) + 4-scope KBLayerComposer + hybrid OpenFGA + OPA policy stack
KB federation gatewaykb-federation.mdactivealphaswarm_kb_federation — cross-silo marketplace recall reverse-proxy
AlphaSwarm IDE roadmapalphaswarm-ide-roadmap.mdactivePhased plan (Phase A shipped; B + C trigger-driven)
AlphaSwarm IDE CLI entrypoint../alphaswarm_cli/docs/index.mdactivealphaswarm-cli ide is the canonical IDE entrypoint
Repository split maprepository-split.mdmigrationDomain boundaries for future standalone repositories
Monorepo path contractalphaswarm-monorepo-paths.mdactiveCanonical paths for cross-repo references
Code index governancecode-index-governance.mdactiveAgent search/index workflow across split boundaries
Legacy Next.js UIwebui.mdrollbackKeep only for emergency rollback context
Legacy Solara UI../alphaswarm/ui/rollbackDeprecated runtime surface
Legacy k8s manifests../alphaswarm_platform/deploy/k8s/README.mdlegacyHistorical manifests; do not use for new rollouts
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 and human

  1. ../README.md — what AlphaSwarm is, screenshots, release notes.
  2. architecture.md — system map + request lifecycle.
  3. ../CONTRIBUTING.md — set up the dev environment.
  4. glossary.md — terms used everywhere.
  5. Pick a subsystem from the table 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. ../.cursor/rules/ — glob-scoped rule files.
  5. glossary.md — definitions.
  6. erd.md + class-diagram.md — structural maps.
  7. flows.md — end-to-end sequences.
  8. repository-split.md + code-index-governance.md — current repo boundary map.
  9. The relevant subsystem doc (table below).
  10. (Cross-session work) ../.agents/state-template.md.

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, data-plane.md, data-catalog.md, data-pipelines-hub.md, visualization-layer.md
Backtestbacktest-engines.md, hft-backtest.md, strategy-lifecycle.md
Optimal controloptimal-control.md, portfolio-options-mm.md, microstructure-toxicity.md
Agenticagentic-pipeline.md, providers.md
Botsbots.md (smallest deployable unit; aggregates universe + strategy + engine + ML + agents + RAG + metrics)
Paper / Livepaper-trading.md, live-market.md, streaming.md, streaming-admin.md
Cross-cuttingobservability.md, ../alphaswarm_client/README.md, webui.md (legacy), core-types.md, domain-model.md, alpha-vantage.md, credentials.md, cloud-credentials.md, identity.md, scim-provisioning.md, msal-entra-setup.md, multi-tenancy.md, kubernetes-adapter.md, kubernetes-rpi-deployment.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-dictionary.mdTable-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.mdFuture repository/domain boundary map
code-index-governance.mdAgent search and code-index rules

Data plane

DocPurpose
data-plane.mdProvider → cache → DuckDB view pipeline
data-catalog.mdIceberg catalog + ingest pipeline
data-self-service.mdMaster narrative for the four-phase self-service data fabric expansion
datasets-catalog.mdKedro-style BaseDataset abstraction (data fabric phase 0)
metadata-cache.mdRedis prefetch cache backing every entity dropdown (data fabric phase 0)
data-discovery.mdActive discovery browser unifying ingested + uningested catalog entries (data fabric phase 1)
airbyte-builder.mdSchema-driven Airbyte connector builder + AlphaSwarm Fetcher codegen (data fabric phase 2)
dagster-sandbox.mdEphemeral interactive Dagster + Airbyte sandbox console (data fabric phase 3)
visualization-layer.mdTrino-backed Superset and Bokeh exploration layer
pgvector-control-plane.mdpgvector control plane — data.vector.* MCP tools + PgVector dataset kind + alembic 0045 (Phase 3 refactor)
codebase-mcp.mdCodebase MCP server — agent view of the AlphaSwarm source tree via codebase.* tools (Phase 2 refactor)
sera.mdSERA (Ai2 Open Coding Agents) as an opt-in LLM provider for the codebase MCP elaborator (Phase 2.5 refactor)
analytics-frontend.mdInteractive analytics in the Vite frontend — QuantStats tearsheets / rolling / underwater / drawdown / ML overlays (Phase 4 refactor)
agent-watchdog.mdAgent stall watchdog Celery beat task + GET /agents/health + data.agents.health MCP tool (Phase 5 refactor)
alpha-vantage.mdAV provider quota + cache
streaming.mdKafka topic taxonomy + ingester layout
live-market.mdLive subscription + WebSocket relay

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.mdInitial MLOps service — agent-facing interfaces, lifecycle handlers, MLSkill spec/runtime, OOD rules, dedicated alphaswarm-ml-mcp server
backtest-engines.mdEngine catalogue + invariants (vbt-pro primary, event-driven, ZVT, AAT, fallback)
vbtpro-integration.mdDeep vectorbt-pro integration: modes, hooks, agent + ML components, 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.mdLucic-Tse 2024-2026 portfolio-level options market making
microstructure-toxicity.mdToxicity regime detection + agent-driven YAML mutation loop
strategy-lifecycle.mddraft → backtested → paper → live
strategy-browser.mdData-browser → strategy spec UX

Agentic

DocPurpose
agentic-development.mdAlphaSwarm's spec-pattern as the agentic-coder skill-artifact equivalent + consolidated ADLC security manifesto
multi-agent-patterns.mdSequential / Parallel / Debate / Coordinator / ReAct topologies mapped to alphaswarm/agents/graph/ + the seven orchestration adapter topologies
workflow-studio.mdAdditive orchestration control plane — WorkflowSpec + WorkflowRuntime + seven adapters + replayable runs
orchestration-refactor-rollout.mdOperator rollout / rollback runbook for every ALPHASWARM_ORCHESTRATION_* flag
agentic-pipeline.mdCrew control plane
providers.mdLLM provider registry + tier routing

Trading + operations

DocPurpose
paper-trading.mdSession loop + risk model
paper-metadata-gate.mdStrict startup metadata validation + operator runbook
bots.mdBot entity (TradingBot / ResearchBot), graphical builder, deployment
observability.mdOTEL → Jaeger + structured logs
../alphaswarm_client/README.mdActive Vite frontend route/model overview
webui.mdLegacy Next.js page tree (rollback only)

Latest changes

DocLast touched
data-catalog.mdPersistent host warehouse + Director
glossary.mdNew (covers Director, Iceberg conventions, tiers)
architecture.mdNew (replaces README ASCII art)
erd.mdNew (per-domain ERDs across 110+ tables)
class-diagram.mdNew (5 hierarchies)
data-dictionary.mdNew (15 sections)
flows.mdNew (5 flows)

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 repo paths from the doc: [alphaswarm/data/pipelines/director.py](../alphaswarm/data/pipelines/director.py). 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.