Skip to main content

CLI host for ACT (Agent Component Tools) WebAssembly components

Project description

ACT CLI

CLI host for ACT (Agent Component Tools) — run WebAssembly component tools from local files, HTTP URLs, or OCI registries.

Install

npm i -g @actcore/act        # npm
pip install act-cli           # PyPI
cargo install act-cli         # crates.io

Pre-built binaries available on GitHub Releases and Docker (ghcr.io/actcore/act).

Quick Start

# 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)

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

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

Uploaded Python 3Windows ARM64

act_cli-0.3.2-py3-none-win_amd64.whl (13.0 MB view details)

Uploaded Python 3Windows x86-64

act_cli-0.3.2-py3-none-musllinux_1_2_x86_64.whl (12.6 MB view details)

Uploaded Python 3musllinux: musl 1.2+ x86-64

act_cli-0.3.2-py3-none-musllinux_1_2_riscv64.whl (11.7 MB view details)

Uploaded Python 3musllinux: musl 1.2+ riscv64

act_cli-0.3.2-py3-none-musllinux_1_2_aarch64.whl (11.1 MB view details)

Uploaded Python 3musllinux: musl 1.2+ ARM64

act_cli-0.3.2-py3-none-manylinux_2_31_riscv64.whl (11.7 MB view details)

Uploaded Python 3manylinux: glibc 2.31+ riscv64

act_cli-0.3.2-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (12.7 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

act_cli-0.3.2-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (11.1 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

act_cli-0.3.2-py3-none-macosx_11_0_arm64.whl (10.9 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

act_cli-0.3.2-py3-none-macosx_10_12_x86_64.whl (12.3 MB view details)

Uploaded Python 3macOS 10.12+ x86-64

File details

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

File metadata

  • Download URL: act_cli-0.3.2.tar.gz
  • Upload date:
  • Size: 63.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for act_cli-0.3.2.tar.gz
Algorithm Hash digest
SHA256 b3809baef4ad6b7b049bdf64cf75393500f3b1ade92a11611642e0fdfeff3b47
MD5 06ce60366ee825eda28660cb1906756a
BLAKE2b-256 a431d5ba43df1abfea1b800df1dff5a62f5b2758f016049d1c1206c1f870cc57

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: act_cli-0.3.2-py3-none-win_arm64.whl
  • Upload date:
  • Size: 11.6 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.2-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 2df62e491224be4de176832b6d242402dc9f75c5d2e491eedd3ca85de4ab5319
MD5 156b145e7dc5ba47e061eb941e9e8a1d
BLAKE2b-256 00d1830bcb4e5e917720b021f883d9d35100e22793740f448bbfc24ee2b23090

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: act_cli-0.3.2-py3-none-win_amd64.whl
  • Upload date:
  • Size: 13.0 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.2-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 a3588be01a2fcbee7c0d2f88164e768c0b2eaa4eaaeb2768e037369a1b82701d
MD5 d166f24c6338edd2a576953cf971b9bb
BLAKE2b-256 1e9aa3627bdb932f4bef017737a7c3b8148fb57a18818cf6e5395d1a206c79b5

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_cli-0.3.2-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 e15141799aecf6994223d8e8a874366b2e5ad53db0f78b966b1de5b4f6d0e77c
MD5 118c4654aad733eb79a6cb07a50f13fd
BLAKE2b-256 fad32b926de3a980852a423967bf24aadc9374561d7112b5ed2dbaec2e3795e0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_cli-0.3.2-py3-none-musllinux_1_2_riscv64.whl
Algorithm Hash digest
SHA256 d48ebf90d527a72a6db4273fe10973de6925ace2ba0d87866f34c77234ba6300
MD5 330d4181b278fccd31187266f3074646
BLAKE2b-256 229b95d611d310194be849bf2d5294a6d11b7333f35d768f9790be9d6ab8eb3a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_cli-0.3.2-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 ba9ba5f225acc910d80a05688ab34f5bd126cf7e64999433ec58455daef1aa3f
MD5 1cba597f40c5456bf07caa4f69069387
BLAKE2b-256 e32a8fb36d13590896e97f0fb1b8a5d99271ded0a5b53877b91a939ab5e53910

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_cli-0.3.2-py3-none-manylinux_2_31_riscv64.whl
Algorithm Hash digest
SHA256 c725bf8b8bfe6013ed4db0df99568c162e49ff7b99791916f19985e8cc5af83b
MD5 27a7bf6240666ff8467936e3b6b5ad95
BLAKE2b-256 1131286d3e1927fe83986f2642cc47e91b2de5a1474954df479ff60a0ba9fb4b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_cli-0.3.2-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a20399cf913d2f74108b5374951a92b9026560ca2489e2e8d848161d0cebbc54
MD5 835ded08713855c8d5a5213550a5fea3
BLAKE2b-256 9609a0dfb29c85d9d80b5b0e6ee58cefc3f046bc3732f742df9cf5d6d363ff27

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_cli-0.3.2-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 cd411b999255c67c8b62937cf7960725f09ad78eb76a4730155c1e08c3d50bf8
MD5 bf386d7fe45ee5f6939a31b2c64ea32f
BLAKE2b-256 2c579dd872c5c0e9694865f49b366d7c2db5174abca84c12e327f751c0f58b9a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_cli-0.3.2-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 586c18f938bc3d4e35c6485ec4f243eb1ca5b47247e2007be690b144b7e89065
MD5 a1ac91efff8a0c99c32fc3f52479f106
BLAKE2b-256 29be4429e2328dc00da3036751d9cef03ffee7f8d44a815d1cd3e0f85dfd2e7f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for act_cli-0.3.2-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 5bd57abaecaf02433180fefba2f8be3a2eb10f3710eee7955378ca90e7e8769c
MD5 0759af9753ee06c24effd10125b3f1bd
BLAKE2b-256 1a84a2634f547ea95f42a50b47efce9b30a4b06e9f2d063e42f4cfce66eab8c8

See more details on using hashes here.

Provenance

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