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

Uploaded Python 3Windows ARM64

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

Uploaded Python 3Windows x86-64

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

Uploaded Python 3musllinux: musl 1.2+ riscv64

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

Uploaded Python 3musllinux: musl 1.2+ ARM64

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

Uploaded Python 3manylinux: glibc 2.31+ riscv64

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

Uploaded Python 3macOS 11.0+ ARM64

act_build-0.5.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.5.0.tar.gz.

File metadata

  • Download URL: act_build-0.5.0.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.0.tar.gz
Algorithm Hash digest
SHA256 fe51dc44171b23215af9518950076e3a281a9fe2dcf39f9e2f67f8eded74e677
MD5 584f08794773edf3bf7e258402572103
BLAKE2b-256 b8cc2907b10272c8140b2afd8d27dca7853e058c6bc1b27e4ab2c034073b64e4

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: act_build-0.5.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.5.0-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 80c08a0f3e4e4767d4561a322ba8d5c7637a9b5e1c5c3744a181f0890107a863
MD5 0a69a59405588db6960386d3b69355f6
BLAKE2b-256 8525c35be89f73845d9c89c2ff230a2fa5ce4dbd8cfcf9fd78b3e3ab61f5f939

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: act_build-0.5.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.5.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 39bcf6f6fa5c83aa930abe6daa275701f9ba4201125213e4c5c155b145a49650
MD5 d8f1c62a945fd2e3bdbf9ae975e8b510
BLAKE2b-256 f64ff3cfbed299ded3b6a27b294f8ee1780364e175d6165dbb5ad11ffc283a30

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_build-0.5.0-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 beb923dec2ef0de70d4e7e5644d35c321f0ec1819552f8583ff64fc727e02092
MD5 b2cd6ce7b50eb87d1879adbbbc230313
BLAKE2b-256 97d860700818114a1dbc9c94bcd3dd01a86029976b6a6b60d47d46608a9080e8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_build-0.5.0-py3-none-musllinux_1_2_riscv64.whl
Algorithm Hash digest
SHA256 a429806b2396095559ef45353567ab97a2dedcb89a6df4e95c67862a862aeef3
MD5 adc2463b2bbfb609588292f488044cb7
BLAKE2b-256 86627b54060da8276ffcca6bda0770bb93b9624e209f18082f7824b8e4d25ff9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_build-0.5.0-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 52c3669cc2d0784b905538880f5db036f41ae67c91b351be7c7eccd9ad1021b7
MD5 79e9b250e46e9788c45897541bca2059
BLAKE2b-256 d75497828721856d5d645ce7c0437b30643b7dc5a4726f7697bf18c6322e8b62

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_build-0.5.0-py3-none-manylinux_2_31_riscv64.whl
Algorithm Hash digest
SHA256 9fdb501e1f13e9e37f17f148a19cfbf961d59f23b1a138cbbdf305eab9171e0a
MD5 7da1c56343811793d74c1387a838c701
BLAKE2b-256 500a01011860d47d6c2600f8a3540477b3c0477bfeae9537891fc4dd298720d4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_build-0.5.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 13850f79d801d7453d9671dcd99823bb72c04a58f4f88a0b614219ad4b4b42b9
MD5 76542bf0709702af0376547ff1beb460
BLAKE2b-256 94ef9c156ceb3687af0a59004ae780885ce3c7463a5a58cb85290666b85240d8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_build-0.5.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 44a1b991ad3945617d5814f184d145548b9b88ac90ed62bf9dba404b368e2e50
MD5 a2c1150055364f7c766f26a724158ba7
BLAKE2b-256 9ed4c54f1b1fb2a16948609ce7783dc19f0c086a61698903568c770009ba11a1

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_build-0.5.0-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 cfbe92d2a1d0cf721dfc2eb68ce62010813a11080d086c60412a0be6ec9a8646
MD5 b5b4ba75a51dfe61f672b2b185029997
BLAKE2b-256 5fd7fb5c8952d7fc1f0f968a8b47989425af99300b1d80437d7aca12c97371ac

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_build-0.5.0-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 8b23d27e2e048a95190743fa645d15a6d30f7998f7ce0a31eb745676022c7053
MD5 4800453adfc11658e2c14aa282bff11d
BLAKE2b-256 e7117f59dd693384378aa6fb1688a261c4359d617c2df51be9a324964f247a5a

See more details on using hashes here.

Provenance

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