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.0-py3-none-win_amd64.whl (8.8 MB view details)

Uploaded Python 3Windows x86-64

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

Uploaded Python 3

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

Uploaded Python 3

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

Uploaded Python 3macOS 11.0+ ARM64

twf_cli-0.9.0-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.0-py3-none-win_amd64.whl.

File metadata

  • Download URL: twf_cli-0.9.0-py3-none-win_amd64.whl
  • Upload date:
  • Size: 8.8 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.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 8356eef88bef0f4cf3e430006da98090d36a4eb3d22909134e487cea104c9e50
MD5 cd7c46d64b9575cc4f43832987c305b4
BLAKE2b-256 59dac33f1e80e7152937fac860a7a86f69919a598e27f9733032c4b283d7bde5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for twf_cli-0.9.0-py3-none-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ae81e03ecf6cf1a7d7381087593489b4deab7abc91c8af791f9a729eee46328a
MD5 8edf7fb85b96bfa9788dffc799bf87b8
BLAKE2b-256 e726a1af2609fabf44eade933cb0e0a0dcafed91ac78230e26a44f055dbf1488

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for twf_cli-0.9.0-py3-none-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 acd6057c19771057de1a92e2ffe40750f68f341fb6229c29cff49c740f5da40e
MD5 32dfbdeb872e37a065d361358c7b7f56
BLAKE2b-256 39433b0bef02f65c0d75ea8ee9c75c9edf17d360b9aa56afb6824179da30c22f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for twf_cli-0.9.0-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 092deed0eaee7e9901145a6b1a98d528be7e0ad08b3993454d23e29dfa1e3580
MD5 1c20b75ffc2bb6752c3e82cd72c1e230
BLAKE2b-256 00d19dfc3a7bf96a0287b24aaa41a3948dff09c01dca3abf99808e540a790d95

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for twf_cli-0.9.0-py3-none-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 2aa80ce08fa28a3bfbdb5d157ab431a2f1e57ec94539133679a5e5ad09e0d2c4
MD5 b614a1357f0ed6eb8400604c4380a28e
BLAKE2b-256 f0f22347e6d9d6f724122a6d3314a9a69cd676150e7d510199d60f5ccf16349c

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