Skip to main content

CLI host for ACT (Agent Component Tools) WebAssembly components

Project description

act-cli

CLI and reference host for ACT — loads .wasm ACT components and serves them over HTTP or MCP (stdio).

Usage

act serve <component.wasm> [-l [::1]:3000]
act call <component.wasm> <tool-name> [--args '{}'] [-c '{}']
act mcp <component.wasm> [-c '{}'] [--config-file config.json]
act info <component.wasm>
act tools <component.wasm> [-c '{}']

Set RUST_LOG=act_cli=debug for verbose output.

Commands

Command Description
serve Start ACT-HTTP server for a component
call Call a tool directly, print result to stdout
mcp Serve component as MCP server over stdio
info Show component name, version, description, capabilities
tools List tools exposed by a component

HTTP Endpoints (serve)

Method Path Description
GET /info Component metadata
GET /config-schema JSON Schema for config (204 if none)
GET /tools List tools
POST /tools/{name} Call a tool

Building

cargo build --release

Architecture

main.rs     CLI (clap) → subcommands (serve, call, mcp, info, tools)
runtime.rs  wasmtime engine, component instantiation, actor pattern
http.rs     axum routes, ACT-HTTP request/response handling
mcp.rs      MCP JSON-RPC over stdio

The host uses an actor pattern: a single tokio task owns the wasmtime Store and component instance, receiving requests over an mpsc channel. This ensures single-threaded access to the Wasm component while allowing concurrent HTTP handling.

Project details


Download files

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

Source Distribution

act_cli-0.3.1.tar.gz (62.5 kB view details)

Uploaded Source

Built Distributions

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

act_cli-0.3.1-py3-none-win_arm64.whl (11.6 MB view details)

Uploaded Python 3Windows ARM64

act_cli-0.3.1-py3-none-win_amd64.whl (13.0 MB view details)

Uploaded Python 3Windows x86-64

act_cli-0.3.1-py3-none-musllinux_1_2_x86_64.whl (12.6 MB view details)

Uploaded Python 3musllinux: musl 1.2+ x86-64

act_cli-0.3.1-py3-none-musllinux_1_2_riscv64.whl (11.7 MB view details)

Uploaded Python 3musllinux: musl 1.2+ riscv64

act_cli-0.3.1-py3-none-musllinux_1_2_aarch64.whl (11.1 MB view details)

Uploaded Python 3musllinux: musl 1.2+ ARM64

act_cli-0.3.1-py3-none-manylinux_2_31_riscv64.whl (11.7 MB view details)

Uploaded Python 3manylinux: glibc 2.31+ riscv64

