Skip to main content

CLI host for ACT (Agent Component Tools) WebAssembly components

Project description

ACT CLI & Build Tools

Host and build ACT (Agent Component Tools) WebAssembly components.

This repo contains two tools:

  • act — run, call, inspect, and serve ACT components from local files, HTTP URLs, or OCI registries
  • act-build — post-process compiled WASM components: embed metadata, skills, and custom sections

Install

# act (CLI host)
npm i -g @actcore/act
pip install act-cli
cargo install act-cli

# act-build (build tool)
npm i -g @actcore/act-build
pip install act-build
cargo install act-build

Pre-built binaries available on GitHub Releases and Docker (ghcr.io/actcore/act).

act — Component Host

# Discover tools in a component
act info --tools ghcr.io/actpkg/sqlite:0.1.0

# Call a tool
act call ghcr.io/actpkg/sqlite:0.1.0 query \
  --args '{"sql":"SELECT sqlite_version()"}' \
  --metadata '{"database_path":"/data/app.db"}' \
  --allow-dir /data:./data

# Serve over HTTP
act run -l ghcr.io/actpkg/sqlite:0.1.0

# Serve over MCP stdio
act run --mcp ghcr.io/actpkg/sqlite:0.1.0

Components can be referenced as:

  • OCI refs: ghcr.io/actpkg/sqlite:0.1.0
  • HTTP URLs: https://example.com/component.wasm
  • Local paths: ./component.wasm

Remote components are cached in ~/.cache/act/components/.

Commands

Command Description
run Serve a component over ACT-HTTP (-l) or MCP stdio (--mcp)
call Call a tool directly, print result to stdout
info Show component metadata, tools, and schemas (--tools, --format text|json)
pull Download a component from OCI or HTTP to local file

HTTP Endpoints (run -l)

Method Path Description
GET /info Component metadata
POST /metadata-schema JSON Schema for metadata
POST/QUERY /tools List tools
POST/QUERY /tools/{name} Call a tool (SSE with Accept: text/event-stream)

act-build — Component Build Tool

# Embed act:component metadata, act:skill, and WASM custom sections
act-build pack target/wasm32-wasip2/release/my_component.wasm

# Validate without modifying
act-build validate target/wasm32-wasip2/release/my_component.wasm

Metadata is resolved via merge-patch from project manifests:

  1. Base from Cargo.toml, pyproject.toml, or package.json (name, version, description)
  2. Inline patch from the same manifest ([package.metadata.act-component], [tool.act-component], or actComponent)
  3. act.toml — highest priority, applied last

Platform Support

Architecture Linux (GNU) Linux (musl) macOS Windows Docker
x86_64
aarch64
riscv64

RISC-V (riscv64) is a first-class target. Regressions on RISC-V are release-blocking.

Building

cargo build --release        # both tools
cargo build -p act-cli       # act only
cargo build -p act-build     # act-build only

Set RUST_LOG=act=debug for verbose output.

License

MIT OR Apache-2.0

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.

act_cli-0.3.7-py3-none-win_arm64.whl (12.4 MB view details)

Uploaded Python 3Windows ARM64

act_cli-0.3.7-py3-none-win_amd64.whl (13.7 MB view details)

Uploaded Python 3Windows x86-64

act_cli-0.3.7-py3-none-musllinux_1_2_x86_64.whl (13.7 MB view details)

Uploaded Python 3musllinux: musl 1.2+ x86-64

act_cli-0.3.7-py3-none-musllinux_1_2_riscv64.whl (12.9 MB view details)

Uploaded Python 3musllinux: musl 1.2+ riscv64

act_cli-0.3.7-py3-none-musllinux_1_2_aarch64.whl (12.3 MB view details)

Uploaded Python 3musllinux: musl 1.2+ ARM64

act_cli-0.3.7-py3-none-manylinux_2_31_riscv64.whl (12.9 MB view details)

Uploaded Python 3manylinux: glibc 2.31+ riscv64

