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

Uploaded Python 3Windows ARM64

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

Uploaded Python 3Windows x86-64

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

Uploaded Python 3musllinux: musl 1.2+ riscv64

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

Uploaded Python 3musllinux: musl 1.2+ ARM64

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

Uploaded Python 3manylinux: glibc 2.31+ riscv64

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

Uploaded Python 3macOS 11.0+ ARM64

act_cli-0.7.0-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.0.tar.gz.

File metadata

  • Download URL: act_cli-0.7.0.tar.gz
  • Upload date:
  • Size: 96.6 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.0.tar.gz
Algorithm Hash digest
SHA256 f1473be0a43ad6e4c8562ae1b1808b594d1b5d8014902a3c3524f314eca565b9
MD5 fdd8fbb4f4b3054d521272ced89f003e
BLAKE2b-256 667c30911363dbceece58c3159f54114cbfdee986439c7503b658b166efd94d4

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: act_cli-0.7.0-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.0-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 e891c8f8e25e40e31bd6293dd1483426c45d09ec35259358a656632732fd7e36
MD5 dca1c54b1d87b529f42a80b4c29ec3e5
BLAKE2b-256 4ac0e6aef830a5b70785bab37a9bb798f9e6b74321b1cdc500509e1d7fb34269

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: act_cli-0.7.0-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.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 e64e840dafa8e6fcb8348098656ce44215475325d2026145fca8625639ac52db
MD5 2ec9e4a3bac914995d89feae4a8cf80d
BLAKE2b-256 d2026c8461606c8f13396463a68e4878ce80db6dd7fde953a5f6cd2df06083b4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_cli-0.7.0-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 370cd12106d784eccc4d82da33f0e3fcbe293fdd8ce1d9ec2f28245cebf99076
MD5 f1cc81e9cfb346e651f3c2c5693429de
BLAKE2b-256 4d3d83a612518affe47f27dfb0ca01f1efd82df84a4509fd0348333588e3de24

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_cli-0.7.0-py3-none-musllinux_1_2_riscv64.whl
Algorithm Hash digest
SHA256 9dab720141f4032cbdaf6e9cef556646b0de35c83de2dc752a92b3fdcaaa073e
MD5 69122a84b1ee8582cd4d08b32f3d2f90
BLAKE2b-256 7ae05f50c04d160e41baadd11f374e5a3270e06e7a9b91e502c33370f83d0f53

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_cli-0.7.0-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 91bb32a2dbf0e8b134e81613afdb004353d29a65bcf0b15f1aed12bfce0fb346
MD5 e524dec9d6757b960907329103d7936e
BLAKE2b-256 bf641277d0b1e9947218a4faa446563316290680f6f1e00a0924d96d53ca4e48

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_cli-0.7.0-py3-none-manylinux_2_31_riscv64.whl
Algorithm Hash digest
SHA256 3b284bbcfb494ff24e3e74e6ed266517120f873b7bd0ba31308290f7f25ef1d8
MD5 b56b625aeb7edb3d0b1816f7d17d8598
BLAKE2b-256 a80736cb1caedca0ba5e489cb240d7ed07a1aa95839d672f39ce806cab0d3509

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_cli-0.7.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 bbefb1c2397acd59aa3ed33e358d0afdfa766d86a806a00b0876561284d7e6aa
MD5 9ee77353e9a939837af5e84433ff253d
BLAKE2b-256 da98362ee85de00b39597265bdce1416d863890384c17d4b8a404868236e0f97

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_cli-0.7.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 fcd4c1a9b23bc5a674070ba8edb86a71f087d52dd77902c82e3564e2f861080c
MD5 3b52243dced1f17a1f17b7206961b909
BLAKE2b-256 ff1fc6475bdd6b4779d4f19c5380ab0f6f6db2a70e8cff8be02177cd54e54aac

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_cli-0.7.0-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c891cb3eeb4aa79bc595a91d85233f9776422122866bc9bb5edb25032e44f6df
MD5 d4585830cf0365bb9629c5dc01b54d9a
BLAKE2b-256 7f84dd1e5027aa8d538071c77cf3923117eb2f8d4c15ff0d64e957256dc25927

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_cli-0.7.0-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 6c7f7df6064975307e5f79679cd224d83fc887dbfe16ddb144f346a19dd04201
MD5 9bb06ccfc7009b70940ac8b4d0dd85eb
BLAKE2b-256 29a4093fd52b053fec19d494ae3b873e0b0d61754733436dde8f2d58daf279fa

See more details on using hashes here.

Provenance

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