Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Native library reference. Extended CLI examples use jacs-compat. This source reference can include unreleased changes; see the package guide for installation and MCP profiles for available tools.

Rust and CLI installation

Portable CLI and MCP

cargo install jacs-cli --locked
jacs mcp

The jacs binary starts MCP in verification-only mode by default. For signing, create an encrypted identity and explicitly select it; see the quick start and current MCP guide.

Native integrations

The extended commands documented in this reference use a separate executable:

cargo install jacs-cli-compat --locked
jacs-compat quickstart --name my-agent --domain my-agent.example.com
jacs-compat --help

Its jacs.config.json, key directories, DNS, storage and extended MCP profiles belong to the native compatibility workspace. See CLI usage.

Rust libraries

For portable cryptography without I/O:

[dependencies]
jacs-core = "=0.16.1"
serde_json = "1"

For native identity, storage and integrations:

[dependencies]
jacs = "=0.16.1"
serde_json = "1"

Native optional features include a2a, agreements, attestation, s3, sqlx-sqlite, otlp-logs, otlp-metrics and otlp-tracing; SQLite is enabled by default. Select only the features your integration needs. The library guide covers the native API.

Publication and platforms

The release inventory records 0.16.1 across 16 of the 17 Rust crates (jacs-surrealdb stays at 0.15.0), CLI archives and language packages. Cargo builds libraries from source. CLI archives cover macOS arm64/x86_64, Linux glibc arm64/x86_64 and Windows x86_64; this does not imply Windows Python, Node or Go native artifacts. See deployment compatibility.

The browser package is published as @hai.ai/jacs-wasm; see its installation guide. Release 0.16.0 is the first in which the identity-standard exports reuse the persistent ML-DSA-87 identity.

Build this checkout

Source builds require Rust 1.97 or newer (Edition 2024), a linker and any native system dependencies. From the repository root:

git clone https://github.com/HumanAssisted/JACS.git
cd JACS
cargo install --path jacs-cli --locked
cargo install --path archive/native/jacs-cli --locked

The active workspace contains jacs-core, jacs-wasm, jacs-mobile, jacs-mcp and jacs-cli. Native packages use archive/native/Cargo.toml; for example:

cargo check --manifest-path archive/native/Cargo.toml -p jacs --locked

Use the developer commands for binding builds and the shared Rust cache setup before substantial builds. Never place a key password in command arguments. Use the prompt or host secret source documented for the selected CLI.