act_cli-0.3.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (12.7 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

act_cli-0.3.1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (11.1 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

act_cli-0.3.1-py3-none-macosx_11_0_arm64.whl (10.9 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

act_cli-0.3.1-py3-none-macosx_10_12_x86_64.whl (12.3 MB view details)

Uploaded Python 3macOS 10.12+ x86-64

File details

Details for the file act_cli-0.3.1.tar.gz.

File metadata

  • Download URL: act_cli-0.3.1.tar.gz
  • Upload date:
  • Size: 62.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for act_cli-0.3.1.tar.gz
Algorithm Hash digest
SHA256 2b37db2d49c45df9dda65092bb399570ba8fa5970267889dccc7a8f998b77466
MD5 486d44eb4c4229e13a0e74d7bad2ea7b
BLAKE2b-256 a33c26494018ee500bf54b080149d789d195a714dc28896992cf67c35195cda5

See more details on using hashes here.

Provenance

The following attestation bundles were made for act_cli-0.3.1.tar.gz:

Publisher: release.yml on actcore/act-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file act_cli-0.3.1-py3-none-win_arm64.whl.

File metadata

  • Download URL: act_cli-0.3.1-py3-none-win_arm64.whl
  • Upload date:
  • Size: 11.6 MB
  • Tags: Python 3, Windows ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for act_cli-0.3.1-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 ba51f5c251774e6f9584a81bd549762e6a28f3e4fc2363733fce41d882623e7e
MD5 a4f1f515c3f394c032a4f2096b1eb2d1
BLAKE2b-256 a8ea734ac2770c38d98d10acc0d34f1c63fb0388e878c3bbaf51cb8d1d42a0e6

See more details on using hashes here.

Provenance

The following attestation bundles were made for act_cli-0.3.1-py3-none-win_arm64.whl:

Publisher: release.yml on actcore/act-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file act_cli-0.3.1-py3-none-win_amd64.whl.

File metadata

  • Download URL: act_cli-0.3.1-py3-none-win_amd64.whl
  • Upload date:
  • Size: 13.0 MB
  • Tags: Python 3, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for act_cli-0.3.1-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 073f1ee3ed110ba7e2ab3c8112d9b9598ed2b59e9ae937930a87927ae2513c46
MD5 f1a5a8f2fe01ca467414abb66035769f
BLAKE2b-256 68c7c6f7c2ea7a51356b449e0c2533c0dac3667bd82cd631eff7df67b0377b3b

See more details on using hashes here.

Provenance

The following attestation bundles were made for act_cli-0.3.1-py3-none-win_amd64.whl:

Publisher: release.yml on actcore/act-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file act_cli-0.3.1-py3-none-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for act_cli-0.3.1-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 30b0384326e4b5ab8c494de02d3dc877a5c0abf7c4064f25be8c3c8f2e9be4e2
MD5 cf6fa0c82f1fc8108f5ce2fd5ffbbf0a
BLAKE2b-256 73e89bf21b9d1b2f86c21508970e2db3ec07f766e66bab8efce2ac802817ae66

See more details on using hashes here.

Provenance

The following attestation bundles were made for act_cli-0.3.1-py3-none-musllinux_1_2_x86_64.whl:

Publisher: release.yml on actcore/act-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file act_cli-0.3.1-py3-none-musllinux_1_2_riscv64.whl.

File metadata

File hashes

Hashes for act_cli-0.3.1-py3-none-musllinux_1_2_riscv64.whl
Algorithm Hash digest
SHA256 5b7a86f6deea76832e1a15e0aa28e8b7bb1d64c19066bdd5ab391472922a6f5e
MD5 e907d525c9a73505f8acd85078d7a49b
BLAKE2b-256 e4fb02458abc92c5a36151f8b8fa31dba3a6479c10f8f4015f3dc61597939d74

See more details on using hashes here.

Provenance

The following attestation bundles were made for act_cli-0.3.1-py3-none-musllinux_1_2_riscv64.whl:

Publisher: release.yml on actcore/act-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file act_cli-0.3.1-py3-none-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for act_cli-0.3.1-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 63af2fce8ca353e2f70f9d9a50e21a345439540a5230f28c8cc04f34db97d8c7
MD5 13e1c2703d641078c486743368ff3e39
BLAKE2b-256 062fe0a1429074517e99b7869313f742498aa26ff6d3e3ec59643a38d17935c6

See more details on using hashes here.

Provenance

The following attestation bundles were made for act_cli-0.3.1-py3-none-musllinux_1_2_aarch64.whl:

Publisher: release.yml on actcore/act-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file act_cli-0.3.1-py3-none-manylinux_2_31_riscv64.whl.

File metadata

File hashes

Hashes for act_cli-0.3.1-py3-none-manylinux_2_31_riscv64.whl
Algorithm Hash digest
SHA256 c5471a5de92a6ff96ba595cd795650210ee7fbd41cdcd084e5025c540c78bd22
MD5 aef9274548506f33b1d77453284bec29
BLAKE2b-256 918f048fa369076cf020c5ed6780d416c4ae54440a2246c59908f393f725ba87

See more details on using hashes here.

Provenance

The following attestation bundles were made for act_cli-0.3.1-py3-none-manylinux_2_31_riscv64.whl:

Publisher: release.yml on actcore/act-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file act_cli-0.3.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for act_cli-0.3.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e80dc73fc6a0e51a30d271b6841b1ed7a521d4cf4b3b009608525c03d2628a1b
MD5 858ce3707da0a8ad2994c4022015a00f
BLAKE2b-256 f068315776171eb9a765b5f12d1431e193006925d07c5f032551ce96c431cde8

See more details on using hashes here.

Provenance

The following attestation bundles were made for act_cli-0.3.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: release.yml on actcore/act-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file act_cli-0.3.1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for act_cli-0.3.1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 4133a8adbe0762b79079c54ef6bd54a99a1ec2040bdfecee6a05a7fd4aaf65cc
MD5 209167faaf7539d92c18041efccdc9f4
BLAKE2b-256 81308bcc1683abecab45a0d1ffb165a7e266afedf42229717ad841d040031bf6

See more details on using hashes here.

Provenance

The following attestation bundles were made for act_cli-0.3.1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:

Publisher: release.yml on actcore/act-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file act_cli-0.3.1-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for act_cli-0.3.1-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 2ca19212ddcff5230fab44a49e9bce893b78bff9d77bf758738887420cd189c2
MD5 09c188d58d17b81962cf226b3ff9d1a4
BLAKE2b-256 c8f215721a7050ecd6d3cd75e755c45a8bdc7c11ed0810a67deb4b9463ad4cce

See more details on using hashes here.

Provenance

The following attestation bundles were made for act_cli-0.3.1-py3-none-macosx_11_0_arm64.whl:

Publisher: release.yml on actcore/act-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file act_cli-0.3.1-py3-none-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for act_cli-0.3.1-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 942f01619af71d25e1af88daec3736ab290e0d870e130f3df4acd57f1ab48f68
MD5 cbb3216eae2b1dba0fbf228a809c9eef
BLAKE2b-256 0d96613985bdcb03c74889bb169eae4efe15d8b0c3e814ff595191952eb96ff6

See more details on using hashes here.

Provenance

The following attestation bundles were made for act_cli-0.3.1-py3-none-macosx_10_12_x86_64.whl:

Publisher: release.yml on actcore/act-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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