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

Uploaded Python 3Windows ARM64

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

Uploaded Python 3Windows x86-64

act_cli-0.3.0-py3-none-musllinux_1_2_x86_64.whl (12.7 MB view details)

Uploaded Python 3musllinux: musl 1.2+ x86-64

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

Uploaded Python 3musllinux: musl 1.2+ riscv64

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

Uploaded Python 3musllinux: musl 1.2+ ARM64

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

Uploaded Python 3manylinux: glibc 2.31+ riscv64

act_cli-0.3.0-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.0-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.0-py3-none-macosx_11_0_arm64.whl (10.9 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

act_cli-0.3.0-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.0.tar.gz.

File metadata

  • Download URL: act_cli-0.3.0.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.0.tar.gz
Algorithm Hash digest
SHA256 dd6e21d67c909e4a1a6a236e481980675b08d1641c1fce6a762264e921c94252
MD5 1932841529280f465e3ca88fec2fade6
BLAKE2b-256 bdf36c183c09c17c4497c9be918dc04bc1efdf312aa3ae4c01fd04767988cc73

See more details on using hashes here.

Provenance

The following attestation bundles were made for act_cli-0.3.0.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.0-py3-none-win_arm64.whl.

File metadata

  • Download URL: act_cli-0.3.0-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.0-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 94b4ad24adc11ee011e03854877c2d41f77dfad711bb7f700ca32668d3015220
MD5 32684e455ebb24c8ea4f038d13983da1
BLAKE2b-256 21c6dd8f42674ec0eb477ca45b1847e9dbfd18c05498c47c3ccd2dbee2b1cd74

See more details on using hashes here.

Provenance

The following attestation bundles were made for act_cli-0.3.0-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.0-py3-none-win_amd64.whl.

File metadata

  • Download URL: act_cli-0.3.0-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.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 6eb1cc15419f8e5c134c21e1e0d3a2561a7e31dc35eed63ef08b4eb658fd7186
MD5 d37ae46f6f413301e4a8219fe894a7ee
BLAKE2b-256 7f601f8514897d6108b84187dfc1b2914fbd12fbab15be81478c15a95549f014

See more details on using hashes here.

Provenance

The following attestation bundles were made for act_cli-0.3.0-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.0-py3-none-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for act_cli-0.3.0-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 2d7c5b4700cb3f5437c154f46c9827600d6423f9e9b7fce97ab927b43d60f397
MD5 3f2b2355242af0b1550de83d5e7e7224
BLAKE2b-256 34da2520e5655a7b9f36cbfe4815b0a82bd33b5644f01c6c07a9c61cb482516e

See more details on using hashes here.

Provenance

The following attestation bundles were made for act_cli-0.3.0-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.0-py3-none-musllinux_1_2_riscv64.whl.

File metadata

File hashes

Hashes for act_cli-0.3.0-py3-none-musllinux_1_2_riscv64.whl
Algorithm Hash digest
SHA256 d8936a8ac70a333f592b60ba27006019d308f91b59d184569572278ec266064e
MD5 71fe668ebfa37977c339fc89e621b089
BLAKE2b-256 6fc8236af5e30145bbfee09991648e5a1774430b1cb8cae232ceddb6b6937fa8

See more details on using hashes here.

Provenance

The following attestation bundles were made for act_cli-0.3.0-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.0-py3-none-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for act_cli-0.3.0-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 8392ef254d0324f74d13e2fc796f723ffca1ff817a74edee9b4d909a377a50ce
MD5 cd882293ec5268c30dbe75acfe968764
BLAKE2b-256 27665de35591119824ff6baa6b210c0ba58ecceea0068c3837d69973476798d7

See more details on using hashes here.

Provenance

The following attestation bundles were made for act_cli-0.3.0-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.0-py3-none-manylinux_2_31_riscv64.whl.

File metadata

File hashes

Hashes for act_cli-0.3.0-py3-none-manylinux_2_31_riscv64.whl
Algorithm Hash digest
SHA256 be822a2cc3b08ce2c5ec8c9509fdecc2dc85bd9a2271b558f5e5a579820ac0da
MD5 0483ea0f230eff9d7f6809cf68290935
BLAKE2b-256 891b6edddd58db27636b3da1d8cbf9ac736b8bee11ec212dbffb601d7df262a3

See more details on using hashes here.

Provenance

The following attestation bundles were made for act_cli-0.3.0-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.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for act_cli-0.3.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 1a404238010e9634d06a43d42728f5964a7409ebf09e3d972d9c2e6180ef318a
MD5 38926ecae9d041896612ca3c28d822fa
BLAKE2b-256 1e6c4904c83729c9e17432cf1e131e5f07b042ea3d888d5f1d0b6465b80c84fc

See more details on using hashes here.

Provenance

The following attestation bundles were made for act_cli-0.3.0-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.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for act_cli-0.3.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 bd6795e343fa8c8c096c968f6eabfba13aa7b29d9c93855c318b88f8d6ebbee3
MD5 ce86347fb82c2de733fe124f0a272c65
BLAKE2b-256 e4aa44a603ab40f6e3d697bedb2f3d4256e14c3b80928cb13a1b7674e7c27044

See more details on using hashes here.

Provenance

The following attestation bundles were made for act_cli-0.3.0-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.0-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for act_cli-0.3.0-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 eb861815b9924d30cfa013d52c0d5ecdb0106858ace9b45b80be044fc01ff2de
MD5 a66c6370142ece874fe6ea8f7a4463de
BLAKE2b-256 b1ce192374b9af69a308152c432afc30d11cfdcaca28e5919ae7e3ac2028a97e

See more details on using hashes here.

Provenance

The following attestation bundles were made for act_cli-0.3.0-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.0-py3-none-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for act_cli-0.3.0-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 1d8a8854f70912783cb8fc06656125f407d586ce9bdde7a26e1f0cdf620793c2
MD5 417c404fd2cc1516d0a57824ea423114
BLAKE2b-256 b4d947aa5f1b643db48b1b31dcd6b1b2a3174a650e9efeaca036d893e0e0dd33

See more details on using hashes here.

Provenance

The following attestation bundles were made for act_cli-0.3.0-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