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.5.1.tar.gz (46.2 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.5.1-py3-none-win_arm64.whl (1.0 MB view details)

Uploaded Python 3Windows ARM64

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

Uploaded Python 3Windows x86-64

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

Uploaded Python 3musllinux: musl 1.2+ x86-64

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

Uploaded Python 3musllinux: musl 1.2+ riscv64

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

Uploaded Python 3musllinux: musl 1.2+ ARM64

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

Uploaded Python 3manylinux: glibc 2.31+ riscv64

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

Uploaded Python 3manylinux: glibc 2.17+ ARM64

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

Uploaded Python 3macOS 11.0+ ARM64

act_build-0.5.1-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.5.1.tar.gz.

File metadata

  • Download URL: act_build-0.5.1.tar.gz
  • Upload date:
  • Size: 46.2 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.5.1.tar.gz
Algorithm Hash digest
SHA256 d0a96f10381783bc5e5d6e00bd97bde27e3d365c086fd7a9e097ffe48e9e6e25
MD5 65fc4e791a2e51146076c747572eba05
BLAKE2b-256 a2a806c2df7ebc3fc428084159fe3cc66b7c9cf4a0b9fd051066ef95e6d5ab37

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: act_build-0.5.1-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.5.1-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 05e662388318407e19949133c3e4510c2af06be4e7562f5979fdecf45e1ffa98
MD5 6e5f70b2551a93635b8c174cc0f5b0da
BLAKE2b-256 b22dbc27bf1896663e1fece0788a689fe4ef76eea15190f8cc60553e93c8722b

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: act_build-0.5.1-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.5.1-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 e5daecc7e40264f74a2bdd59f14559193800ad4d7ab6fc08250edbe755191dce
MD5 866b1b5f6a93acef1a85a25a186b4a19
BLAKE2b-256 eee9062663f68eafad73d511c85e63b1af80b1af467618ab23566cb071a7e146

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_build-0.5.1-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 54830a4ec209fac4b70cf279f9e41e3e308a90d3c351589138ba0089040506e4
MD5 cab7b7d3772d962c07d779e00460475c
BLAKE2b-256 3d33ce66f684270146610f622ec46a6ec60d4134fbfe06794184bbeeeb004878

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_build-0.5.1-py3-none-musllinux_1_2_riscv64.whl
Algorithm Hash digest
SHA256 2144c9e0e33b855c14862ab421ce81a795c4ac37d1a415afdd052da7383fcda4
MD5 f51d65e05a73a191b2594f0030dcfd8e
BLAKE2b-256 7dfabf50867bb45b6344c1cea27b1110e47e77edc20fc23001099f243e40b05a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_build-0.5.1-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 ff2c03f86ec60c318a21d85e3ad1ce25a29f953343c557c078a853d97701936e
MD5 85af76e121ab49927ea575cb7b3c003b
BLAKE2b-256 5e5c8a3a336447634df77f1521157e938d4c8d1cacbb2ffbc1ae3311274ea87c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_build-0.5.1-py3-none-manylinux_2_31_riscv64.whl
Algorithm Hash digest
SHA256 f7c1962e8880358efb9f07be570b4098425e982bfe0a6950caf1a753f8729273
MD5 d0e64336c6118c909e841bda89b3754d
BLAKE2b-256 26414ce3032cac91a1e0cb175b76c5fad7972237876e73da83b61c7f8ab3383b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_build-0.5.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 3ff7e7e15470c207927219c462c941d62df0745d9230a5c24e8d67cf35d920bc
MD5 911d408f7104ebacc3fefaf0bf17e042
BLAKE2b-256 c884844cd0c8bdb7eec61bb8574ac9548e9f34a78436c3f822313c9f2aee9fba

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_build-0.5.1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 9521f5ae4f2cc36a26ba3ab728a3df0b437457dcbc05d17ec93d5fa0b1e4987c
MD5 897f96eeb4ea75631501ee87d6a719b9
BLAKE2b-256 ea7467d224e380b30b77417f2787c5bd2f87808bb0ecc28e8020026d988c5121

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_build-0.5.1-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 3840f5193d1c200341009ca4bb7d3109f5ddfab5e8e3351b0d8cc4c22dce66c5
MD5 99b2a6b149b1f949317ccccab3cb301e
BLAKE2b-256 76d28bc6954d12da2871340a6bce43129caae728f2ef776059ffda465b64fa5a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_build-0.5.1-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 953ce6dbe0bc7fd630cf3e88118ed473201257668156dbcca4aa5f4d37bcac7b
MD5 e25b67e0191e0ad847ee17aa940d8b63
BLAKE2b-256 a6531c881930846b9b6cdfddbdd185af7ea10b77cc6212d46dabfd4920b1206d

See more details on using hashes here.

Provenance

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