Main Sequence Documentation
Main Sequence is a platform for building data products, deploying workflows, and exposing them as reusable platform resources.
The Main Sequence platform allows you to:
- rapidly build and deploy data products and data workflows as a unified API with a normalized structure through
DataNodes - rapidly deploy RBAC-enabled dashboards on the platform
- rapidly deploy agents using the Google Agent SDK
The key idea is that you can focus on development and deployment, while the platform handles the DevOps layer.
Choose a reading path
Tutorial
Use the tutorial if you want a guided path from project setup to data nodes, orchestration, markets workflows, and dashboards.
The main tutorial path is intentionally CLI-only. A separate GUI tutorial will live under docs/tutorial_gui/.
Recommended starting points:
Knowledge
Use the Knowledge section if you already know the workflow you are building and want the deeper conceptual guide.
Key entry points:
CLI
Use the CLI section for command-focused operational work:
Reference
Use the generated reference when you need the API surface directly:
What this SDK covers
The SDK is organized around a few main areas:
mainsequence.tdag:DataNodes, persistence, orchestration, and update workflowsmainsequence.client: API client models for projects, jobs, tables, assets, and sharingmainsequence.virtualfundbuilder: portfolio construction and portfolio time series workflowsmainsequence.instruments: pricing-oriented market data and instrument toolingmainsequence.dashboards.streamlit: reusable Streamlit scaffolding and helper componentsmainsequence.cli: themainsequencecommand-line interface
If you are new here
The fastest onboarding path is usually:
- create a project
- build your first
DataNode - understand RBAC and shared resources
- schedule jobs
- expose the result through dashboards or downstream readers
That sequence is exactly how the tutorial is structured.