Skip to main content

Build tool for ACT WASM 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_build-0.3.5-py3-none-win_arm64.whl (993.2 kB view details)

Uploaded Python 3Windows ARM64

act_build-0.3.5-py3-none-win_amd64.whl (1.1 MB view details)

Uploaded Python 3Windows x86-64

act_build-0.3.5-py3-none-musllinux_1_2_x86_64.whl (1.1 MB view details)

Uploaded Python 3musllinux: musl 1.2+ x86-64

act_build-0.3.5-py3-none-musllinux_1_2_riscv64.whl (1.1 MB view details)

Uploaded Python 3musllinux: musl 1.2+ riscv64

act_build-0.3.5-py3-none-musllinux_1_2_aarch64.whl (1.1 MB view details)

Uploaded Python 3musllinux: musl 1.2+ ARM64

act_build-0.3.5-py3-none-manylinux_2_31_riscv64.whl (1.1 MB view details)

Uploaded Python 3manylinux: glibc 2.31+ riscv64

act_build-0.3.5-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.1 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

act_build-0.3.5-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (1.1 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

act_build-0.3.5-py3-none-macosx_11_0_arm64.whl (1.2 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

act_build-0.3.5-py3-none-macosx_10_12_x86_64.whl (1.2 MB view details)

Uploaded Python 3macOS 10.12+ x86-64

File details

Details for the file act_build-0.3.5-py3-none-win_arm64.whl.

File metadata

  • Download URL: act_build-0.3.5-py3-none-win_arm64.whl
  • Upload date:
  • Size: 993.2 kB
  • 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_build-0.3.5-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 f6e1ee4d2e577a34a6ccfd8781e7e042501b22a9e4305e4ec7158c1c467d3aa6
MD5 558c40ed1726711d692fbedfd30cdd8d
BLAKE2b-256 a3d5df2258f4e3c9e5e0242244e5157b0dd15cc4d461e4bfee8d11b4e79e2d67

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: act_build-0.3.5-py3-none-win_amd64.whl
  • Upload date:
  • Size: 1.1 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_build-0.3.5-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 1a3a484f14ccb84edb15badf1b8f34ef8dc6a13df5aa3933d8d3128364349201
MD5 45b3a830cfb9a12ab19ca728d6f00922
BLAKE2b-256 853024a04191bb9b4ec8b0bd8207b40c8520e4cf90842f896f7e7e31c6fa7819

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_build-0.3.5-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 db038068d97ad6d3931fceec46b7f5a6ad4a28df4aaa5194a316481c4688d3a7
MD5 d146650835d43323aaaafb0cbccc8276
BLAKE2b-256 81437a8e6d49ac754fe298a52eeb361a7bc2e0e28f14f657866bd9b30e8ca31c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_build-0.3.5-py3-none-musllinux_1_2_riscv64.whl
Algorithm Hash digest
SHA256 7786c588a21079c2dba74e949725877bdffdcac50f39d46c44000c0689125a1e
MD5 7325db520a0b72cd3c223429f5c71dbb
BLAKE2b-256 39835e3f9e113e5fe25d89aa4f497f48176be754b245abec15cf8d556be72729

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_build-0.3.5-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 cfe2ebfac7c16e9dd848e817b6d11a729eeb20bbe695d96d8d4b425796f0dae1
MD5 ab735a3ef4113156970ac44b0d2b8322
BLAKE2b-256 c78ae7eb1a019d01fbff36ce8e9dd48ed8fba9f76267e8d082151f8d8b0941b7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_build-0.3.5-py3-none-manylinux_2_31_riscv64.whl
Algorithm Hash digest
SHA256 2a150dab0e7487121908f04a5297652b15b14aa75046e85fabb3aeb8b577d487
MD5 418a8d7d749dadbbf543354c4ef94917
BLAKE2b-256 c76cad36429a60e3537be3f579c3031d5d5184e7f7dacb5a7174e7e6718cc207

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_build-0.3.5-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 1a83d9f92fcb95c80b7aaad7aef9170586a6687909e6c8d57b8802230b762c52
MD5 0dd8a548edbe63e78712d8525963ce92
BLAKE2b-256 941b76a834b499ac266e1d5833354596cbe0bb821e18aacc1e57601743f3527d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_build-0.3.5-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 afe6bcca121edf13ed0b3207389bbfdc89426586d3b85f9830700a9132065c12
MD5 dadbc4c6fee08d6cc83f14136dd9a0ac
BLAKE2b-256 f170124b8fd86a1d01a69b017180c50dea0f0157b5ff4fa8d53a782f6392c681

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_build-0.3.5-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 9cc76a775760c4de2a558da10f8466d3d7275954b04c1245d062be6fe6a1e115
MD5 c83ae4ab2828c0604eeab32ac87e0964
BLAKE2b-256 4090f5ce6a0c0f5de13fc31816b0cb29afefd7844d32416a3fa64bfc7001c680

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_build-0.3.5-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 8f6ea57967d3311c1fb4474e04f8615549de686396981d742c5ba31ad14135b0
MD5 66fa3dcfb249c0c1662dfd24c55d1fd9
BLAKE2b-256 c46334832cd7a6d42c4a037f10424607b103268fdcc530055f27bb4dea6f4028

See more details on using hashes here.

Provenance

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