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.4-py3-none-win_arm64.whl (914.4 kB view details)

Uploaded Python 3Windows ARM64

act_build-0.3.4-py3-none-win_amd64.whl (986.6 kB view details)

Uploaded Python 3Windows x86-64

act_build-0.3.4-py3-none-musllinux_1_2_x86_64.whl (1.0 MB view details)

Uploaded Python 3musllinux: musl 1.2+ x86-64

act_build-0.3.4-py3-none-musllinux_1_2_riscv64.whl (1.0 MB view details)

Uploaded Python 3musllinux: musl 1.2+ riscv64

act_build-0.3.4-py3-none-musllinux_1_2_aarch64.whl (960.5 kB view details)

Uploaded Python 3musllinux: musl 1.2+ ARM64

act_build-0.3.4-py3-none-manylinux_2_31_riscv64.whl (992.6 kB view details)

Uploaded Python 3manylinux: glibc 2.31+ riscv64

act_build-0.3.4-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.0 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

act_build-0.3.4-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (945.6 kB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

act_build-0.3.4-py3-none-macosx_11_0_arm64.whl (893.4 kB view details)

Uploaded Python 3macOS 11.0+ ARM64

act_build-0.3.4-py3-none-macosx_10_12_x86_64.whl (954.9 kB view details)

Uploaded Python 3macOS 10.12+ x86-64

File details

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

File metadata

  • Download URL: act_build-0.3.4-py3-none-win_arm64.whl
  • Upload date:
  • Size: 914.4 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.4-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 9b738296713e13eafec2b35e4012daa0a513264bf9f539e0b4f924a22bb1ec09
MD5 9c5dbfd6b3f09ded7f5d51029637543e
BLAKE2b-256 66dc83eabd34de317e014c31efff9d853697029f9b315fc5d3e72c2eb557b6cb

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: act_build-0.3.4-py3-none-win_amd64.whl
  • Upload date:
  • Size: 986.6 kB
  • 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.4-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 974f054a2d56d820bad6f7c10560cae297b1f9e3328c1d1e5a50ff95b24dff92
MD5 d5536e5d89b83876cf0a323fef48a7d2
BLAKE2b-256 b9b777fe09c34c205403d560ebfc79f2568c9225e0db394ad9938e130c28769c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_build-0.3.4-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 cae48c8b3e79df9d67bee2d79b9cc6f5907250c1469a6c023b58c5191206a83d
MD5 f6e0bb1bd8a7dff6fac2c62bb3f2e00b
BLAKE2b-256 d0611e792a57f56987ba5babacad3f24ff2715e14196883c501a9288bd87d551

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_build-0.3.4-py3-none-musllinux_1_2_riscv64.whl
Algorithm Hash digest
SHA256 564a6048ededa2695215b6d56f813c14a0fe7da7a85b61308344c1fe3bdfbcbb
MD5 bdb29197f95e8089af6a79e7b04a6443
BLAKE2b-256 a2808d9aecb8a2064d24bd68c8921ede789473846a099972a2a375d5c906ffe7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_build-0.3.4-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 a4dc8ac9d3cd875f959fc2f0f8ef6a4c25ae40b3907097d3db2b32c28b3c4ce4
MD5 93bc6eaee2f9cc32f4ccfade7564a08b
BLAKE2b-256 fbf9c54385d90baf9edd1628e064a14238cffceca4286d0a067826053c4cdb81

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_build-0.3.4-py3-none-manylinux_2_31_riscv64.whl
Algorithm Hash digest
SHA256 e4bdd016d5d0dd05a0b69ebb6f0800ad6707e4ad8848068baae4de2160ecabed
MD5 862789670bb1df8f55479f512c7f2f8a
BLAKE2b-256 5b529a36990d97a1952b29f0dea1f6a3dc6e379b53573096e81714b2d7ec8ce4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_build-0.3.4-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 38568f3c6fa3ca000dc620d57cb574170a5e24e03e18961d9b86b6004a4b576f
MD5 25f8f31423063cafc64203b7e389e2bd
BLAKE2b-256 0e49205fffefdb9785b5ef322d2282dc29e86db77403a6dc9e22410d4cb8dbe1

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_build-0.3.4-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 bc95f35c4ca03029c6e26e68db083feaa745ffeb16c81d4ef9103c0a9b51127e
MD5 07263005f2052d7c48c6b840e692124e
BLAKE2b-256 3f7bdcad809d98b7b0f182d5237fd458bc330478b8a60bf55f796320b808782d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_build-0.3.4-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ff43d74d90b6a8c6f4574bfe984c4799ba7d1257f367e18d065a3750a73a7e6d
MD5 ad0bf2bae0d647a0c0473b0f765d57cc
BLAKE2b-256 e5019c0bbfbdf581eceb722b62860b176af11feb8470e69662d01ce6c6fb6ba4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_build-0.3.4-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 d6d24ce2b9f212f607f8cea9bb09c25be330a3b7e0ca16665bb3fefd90000ed9
MD5 93a1b26845f1cf4ca7dfd095b191139c
BLAKE2b-256 3acfaa4e83eb5e48f5bb11753a44ef38e21a4a4e73053ecc55a4defeb02fc424

See more details on using hashes here.

Provenance

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