@facet-aex/cli
v0.4.0
Published
FACET buyer CLI and TypeScript SDK for Avalanche wallet custody, spending policy, discovery, and invocation.
Readme
FACET CLI & SDK (@facet-aex/cli)
Public buyer CLI (
facet) and TypeScript SDK for local Avalanche wallet custody, default-deny spend policies, spend history, and MCP installation.
Overview
agent-sdk (published to npm as @facet-aex/cli) is the client toolkit for FACET consumers and AI agent operators. It provisions a local payer wallet, enforces human-approved spending boundaries, tracks local settlement invoices, and configures MCP integrations without exposing private keys to AI models.
Role in FACET
- Local Wallet Custody: Generates and inspects local Avalanche buyer wallets stored in the operating system credential store rather than plaintext environment variables.
- Default-Deny Spend Policies: Grants, inspects, revokes, and prunes per-run and daily
fUSDspending limits pinned to exactprovider,facetName, SemVerversion, and verifiedproviderPayTotargets. - Spend Ledger & Discovery: Searches and inspects published
API,ACTOR, andAGENTFacets and queries local settlement history with Snowtrace transaction references. - MCP Client Setup: Installs and configures
@facet-aex/mcp-serverfor Codex, Claude Code, Antigravity, and standard MCP hosts.
Tech Stack
| Layer | Technology |
|---|---|
| Language & Runtime | TypeScript, Node.js (>=22.0.0, ESM) |
| Web3 & Custody | viem, OS credential store |
| Distribution | Public npm (@facet-aex/cli, OIDC Trusted Publishing) |
| Testing | Vitest |
Part of FACET (facet-aex) — Federated Agent Capability Exchange & Trust on Avalanche · Documentation
