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 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_cli-0.3.4-py3-none-win_arm64.whl (11.6 MB view details)

Uploaded Python 3Windows ARM64

act_cli-0.3.4-py3-none-win_amd64.whl (13.0 MB view details)

Uploaded Python 3Windows x86-64

act_cli-0.3.4-py3-none-musllinux_1_2_x86_64.whl (12.7 MB view details)

Uploaded Python 3musllinux: musl 1.2+ x86-64

act_cli-0.3.4-py3-none-musllinux_1_2_riscv64.whl (11.8 MB view details)

Uploaded Python 3musllinux: musl 1.2+ riscv64

act_cli-0.3.4-py3-none-musllinux_1_2_aarch64.whl (11.1 MB view details)

Uploaded Python 3musllinux: musl 1.2+ ARM64

act_cli-0.3.4-py3-none-manylinux_2_31_riscv64.whl (11.7 MB view details)

Uploaded Python 3manylinux: glibc 2.31+ riscv64

act_cli-0.3.4-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (12.8 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

act_cli-0.3.4-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (11.2 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

act_cli-0.3.4-py3-none-macosx_11_0_arm64.whl (10.9 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

act_cli-0.3.4-py3-none-macosx_10_12_x86_64.whl (12.4 MB view details)

Uploaded Python 3macOS 10.12+ x86-64

File details

Details for the file act_cli-0.3.4-py3-none-win_arm64.whl.

File metadata

  • Download URL: act_cli-0.3.4-py3-none-win_arm64.whl
  • Upload date:
  • Size: 11.6 MB
  • 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_cli-0.3.4-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 0f733a9ae329f2973cdb406f2955710db63622f000beb0be2dea6d53cd6c9495
MD5 28556919fffbc4d48a8022983ff4df74
BLAKE2b-256 e360583474cbf2a270ee7e38073bf4969bad90dbaa41b97099f2688431816231

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: act_cli-0.3.4-py3-none-win_amd64.whl
  • Upload date:
  • Size: 13.0 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_cli-0.3.4-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 205219ef6261e973251eca32deb6ecfd5b10db43c91a0bbd503a7c3e7f84770a
MD5 f6cc405f2f426cdde3bf5a65f8546387
BLAKE2b-256 63ccd3a4131d041e4aa4909e38c238f976d2a23bdc6bb6a5805cf33abf5c4fd3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_cli-0.3.4-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 97bade4f98685644bb21a2969687f53d61410456e22007be7437d8645e53ccbf
MD5 0b83993abab8b194cc1d181c09010aa4
BLAKE2b-256 18572044e3546bf771dd863067180ade0156d2adee370c193bae22436355101a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_cli-0.3.4-py3-none-musllinux_1_2_riscv64.whl
Algorithm Hash digest
SHA256 05e569c96102ea9e45aab4476fd8e184a7d0c64d5f083d23049ae32eee4d84b8
MD5 491652b3b3a0124fd2659d3b98e02fb3
BLAKE2b-256 443e9fe056e1cdbec56ee6db4e0712963d770fd2a70ef2f7c9477123b161ce45

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_cli-0.3.4-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 45f6ea700331ecc6bc61b42cb273528b18acb9a719b3a38c736470cc488ebaa5
MD5 dad96a816ccbf9922a8c31ca0b0971cd
BLAKE2b-256 0f8c46364dc1df296dafa754786dcb62cc38bbff86c3e48748468f4f2249054d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_cli-0.3.4-py3-none-manylinux_2_31_riscv64.whl
Algorithm Hash digest
SHA256 3f850eba2efd5a975236b9d20f35e5e2d5be4f3c97828bd298823adfdb38ea89
MD5 cac53a676b2b707da56e2607d26e6b15
BLAKE2b-256 2bb89a9d0dce0f476df6e650e702ca3d27036e135dbf331cd82e523ad8ad3b9a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_cli-0.3.4-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 634bf396e1e9a436b53ef264d95d1c6b3554d4294627ee006b097444bbe8826e
MD5 3b0157aeeaf07067a329fc6954510b20
BLAKE2b-256 da90735d681b4d0a5221be4baca8e0953f93e42b64f0ee69e4c0739a78d86e51

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_cli-0.3.4-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 be3f26479bef91d8dcccfd03b8096cc910be4421ecefd1708b7436ca5bffe639
MD5 fc1bdf3cdb0bd0fcacf0b8aff3b54a3c
BLAKE2b-256 02e16bce292a3e73df44acbcb1b649058e339683cf6d8d273db8c238dc275439

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_cli-0.3.4-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b24355accd2f8fb02f0ce5de0db8fe8513fc4a91f64c8b3cb8649d0ce8cd8ea0
MD5 1e2128cfb7305ac6408693e9e80b4cad
BLAKE2b-256 a86cbdce68e1eaa0301fc7b6c842bedc76bd8d9fb584ef38e0cc3d63baa2de0d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_cli-0.3.4-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 baad91e5ec7adee535ac5ddade1a19b7c09d2af1a1bc0a9ca51d9a85abe4f084
MD5 688b7d9b8903baa5bd5108a9d4931ba7
BLAKE2b-256 e81d4eb532b1efe51da343e07fb428326881b7305ed1a7bdbfd10a23927f51df

See more details on using hashes here.

Provenance

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