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 Distribution

act_cli-0.6.0.tar.gz (90.9 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.6.0-py3-none-win_arm64.whl (13.3 MB view details)

Uploaded Python 3Windows ARM64

act_cli-0.6.0-py3-none-win_amd64.whl (14.7 MB view details)

Uploaded Python 3Windows x86-64

act_cli-0.6.0-py3-none-musllinux_1_2_x86_64.whl (14.6 MB view details)

Uploaded Python 3musllinux: musl 1.2+ x86-64

act_cli-0.6.0-py3-none-musllinux_1_2_riscv64.whl (14.1 MB view details)

Uploaded Python 3musllinux: musl 1.2+ riscv64

act_cli-0.6.0-py3-none-musllinux_1_2_aarch64.whl (13.2 MB view details)

Uploaded Python 3musllinux: musl 1.2+ ARM64

act_cli-0.6.0-py3-none-manylinux_2_31_riscv64.whl (14.0 MB view details)

Uploaded Python 3manylinux: glibc 2.31+ riscv64

act_cli-0.6.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (14.8 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

act_cli-0.6.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (13.3 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

act_cli-0.6.0-py3-none-macosx_11_0_arm64.whl (15.5 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

act_cli-0.6.0-py3-none-macosx_10_12_x86_64.whl (16.7 MB view details)

Uploaded Python 3macOS 10.12+ x86-64

File details

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

File metadata

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

File hashes

Hashes for act_cli-0.6.0.tar.gz
Algorithm Hash digest
SHA256 776273a3e4a1b33de395cafb38a5c144aa9d1ddadb8be72c6443a330f639677e
MD5 750affed97ffac34c2c4aa8321e1aa41
BLAKE2b-256 b9070d4dea82ab52c36fc7d65bd5b0602635317a50fd95a144fa9348cc984f7d

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: act_cli-0.6.0-py3-none-win_arm64.whl
  • Upload date:
  • Size: 13.3 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.6.0-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 2d705fc596245d5a7a4b5440f7003f259cde360d8afc4618067bb70b5c87417f
MD5 c8c6916d7ca24062aacbdf3e91802f06
BLAKE2b-256 1c8cbbde4fc9628f4e2535052e3551c392764b8ea8b7961f678b74f6c49f982a

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: act_cli-0.6.0-py3-none-win_amd64.whl
  • Upload date:
  • Size: 14.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.6.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 3e4db1030ff142689d262f7cd58d22c14c0a35977ee92073ec4fca27e416c704
MD5 c6d0dbfd19f87c082cbe827a00ca39cc
BLAKE2b-256 d87213e9a8785c4ce4ba88cc5a12da2e47c1e514f413aa3549a87d2788fa68ce

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_cli-0.6.0-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 47e54a5148724a64e220f259e550636c23c13e7fd627166d1d79f87e289648bd
MD5 2af2ec33604151651cb169205f3adf57
BLAKE2b-256 9a981e56b9e5bae29306f73de72495fd5b8dfc2bd16f4b71c64b431273fbd30c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_cli-0.6.0-py3-none-musllinux_1_2_riscv64.whl
Algorithm Hash digest
SHA256 0edbec780bdb5f35b5e806baf536d82c9960a3b2947c4e0d2b0de7d8afae554a
MD5 8dc36430d45ee839dcf5ed9c44eeb837
BLAKE2b-256 d560818ed292ea6da0f231cf1c962e91488058ffce3ad69c1297ec530d68380f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_cli-0.6.0-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 4a0b2b5df5ce14ef8997a0c72cc1b17b4a5eadd3b7edd60128c00cf0754d949b
MD5 9c41bfe30d4293278dec70aeef033b91
BLAKE2b-256 34d78fb9708bf225340dc8d928ad4286ea01911dff9d38e689a893d12e0d8539

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_cli-0.6.0-py3-none-manylinux_2_31_riscv64.whl
Algorithm Hash digest
SHA256 5030c6ce82220c5d672eae0812284e6c45d9b80e2c6599da18129a6d5c0e22f2
MD5 636242a63162c5e73763197be28ecedb
BLAKE2b-256 da0c8e34771c17af1ba559ca8eec87b95e8e118b5403f73a03e9393b579924fb

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_cli-0.6.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 fcf85e9b86181a8ee83e74fc5e69493bee21e72e8aec64689d45a222cd2517a4
MD5 73a2614b4e6675bd828a8664b83f243e
BLAKE2b-256 0c8c661c377fbf67d51c80997c9b4415f8be67dac154e55404e5f9cf2329f036

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_cli-0.6.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 85be4fb427a3c7c7ad70ffe0b98835778c67520ecfa55a68d0b51b991f3495fa
MD5 d5b07d65bb9baab7ff6680b2bc2462bc
BLAKE2b-256 450730a48144b51af94ee8024c681b2ab5b00f45593072b8808ddf30a87c6d90

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_cli-0.6.0-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 9119f0b5492b88f770f8d438449a797abf490da59ad7d52a602c810c1ae5835b
MD5 da4fe0f1143d0f318d4f5a6b32f2021e
BLAKE2b-256 c4a5e2838ce8e178828c63a4567477dca39b8484444f759b12a31904bda0dfac

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_cli-0.6.0-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 18d98a555ee3b05adcc1a7074c65d16890dc49fda2f9554503c2c68e6d2a65bf
MD5 f9c4e669492a9d7bcd081bae3068ea82
BLAKE2b-256 85d48ab55749426e1f70a19a5ecea7d843160d8ade9332e822c5b2f0fadc321b

See more details on using hashes here.

Provenance

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