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 Distribution

act_build-0.6.0.tar.gz (47.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_build-0.6.0-py3-none-win_arm64.whl (1.0 MB view details)

Uploaded Python 3Windows ARM64

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

Uploaded Python 3Windows x86-64

act_build-0.6.0-py3-none-musllinux_1_2_x86_64.whl (1.2 MB view details)

Uploaded Python 3musllinux: musl 1.2+ x86-64

act_build-0.6.0-py3-none-musllinux_1_2_riscv64.whl (1.2 MB view details)

Uploaded Python 3musllinux: musl 1.2+ riscv64

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

Uploaded Python 3musllinux: musl 1.2+ ARM64

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

Uploaded Python 3manylinux: glibc 2.31+ riscv64

act_build-0.6.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.2 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

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

Uploaded Python 3manylinux: glibc 2.17+ ARM64

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

Uploaded Python 3macOS 11.0+ ARM64

act_build-0.6.0-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.6.0.tar.gz.

File metadata

  • Download URL: act_build-0.6.0.tar.gz
  • Upload date:
  • Size: 47.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for act_build-0.6.0.tar.gz
Algorithm Hash digest
SHA256 8cb6c07cebc1dca6578aca8550b7783b8d18518a146db47d064e2ef4dd7eef4d
MD5 ccd14e262dc4308db6e482b7997b2726
BLAKE2b-256 612edeee0082c9f8bfc6633b2d4e23490e3adaf050d5144f12dced770cdbfd48

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: act_build-0.6.0-py3-none-win_arm64.whl
  • Upload date:
  • Size: 1.0 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_build-0.6.0-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 26a1ffb2177153aa38e2be54e9b21b34ef31e9fedb5ece8ff07b39b85209ac74
MD5 ea02321fa3cb812645ffbaf0db908f08
BLAKE2b-256 858d53a45b7d3016853a4c748c3748b5c9bec5cc26a35b00b9c24d56e48fe68f

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: act_build-0.6.0-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.12

File hashes

Hashes for act_build-0.6.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 0086629ad543f39357278ad1eb02c69de347731c5440d80ae7b00a2e22002f14
MD5 23f85435d438b38cbd51f1356c21c3b5
BLAKE2b-256 64f64544ae42e639e32ae75df259ea15cdeea946b556333dff4f936ebfdfb21e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_build-0.6.0-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 ca4f322e74bc333d00e85ac7446122c5d0a391957fc84eea4c8161f5ba757a44
MD5 0a201ecf5d192ac5e160c9a92fcd9ef2
BLAKE2b-256 50550a4482aaefe716ed0404db8f1f64460afc02a6949e1f3283daaf330e3247

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_build-0.6.0-py3-none-musllinux_1_2_riscv64.whl
Algorithm Hash digest
SHA256 7603340bbf529d7ef6dc58f184551f8a8d3aedb47ca7dc4e86d709e5f4f942bf
MD5 1b70f6025d50c1c2a3595fa8876dfe20
BLAKE2b-256 5ab8ee2711a19080a840e5ac34d7968c98a3caeefd9090ce85328ecdcc927af6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_build-0.6.0-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 cf1b195d77bea76cc7c159210382e25e1d91d0004cedce203c17ec7127fb54df
MD5 e57e7f75f3e68d09a4eb66962e7d51ec
BLAKE2b-256 89ccbcd00d910f6cbee7dce171a38aaea127fe74d0385551d0a4b8606a385f03

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_build-0.6.0-py3-none-manylinux_2_31_riscv64.whl
Algorithm Hash digest
SHA256 029c2f9ddc8d3507b0d053ab5214470e3615f3119d10b02d4deb4e1fa2445086
MD5 a47f98a7823b5dddd14e35bd69b3be3d
BLAKE2b-256 9c450b182d80edff5f85bef148bd06f1c8e96265795849318e0b19f7804c1131

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_build-0.6.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 56eab761ab2fd3844af898ad5ce3740b6f8e5bfb078784aba993600e93669bf7
MD5 7bcd7247e856d33a5164ee7da68b6773
BLAKE2b-256 04eb42740bbfbd57753fe881cad6803bbb00a15206185f5a79b6990ea168f896

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_build-0.6.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 89fa4efc1dff0a6a8e39f7bc71662140e87a4b9b7b7223a9838edd01d5e2f4b8
MD5 089478db9e8acc7c4f89786e95a4d118
BLAKE2b-256 15f3e9c23ad2b3570818425466913067ce8d83f30f72df8c79f3b8483e749943

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_build-0.6.0-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 46b657c5f52edd25989121563968e802f762ae96042212052c3dcb2fdea86126
MD5 24b6e0fb79fea6e709d1914ea0d3caac
BLAKE2b-256 1012acb725088d3b3f0bfff14b002dd76f4961b3f8851ac47692a8266d20968f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_build-0.6.0-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 e3f7528089e53167dbea0ccc277acf71053ed504441629d231aaa0ee967eedbb
MD5 16717c5da4cbf419110198c696cd7f4a
BLAKE2b-256 9fdbdbc0129b0ed458f4e90863662c89aa91c14d69f77e09996a45030d2fe998

See more details on using hashes here.

Provenance

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