Menu

1 / 2

A tour of actpkg — components on the protocol

DEV Community·Alexander Shishenko·6 months ago
#91gCURPB
#ai#mcp#webassembly#opensource#component
Reading 0:00
15s threshold

The core ACT spec is small: a tool-dispatch interface and a few CBOR

shapes on the wire, with stateful capabilities (sessions, events,

resources) layered on as separate opt-in packages. But a protocol is

only interesting if people actually write for it. Here's what's on

ghcr.io/actpkg today, grouped by kind.

Every component is MIT-or-Apache-2.0, published with signed

attestations, and runnable with:

npx @actcore/act info ghcr.io/actpkg/<name>:latest --tools

Enter fullscreen mode

Exit fullscreen mode

Data & storage

sqlite

A SQLite database as a component. Exposes query , exec ,

batch-exec , schema . Uses rusqlite compiled to wasm32-wasip2

with the wasi-sdk toolchain; the database file is whatever path the

operator grants via --fs-allow .

npx @actcore/act run ghcr.io/actpkg/sqlite:latest --mcp \ --fs-policy allowlist --fs-allow /data/app.sqlite

Enter fullscreen mode

Exit fullscreen mode

Also ships a sqlite-vec variant with sqlite-vec linked in

for vector-index queries.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.