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.3.9.tar.gz (60.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.9-py3-none-win_arm64.whl (12.4 MB view details)

Uploaded Python 3Windows ARM64

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

Uploaded Python 3Windows x86-64

act_cli-0.3.9-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.9-py3-none-musllinux_1_2_riscv64.whl (12.9 MB view details)

Uploaded Python 3musllinux: musl 1.2+ riscv64

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

Uploaded Python 3musllinux: musl 1.2+ ARM64

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

Uploaded Python 3manylinux: glibc 2.31+ riscv64

act_cli-0.3.9-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.9-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.9-py3-none-macosx_11_0_arm64.whl (14.5 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

act_cli-0.3.9-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.9.tar.gz.

File metadata

  • Download URL: act_cli-0.3.9.tar.gz
  • Upload date:
  • Size: 60.5 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.3.9.tar.gz
Algorithm Hash digest
SHA256 7c2ee7956b3cd9538746747786cea30a9955154c4901107f56a6706884a1b7e5
MD5 07a73380ccdf9028a6756f48570eb70b
BLAKE2b-256 4c139a035e1d9cf666aec2d2ec0867b765112854e0c6e70ed9e2321ca31a8653

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: act_cli-0.3.9-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.9-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 6c91c06fd11ed374a4ccd2b92130f2cde25913633db0d9c1d737c9b5e2cd78e1
MD5 312314651c760fa79aba4ce2f4dcf931
BLAKE2b-256 48c394b6f9c1fe0b2918e82e53f3f9830becbb947c275141264e7c62a36e3a40

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: act_cli-0.3.9-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.9-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 9c8358fad2a94db78c0a9cfa6c395e47da075fbf7de2a0d0fd1d51d047c3c386
MD5 ca981a661e0c530fbcd30f0ad45a249b
BLAKE2b-256 d2d9f9861324634ca182013f1dcea07de1844f832eed2f08432a760f21761ff1

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_cli-0.3.9-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 e9e3d83594559fb77642e7b844856fbc451d252dc9af1962ce4cba7579b78d4e
MD5 41d77170397232404c88fdf556f78b63
BLAKE2b-256 8936b07edbf33d60c4ef74ec7481d7157ca15fa2e67a7796f8e753e34458e8dd

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_cli-0.3.9-py3-none-musllinux_1_2_riscv64.whl
Algorithm Hash digest
SHA256 7db5aaa805d6f05d94c81f0bb6bb375a71971a8ec25d78b73b8bcafd9e03e880
MD5 8324f9a6878a1ba083f488176a7d7a4f
BLAKE2b-256 802f1cbf569673e5bafe0bfa71fbc32b0712eab534f7b969ae640d6a986a2415

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_cli-0.3.9-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 38238bf2ab319f7eae93afa4e91b5d235c22013613bd24672b34befc3a07409f
MD5 9227e74a63dfc9dbebd52c21e2078958
BLAKE2b-256 87456c065b6f8470f3894f2bf3e5865c260b2c9ac97b4a2943e23eeb13c2e07e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_cli-0.3.9-py3-none-manylinux_2_31_riscv64.whl
Algorithm Hash digest
SHA256 8d6a1dec031169e49cf0d954e00963334e2a5c96a245e1d758cce22cfb4e009d
MD5 07c116e4ffb32074293d36c7342454be
BLAKE2b-256 3984d51e47deba90c357d361bd9f869a2f498ada0c83710935625e6eb3c000f1

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_cli-0.3.9-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 7c7d15413b8b1eb73a8ac78499ef1cb951ff655476d445f8d80272065bdbec65
MD5 457750f9e1df3f782c02cbfc8b870527
BLAKE2b-256 5038ff98685b70d0dc34e97be89b8a393aad2032d53755161a7baa1f59a70714

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_cli-0.3.9-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 b17cb014467faac9f67da0562bba89b66c19e9b20ef8a128c9c4e6d31296cbf5
MD5 5a866f727a76b5ed44a2d3659d453d81
BLAKE2b-256 9a0d1e98eb9fa401812179175da30296c808e21ff1a1e44dea2fe81a0dbe062f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_cli-0.3.9-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b533176888185dd62f64f896ff94053e4f73a492fe2e5b6ca413cac876d39315
MD5 1d5b2e2d4955fdf7c0cae17a081d0670
BLAKE2b-256 66eb065450a3eb8f2d1ce163d5dff2c83ab80aa594c515d6ae7d6877b9fea620

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_cli-0.3.9-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 c56812f2ecc9263ff8494c1a030be25157d0067f1fb36adb9c63bb1ed93fe01a
MD5 63e81cb66afb6e924301b58960edf66b
BLAKE2b-256 351f263c1399ace25078a35f5f3f3947343756ffd18e80058d8630fd33835342

See more details on using hashes here.

Provenance

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