act_cli-0.3.7-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (13.8 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

act_cli-0.3.7-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (12.3 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

act_cli-0.3.7-py3-none-macosx_11_0_arm64.whl (14.5 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

act_cli-0.3.7-py3-none-macosx_10_12_x86_64.whl (15.7 MB view details)

Uploaded Python 3macOS 10.12+ x86-64

File details

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

File metadata

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

File hashes

Hashes for act_cli-0.3.7-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 d6c314ef6fc82901b3c5df9a6a52209f44beb5a3d8f1a5bd51642401674dcb4d
MD5 d99e8b06b9f0a3f523f4fac3df532f97
BLAKE2b-256 d1344425ea36116470d9b097d9caca0789555b49f1e96a914594d046669751ba

See more details on using hashes here.

Provenance

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

File metadata

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

File hashes

Hashes for act_cli-0.3.7-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 5aec83552b98f66fef2458164055efd2c7b16a53fa65d6883ec327c7664b998b
MD5 e94c92f1427d6b0cfb19996b6a7df2be
BLAKE2b-256 e7620e31acf2aed9aa2661e52903f3b53b42456cb51932474892f7a24fc46f12

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_cli-0.3.7-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 9fd01e9f1fbf33777411af452959eae5850b799fc6232bc4afa8e8bac2bf6a8c
MD5 06787a9cba97e9767fbe83778f4a7970
BLAKE2b-256 dbb5e0ec8045cdc0f5cf6c1858ea424f78be34460a3005fa9ee4cb1a73f0f77a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_cli-0.3.7-py3-none-musllinux_1_2_riscv64.whl
Algorithm Hash digest
SHA256 1842f4212e075fcb12e55c164eb932ba9ff7e3df7f6a3ceeefab556b287ab92a
MD5 91dd4efcdf3d83b63ec09675dfe4d057
BLAKE2b-256 5a6a0211351a1f1504fcc3146cde02fa17524b214768221fed324829eb78a333

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_cli-0.3.7-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 7cfc16460bd634af5311cdc78427fb0dbdaff5b0f25f65c1daa2f83c15baba5c
MD5 da31d84ac720c0bc6a0613cd881a11c1
BLAKE2b-256 d84847089e4b48c27dd26c271aacdcd9353ff80ae71a1f6ca7496334512439fe

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_cli-0.3.7-py3-none-manylinux_2_31_riscv64.whl
Algorithm Hash digest
SHA256 319c9b7cf7520ec8a21c0aab24c1a2eda617f14a0fb1fe6ff3ed1d92251c67c6
MD5 e6c8d275d122d28d68bdc0a62af4a4d0
BLAKE2b-256 3b455f5d5aad41d07b8e54d13201a89cdef6edf0354a90a3ea457b64ed881860

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_cli-0.3.7-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f699a91d637e7d8c8abfa9a8f02ab6c897ab3c5c9df86c96be7078a36620ab51
MD5 54e9dd746158e4e2f5b9958ee8564957
BLAKE2b-256 14541d470052b155dd97053820a60a3de873ac5e59dd7357c9bc33fc060e60e5

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_cli-0.3.7-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 3d7f91411226af7c7721b725c4eb5f72d087c1cfd94a3a9681f92b9187f8abfc
MD5 76f985861a218f6bba43805d8d9d895e
BLAKE2b-256 5d60e63807e0053bd33bcc89b4777557d7d020c5b38b6ec1f9c5116c4792e94b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_cli-0.3.7-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a1999b3df0dfb80697dcd50daab312fe9b3f780acff4172bc0a3e74888ac7ff7
MD5 d33bdae4b276698b12f30fbf990b9e0b
BLAKE2b-256 9da0109bef556df4e96bd732ed54cfbe23f9b75f4270f387a5d2e957c79f48e7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_cli-0.3.7-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 24de33744ab037f66800860232aac369cb29f3c6aac47c50fba9e0a33f752a43
MD5 0e2ade67fa917281e6cdaac2d01e7718
BLAKE2b-256 ee8270ec89c58454dd517d504c04937b5307323bd0fe740dfab58d307d7b093f

See more details on using hashes here.

Provenance

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