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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

act_build-0.3.7-py3-none-win_arm64.whl (993.1 kB view details)

Uploaded Python 3Windows ARM64

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

Uploaded Python 3Windows x86-64

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

Uploaded Python 3musllinux: musl 1.2+ riscv64

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

Uploaded Python 3musllinux: musl 1.2+ ARM64

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

Uploaded Python 3manylinux: glibc 2.31+ riscv64

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

Uploaded Python 3macOS 11.0+ ARM64

act_build-0.3.7-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.7-py3-none-win_arm64.whl.

File metadata

  • Download URL: act_build-0.3.7-py3-none-win_arm64.whl
  • Upload date:
  • Size: 993.1 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.7-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 720e498c41efc214d1a70c1a409b42a865097d260ef11fbb071e101fc16efe44
MD5 d7c2d4b027e340a28b301c8aad09e8be
BLAKE2b-256 b686ded8aaa0022a5c35c3466c48336a4cadc70dd39419cd6288be3d77265df6

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: act_build-0.3.7-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.7-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 103fb3ed97164eedb093b82013741df624ee22c7a73833da70823e4bd79731f9
MD5 74e8a677e7ad85374c0960a6e6c30c7f
BLAKE2b-256 53f67dc1601cd13d247b4194f1d091e6078cf081fed5f5d231629d59655bf34c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_build-0.3.7-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 b4e54501591724b1ed2d9f720de25aaa9f2d2b6d44f4d603b833403dcfafb6d6
MD5 570cf78bd39a342fdf40559fb651c1a7
BLAKE2b-256 c5f96d5ba546a63f7bd73fa349309a39b79bcd482d7d48684ced8e6e2adba195

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_build-0.3.7-py3-none-musllinux_1_2_riscv64.whl
Algorithm Hash digest
SHA256 c32ca5026db24a88b06225073d2cde4ccf0a2fee9db7502ca0a78a99d049dab5
MD5 e82ed2855641753e13718c2082074c98
BLAKE2b-256 856f4b7f502ab1b6fbe0e138cd2a06dd710361aef8e9bdd005bef9fd4578fec0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_build-0.3.7-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 ecbb57dd89e46fb578ac042714fe5be33d75d0eb14aa56374d8585e575dc1a4e
MD5 abb345f2e84df3de255f32f197c054fb
BLAKE2b-256 2a7db10c74388a3423ac8d5101a77e0615952d2a130f9aaec4be39f26ee01d50

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_build-0.3.7-py3-none-manylinux_2_31_riscv64.whl
Algorithm Hash digest
SHA256 5fc6f86788b98108a5f9b0b18719485f27a8533c9a2c95542e89a766886139d8
MD5 c51175cf11990cd4528e4b93ce80f8f7
BLAKE2b-256 f7cfb6eff3e5afe245174df6433308c5efddc5d80feaa47d1aed328a2020879b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_build-0.3.7-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 03e4d86cd9980f49dc45367b4df2da13a95c28cde9f747087a1756668ee3b745
MD5 c056bc525f450857f67779073ac6a2dd
BLAKE2b-256 c56a8029ba18841284b3b75eb0f3aa32cecd2a60b9c5ee2e28453e9ad3465c79

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_build-0.3.7-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 5be890c676f2b430e49764528669edacf77ed179c488900edced07a3246bef11
MD5 b7803ea0a32b21f7bbe1f1462ab7bb61
BLAKE2b-256 98fe0ad87996aabe3b71f03e733da115663dab8383558c0002baa615ef388336

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_build-0.3.7-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 341ad52797573eda4fdc12863b99ad5b2a7998db623b21ab586e2e3125309a7a
MD5 ec8da1e3b5ac69f11ca6b3eac20dd914
BLAKE2b-256 2972cfa779689f11d7ea5acef7cac19676430dc211318d3e77cf6d8e3d28464a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_build-0.3.7-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 876e8cc1a709775f1e005ed1253990a83d4f2106b6f617ca9ff3bf4c70551f63
MD5 4937ee533e0a0de402902805b7a52863
BLAKE2b-256 fd010fa833c285bad2a838f3f9bdb408321819251481d5b2b94eca838da3a7b1

See more details on using hashes here.

Provenance

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