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.1.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.1-py3-none-win_arm64.whl (1.0 MB view details)

Uploaded Python 3Windows ARM64

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

Uploaded Python 3Windows x86-64

act_build-0.7.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.7.1-py3-none-musllinux_1_2_riscv64.whl (1.2 MB view details)

Uploaded Python 3musllinux: musl 1.2+ riscv64

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

Uploaded Python 3musllinux: musl 1.2+ ARM64

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

Uploaded Python 3manylinux: glibc 2.31+ riscv64

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

Uploaded Python 3macOS 11.0+ ARM64

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

File metadata

  • Download URL: act_build-0.7.1.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.1.tar.gz
Algorithm Hash digest
SHA256 3c8a01419385834332c174f29669aec398fed442d1cb32d7ad6c19a55789597e
MD5 5729b33a1bf49c91e4a1db7b2a66eafc
BLAKE2b-256 f13bdfaed0927f8c9799d7729894b5c18a9f25e3ff28a8e00b1a8e8765c09ad6

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: act_build-0.7.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.7.1-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 5a8db3a7076a8ed10e433c4a12f87dc8273d35a258e314d31d5a526f41f0a963
MD5 ac2b80d1147bfb7286679873a8415464
BLAKE2b-256 49c64dcc652fd510ebdfccba866c0fdf7f0b3747195980e457491f669cbaa29b

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: act_build-0.7.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.7.1-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 c8901bccf24a4663dcd540f4b34bfdbc0beea37c8dfef382e2dd44635e74c256
MD5 afb01c561b1f276e354768404766917b
BLAKE2b-256 8729052a53245b9a7063111300735f8ac59790c129a8e9c63869a584f79e696c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_build-0.7.1-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 f16ff7ef36d94fd4b405d88f176fbc28ca45f4b8679eb48fd6f3ab7045576610
MD5 54215e5e283066005dc53ea617f328fd
BLAKE2b-256 0af966bdea48f131725b695b69443f38eedec938ab9620e6c145273d276e5980

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_build-0.7.1-py3-none-musllinux_1_2_riscv64.whl
Algorithm Hash digest
SHA256 ac4774cb7edd5f4235365d7d4c0e53a34a3a3ea444cb38c4bedf97e73252e36b
MD5 95b7cf9b84c2444c774e2d8f4614e4f4
BLAKE2b-256 34b43d9e6a7e63b6f16e13eff3cd1e4a4cd51b3064bf5bd3fc39c0f6f9567537

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_build-0.7.1-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 15c5993b2fd2f7dcca3d3e17feb8393303cfc6735da0aea7adda5e080fe8b8f0
MD5 b8cc1ed9fc033822b0f880b155c904aa
BLAKE2b-256 6f641d5fb0cf64b0e961180fdda97e72a072063192438b2fa27b4c9da51c02f3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_build-0.7.1-py3-none-manylinux_2_31_riscv64.whl
Algorithm Hash digest
SHA256 c67cb5c7f8a259314fd55b742629836d0a6092e5e9bc09666be765872febbd21
MD5 68aba63f794cbd406db9f0be386d8b76
BLAKE2b-256 495fd1bb454c8b48f878c0ce8e32416923193164b447724cf1ae3fef687cd847

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_build-0.7.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 edb9a7074745960297374bec22790298f53c08cd8552c003f6dcfa33a4379fac
MD5 04c259094113281609c61223d88f40d0
BLAKE2b-256 7714bb483d9bb29b007eaec0cba68c9733f84dd110206e59a463a301afb8e376

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_build-0.7.1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 55583a29805f52e5bbe400cd359e7c85c32d58a89f4cac0805cc2b440b9bc70f
MD5 fc4ab479bde6b563ee63e43e29b7b138
BLAKE2b-256 84b8be7bc13bd5126480dbec822e783b18f064d3acdc61edb6ba00c03f231ed1

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_build-0.7.1-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 90cc2c30cb63458374472d29cad2c4f4da9402583f59042d250e9a9333023760
MD5 cea2279ce4bab929ff5390bdc2d477c0
BLAKE2b-256 d6b618c50a7dd5b7c2f261df483429cbbc275d067c0fa5acf0452add61dfd1fe

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_build-0.7.1-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 16f042d81ee952e356a74336ceaab5789d8ad41f1df66f739219caeebf5ce219
MD5 be153585d8a321c03a79f18ead94db20
BLAKE2b-256 9e4033435d16b0f5070d28c261de00b601feeec366c849ac893a0fa75b4215e1

See more details on using hashes here.

Provenance

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