Skip to content

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:

  1. rapidly build and deploy data products and data workflows as a unified API with a normalized structure through DataNodes
  2. rapidly deploy RBAC-enabled dashboards on the platform
  3. 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 workflows
  • mainsequence.client: API client models for projects, jobs, tables, assets, and sharing
  • mainsequence.virtualfundbuilder: portfolio construction and portfolio time series workflows
  • mainsequence.instruments: pricing-oriented market data and instrument tooling
  • mainsequence.dashboards.streamlit: reusable Streamlit scaffolding and helper components
  • mainsequence.cli: the mainsequence command-line interface

If you are new here

The fastest onboarding path is usually:

  1. create a project
  2. build your first DataNode
  3. understand RBAC and shared resources
  4. schedule jobs
  5. expose the result through dashboards or downstream readers

That sequence is exactly how the tutorial is structured.