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.10.tar.gz (60.5 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.10-py3-none-win_arm64.whl (12.4 MB view details)

Uploaded Python 3Windows ARM64

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

Uploaded Python 3Windows x86-64

act_cli-0.3.10-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.10-py3-none-musllinux_1_2_riscv64.whl (12.9 MB view details)

Uploaded Python 3musllinux: musl 1.2+ riscv64

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

Uploaded Python 3musllinux: musl 1.2+ ARM64

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

Uploaded Python 3manylinux: glibc 2.31+ riscv64

act_cli-0.3.10-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.10-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.10-py3-none-macosx_11_0_arm64.whl (14.5 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

act_cli-0.3.10-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.10.tar.gz.

File metadata

  • Download URL: act_cli-0.3.10.tar.gz
  • Upload date:
  • Size: 60.5 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.10.tar.gz
Algorithm Hash digest
SHA256 64504fe215c4b2f54d491939f4a97fa05be84bbb854538c29f0a5e3d97a8c30c
MD5 fb723736fe2e51f1eb38ae17082066a4
BLAKE2b-256 147a66e6f1c1177743d1b27b30ee2c5c93437d4727c2e3d5d9fe987d2d0576f8

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: act_cli-0.3.10-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.10-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 d8cca828fe48754a26b7873050ef1accb1449f1ecbf2b40f49edd1225d2f6d48
MD5 c1905204b4eaa8a425c962f48dc3f571
BLAKE2b-256 94090441bed4ab161f103a96779b82cd4f1f663d1a01c0db2d700e0cd79046ed

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: act_cli-0.3.10-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.10-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 a53bd2f026ec65c320b537abd9ebd13396c872b93a17b25270ac84df6f0e5511
MD5 863512039918aea071e632cad901a4ff
BLAKE2b-256 084475f742129d976037907c1d80c9944283e549eb069398cfc6a886c490ff73

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_cli-0.3.10-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 de5ff3c139d7193e6557c2d55b309ece788a4502a2ec763be046d513ffe9325f
MD5 eb612ef18180f0afc2058e651d625c99
BLAKE2b-256 13aaab4ba7176830d12d36bb57595243b8206f6e7dd65fffb7eec35320037fc9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_cli-0.3.10-py3-none-musllinux_1_2_riscv64.whl
Algorithm Hash digest
SHA256 b347b9ae28067b4d09ea4b74b115d8c125852d9340ee7ca83bdcfec838c9d632
MD5 fa8a0961870a1f435d9557388a9975a8
BLAKE2b-256 38073076a99102dbcaf7a8ebae16b0ce0b73db1963783bda0806ee3c2e9b98f7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_cli-0.3.10-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 9add9324e83977d1cce4986d7a915ea9af4dd1f7e37a56b3d77ab2be1b261e18
MD5 43ff3d69d0d8433dcead9af19738cf8b
BLAKE2b-256 7694f167cee7e38f171f2a0025cdc87e6695d82ad90ad071498dfb59b0359523

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_cli-0.3.10-py3-none-manylinux_2_31_riscv64.whl
Algorithm Hash digest
SHA256 b5b861cea75fa9b498363f00abc82207b907a45cc3957b3cfcd8b264dc387661
MD5 0ca86b03655a7a6bc03aa32883f799d5
BLAKE2b-256 efb4288bacd393c827a11a70758f2565aa5a163885c9e4cea0d1128f0dc2cf29

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_cli-0.3.10-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 95229fb471173124a53e09f08da21dd7cefb5dedffe6509e29f0e63cfa1dba42
MD5 92acad6e8de0ccc55f050ccfb7d55239
BLAKE2b-256 1ffa67754e96a2602f51ca5ad5431c3df832beab36c570c3470723fc90a54ee4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_cli-0.3.10-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 e3e2e3872aac3640acac2be293e4c666577a12e447eb9970dde5b1ba606b8605
MD5 c4768d1a4f547ee5d2ce88a7017faaf9
BLAKE2b-256 ce875827b9bc283326d118482ab3633ca41dc398913897964226bce39b440dad

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_cli-0.3.10-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 61ecddfc3cd605da65184906e8309a3a5c15b8edac3ca86ac1c5e060d74638ae
MD5 7ab9a8a4b30253d6867185282a5c3b42
BLAKE2b-256 2a1a302c00e8efae9ab739873d0e78da5e222feb4583c83fc3bb5088e55f3645

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_cli-0.3.10-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 a56b19e60f3ba363c18c931837ab9c9bd89ce0fb86627d1fe9fa457c86ddc97b
MD5 606796ebd479603aaa148bafe213ad99
BLAKE2b-256 d0f8609ce89ed37bfcaf0840fffb0c851f08fcf73ec373133aceda6165ceb911

See more details on using hashes here.

Provenance

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