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.10.tar.gz (45.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.3.10-py3-none-win_arm64.whl (987.9 kB view details)

Uploaded Python 3Windows ARM64

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

Uploaded Python 3Windows x86-64

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

Uploaded Python 3musllinux: musl 1.2+ riscv64

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

Uploaded Python 3musllinux: musl 1.2+ ARM64

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

Uploaded Python 3manylinux: glibc 2.31+ riscv64

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

Uploaded Python 3macOS 11.0+ ARM64

act_build-0.3.10-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.10.tar.gz.

File metadata

  • Download URL: act_build-0.3.10.tar.gz
  • Upload date:
  • Size: 45.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.3.10.tar.gz
Algorithm Hash digest
SHA256 93633b4d5e0e1dbd7fa5fc7ee4ffe3562520e3a482c31d0fb6ae1f3e6b67253b
MD5 5389411b85143ba3c3b598455fb1695c
BLAKE2b-256 68da77d45d59457fda124a3f89b0ed8a395b1559fa832a61cfec76b78be67c5f

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: act_build-0.3.10-py3-none-win_arm64.whl
  • Upload date:
  • Size: 987.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.3.10-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 d7fe7f02a79b11c1539a83fd856e52976a4419d3c11826ebc6bb1bab73809139
MD5 aaa4248b80726592d372bab00d95a518
BLAKE2b-256 561fd6831f7be8925492d6f1efcbc3c3f5ae0388752168d1189a0e130f7b2ebf

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: act_build-0.3.10-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.10-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 670c87ddb1c84fbf13f4a2827825c84650a607ae76fd5a6b80535e2fc3a86345
MD5 9cc270330cf67dfab0269648c16cf17a
BLAKE2b-256 7c12466fd69be46b1e32457890b5bee5f22bf3f396debf35f33e043d5946780a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_build-0.3.10-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 4b8196b7b738287b2b6b7c9e8e8ad4769fdd16cce522ccca3bb8c0dbe3321fa2
MD5 13d6fc6624e698c3b2af41320ed689f9
BLAKE2b-256 bffa22df58a7a1722242446b7d96dc470b193568a30b2e0427f58262db39ccfb

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_build-0.3.10-py3-none-musllinux_1_2_riscv64.whl
Algorithm Hash digest
SHA256 7d50f6c128c0ee37d0c700316cba7e20e9174a47979dc9fe27034547c2573006
MD5 9c4a4dc9401e98f816773239ff7aabd7
BLAKE2b-256 9ed16c322f7d256dafb80a994d8396861d0230cb1cc16b80c3aeb36ec8774a4c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_build-0.3.10-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 4d785d260849c41714fa14f5eb1b94a525886617cbc7cc45641d54eb36402c24
MD5 11e06996b197d1c116c1952dab453b7f
BLAKE2b-256 57f1aad4917a287eb997e8e89fc3b9f4f55e9a9e6f62d15e52aac702b68f20a1

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_build-0.3.10-py3-none-manylinux_2_31_riscv64.whl
Algorithm Hash digest
SHA256 f36112f90a5958404102d8c793b449884ea381f344716fe00707186ac9aa61ab
MD5 0eeee745756077c680b53dd4a3414cd4
BLAKE2b-256 25980d22d7e8546253a2c444e31ff925c1d5d8ca7b1a223c5e63b9e22992c299

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_build-0.3.10-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 5e0b2c82ca385961940a6454e9334d0c14098e75c38b8e3d64550f062ffc15b3
MD5 4ac8c5a41e350c7fa91c9aec73f3f1ae
BLAKE2b-256 4d9210dfa6cc14cfb1d36049a03f49ca0e834dd732cedc09a04934fd3c6a492a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_build-0.3.10-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 6ecb93f6075767e337f66d66ee504259129f89e57a82ee11b06113d8ba2d1bb3
MD5 cf195dda9b81a7d9968c31fa47de745f
BLAKE2b-256 7c463630ca0e6796d312985316c3dc886f7b74c0eb52453bb82d0cb06153b2d1

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_build-0.3.10-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 7ed152225ece3ce497d37306bd11d4c1ce9a1176dedaec5036ad46ce95404bf9
MD5 56d45afa6b3b72939451c88f681fe04e
BLAKE2b-256 29d14e52c332fb36e64a44d48f988ceebb82fb5353d557ed3ddb3ea689d65031

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_build-0.3.10-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 4dd6fc9cb9516032bb961dfd2469e8dcc710be85c5acba9b119b1d4fbe2e1b37
MD5 8d1f330491375a0d14742b781fffed6a
BLAKE2b-256 72994d8652a4f1e987870e75539efd6c1c34ef390c39bc525d8ead0cf0732dd6

See more details on using hashes here.

Provenance

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