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

Uploaded Python 3Windows x86-64

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

Uploaded Python 3

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

Uploaded Python 3

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

Uploaded Python 3macOS 11.0+ ARM64

twf_cli-0.9.1-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.1-py3-none-win_amd64.whl.

File metadata

  • Download URL: twf_cli-0.9.1-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.1-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 da49477fd27b2cb872a94f9eecc9fb4734b3f9f5137078b4187eb67f7590c343
MD5 807f007e13c8c0bcb4fc7dee4e85f9b7
BLAKE2b-256 2737da10fee304e84073d9601c9ad8fd6519ddd18236368861449ec90af17548

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for twf_cli-0.9.1-py3-none-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 7e6a61c327ed619763bad46bf7ae71c7b410551c592998f22ff49442ec52b775
MD5 dc7223b13e9c31c62340309f724698aa
BLAKE2b-256 eb5d5c33037dc819ac73f709ccd6b32363f8a2675634ca6d40532d276eead401

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for twf_cli-0.9.1-py3-none-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 2036bd845f440f1914f24905aaf37c77661929628dba853215a13b60314b980e
MD5 e23ca1360150f9ae3f3ef3ce0eea1e87
BLAKE2b-256 abe477c8bd328e5c70f38869f6af4fa0bd77013ac83e4c9c47b7dab2822527aa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for twf_cli-0.9.1-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c6b39718027c7a31cb63b32d5fd2c5f85a71566862e80dbeb166c2aa6695fb2e
MD5 c48ffa91600223b0aa5a1e9b5f8961e4
BLAKE2b-256 f0fe7584f6fb1efe5ed7e95f4c8d471eb373502125b8e6ef753851277737bca0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for twf_cli-0.9.1-py3-none-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 1604e58767997b14ca7b43d94adc9762d2e00411d40ad8cdab228347ecc54c4d
MD5 0d68894c77c6d56515830be0173603db
BLAKE2b-256 9a0ea3272f19c1749042a59d98e74dfc341f79c072480d2d1b23ff19cd6bf544

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