Skip to main content

Toolchain for designing and validating entire Temporal systems in .twf — CLI, language server, and MCP server.

Project description

twf-cli

The twf CLI for Python projects — design and validate entire Temporal systems in .twf, emit the deployment graph, and serve Language Server / MCP protocols. A thin wrapper around the bundled platform binary: same tool, same flags, same output as the standalone twf distribution, installable via pip. See the project README for the full picture (visualizer, skills, examples).

Install

pip install twf-cli
twf --help

The wheel for your platform ships the matching twf binary. Supported platforms (one wheel each):

Platform Wheel tag
macOS arm64 (Apple Silicon) macosx_11_0_arm64
macOS x64 (Intel) macosx_10_15_x86_64
Linux x64 manylinux2014_x86_64
Linux arm64 manylinux2014_aarch64
Windows x64 win_amd64

Use as an MCP server

Once installed:

{
  "mcpServers": {
    "twf": {
      "command": "twf",
      "args": ["mcp"]
    }
  }
}

Works in any MCP-compatible client (Claude Desktop, Cursor MCP, Continue, Windsurf, Zed). See the main project README for the full MCP feature surface.

Subprocess use from Python

import subprocess
import json

result = subprocess.run(
    ["twf", "parse", "workflow.twf"],
    capture_output=True,
    text=True,
    check=True,
)
ast = json.loads(result.stdout)

Versioning

Versions are synced to the upstream temporal-architect Git tag, so 0.3.x of this package corresponds to v0.3.x of the toolchain.

License

MIT. See LICENSE.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

twf_cli-0.9.2-py3-none-win_amd64.whl (8.9 MB view details)

Uploaded Python 3Windows x86-64

twf_cli-0.9.2-py3-none-manylinux2014_x86_64.whl (8.7 MB view details)

Uploaded Python 3

twf_cli-0.9.2-py3-none-manylinux2014_aarch64.whl (8.0 MB view details)

Uploaded Python 3

twf_cli-0.9.2-py3-none-macosx_11_0_arm64.whl (8.5 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

twf_cli-0.9.2-py3-none-macosx_10_15_x86_64.whl (9.0 MB view details)

Uploaded Python 3macOS 10.15+ x86-64

File details

Details for the file twf_cli-0.9.2-py3-none-win_amd64.whl.

File metadata

  • Download URL: twf_cli-0.9.2-py3-none-win_amd64.whl
  • Upload date:
  • Size: 8.9 MB
  • Tags: Python 3, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.6

File hashes

Hashes for twf_cli-0.9.2-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 dea26eb8bac9c14db9c0ebbbb82bcc0363c1b7ceabf6ef364f651b730be25d31
MD5 ca0ca973a4fb4b7377853b50684142f1
BLAKE2b-256 240c10e1b62a811d24e5b4aec0e8d024885c037e176e4b1e4e2d5f1e5b11e007

See more details on using hashes here.

File details

Details for the file twf_cli-0.9.2-py3-none-manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for twf_cli-0.9.2-py3-none-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e6dfda829185643861d677d7a22a1ed9b9dc0053ff234109387c89b189b99f4d
MD5 d5bafed6925f61072a65127cc6901545
BLAKE2b-256 f35f3c7ed0b746d83123397274c7207d7e37bd1942e57d299f8aacde66617f5a

See more details on using hashes here.

File details

Details for the file twf_cli-0.9.2-py3-none-manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for twf_cli-0.9.2-py3-none-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 e76e73c117433f708f427c542928ffb54c2907adcfe0b5a2756d63b69d1bb76f
MD5 f3449bdb4e49792cbdb9bde8c910dc65
BLAKE2b-256 9c80c2f0d6b5ed21b3e5dcc18d737298d0a0d1efc7efb3f30e9f61981ba7364f

See more details on using hashes here.

File details

Details for the file twf_cli-0.9.2-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for twf_cli-0.9.2-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 99e64d6092b2f5b787c8757b72e47a8e1b93ce8042d01882ea462acb3cf24d29
MD5 18100aea33d3fe96c4fa745794df0882
BLAKE2b-256 fc66551b52031ad5211cd14c3fcaf6dd4d8fd2538509bf0943dc889db0c77b1a

See more details on using hashes here.

File details

Details for the file twf_cli-0.9.2-py3-none-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for twf_cli-0.9.2-py3-none-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 c222b5c23c1f6b0793bfc8822a963a7cd3da7db73ee1d11bf1c05b83eff3b128
MD5 471e080a169dbb98ab7a551b795bf117
BLAKE2b-256 4d782b276d19ee8a35dada76b4390693477cfa2356c9071e45e303ce77722020

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page