Skip to content

Main Sequence Documentation

Main Sequence is a platform for building and operating CodeRepositories, jobs, APIs, Agents, and reusable platform resources. The Python SDK provides the authentication, client models, CLI workflows, Git-native source context, observability, instrumentation, and scaffold utilities used by those workflows.

MetaTables is an independent domain package, installed as mainsequence-metatable and imported as metatables. The SDK documentation keeps the extraction history and migration boundary, while current table implementation guidance belongs to that package.

Choose A Reading Path

Knowledge

Use the knowledge guides for platform concepts and end-to-end behavior:

CLI

Use the CLI overview for authentication, Agents, CodeRepositories, jobs and runs, images, resources and releases, access policies, scaffold maintenance, Docker, and local-development commands. The installed mainsequence --help output is authoritative for the installed SDK version.

Reference

Use the generated API reference when you need exact Python classes, methods, parameters, or return types.

Architecture And Migrations

The beginner tutorial is maintained in its own self-contained CodeRepository. This repository remains the source of truth for SDK APIs, CLI behavior, architecture decisions, and generated reference documentation.