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

Uploaded Python 3Windows ARM64

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

Uploaded Python 3Windows x86-64

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

Uploaded Python 3musllinux: musl 1.2+ riscv64

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

Uploaded Python 3musllinux: musl 1.2+ ARM64

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

Uploaded Python 3manylinux: glibc 2.31+ riscv64

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

Uploaded Python 3macOS 11.0+ ARM64

act_cli-0.3.5-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.5-py3-none-win_arm64.whl.

File metadata

  • Download URL: act_cli-0.3.5-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.7

File hashes

Hashes for act_cli-0.3.5-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 d870067d23f746f25419258543445c720d1782c1bec75ded41ac8b1abf7bc0e4
MD5 0120792edea89966efa92fc54436dd39
BLAKE2b-256 036672d7974b073faeeb441e153ab58bb4929f429ff1b818466c32a0d7f2289f

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: act_cli-0.3.5-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.7

File hashes

Hashes for act_cli-0.3.5-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 760f861fea0bfc5398f1adcc4d54a70d969d915e83eeb906a5145ae0a8d6f6a9
MD5 7f4392697cb28b323b0b27e5093744c1
BLAKE2b-256 9aeb817094f0d3617f45799ca3f811c169ef01c50def7d076e6ab3c0e4672d17

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_cli-0.3.5-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 6265ee38d971b9f6edaba30ec59b0d7cf8ef9bb2ef541f47b5a72e32296e07ad
MD5 7fce4b11570c4e5e3a11226a7446b838
BLAKE2b-256 3dd8be81d336f7fd8737456baba6b5ba88e251b192e1c7b2d494404d9d289c96

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_cli-0.3.5-py3-none-musllinux_1_2_riscv64.whl
Algorithm Hash digest
SHA256 ab399269b657a633c59950666eb7634ad8dcddf2f3d428025d848864391c7d88
MD5 d7bcfe370ecfcbdedd5c91127df03e0a
BLAKE2b-256 1ccbc6837cc2f030652c9a39038309c1b75dc232d5e3cf3782d5e7f3f79d0202

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_cli-0.3.5-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 d82abf05206a81fbd57a7028513f11c2407790c933a513d0da11ddeef0eb936d
MD5 83aae6d092187fa62e5ac8a2ee6f3908
BLAKE2b-256 dccc77277b05129c31ed4b7e968efb2f59f20d98c3ae063f4049cdfd736697ae

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_cli-0.3.5-py3-none-manylinux_2_31_riscv64.whl
Algorithm Hash digest
SHA256 e6ed505b505921c24556e77339a10ece3246753901ecbe274285ed5a4ab24b5f
MD5 80efb3bed133848e689a6063699a4580
BLAKE2b-256 a92a53d342a6671fa0df3dc32d79deabb91af6587aaff5fb2eda75eaf3083ce9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_cli-0.3.5-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 bf964c66378d723fc88c4a0078e8a37f47a707b054c100df43eeb29ba17be1de
MD5 2348a8ad1dabe6784240536639c975e9
BLAKE2b-256 bf5596419fe72c325bfaa41605c955b7f332ab52f6071efd050eda2cddf5e55a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_cli-0.3.5-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 2c650d78dc23e5f61697edc6699b29c8a39b193932738e5e4ccf659f76df54f8
MD5 ee5901c9c792ef45563c5d4313464795
BLAKE2b-256 37de141de7c79adca124d15b32c8f2c02a6d0e20b4162ef0ca264d73b51f219f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_cli-0.3.5-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 27ff3c70d584d721827b02e39df428ac60d0bfb036d6ec822b180b435289ae7d
MD5 0f9420dc94aaaf75b99e438967ed10ec
BLAKE2b-256 3100aecc810b110cc7943818886e9beb1a3ca2967dddc16d9e5dbd02697b1249

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_cli-0.3.5-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 2429671be1e4aa56c2168e98c1e91d0937c8b47bc92d7121b13cf988d67f6e6a
MD5 f4663be618749f7e641601d004728853
BLAKE2b-256 a42755ef16dbe4b57d8a2eefe40135a64eae2c10eab995fc47cf46aecb3ccbda

See more details on using hashes here.

Provenance

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