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.7.1.tar.gz (96.3 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.7.1-py3-none-win_arm64.whl (13.4 MB view details)

Uploaded Python 3Windows ARM64

act_cli-0.7.1-py3-none-win_amd64.whl (14.9 MB view details)

Uploaded Python 3Windows x86-64

act_cli-0.7.1-py3-none-musllinux_1_2_x86_64.whl (14.8 MB view details)

Uploaded Python 3musllinux: musl 1.2+ x86-64

act_cli-0.7.1-py3-none-musllinux_1_2_riscv64.whl (14.2 MB view details)

Uploaded Python 3musllinux: musl 1.2+ riscv64

act_cli-0.7.1-py3-none-musllinux_1_2_aarch64.whl (13.3 MB view details)

Uploaded Python 3musllinux: musl 1.2+ ARM64

act_cli-0.7.1-py3-none-manylinux_2_31_riscv64.whl (14.2 MB view details)

Uploaded Python 3manylinux: glibc 2.31+ riscv64

act_cli-0.7.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (14.9 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

act_cli-0.7.1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (13.4 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

act_cli-0.7.1-py3-none-macosx_11_0_arm64.whl (15.7 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

act_cli-0.7.1-py3-none-macosx_10_12_x86_64.whl (16.9 MB view details)

Uploaded Python 3macOS 10.12+ x86-64

File details

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

File metadata

  • Download URL: act_cli-0.7.1.tar.gz
  • Upload date:
  • Size: 96.3 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.7.1.tar.gz
Algorithm Hash digest
SHA256 ec23d8ede4c355369aab8a309179de42dbc20f36e2e8444d0439b9149cb5284b
MD5 b67d4975f335ae0e5c82a88bc6b3ced5
BLAKE2b-256 257e0d1dccb2272661f7b0fa79195e8b10df9b0d83c92610e9c137d5a69fe647

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: act_cli-0.7.1-py3-none-win_arm64.whl
  • Upload date:
  • Size: 13.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.7.1-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 202cce98e57ddb7b542991b028c0ef16bbeed787a9881eba0085cdb8a4a24ba9
MD5 a9e8a8b6653c28c58de91acbb5b3cdd1
BLAKE2b-256 71887a41738b4aebc014b58d65483bfed4efa8735941edc73979083464587443

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: act_cli-0.7.1-py3-none-win_amd64.whl
  • Upload date:
  • Size: 14.9 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.7.1-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 2a115999aa358e1ef93969c2b62982837b58b5bb3330aa39d34612531cfe55a9
MD5 d46dcdecb0a0be23b4f1018cb8726973
BLAKE2b-256 e15f4249e81ae24eedfcde1d2463fd80f50a12c712b4d1b004a3bc90f704c033

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_cli-0.7.1-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 f5c3669ec1b981e5ab58b5c7c133d2f929f1e43e93a3ca1e62f1dafee29ef694
MD5 a85edce0db0472cfed108082cc43b9ce
BLAKE2b-256 1cfeb343c87c153ae79cbcdb2260beeacb19ac17f06dfcfb97de6cc78b4718a5

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_cli-0.7.1-py3-none-musllinux_1_2_riscv64.whl
Algorithm Hash digest
SHA256 1807107d1e4806ec4ec982b377b037ac9f3963f958445f73cb120a165d4f4545
MD5 7e1cb146f16d8b84b3c29b05bf797519
BLAKE2b-256 7a5f9c2eb14ff7e83c01a8ffe51f787869d9bafb844149b7a649b77d5e301295

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_cli-0.7.1-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 15bf4afe7de9187d536f08eb5fb349a3a35db6c71e8109ed12afcf60975ca801
MD5 4d39cdab646cbb512e199d732ebaa55e
BLAKE2b-256 a8dcb3dfae28d43ac8a97bc18318f45bdf46db32732f18da6eff2cb43128e747

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_cli-0.7.1-py3-none-manylinux_2_31_riscv64.whl
Algorithm Hash digest
SHA256 0f3020a8923ee72081370a3dcd1ac63e31a3a5b443dbd2f05f8a0ba201566868
MD5 8b6c476bc38da2a45b4bed8f7150cc77
BLAKE2b-256 8a50fd69964615397d73c3aff9a4c0110de4ec090666b4e3b374a56cd2f26d63

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_cli-0.7.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 8025136d3b7c6f70fe774cdcf750c89ba1ebec4757c204c6aacdd5fc9c2e179f
MD5 dc1e590bd4a5d37ebd46540581b1dfa2
BLAKE2b-256 28630c6874f6e64d9755f39ce567d7b85c0556db7e952f0968d17a82377331c1

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_cli-0.7.1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 642b77071f0bc6db36c0ba5b4ae6ed495997451db4fede9d27fe9165d14d75f1
MD5 113da08f04ba13fa033854276ca547ed
BLAKE2b-256 41da06f5fcfd205b9ccf679e30b874d4e24b7bd268fc24560a80fb016f79ff7c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_cli-0.7.1-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 31cc454a511511577ca153532b4a4496c4c5d761cf4d60ba3ad3b73fc6e88726
MD5 d2b54ffc8b0d661906ff6082f7ba8b18
BLAKE2b-256 5f520d9ff7821a682128df834fde67d2385a15859de2bd6e137ad8178b8fa30f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_cli-0.7.1-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 137a3235a07bbe1122155b6101ee67f92de787ece1d13471d70321dcc7d8402d
MD5 0b8e9ddb3ca40f231068f6c06bdae605
BLAKE2b-256 3670f6f7628efc27a1d45155c31bebabd0ec651cec3e0d74448b437dd7bd2737

See more details on using hashes here.

Provenance

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