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

Uploaded Python 3Windows ARM64

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

Uploaded Python 3Windows x86-64

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

Uploaded Python 3musllinux: musl 1.2+ riscv64

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

Uploaded Python 3musllinux: musl 1.2+ ARM64

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

Uploaded Python 3manylinux: glibc 2.31+ riscv64

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

Uploaded Python 3macOS 11.0+ ARM64

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

File metadata

  • Download URL: act_build-0.3.6-py3-none-win_arm64.whl
  • Upload date:
  • Size: 992.9 kB
  • Tags: Python 3, Windows ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for act_build-0.3.6-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 07300bcdce8b3c851c07d4e81b321d63ec0775ef2124882fede954ff4458a577
MD5 2ada48565640747eb899220b549bd5a4
BLAKE2b-256 d16df9e5959ec0d60de0e8a449530981174b4b8cd1a7629c2a46150f390d4115

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: act_build-0.3.6-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.7

File hashes

Hashes for act_build-0.3.6-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 c1b8a185fab7c7c602021d92a34ee6f986cc7e2adf32b09285b7a8be0b1af24d
MD5 1bc8d8b0772e0dcecff9a8a581c7d24e
BLAKE2b-256 3c26c4a6d6859ba9924b73d3f7e73f6575f9eedca59ab8a109399350f84bae49

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_build-0.3.6-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 c70efdca5a00e83452d479c0cdb04eee7b3dcd30af00a4b33c0328ecc10db745
MD5 0c7e46dd61d8927879b6487c7e896f0d
BLAKE2b-256 fdd6f74411acc97b6ff577d090b4a7f19cd9a3b2ed69474d9badaf199d6974e1

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_build-0.3.6-py3-none-musllinux_1_2_riscv64.whl
Algorithm Hash digest
SHA256 58ea65306aade1a45dea04c277313a3e583ae202beba4ba2d6383201115de4f7
MD5 4d7e93d928c287ae2d7762c861dae8fa
BLAKE2b-256 7772af8fe9fec8afcddaf241c833d2145805f140f41ee4259d17422a958f2158

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_build-0.3.6-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 e003ff3d22867bcc9b614ee97405ab59f74396a9f6e02b9096839e46de4915bf
MD5 a4323a2453292bab064365c1ad78a396
BLAKE2b-256 ce4cb346b8855e454d2c033b33faa5f9d30c5be15c97b7f50353f5ef11e384dc

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_build-0.3.6-py3-none-manylinux_2_31_riscv64.whl
Algorithm Hash digest
SHA256 84731298aa215515548f2dbcc93a15dd192e43acb62fc80da22ba8324b6f1122
MD5 06ed5c5f7dcf3aaab9c266ff34bad466
BLAKE2b-256 aafd3a2892f9034be51d4ee6532cc81633031870f4f72ed5f7e5058dd6c01df2

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_build-0.3.6-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 98a8f33eb7e55c3bb434c19b962ed2f92a3b5ee8c97e0052a2b13acfa0120112
MD5 0653992a17df5972942cc06df996ae62
BLAKE2b-256 1539ee3ec96dc483c513022d928e8af9d7350f12f0c8ffa564f0589a0287edf8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_build-0.3.6-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 7647cb65728ff2a2baeb3f5ca40206390f173a362eec75f04443405d27e2e3bb
MD5 f2f5387c59cec211a9a6a3ced2f5ccbf
BLAKE2b-256 94465418d49a4d01e9338e4cf402aa5a719b2bc74d307caaf1c81f3bb83c4e16

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_build-0.3.6-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 dd26839b9110925bd7b0d1e2fa69da59c8ea10bc452e0551019ff85e97e1a7db
MD5 d5bcb453eef28e8bbf6c4413d8b88aa6
BLAKE2b-256 b91825f93d6f35c985a5d74f1ba92ccde9f2fd12e609f3e2ad516f5b5f5e1950

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_build-0.3.6-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 3582d496622b07b0ce5e3212f6c952984b890c3e9fc43d2fa26fa5cdec43ee52
MD5 b30461fde16832583fae5572e3b54742
BLAKE2b-256 e5fdbd25f70c19fe59e287dcef7bfcb1f97f09564cce10943cd9f9dec2668c79

See more details on using hashes here.

Provenance

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