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

Uploaded Python 3Windows ARM64

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

Uploaded Python 3Windows x86-64

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

Uploaded Python 3musllinux: musl 1.2+ x86-64

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

Uploaded Python 3musllinux: musl 1.2+ riscv64

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

Uploaded Python 3musllinux: musl 1.2+ ARM64

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

Uploaded Python 3manylinux: glibc 2.31+ riscv64

act_build-0.7.2-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.7.2-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (1.1 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

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

Uploaded Python 3macOS 11.0+ ARM64

act_build-0.7.2-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.7.2.tar.gz.

File metadata

  • Download URL: act_build-0.7.2.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.7.2.tar.gz
Algorithm Hash digest
SHA256 117e1efcc773a153d13a0a8a0679e7d0cd6973fb70e7bfd7259fbf811dd058e2
MD5 91ee862c4392da412d9e86fd5b76a161
BLAKE2b-256 1cae0ca65110dd3f8dcb06394edfaec3a60763d07767f667e81125cb5c1ebf97

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: act_build-0.7.2-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.7.2-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 67f268ce4395d8c6e655f6e2e69f0a9327bd94c37d07d27702bdd39858f69148
MD5 ce9a93d4aa4d29fcb6bef08c0f104307
BLAKE2b-256 0b59d79b242b7505c168c9f13fa4d7fd1ffb659101c6322def487d84de695c96

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: act_build-0.7.2-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.7.2-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 af67714df5468d919fb8ee3271ea6d5a636ff49dee033fe13bd18efb4238870e
MD5 5e271afbe9d0a6d066bdcb27670c940e
BLAKE2b-256 f2a88d01586ed3558af1bc16089a1a63ba43da02c5e7bedb801c1eef416173dd

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_build-0.7.2-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 b9b023db17e0f9d36037aa7fda954f34e34773a58bc20f5cd843ff3bd1b5451d
MD5 c64d4fa4aec543bea819f9f248fce1b3
BLAKE2b-256 78a02d6d639bc20274a246a6f31a0168f3ba462eb49702315f97503e695ccc6b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_build-0.7.2-py3-none-musllinux_1_2_riscv64.whl
Algorithm Hash digest
SHA256 ee9125f7d8d10d26972ea11b95661fc7aa73e682f2e21ab6518298930495dc9d
MD5 eebc2a94c3332e3082c2042c121fb4d2
BLAKE2b-256 bbc02974341f9ed6d8afc92070a748fb722bee0eba0c05f66b1a77eb19499175

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_build-0.7.2-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 b9aa72ac95e16cf5c3f8488073ba764d32a9219c9081beef68869994f37a404d
MD5 9753a1637e82f2ab9aaf1fc9eb3d5b39
BLAKE2b-256 04ba4b6a831833de603df85485593f5e8c968d0c2e42a2a9e097cd2ebcd828f1

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_build-0.7.2-py3-none-manylinux_2_31_riscv64.whl
Algorithm Hash digest
SHA256 5d64bdaa8bfe43da3362d6c780e3add884506abdbf42ebf7d6b4bc0861bca6a2
MD5 b1cbe2df10834c186b0aa171eade904c
BLAKE2b-256 052362f89ec5df4900ee5a8afb332fe863fec357c2691085770ea0ef7d001abf

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_build-0.7.2-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 3f1ee96725f711221354743fafee3b9689ee8ab5c4d51481dbee51e6ce7e1486
MD5 f1b972b68018ed2e81fbd0e9ead0035e
BLAKE2b-256 4c1c4d3a1fe7ef1303f9bff1f974e54e4f531917bbac72afaff80e06b7e7eefc

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_build-0.7.2-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 2390855e43f3fb3d62235411c9cc3309ecf67de5c781d5371e690e610e658bf3
MD5 1416e90a0f75675700ac9e04e287b533
BLAKE2b-256 5f7cfce27487929839bfc299c9af11b6b1a93a047728591c0af2580ebe649b96

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_build-0.7.2-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 69f2b0dff35d4122654979017fd113f571a26ec3612613fc5dad1a98dce44299
MD5 ccd07e4672fe8db28423686a76f0de36
BLAKE2b-256 11a2179810ae8d7f6acc00574caf7bdb17b4707951546a9f1d78b16cc737b8f9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_build-0.7.2-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 a6d5ab7e47a66dfca17a10e68c820f8541b2202a26d6496146969fe50960934d
MD5 f891b3fe7026baa9267ca5a241e44709
BLAKE2b-256 fa01c97fa375cadb31d6ef38fe44265cec1ec9c1d15cb45ddc53ef385e587ddc

See more details on using hashes here.

Provenance

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