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.4.0.tar.gz (45.4 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.4.0-py3-none-win_arm64.whl (993.9 kB view details)

Uploaded Python 3Windows ARM64

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

Uploaded Python 3Windows x86-64

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

Uploaded Python 3musllinux: musl 1.2+ x86-64

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

Uploaded Python 3musllinux: musl 1.2+ riscv64

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

Uploaded Python 3musllinux: musl 1.2+ ARM64

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

Uploaded Python 3manylinux: glibc 2.31+ riscv64

act_build-0.4.0-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.4.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.4.0-py3-none-macosx_11_0_arm64.whl (1.2 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

act_build-0.4.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.4.0.tar.gz.

File metadata

  • Download URL: act_build-0.4.0.tar.gz
  • Upload date:
  • Size: 45.4 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.4.0.tar.gz
Algorithm Hash digest
SHA256 65af4e976c234a5109a3c251bd1cc47d5f877b56d2621613c7ec3006f66a6d45
MD5 86e72eea75543e70e5a24f16e9859c52
BLAKE2b-256 7472419747f3b3e4cb939b83b7c461755c948a77147d58c2c5d855c80e25891f

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: act_build-0.4.0-py3-none-win_arm64.whl
  • Upload date:
  • Size: 993.9 kB
  • 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.4.0-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 2d3ea242e630fe1d60a46da3fec6d391b66cfee128fb04e36cae7a4782ab8456
MD5 6b32cd83deea3288f42edb9b40af532c
BLAKE2b-256 2f0180a86589f090836a2b92eb4faa9c5e6ec7a71b8f07a103759f56fbfa0b17

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: act_build-0.4.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.4.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 564a96935b323e75de212f15f91d74bd6db35f8629e62a94ca71339a9da629cb
MD5 87ac5be647769cdd7743c3b2d6e8fae1
BLAKE2b-256 b5f2669a657bf2f7f1da5041cbead98f7d84218d6c729cf65abd99c109245e47

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_build-0.4.0-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 5254d6e93d4f8d0ee37abc451e9d5b8cfac85d4c992ea24271c25afda6b2e290
MD5 8702a2a7c5a90cef76561e3e632b7534
BLAKE2b-256 ec2453478eaa478ddc5e64fc0e0d2676bfb81fc2c2b535714a19e88982ccafb4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_build-0.4.0-py3-none-musllinux_1_2_riscv64.whl
Algorithm Hash digest
SHA256 3b093c8df67ebe6bbae61277fe1ebe631e6f228c649475e93ce4a8e343634fe4
MD5 5054894daf050472db8f40dd8c8d28e2
BLAKE2b-256 e126ab0d7b223410d1d715701fd8491524b29043163fe47843ef2ef27ac34a68

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_build-0.4.0-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 7cd29d820bb8a84c862e3e79f629185178491a7ddf7a31cdba3f88c5d736a0fb
MD5 282b8c25135292956e36ef755d949f2b
BLAKE2b-256 86a1255742bc8b6e0997112774ff7cb40b3ec1b73cb785dc83ebd4f9a4be14bb

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_build-0.4.0-py3-none-manylinux_2_31_riscv64.whl
Algorithm Hash digest
SHA256 1d9cda1f6a564f0b1784d41a3fe75e0e5da758cb2528c74054fd9698665e819b
MD5 6d2f197b68bc3a7f4863ca56c1c4b2b0
BLAKE2b-256 503a2fd3759cdd72b6185b698dc919641bd67730b4349646ee05115c58e7a411

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_build-0.4.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 af46166102f83700de950dee7d0c31d93917b0538bd2aa7255ed9993cc5a6fab
MD5 aa3513c723431f4ae0759022c50fafd2
BLAKE2b-256 77bee34b02ebab2f5ad72f982df1eba092f9ae30286999749e898d8ecdcd9ad7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_build-0.4.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 7819ce5b579b25f70d162611447ebc51ca6a63a6fd4e062ebe2e013e905edab6
MD5 d2f8ab6e6074b7617c1da9079300c087
BLAKE2b-256 9fa7c5cf22fa79977731d277124db8c5504a701fb23e7eca538f69d419d087f6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_build-0.4.0-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 106eaa47bfa8f0f34bc7ffd517ca157c4f6f00f3c93b6485fdef2827f9ec455b
MD5 7f7948b50eb68fdfa60e8ab2fac49fc1
BLAKE2b-256 bf1e89b5890e50e27f143c00c941223efb4b9f7ce2b6653c3ca17075a36f8875

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_build-0.4.0-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 830df8a543ca0176a82eb7f70408c4ad1689025eb1bce9d306397067f1021b92
MD5 9b9869e54c41ca2f2df41beb0429c107
BLAKE2b-256 c14866beeb3cfa80283a44387db09ab024220e7702ef404e8c15b55706b5ac36

See more details on using hashes here.

Provenance

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