Skip to main content

Main Sequence

Main Sequence TAU SDK

Run Tau as a workspace-native Main Sequence coding agent.

PyPI version Supported Python versions Quality checks PyPI publication Open issues

ms-tau-sdk packages the Tau runtime integration, Main Sequence authentication and transports, and durable agent-session machinery as a normal Python dependency. A project installs the SDK and runs it from its own workspace—there is no separate Astro image, executor overlay, or second deployment model.

Contract Value
PyPI distribution ms-tau-sdk
Python package ms_tau_sdk
Command ms-tau
Python entry point ms_tau_sdk.app:create_app
Required Python 3.13 or newer
Project customization Standard workspace .tau/ configuration

Quick start

Add the SDK to the project that will host the agent:

uv add ms-tau-sdk

Provide the runtime credential that Main Sequence assigned to the deployment:

export MAINSEQUENCE_BACKEND="https://api.main-sequence.app"
export MAINSEQUENCE_RUNTIME_CREDENTIAL_ID="<runtime-credential-id>"
export MAINSEQUENCE_RUNTIME_CREDENTIAL_SECRET="<runtime-credential-secret>"

Start the service from the project workspace:

uv run ms-tau

The credential pair is exchanged for short-lived Main Sequence access tokens. Do not commit it or place it in .tau configuration. For an embedded ASGI deployment, construct the same application in Python:

from ms_tau_sdk import create_app

app = create_app()

Workspace-owned Tau behavior

The consuming repository owns the effective Tau configuration. It can override the packaged Tau defaults and install project-specific tools through the normal .tau/ structure:

your-project/
├── .tau/
│   ├── SYSTEM.md
│   ├── settings.json
│   └── extensions/
├── pyproject.toml
└── uv.lock

Extensions run as project code in the same process and trust boundary as the rest of the repository. Optional capabilities such as general web access belong in a project extension; they are not bundled into the SDK. Main Sequence transport and protocol behavior remains SDK-owned.

Included capabilities

  • FastAPI application construction and lifecycle management
  • runtime-credential exchange and authenticated Main Sequence backend access
  • provider validation and credential hydration
  • durable Tau sessions, leases, restore, persistence, cancellation, eviction, and shutdown
  • sessionless Tau execution
  • chat, responses, SSE, A2A, health, and readiness transports
  • Main Sequence MCP and protocol-required task controls
  • packaged defaults that participate in Tau's normal workspace configuration

Deployment boundary

This repository publishes Python distributions only. It contains no Dockerfile, Compose stack, Kubernetes manifest, runtime image, executor bundle, or container-publication pipeline. The consuming project owns its dependency lock, deployable artifact, system dependencies, project code, prompts, skills, hooks, and extensions.

The project identity and migration are defined by ADR 56. See the quickstart, documentation index, and release guide for the complete contracts.

Development

The repository uses Python 3.13 and uv:

uv sync --frozen
uv run pytest
uv run ruff check .
uv run mypy

Releases are immutable and tag-driven. Pushing a tag that exactly matches the package version—for example, v1.0.0—builds and verifies the wheel and source distribution, then publishes them to PyPI through OIDC trusted publishing. No PyPI API token or container registry is involved.

Built on Tau

Tau

Main Sequence TAU SDK integrates the open-source Tau coding agent into the Main Sequence platform while preserving Tau's workspace-native configuration and extension model.

Release files for ms-tau-sdk 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ms-tau-sdk 1.0.0
File Size Uploaded
ms_tau_sdk-1.0.0.tar.gz 81.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ms-tau-sdk 1.0.0
File Interpreter ABI Platform
ms_tau_sdk-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 181.9 kB

Release files / ms_tau_sdk-1.0.0.tar.gz

Download URL ms_tau_sdk-1.0.0.tar.gz
Size 81.0 kB
Tags Source
SHA-256 checksum
How to use checksums
c77c8bfe034c6f540c5950cd5b680a98bc124efe14b12899475f7a4088c39b9a
BLAKE2b-256 checksum
How to use checksums
d0b334dce5c1cea40efad4fe0537e0caebfede7bc8c48745eea209860f0075b7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 16, 2026.

Transparency log

Release files / ms_tau_sdk-1.0.0-py3-none-any.whl

Download URL ms_tau_sdk-1.0.0-py3-none-any.whl
Size 100.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
68a2ff242adbdc2e9e8c52fef582cb83af6d9b21ec8fe9dd1b9c8afd8a1f6182
BLAKE2b-256 checksum
How to use checksums
818909bd0e9c6273c1fc29c29ef186cbebd73b55b6fa81ec6afded16900c5df1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 16, 2026.

Transparency log

Release history Release notifications | RSS feed

2.0.0

2 release files

1.2.5

2 release files

1.2.4

2 release files

1.2.3

2 release files

1.2.2

2 release files

1.2.1

2 release files

1.2.0

2 release files

1.1.1

2 release files

1.1.0

2 release files

This release

1.0.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page