Skip to main content

CLI host for ACT (Agent Component Tools) WebAssembly 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_cli-0.3.8.tar.gz (60.4 kB view details)

Uploaded Source

Built Distributions

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

act_cli-0.3.8-py3-none-win_arm64.whl (12.4 MB view details)

Uploaded Python 3Windows ARM64

act_cli-0.3.8-py3-none-win_amd64.whl (13.7 MB view details)

Uploaded Python 3Windows x86-64

act_cli-0.3.8-py3-none-musllinux_1_2_x86_64.whl (13.7 MB view details)

Uploaded Python 3musllinux: musl 1.2+ x86-64

act_cli-0.3.8-py3-none-musllinux_1_2_riscv64.whl (12.9 MB view details)

Uploaded Python 3musllinux: musl 1.2+ riscv64

act_cli-0.3.8-py3-none-musllinux_1_2_aarch64.whl (12.3 MB view details)

Uploaded Python 3musllinux: musl 1.2+ ARM64

act_cli-0.3.8-py3-none-manylinux_2_31_riscv64.whl (12.9 MB view details)

Uploaded Python 3manylinux: glibc 2.31+ riscv64

act_cli-0.3.8-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (13.8 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

act_cli-0.3.8-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (12.3 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

act_cli-0.3.8-py3-none-macosx_11_0_arm64.whl (14.5 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

act_cli-0.3.8-py3-none-macosx_10_12_x86_64.whl (15.7 MB view details)

Uploaded Python 3macOS 10.12+ x86-64

File details

Details for the file act_cli-0.3.8.tar.gz.

File metadata

  • Download URL: act_cli-0.3.8.tar.gz
  • Upload date:
  • Size: 60.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for act_cli-0.3.8.tar.gz
Algorithm Hash digest
SHA256 45697a051918fd9e996e6f74dc3f7cad78e462e58ae46b16032f8103f5485f17
MD5 d8ac67c85059245154b132ebd1ba9b57
BLAKE2b-256 36c941f67192f780db8b8caa9aa2629798d1decd1ab7741f19709b7301e626ea

See more details on using hashes here.

Provenance

The following attestation bundles were made for act_cli-0.3.8.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_cli-0.3.8-py3-none-win_arm64.whl.

File metadata

  • Download URL: act_cli-0.3.8-py3-none-win_arm64.whl
  • Upload date:
  • Size: 12.4 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_cli-0.3.8-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 b50611e96620345f3f681375d93cfa88dd78d14e581511dd936a27404b8874af
MD5 d35b71e39444599fbe6c7b3a9f3dd372
BLAKE2b-256 16e66a694f36a983a47607d08ac61e05ba57e51d8714dc855e9d82ebe4077de3

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: act_cli-0.3.8-py3-none-win_amd64.whl
  • Upload date:
  • Size: 13.7 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_cli-0.3.8-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 40bbbca39cbaf82d7c7106c4433334c090c0bd7eb5e2b7c480e49ecad7684d9d
MD5 63e5f09da55c36af334803e7ce082fbb
BLAKE2b-256 ec03c6c43991a65cdd0cd6c7d39214f6794e1488a9cf8ce52661e42bfe4a1d88

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_cli-0.3.8-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 72c348eeb9e3e7563249ae54beee62266a1c5f9248bb4043f8e480b44287fa97
MD5 085733ef1f3dc76733e6688bf3e1fae8
BLAKE2b-256 e401f2ad0664d775ea83c8e0597d82c4559bb90aee2cc3e0e1db0af595aa72a0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_cli-0.3.8-py3-none-musllinux_1_2_riscv64.whl
Algorithm Hash digest
SHA256 f78648be02e10d0b07f88a92836ae64c7e911d3975c57b16ef99336fae3e6c65
MD5 0cac032ab250d56c25c7435fafd8e258
BLAKE2b-256 7a016ca8000d2e0e10a9402b72aff248c31452d41030545b09ccd81833429c5d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_cli-0.3.8-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 4610e2bf9479aec52a9bbeb7dd442a2ccc7c3a8e34af7e54ff210b0a6456652b
MD5 030c72f735db5ae71730f721de234517
BLAKE2b-256 9a79483e3b468d7aff4f215df023f6d12731960a1148a66280a0777fec04f13d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_cli-0.3.8-py3-none-manylinux_2_31_riscv64.whl
Algorithm Hash digest
SHA256 15fdefc0d8576346b8253eb31b4718dcb12b8856dc25a992c23808dee85166ab
MD5 687304fd5008f2ec0bd43ca85c539b7a
BLAKE2b-256 93a88b890de1af3918c50b48961a76b6553ae31e06d709237775ff5eba7c0231

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_cli-0.3.8-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c53171fbc6d414cf077c68195b2c202722f190b78768b0bfe7aa0516fa3636b3
MD5 ab724cb7b9b2e77902131cf80999f02c
BLAKE2b-256 36d3d116ed37c1a92efccc2b832bb0fe83f3d979901b14f2ed8ca3768f66896d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_cli-0.3.8-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 b29758730514f8ef5773a9cd9145bdef69c8cc1088a63c11b3011110ed0fea2b
MD5 657b39ed9e6bb44a79e1b435217d2cc7
BLAKE2b-256 a6a6e33aea1f3ae422ed6deafe3c426ba173d9d069a64022378a70f92e947d75

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_cli-0.3.8-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 5a98b44f82e180b79d073ea7f6a94168c52551e216a08e17ca81e79d427d823f
MD5 97a7c0b2416d77cd358dd4d25213e7cd
BLAKE2b-256 67d4c58a60286afc77d10b48e2a927b8415a5beac76b5ffd8b22c65330ba1740

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_cli-0.3.8-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 d192dba95adb1904d94d903135b23beca86c4c0dbf1f414973640266ce3eb212
MD5 e295f48ff22e53a9b7cea1697cb451a1
BLAKE2b-256 9d130e3d45bf9ab30dc1b88f6f08a70f53c5a63ee86f67cbc5e35ba585d5c1f7

See more details on using hashes here.

Provenance

The following attestation bundles were made for act_cli-0.3.8-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