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

Uploaded Python 3Windows ARM64

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

Uploaded Python 3Windows x86-64

act_cli-0.4.0-py3-none-musllinux_1_2_x86_64.whl (13.7 MB view details)

Uploaded Python 3musllinux: musl 1.2+ x86-64

act_cli-0.4.0-py3-none-musllinux_1_2_riscv64.whl (12.8 MB view details)

Uploaded Python 3musllinux: musl 1.2+ riscv64

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

Uploaded Python 3musllinux: musl 1.2+ ARM64

act_cli-0.4.0-py3-none-manylinux_2_31_riscv64.whl (12.8 MB view details)

Uploaded Python 3manylinux: glibc 2.31+ riscv64

act_cli-0.4.0-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.4.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (12.4 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

act_cli-0.4.0-py3-none-macosx_11_0_arm64.whl (14.5 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

act_cli-0.4.0-py3-none-macosx_10_12_x86_64.whl (15.6 MB view details)

Uploaded Python 3macOS 10.12+ x86-64

File details

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

File metadata

  • Download URL: act_cli-0.4.0.tar.gz
  • Upload date:
  • Size: 61.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.4.0.tar.gz
Algorithm Hash digest
SHA256 e190e531af50762163b8003de163dfb0facffa089f44f50ce5df32ae7984ff70
MD5 f601588045d016cfe7d194d9ff4a98a2
BLAKE2b-256 dbc9ca60ef6930a97d8ff9429b06a8448678a73484ee7764cab2b8b15ac6ad90

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: act_cli-0.4.0-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.4.0-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 c1acef464c0e49248ba2f8f18c1872d4267ea16fb927a88333f5a0dcbd6deaad
MD5 f971ee20954dfaf4677d05b3123f6715
BLAKE2b-256 9bc76fc6c28f3c7996eea580a73e891c3e20bd918d320d09c4bcffa93afc347b

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: act_cli-0.4.0-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.4.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 eec2cd6a3c18e1f054a40fd233b1b425b3c795ef57bd84ae910b4f7dc4d9f1e9
MD5 5aa8ad61065f4005649345e84fe106c5
BLAKE2b-256 8e1cad3599ff60c5923e46217402253360fe4c4ad6eaf74bbf3d1f53845ace94

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_cli-0.4.0-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 efb54cde154190eec0f19707178d46d86bebfa97f3f65f3559d58318c81c6a6d
MD5 2206bd73cc30dc9e80e4c374fd59f2d1
BLAKE2b-256 8223c102700caf86b9f4e1c7bf632a7439142d949bca2c6e85c6cd3be4e1808a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_cli-0.4.0-py3-none-musllinux_1_2_riscv64.whl
Algorithm Hash digest
SHA256 a605fa7cc62e99fde80d641446d560c7159e9b3966c0bb5bc9a656127998d98e
MD5 1282f81bd37d3d36bfb7d79246328c2f
BLAKE2b-256 45329ae9dc0b5f99d2c4c9d4877cb129bf4a20711fc7cc73e5157c8a74bf2962

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_cli-0.4.0-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 b370851d6aaf11e7c9327d0c424b2fbdb63c8eb260a7d4c8b15124b1bf4ced62
MD5 90b03dadaf770f5e215ba66e57c30828
BLAKE2b-256 3764f129c6742bc60aca1b7b0cf73289dcb8c302d333f54d18e14e1d528acc06

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_cli-0.4.0-py3-none-manylinux_2_31_riscv64.whl
Algorithm Hash digest
SHA256 711c46e10f3a6716acbd3e7a2a5eb1ceec5916d1fc825b33e656d1422a01a466
MD5 fc7bc47a6f7dade7810cefa14f0f44fd
BLAKE2b-256 86a0798120a0886b392037b1a1645d6e828ca35d51c5bee53c038b6f1d8b4ab9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_cli-0.4.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d751bfd1c1a90e852b99279181f4085330b9ef147ab6cdd1898beb2fb5a3ed24
MD5 efe8db5ef8afcc2b9c36bc44e012cccc
BLAKE2b-256 b303ace7c9aff73fc68c4b6f86ec79934a535d8efdd71e6349733ca67a14c142

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_cli-0.4.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 84c2295983563547abce6f6bc27ad94a135f096bc7b3de5cb3bd72a364bbe3ba
MD5 bbc75836022b79f1d6ff13991d95b6be
BLAKE2b-256 d10a8d9f71f2bf56a6fef80c77f084de74a37fdd238f33711ace2f01899df3db

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_cli-0.4.0-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 fe50f5eadc085a6c9ac24f6bbb0bd625e70d56d118dbf33dc7235d54a8b79dee
MD5 12e91f3a9a1818ccb7b5723080b72eed
BLAKE2b-256 666eb526d1dc211e5e294b6f52976a83940f97190be0ff982a5e6011583276eb

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_cli-0.4.0-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 01c76a51492ccdda0d7a4c199b80d72b960ee0248bc96af76d3b59b071218124
MD5 3e363b4b07fd10a207f80b9e509f24ff
BLAKE2b-256 b66e484a15ef3b6ab41f9719c1f40909ca45f02d6698e0e7cadae7d4dbe0a17e

See more details on using hashes here.

Provenance

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