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

Uploaded Python 3Windows x86-64

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

Uploaded Python 3

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

Uploaded Python 3

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

Uploaded Python 3macOS 11.0+ ARM64

twf_cli-0.9.3-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.3-py3-none-win_amd64.whl.

File metadata

  • Download URL: twf_cli-0.9.3-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.3-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 b8a2173ae70638d035f054230d04be1b3cabf527b5a335a6e01b5bd8c459bcbe
MD5 88684d0d0783d09afa85a05dbe446357
BLAKE2b-256 be388a8b9045732d0e0658b7b77c59abb995ba2981ea2795c90dd25ff3e1143f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for twf_cli-0.9.3-py3-none-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 db69d041fa1c1567c99fae8d2874a1aaae935ecb15a0b233df3f2e4e04f4d3d9
MD5 9659020b9b201a1d4510635ea188ff5a
BLAKE2b-256 611013117f36fda12aca6f3405372736d06d65fbf9669e23e0029ea7a6146dc0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for twf_cli-0.9.3-py3-none-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 fb01aea54d02a913e74b29f1e87c01f95a4c8b8fe7cc999abb1d61f4ac584dd4
MD5 9d33b29905bbff04a17176a3f0ec0596
BLAKE2b-256 fbb2c16b9d5adb9fca2b7bf3f15feb3d18ee51db8428738eafbfca42183625ba

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for twf_cli-0.9.3-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 5dd52a3a7546f1c8ce02a754938b2bd2b3f52df110a25766e9f38cef68b983bf
MD5 ad39d50517b45b7da2949aef019683a8
BLAKE2b-256 7141247dbe2c714ce47b048ca59a960248c5fa77256c169aa191c416c2e4343c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for twf_cli-0.9.3-py3-none-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 23a17dd4f7ecd48f25d4a660586ac129d2198ce23ce179117f921df57080f48b
MD5 b72619fade4a261f5b9c755e12724ae4
BLAKE2b-256 9c2c615895369d233b50b02fb6ff6249fd86049650b3bf79b4c1a230c22f7ab3

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