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

Uploaded Python 3Windows ARM64

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

Uploaded Python 3Windows x86-64

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

Uploaded Python 3musllinux: musl 1.2+ x86-64

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

Uploaded Python 3musllinux: musl 1.2+ riscv64

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

Uploaded Python 3musllinux: musl 1.2+ ARM64

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

Uploaded Python 3manylinux: glibc 2.31+ riscv64

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

Uploaded Python 3macOS 11.0+ ARM64

act_build-0.7.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.7.0.tar.gz.

File metadata

  • Download URL: act_build-0.7.0.tar.gz
  • Upload date:
  • Size: 47.0 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.7.0.tar.gz
Algorithm Hash digest
SHA256 3a2846263f4cca982034c552badd8897258509d6b538b4d9b2535dc9861509d6
MD5 1cfea230de691020495e2d910909d1e8
BLAKE2b-256 e9381fef69db0d34b7778a0d2a6cdf1fcda109f2b2e8322e52045dbd18f37624

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: act_build-0.7.0-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.7.0-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 395875f4b379a1fe9d3cc550978cf84992637d64e7c982bff4a476271fe8d0c4
MD5 19c1afd799b1db392a0f1508ec0675cf
BLAKE2b-256 048472ad9118728bc1175070ffd02f31e1994aeb923f8df8eda2f36fd8cc4486

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: act_build-0.7.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.7.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 b78f67665048d77c583881318149480997ccf3e11e54f6d15909cd76da893d40
MD5 83e74e5c31d214559f580e33b5c885f4
BLAKE2b-256 f127823d91bcfdb6bb4a49dd0130aee1b8700968f3194b924aedc02835802122

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_build-0.7.0-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 78509d10b6b3227b7ef9f27266429ab03436a58cdfdd8be50b0cfb47a8cc8c6c
MD5 17dd31e04f603afa2690ed06ed9e766d
BLAKE2b-256 760a966b057cdf50976fbe30f69fae17e4e92a9af7e6e6ff159fb6d3bc92e5f8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_build-0.7.0-py3-none-musllinux_1_2_riscv64.whl
Algorithm Hash digest
SHA256 7c31fcc4962f8f4787efdb25eb778cc6358da79651455585ea811f1347d15f0e
MD5 a6b5de6d901a2598ae848e2812bcce6d
BLAKE2b-256 2e90a9c1dc8e926c85bdfc1b09eeeb73288e7d84ff18fee7ff5928dec65399c3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_build-0.7.0-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 6c9b7c75c5d688613c7269231816896203e5fdf0f05d4122dabf95e708da42f9
MD5 a3cf03baa2417608cf0339a1d0079d0e
BLAKE2b-256 eb658b7df779fa2565cdd628dc615c22248b4820ff20c4b9e63524464aecaa5e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_build-0.7.0-py3-none-manylinux_2_31_riscv64.whl
Algorithm Hash digest
SHA256 a935329ea358a84c408a109ba290a3ccaeca02df008d929db2250ef279f0ec4e
MD5 5dee2c7d9c4cb2786657a0c980e3252d
BLAKE2b-256 13f94babff0827e5bbb56d1ced4573aae8206905d9561beca9e7eac54f8187aa

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_build-0.7.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e2ff16424f61ccde9ba07cd54b2ddc6ec1745add70318aaa1c769d652d16222b
MD5 1672502b1762bb0d031d13edc7cfc6cd
BLAKE2b-256 a5988d9bec0a9533b4f143d227ed13d79bc310336a6356881c70bf974d00e5cb

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_build-0.7.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 8cb620f491201ed364197c28fe605e3007b4fc1b98dd76f645dfc97bc3dc6603
MD5 c32e84a1e0a6484047676eb6af5a7b60
BLAKE2b-256 2be4359229e355199c12b2a74db3b2d739fecf2e8f91f76658f269b4e26af4a5

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_build-0.7.0-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 4c6f3ece9077522d026c9fea4fb08765a477d5a2c52a2efe85ff1cea062fd819
MD5 93e004ef4b2246d3a0d5617d20eefdc3
BLAKE2b-256 7bebfc967ee0c2f1e1152983d3b12a3558d52ca003e7bf8614d5822c23b4cdba

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_build-0.7.0-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 ba74d626b68957d636ac22d3f88a30d92655bf627585da4be319876bc3b07bc7
MD5 a48f6ddc1d9e021c95db09b0c4d44513
BLAKE2b-256 4d5af40792579b4e7876820c74ef38497ce297a9e5fddd736b965d798eeff7aa

See more details on using hashes here.

Provenance

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