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

Uploaded Python 3Windows ARM64

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

Uploaded Python 3Windows x86-64

act_cli-0.5.1-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.1-py3-none-musllinux_1_2_riscv64.whl (13.6 MB view details)

Uploaded Python 3musllinux: musl 1.2+ riscv64

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

Uploaded Python 3musllinux: musl 1.2+ ARM64

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

Uploaded Python 3manylinux: glibc 2.31+ riscv64

act_cli-0.5.1-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.1-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.1-py3-none-macosx_11_0_arm64.whl (15.0 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

act_cli-0.5.1-py3-none-macosx_10_12_x86_64.whl (16.1 MB view details)

Uploaded Python 3macOS 10.12+ x86-64

File details

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

File metadata

  • Download URL: act_cli-0.5.1.tar.gz
  • Upload date:
  • Size: 88.3 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.1.tar.gz
Algorithm Hash digest
SHA256 8230324f64d7f71d3f95825d831adb53e6eb88e36a1fd552dc97d101d8a5edcf
MD5 e5c65dc6c98d2f831b949b7db6a6ea37
BLAKE2b-256 db9342815b40de797067958380b448b2f93ae0fd0093d0db2cf0a64aca10c895

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: act_cli-0.5.1-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.1-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 315256cbf1e52d94bc9582d5b6a1dcbf9ff03dd2bdcae243a601316d0e62028f
MD5 b736aad60560cb8d0540feb250bc9cdf
BLAKE2b-256 e1f034e51a04d2a55ea1db6aea939157b020333c3d3c97605d3749a5459294a0

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: act_cli-0.5.1-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.1-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 4080319dac3aac6addfe1e7754cbc178d5c657824d322874d9306ecf178c7209
MD5 e2ec5f75d094ac14b9de2c9ad1e050fc
BLAKE2b-256 c1d3e8ae487f835fb97d861d876a0c815fd8a1787e5f06936a288c7b16f3041f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_cli-0.5.1-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 b43459994b5ea87b7ece4d7e4e4225d8eac69dc179552bf442b49f463a996685
MD5 83d09c032dcead3f77d9a11276af1818
BLAKE2b-256 d0ea6b5e73bc45881e1d7c50a0ec621021f7a1bcd98f9f64ec41c1b45ac87953

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_cli-0.5.1-py3-none-musllinux_1_2_riscv64.whl
Algorithm Hash digest
SHA256 a068af287339923c30459adadabf2ac1a5bd98d70be569278735f2f814e0e655
MD5 60821e84ae85a65eb31fb04ee871892c
BLAKE2b-256 d8499c349000313472d5b7dac4ce2b979d6df0888cf8f532ebe9a53496174f85

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_cli-0.5.1-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 a3a954f443ebe5b3b65150d94097bbce5701faedf60dbc9fb1e5b91799207f70
MD5 3802b0832169934c0d916da201ae7c42
BLAKE2b-256 932439c87532a7aaa56f994aa94ff3373c39fac76be7eb8f957fece61f000a5b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_cli-0.5.1-py3-none-manylinux_2_31_riscv64.whl
Algorithm Hash digest
SHA256 829f5c2ce972e94ed8f2b80d55584d888d2591b90b7d08400245ae1f905458c8
MD5 064ee553b0c792f9f636d6c13ee12fe4
BLAKE2b-256 6bb7bc88c721be30340a47133df3fa407bda8ce295730eeb4c962a4a53c88042

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_cli-0.5.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 6c6ccb9ed50baab929c82c02e2978712d3f94efc8305958cd160531938f68b4b
MD5 1abd331c7d776f9f8d8d025e685d71de
BLAKE2b-256 c1190b717a19e46bdba5786b288d08ec46dfd2e75f76b7c2f6cdac7f66ed2cef

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_cli-0.5.1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 bac57f13f710cb463b970da983d2f9a303ebb3be2eec70a48c56bc527f38ed6d
MD5 987ae582806f967a8e98a7c2245f0339
BLAKE2b-256 0c2b1dc44618cc32d1e40911351b2ccd683421157179e4e83762c404279c87a0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_cli-0.5.1-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 4d4cb86a862637b4152c0cc4621a54003d5dfd54fb1e67f43f13fd7abcde8fff
MD5 bb0abf670faa465dca0b4d03a1e41f65
BLAKE2b-256 a4763b0b42e1f5778c19c0dcb7a200402196e04faa2e6f2f48d929e222e6a7cd

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_cli-0.5.1-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 68fa4500ca2bb3a4d4382f013367e4b8ac7dbd87589015e6d2795e27e0a9431f
MD5 964795c9dceac880b711970ff9dea3b0
BLAKE2b-256 4fb5b2a746d23ee4ea01d2f64b4725ae6d157ece9f5580177203a51eca88827c

See more details on using hashes here.

Provenance

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