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

Uploaded Python 3Windows x86-64

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

Uploaded Python 3

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

Uploaded Python 3

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

Uploaded Python 3macOS 11.0+ ARM64

twf_cli-0.10.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.10.0-py3-none-win_amd64.whl.

File metadata

  • Download URL: twf_cli-0.10.0-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.10.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 fe525ba67425fac429fc9fe2a0e3f16171cd1ebb194e3ad41920d1d63c8c39ee
MD5 e11538d36b23b43301a75c5d7c234874
BLAKE2b-256 825a4ffd9c5e5f502b50484b94e63e8bb2feb674b7e7d85a21b784abef9920b7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for twf_cli-0.10.0-py3-none-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b0ae77f32033b547ba35687e45d8710a10cc985a8dc1b660f4f6a38e28168fbd
MD5 04089857fcc783e620e8cf2b231bbc31
BLAKE2b-256 eb02f7432d1277f9ac1d3ba6432e45c8649b90c369240362a2fa149720074db4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for twf_cli-0.10.0-py3-none-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 a204ecea078f395f0d2884ffd643e4f8e3c1c262deb5ec183b92efd61e2cc1f7
MD5 fb8d118cbc52fa86b9220ae42bd42c4b
BLAKE2b-256 d5542d19538ef67f5cff2dfb32db93c50f6dbafa2d5a528203e688e8b33d9bd2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for twf_cli-0.10.0-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 7f2a1adf9e937f1df31b4b8aee000836572c1763e66f1637b050b7f0778169f8
MD5 a7771b8691779336ff91e7f713916fb0
BLAKE2b-256 b8ff6d869e3572ef160c5835199b5baac9e3a56fc9d67bbdf46d9493dc579dc3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for twf_cli-0.10.0-py3-none-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 66f57640d57a32ddfeee88fe2a71c9393d14078f8c5ef5fbe83ea33afe315835
MD5 4cc64a912125835d3201136768e2b116
BLAKE2b-256 81fefa7bffe3f22ce9721db55ca6e2e29c4a750d4808337a73d443006546c029

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