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.3.8.tar.gz (45.1 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.3.8-py3-none-win_arm64.whl (987.8 kB view details)

Uploaded Python 3Windows ARM64

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

Uploaded Python 3Windows x86-64

act_build-0.3.8-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.8-py3-none-musllinux_1_2_riscv64.whl (1.1 MB view details)

Uploaded Python 3musllinux: musl 1.2+ riscv64

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

Uploaded Python 3musllinux: musl 1.2+ ARM64

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

Uploaded Python 3manylinux: glibc 2.31+ riscv64

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

Uploaded Python 3macOS 11.0+ ARM64

act_build-0.3.8-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.8.tar.gz.

File metadata

  • Download URL: act_build-0.3.8.tar.gz
  • Upload date:
  • Size: 45.1 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.3.8.tar.gz
Algorithm Hash digest
SHA256 5410ca2679d2d01f3b54dabb01723f3c380896631b361f729e2a01ffb7db2dd1
MD5 17fc1aef6b0d78906f1db33d16b609e6
BLAKE2b-256 8554c66f6f054d272b3e93089b747ef0446a079b747f594de10729e2f6f70b4f

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: act_build-0.3.8-py3-none-win_arm64.whl
  • Upload date:
  • Size: 987.8 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.3.8-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 cc4c0ebf04755dab327d4dafa69971d6216483a53ea897602f72c96e682be964
MD5 3204ea66a43039f92b786e07ff725e03
BLAKE2b-256 a51c59caffe21f34d61cc3da150315661fe612f5a6ea506aeb606953bccf1843

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: act_build-0.3.8-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.3.8-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 f7ef05a516c4bcc4454d19f9e30b40218f56c4096750e2cc520bf7d366d7e079
MD5 8e17b394c27e3264bdbf504f187e5eec
BLAKE2b-256 af4e0bccc0984d664a4e4f453924c64170aac2870b25e6ee81b2307e5ef4fda9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_build-0.3.8-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 1b790c8d1017d31a3264cdbfa02e25d695ea35da8753e8ca3e3df8d4bf82a29d
MD5 b6381f592dd87c7945d50f925edece89
BLAKE2b-256 77541b95e9c9e1ba6ec626ec8a25fbd795b7f8a348b698d4a0ccc008f537d41d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_build-0.3.8-py3-none-musllinux_1_2_riscv64.whl
Algorithm Hash digest
SHA256 00cf71c68e61b967be9c65de372e86c97a9d670e0ed0779d70643332e18c45e8
MD5 3101e25002f1af5e8120983219bcf947
BLAKE2b-256 b26f77cbeced4d5b8cdc93f71e9e6f56325ad1e9d2b92cfac75c2c681f7b6d05

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_build-0.3.8-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 dabe1395105f1a14b81041d8d09d024aefdc82abd7d2e768801e57481773dbc8
MD5 fa406ec01e5d7f877faa2501690bcdd0
BLAKE2b-256 8f616a82766ae32abfa14a9a28589dd5db5433c42f54b911b891ee7a5201f88e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_build-0.3.8-py3-none-manylinux_2_31_riscv64.whl
Algorithm Hash digest
SHA256 5ecd54a97d48323674f15087eb5745e25ab79eb47fa84276f01834e5eba2afc9
MD5 5cba2dccae82fe675f24c5d3332521d8
BLAKE2b-256 306ad769e6a9baff1ce1f67aad2355483da9904e40f156c97a625752ef2e0219

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_build-0.3.8-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 561e9ad8dc8fd98dca8c34a413b1822aa82d9c9eee6f8ca60ee6291060d667fd
MD5 07a5954d3f02632c72ee3f84f164844c
BLAKE2b-256 0da21bb8df4a45cd96692173ad6a861acd616904e1112f08f50a01b5ab964c84

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_build-0.3.8-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 896f0d910bf8dac3fd8287f2545d0d248372d86d205cd37e6b88b52ca0201ba8
MD5 46c557c72082f61ce76720898673b790
BLAKE2b-256 82e7bfa2585a7437935df235aade15f22431240f68486b9ca36fbcd2d05dd61e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_build-0.3.8-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ee72fc89950634666593ebb3fa40e7849e9e77aa72da2afe93b35c6f11eb55fc
MD5 6df367dc07aa7bce0278dd7dfc5ce49e
BLAKE2b-256 716a01c2eebdf3c3c30246a1aa56193438d2b06242ed19fb4d4a418c708c9628

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_build-0.3.8-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 67b505aec56294c3b5ac014458a401ba146f62a23c5acba6b6223a071a5b4fdd
MD5 9dc8ae43bf51debbe500eb2adfcaddff
BLAKE2b-256 237d416d2542e7b8acf1b3b1bbb2e75e87b02155354e6b06484f4c10c8f0f347

See more details on using hashes here.

Provenance

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