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.6-py3-none-win_arm64.whl (12.4 MB view details)

Uploaded Python 3Windows ARM64

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

Uploaded Python 3Windows x86-64

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

Uploaded Python 3musllinux: musl 1.2+ riscv64

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

Uploaded Python 3musllinux: musl 1.2+ ARM64

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

Uploaded Python 3manylinux: glibc 2.31+ riscv64

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

Uploaded Python 3macOS 11.0+ ARM64

act_cli-0.3.6-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.6-py3-none-win_arm64.whl.

File metadata

  • Download URL: act_cli-0.3.6-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.7

File hashes

Hashes for act_cli-0.3.6-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 953cd5d819b9b6f103d3c8b0c45d323766e9e9d7efd0ea6cf9eb9b19cbea0018
MD5 fc68dba958956e452b42addd97eb5409
BLAKE2b-256 03686b1af8e99a17f8f032be3db81933516ab0fc10aa7a850de90b7aafb863f9

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: act_cli-0.3.6-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.7

File hashes

Hashes for act_cli-0.3.6-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 07e576581bd27df0ac5c1148754f2f8bd877608c90b56536167d0cf034e69227
MD5 2d1bf3bed320cabacfebcbc47ae15335
BLAKE2b-256 2cf58d7da375b8071a94b591ede84af52a380d4a153db28aa5fea7b70a258e60

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_cli-0.3.6-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 51a8dab943ed9f6bcbdb4b52d4f9f3c6c949837309014d27a30aefa5708cc755
MD5 8e578d1c2feaee08b9c388ee611694b0
BLAKE2b-256 6a1f615ef83eb816226f701fce9043170d6595d92e8a9dd0882282ce3ee1270a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_cli-0.3.6-py3-none-musllinux_1_2_riscv64.whl
Algorithm Hash digest
SHA256 56160563d4bbe237723d6731976724719e5fff75cdeeb4002634dddc9d2fa6b8
MD5 9138725907696c709d313f0e7f1e0e54
BLAKE2b-256 a6194b13bd6d50879f91b15528218e89bb5f8033e04823e1c6229c4865361a88

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_cli-0.3.6-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 1cd8cd2d76e95a454421ce1e6a904ee390b9a6b8f2a1e6b55d2516d1998cc36e
MD5 899f732460ac27514f5c188588fb46f8
BLAKE2b-256 d0f58c96ddaac84f28671f105941f11fb44d5f2d75ee147255172b08c4de99bb

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_cli-0.3.6-py3-none-manylinux_2_31_riscv64.whl
Algorithm Hash digest
SHA256 4d243223f341be124e27aad9efa84525ca302b6a2c90286c19b6946574b64af5
MD5 ac9411f9ac96a73c0affc7336d5931b3
BLAKE2b-256 0a95823ddb2742f7615a2a6c944d8061db20f3828aaa49210eee2eaac585e112

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_cli-0.3.6-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c6f2c7d2421918b30244e25918f8178d05632888b5ec264d754d12bfe0d3df7b
MD5 713385f2100a743ecba3aeb075e5ed12
BLAKE2b-256 25ef0e892ccbdc141e46a84483292e3efa73c946b2f89788dcd41f5756b3b9ee

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_cli-0.3.6-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 db86760900510ea9639e2359f9921a67f87e145bc21819b1f79c8dc0945d5a75
MD5 0ec4ac969e792240d60b4a7824c20249
BLAKE2b-256 0721a6f4c3f026d80ef525454147e9c225b37768a3250411f1c4b5ac963524be

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_cli-0.3.6-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 35e8ce7f1b24da25f7aadf5627bbb2d5f8cbacf730c710adfa5e76cda24e184c
MD5 29402e013d20ba248d7f006854781d85
BLAKE2b-256 794eb5c20c062ff32122c219188ec60b45f8c1c3d3f00901e0521c301255855d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_cli-0.3.6-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 8bc8e058b12f7938aec8f5dc75869c8adb83839d334d9d492d1fbaef162a886e
MD5 c04dbece07ffb13e1938c81a09d17f2d
BLAKE2b-256 df8fa55570b29dd52b33ee6d6471e54c6ab52adbb0e61bbc5731840b0527c46d

See more details on using hashes here.

Provenance

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