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.2.tar.gz (97.2 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.2-py3-none-win_arm64.whl (13.5 MB view details)

Uploaded Python 3Windows ARM64

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

Uploaded Python 3Windows x86-64

act_cli-0.7.2-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.2-py3-none-musllinux_1_2_riscv64.whl (14.2 MB view details)

Uploaded Python 3musllinux: musl 1.2+ riscv64

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

Uploaded Python 3musllinux: musl 1.2+ ARM64

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

Uploaded Python 3manylinux: glibc 2.31+ riscv64

act_cli-0.7.2-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.2-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.2-py3-none-macosx_11_0_arm64.whl (15.7 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

act_cli-0.7.2-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.2.tar.gz.

File metadata

  • Download URL: act_cli-0.7.2.tar.gz
  • Upload date:
  • Size: 97.2 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.2.tar.gz
Algorithm Hash digest
SHA256 65f8265dbc9506cd7d26b5944bc1fec8a20b11e77f7e13530a5ad0bfd9d2d43f
MD5 ee1671c74022d300bcc869430d6ed021
BLAKE2b-256 320c6f146ef426241a6e9baa5ef00e9eda9d481e2da19d980e91f0da07f6ba4a

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: act_cli-0.7.2-py3-none-win_arm64.whl
  • Upload date:
  • Size: 13.5 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.2-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 3a356f41e21b5078e5cfffadb6865761bdeb0138afde87bdff14c6af8eb99b9e
MD5 99b24589a4dfe3e2cf4260e396d261bb
BLAKE2b-256 3ca25a2dc02d45f44957ed5a6fd12a3cbcbeb838041fe268a1a64e1a74b5d29f

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: act_cli-0.7.2-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.2-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 3b8c41a3280945495064572c18ee71e462683ecc3385a034737291c0cb1a585b
MD5 8561cb98ab62fc986d254fb45c0497bf
BLAKE2b-256 4de34d9ac57b8dbb7a5c0dfd56d36c51ea91ae07a318c3c185862937357287fe

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_cli-0.7.2-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 2e9ab947964c64a3fca33981478ff3c94026761958c9b4c757fa40f7747266ff
MD5 80521dd7850d71c0d4a17916020f129b
BLAKE2b-256 8e116b899e041778bc5c7c5ad3aa4e716e805b52bd0f9658e0d796da11a18cd0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_cli-0.7.2-py3-none-musllinux_1_2_riscv64.whl
Algorithm Hash digest
SHA256 fcb456e8e6f8ec04f4889c910f05a57cce34f223e2a2c4430f4e4b6baded651a
MD5 09a70a747a743f9ebf636421b5a48c9d
BLAKE2b-256 8020192b2b3b1b53cf6eff6d9315865759055a43648f1ccb2db053daff927de0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_cli-0.7.2-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 114539daed8f973610a35d46495256b06f630878eb3c0649f776dbac43e5e945
MD5 dfef63bed665973b349736296a376597
BLAKE2b-256 100ea29bd4118b75605cf7724ea955c5fc454a213d8ac3363429980b5377635c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_cli-0.7.2-py3-none-manylinux_2_31_riscv64.whl
Algorithm Hash digest
SHA256 fa5f88491dc4c325d80d286a0e735d458efd7b7055eb44a7b4a30bdf66225013
MD5 25e2a2b0707ccbd0484b219e5ec6532b
BLAKE2b-256 1a3dd90cc970ed4528d3cb8437f606f0b8b33a13754b2b3ee94d6f638f3025a3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_cli-0.7.2-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d46d12aee921b83572a05849e2ebed4354fb8923cc6f7613ca9fd4ce890ef7b8
MD5 96deb22a782e761e138915992d950ed4
BLAKE2b-256 0f8ebd10c26dc1b81a85f150c6dfe36a538b9cde3d5ec6374a2d739c149d75b0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_cli-0.7.2-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 1ddee182efdaa1da10e79a0ca904ddf105dc941490b73cc10bbd904ec248f183
MD5 94877db0caf4fcf0b60ef09064f7954b
BLAKE2b-256 e4cc0740d66ed66f8ab0af767e19b253089ac22a4f580fa802b1a0827f0faf76

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_cli-0.7.2-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 6c536cd5c29728d8f110a209dab3da3a63a17eba09083099f4bb2c711433cb53
MD5 0cb1fa526389799b90104aeaf894af10
BLAKE2b-256 8d86e34cf8613772aa185ee69d183f7028360d1768811fe0222966d0ed1f654d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_cli-0.7.2-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 4a4d7035e7f6d86707318e3d96683944f21d541cc7c66929d63972faf5463ba3
MD5 7eba2aa72d42bd660e7a614927327e17
BLAKE2b-256 74c30a96fdbdfe6919d3ea86ad7632bc03c8330f4c23bde31c8a57ebc3f0070d

See more details on using hashes here.

Provenance

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