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.5.0.tar.gz (87.0 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.5.0-py3-none-win_arm64.whl (12.8 MB view details)

Uploaded Python 3Windows ARM64

act_cli-0.5.0-py3-none-win_amd64.whl (14.2 MB view details)

Uploaded Python 3Windows x86-64

act_cli-0.5.0-py3-none-musllinux_1_2_x86_64.whl (14.1 MB view details)

Uploaded Python 3musllinux: musl 1.2+ x86-64

act_cli-0.5.0-py3-none-musllinux_1_2_riscv64.whl (13.6 MB view details)

Uploaded Python 3musllinux: musl 1.2+ riscv64

act_cli-0.5.0-py3-none-musllinux_1_2_aarch64.whl (12.7 MB view details)

Uploaded Python 3musllinux: musl 1.2+ ARM64

act_cli-0.5.0-py3-none-manylinux_2_31_riscv64.whl (13.5 MB view details)

Uploaded Python 3manylinux: glibc 2.31+ riscv64

act_cli-0.5.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (14.2 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

act_cli-0.5.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (12.8 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

act_cli-0.5.0-py3-none-macosx_11_0_arm64.whl (15.0 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

act_cli-0.5.0-py3-none-macosx_10_12_x86_64.whl (16.2 MB view details)

Uploaded Python 3macOS 10.12+ x86-64

File details

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

File metadata

  • Download URL: act_cli-0.5.0.tar.gz
  • Upload date:
  • Size: 87.0 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.5.0.tar.gz
Algorithm Hash digest
SHA256 6a92e48b4b9a7381ea8c04e6be0f7e9452579963e45344cb2a9295d2eb8ebd43
MD5 be39345eca13ad15dd574f46566f222b
BLAKE2b-256 f814a09339020685bc54a6c93812cba042826efb53d215937a313dc3b7f06679

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: act_cli-0.5.0-py3-none-win_arm64.whl
  • Upload date:
  • Size: 12.8 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.5.0-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 14474953ef875a2077fbaf0dacec45e9c95c4187c31164a8b2a77e34a2bbcec5
MD5 228f5779188eb0454e2cc49904740b95
BLAKE2b-256 47d6cee9156e6aeace0ed6d81f7e397c229ed1d32396a644ad42c22b76637b60

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: act_cli-0.5.0-py3-none-win_amd64.whl
  • Upload date:
  • Size: 14.2 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.5.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 16823b4776064e8370917990fdb528efa61cfa7394f3ad7762f7460d2f21cf07
MD5 f4d04be1485c5a5499f57ba5cbed9537
BLAKE2b-256 9938ce05208e8c7c878ede2085a5a0e91df3db67b5e8398773cfdd88b22b69ad

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_cli-0.5.0-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 fbbf46aeb71f77fff06738c47b53f40469ef421469c16c83c148d27fa414bac7
MD5 021a73bb5947388585c16d4884375186
BLAKE2b-256 0730e730a1f0b1cf334ad4a8c07f81f8cfdfd8761ec14e385a11047be1edc94f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_cli-0.5.0-py3-none-musllinux_1_2_riscv64.whl
Algorithm Hash digest
SHA256 f479247ff0466b1f727868fc6e07ad8c5de973d0ace85bfd7dceff91f0a3057f
MD5 a26501607fc2f888228198da2f145991
BLAKE2b-256 4475589827f30ac54605a67e68e385e467f73b029cc6731cff85fd3720b1260b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_cli-0.5.0-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 b56f73d834b25fe86f071c23c71cce572c2010fb5766e77f7ca61e6076f5ea89
MD5 11cec4895e877656a2f76ebb6f90c9d9
BLAKE2b-256 7f786bb61bf1ccc9addb618f46c4fb586a91f42b035382d8a8a035f37fb4ecc5

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_cli-0.5.0-py3-none-manylinux_2_31_riscv64.whl
Algorithm Hash digest
SHA256 a1a0ba19b58bee575fda37abc261ab1ed5bf95f2478d3cff54245fccf8ca3580
MD5 3147104f4c0bcf02c3967f967c4724b1
BLAKE2b-256 b79f8fa5581eb126ada94ade5280c9c880a476f6335f6dcf53562060ecf0a77e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_cli-0.5.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c3b238522a7412a0afcfb8ced8da15697c5020b3a7555ead33e49d3d115e9e95
MD5 15ee6d929c400308f40306094f1316cc
BLAKE2b-256 358730c2c72a1da2fb46eecae94e6547e305aaa5b1a9e76759a1f47ff292cf31

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_cli-0.5.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 db036b4ed45c2843334c075d5318b690892c1a349a2b625a259ecf2535afe752
MD5 5e642eacccacd1db5503f92d6b2c3b40
BLAKE2b-256 35d40903064eebe2a7dc91ae35faa0e6a391a108a404f6eea210817b4ec3be52

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_cli-0.5.0-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 723e8c367e27b15aa4c47f92a1ff25533d0c5f72647f1ea1fa5fb1a2743356ae
MD5 b5265cc601520a67ec8e52063d3d90f8
BLAKE2b-256 342288adbd9c32102c29a219796e7579ff9d5ce5d901f4c962605625034671c8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_cli-0.5.0-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 e46b058baa893ebe114d7b85adf1a388ea1fff04f446cfd4493bf0eee1c27b8b
MD5 3857838dca0eaea3de05a00039c126ae
BLAKE2b-256 aacc8396d477c93230aa4612b46893a46b28ea5738ab091dd47b51cb73da18e6

See more details on using hashes here.

Provenance

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