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.9.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.9-py3-none-win_arm64.whl (987.8 kB view details)

Uploaded Python 3Windows ARM64

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

Uploaded Python 3Windows x86-64

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

Uploaded Python 3musllinux: musl 1.2+ riscv64

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

Uploaded Python 3musllinux: musl 1.2+ ARM64

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

Uploaded Python 3manylinux: glibc 2.31+ riscv64

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

Uploaded Python 3macOS 11.0+ ARM64

act_build-0.3.9-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.9.tar.gz.

File metadata

  • Download URL: act_build-0.3.9.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.9.tar.gz
Algorithm Hash digest
SHA256 b7b762ac6ad590f5dc85bc091183b33cd7c33f6a12c336bc042c2d6f083a2e53
MD5 aa56d5171584f08c4e3538eb5092f8ab
BLAKE2b-256 2825431c4c1db9ca633e6c1cfb51819d5d8b6b49968edbd26268749bafeff272

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: act_build-0.3.9-py3-none-win_arm64.whl
  • Upload date:
  • Size: 987.8 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.9-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 e273f05d34f1020b67fe999d4b2534ce262880ea2a00ca152ab31248a1c08934
MD5 f0276e0ec4b3d78a0960259240959f08
BLAKE2b-256 b044668bae9efb542ae126c9fd7dbf7b7e43014c53e29e3422d277b2a2ef985b

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: act_build-0.3.9-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.9-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 e9d90cb023fce9d9c6fe070ae56bcac9ad8d75fffe8177f86387046a6d4d865a
MD5 c0af0a7cbbb71e6d20ca89e74334c1c0
BLAKE2b-256 e3afe7fe23ba38ebed8bfae607af7c198513a79cb6d9fb9d5aa0deacdb178dce

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_build-0.3.9-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 7f8e018ae95c2a96549438a3ae1e384f7e588ceba466c16f814d867dc57d23a4
MD5 66986208ef257387d664f14d0eab07df
BLAKE2b-256 3bd5cfd8baec0471f2c8741abbae293e961184549e1cc3189ab982081fda928d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_build-0.3.9-py3-none-musllinux_1_2_riscv64.whl
Algorithm Hash digest
SHA256 0c1a6029d0601b5ddc0acd8dd1b41bf4af7bf536c179ed5dc57c616503da7b12
MD5 9ae5448b315ad9aaa17dbe7aa7ac76b8
BLAKE2b-256 1ced4ddd74161dc88ad10aae9c67d8b832f9db6893755ed88e5a9bc4ee2e9065

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_build-0.3.9-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 e3f3c53d185d494447944c10571f334ef6918c29b59ecdd29ef1302ce4f25b0f
MD5 c085c46eb297692e5a61f081370f473d
BLAKE2b-256 1ae0d92ef91b30b39afb3f9f9b6b9afdc3869ac961a8d85c3385210db5a23b61

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_build-0.3.9-py3-none-manylinux_2_31_riscv64.whl
Algorithm Hash digest
SHA256 820fed61b41cf4b1128b5e481aef771df1e0f216dfcd6fe019862720aff671a6
MD5 3b52ba99214ea120f257e381d6def141
BLAKE2b-256 874fd76145555e864fc154c9208c7db8ae26fc229dc4ede57950f51ceed40826

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_build-0.3.9-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e7ae40c75858f4bdb19d9dca97e4fb9a9584456ebbbec6111e7bfdd468a76fc3
MD5 5e296ef6701693030494c10d343e740f
BLAKE2b-256 9ec47e1c4b6f783da9b5534d81eb5c54f50ad12acf7ca75bf934a3d8ce44bc34

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_build-0.3.9-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 5df1d7d85842a5d7087d591e2fe2cfed8e181105b4286f98586385d478d9e124
MD5 e2e0342977323a9ddcc548721c1c6a48
BLAKE2b-256 65eb9cc11fe250b0617f7288d8978379a26c2f2488998a799c10d8b2d4ddbf50

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_build-0.3.9-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 4af3610682a995da8559c18d46e9265319a514065e2b040544aeac14f0ff7086
MD5 8a4a76bb2449c3e4f2696429ff2395d2
BLAKE2b-256 1e1e69c51e38e9fb3333f7b59f133de7da2d1b13154789163cc8b523df9db348

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_build-0.3.9-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 f0189b007809726c5fef3006fb37d5906241fccc6e2f5f3d5669df9f9767c2de
MD5 ee629f9da4a71e30bb13826a121b1878
BLAKE2b-256 f17484d15487276b37d930fe1d5ce6dc2c85796b40918f73dbe1189f705f4025

See more details on using hashes here.

Provenance

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