### Alternative installation methods Source: https://github.com/anima-labs-ai/cli/blob/main/README.md Commands for installing or running the CLI using bun, homebrew, or npx. ```bash bun add -g @anima-labs/cli # bun brew install anima-labs/tap/anima # homebrew (macOS / Linux) npx @anima-labs/cli init # try without installing ``` -------------------------------- ### Install @anima-labs/cli via npm Source: https://github.com/anima-labs-ai/cli/blob/main/README.md Global installation of the Anima CLI using npm. ```bash npm install -g @anima-labs/cli ``` -------------------------------- ### Onboard via MCP-aware agent Source: https://github.com/anima-labs-ai/cli/blob/main/README.md Instruction for AI agents to read the skill manifest and perform automated setup. ```text Read useanima.sh/skill.md and get me set up with Anima ``` -------------------------------- ### Build and Development Commands Source: https://github.com/anima-labs-ai/cli/blob/main/README.md Commands for installing dependencies, running in development mode, building the binary, testing, and type checking using Bun. ```bash # Install dependencies bun install # Run in development bun run dev -- # Build standalone binary bun run build # Run tests bun test # Type check bun run typecheck ``` -------------------------------- ### Initialize Anima CLI with anima init Source: https://github.com/anima-labs-ai/cli/blob/main/README.md Commands to perform interactive or scripted setup of the Anima CLI. ```bash anima init # Interactive setup wizard anima init --non-interactive \ --api-key ak_... \ --org my-org ``` -------------------------------- ### Configure MCP server with anima setup-mcp Source: https://github.com/anima-labs-ai/cli/blob/main/README.md Commands to install, uninstall, and verify the MCP server integration for AI clients. ```bash anima setup-mcp install # Install MCP config for a client anima setup-mcp uninstall # Remove MCP config anima setup-mcp status # Check MCP integration status anima setup-mcp verify # Verify MCP server connectivity ``` -------------------------------- ### Configure MCP servers manually Source: https://github.com/anima-labs-ai/cli/blob/main/README.md Example configuration for .mcp.json to connect to the hosted Anima gateway. ```json { "mcpServers": { "anima": { "type": "http", "url": "https://mcp.useanima.sh/mcp", "headers": { "Authorization": "Bearer ak_your_api_key" } } } } ``` -------------------------------- ### Enforce npm install security Source: https://github.com/anima-labs-ai/cli/blob/main/SECURITY.md Install the package with foreground scripts disabled and verify signatures to ensure supply-chain integrity. ```bash npm install --foreground-scripts=false @anima-labs/cli npm audit signatures ``` -------------------------------- ### Verify Anima CLI Release in CI Source: https://github.com/anima-labs-ai/cli/blob/main/SECURITY.md A shell script to install Cosign, download release artifacts, and verify the binary signature and hash. The pipeline will abort if any verification step fails. ```bash #!/bin/sh set -eu VERSION="v0.5.0" ARCH="$(uname -m | sed 's/x86_64/x64/; s/aarch64/arm64/')" BIN="anima-linux-${ARCH}" BASE="https://github.com/anima-labs-ai/cli/releases/download/${VERSION}" # Install cosign (pin a version in production — unpinned installs are themselves a supply-chain risk) curl -fsSL -o /usr/local/bin/cosign \ https://github.com/sigstore/cosign/releases/download/v2.4.1/cosign-linux-amd64 chmod +x /usr/local/bin/cosign # Download manifest + per-binary bundle + binary curl -fsSL -O "${BASE}/SHA256SUMS" curl -fsSL -O "${BASE}/SHA256SUMS.sigstore.bundle" curl -fsSL -O "${BASE}/${BIN}" # Verify manifest signature against pinned workflow identity cosign verify-blob \ --bundle SHA256SUMS.sigstore.bundle \ --certificate-identity-regexp 'https://github.com/anima-labs-ai/cli/\.github/workflows/release\.yml@refs/tags/v.+' \ --certificate-oidc-issuer https://token.actions.githubusercontent.com \ SHA256SUMS # Verify binary hash against the now-trusted manifest grep " ${BIN}$" SHA256SUMS | sha256sum -c - install -m 0755 "${BIN}" /usr/local/bin/anima ``` -------------------------------- ### anima email get Source: https://github.com/anima-labs-ai/cli/blob/main/src/__tests__/snapshots/email.help.txt Retrieves a specific email by its unique identifier. ```APIDOC ## anima email get ### Description Get email by ID. ### Parameters - **id** (string) - Required - The unique identifier of the email. ``` -------------------------------- ### Manage Authentication and Sessions Source: https://github.com/anima-labs-ai/cli/blob/main/README.md Commands for logging in, logging out, and verifying the current authenticated session. ```bash anima auth login # Authenticate with Anima anima auth logout # Clear stored credentials anima auth whoami # Show current org, agent, and how each was resolved ``` -------------------------------- ### Configure CLI Output Format Source: https://github.com/anima-labs-ai/cli/blob/main/README.md The CLI defaults to compact JSON. Use --human for a table view, or specify --format for YAML or JSONL. ```bash anima email list # agent default: {"emails":[…]} anima email list --human # ┌── box-drawn table anima email list --format yaml # explicit yaml anima email list --format jsonl # one record per line ``` -------------------------------- ### Manage Agents Source: https://github.com/anima-labs-ai/cli/blob/main/README.md Commands to create, list, update, and manage agent properties and API keys. ```bash anima agent create # Create a new agent (in your current org) anima agent list # List agents anima agent use # Set the default agent for later commands anima agent get # Get agent details anima agent update # Update agent properties anima agent delete # Delete an agent anima agent rotate-key # Rotate the agent's API key anima agent did # Get the agent's DID document anima agent credentials # List the agent's verifiable credentials anima agent card # Get the public agent card ``` -------------------------------- ### Manage webhooks with anima webhook Source: https://github.com/anima-labs-ai/cli/blob/main/README.md Commands to create, list, and test webhooks. Advanced creation includes authentication and rate limiting. ```bash anima webhook create # Create a webhook anima webhook list # List all webhooks anima webhook get # Get webhook details anima webhook delete # Delete a webhook anima webhook test # Send a test event to a webhook anima webhook deliveries # List webhook delivery history ``` ```bash anima webhook create \ --url https://example.com/hooks/anima \ --events message.received,message.sent \ --auth-config '{"type":"bearer","token":"whsec_..."}' \ --rate-limit-per-minute 120 \ --max-attempts 5 ``` -------------------------------- ### Configuration Management Source: https://github.com/anima-labs-ai/cli/blob/main/README.md Commands for managing CLI configuration settings and user profiles. ```APIDOC ## anima config ### Description Manage CLI configuration and profiles. ### Commands - `anima config set ` - Set a config value - `anima config get ` - Get a config value - `anima config list` - List all config values - `anima config profile list` - List profiles - `anima config profile use ` - Switch to a profile - `anima config profile clear` - Stop using any profile - `anima config profile delete ` - Delete a profile ``` -------------------------------- ### Manage CLI configuration with anima config Source: https://github.com/anima-labs-ai/cli/blob/main/README.md Commands to manage CLI settings and switch between different configuration profiles. ```bash anima config set # Set a config value anima config get # Get a config value anima config list # List all config values anima config profile list # List profiles anima config profile use # Switch to a profile anima config profile clear # Stop using any profile (back to top-level config) anima config profile delete # Delete a profile ``` -------------------------------- ### Verify Linux binary with Cosign Source: https://github.com/anima-labs-ai/cli/blob/main/SECURITY.md Use this command to verify a Linux binary against its Sigstore bundle. The certificate-identity-regexp ensures the binary was signed by the official release workflow. ```bash cosign verify-blob \ --bundle anima-linux-x64.sigstore.bundle \ --certificate-identity-regexp 'https://github.com/anima-labs-ai/cli/\.github/workflows/release\.yml@refs/tags/v.+' \ --certificate-oidc-issuer https://token.actions.githubusercontent.com \ anima-linux-x64 ``` -------------------------------- ### Manage Custom Email Domains Source: https://github.com/anima-labs-ai/cli/blob/main/README.md Commands for configuring and verifying custom email domains. ```bash anima email domains add # Add a custom domain anima email domains list # List configured domains anima email domains get # Get domain details anima email domains verify # Verify domain DNS records anima email domains dns # Show required DNS records anima email domains deliverability # Check deliverability status anima email domains delete # Remove a domain ``` -------------------------------- ### Compose Email Drafts Source: https://github.com/anima-labs-ai/cli/blob/main/README.md Commands for creating, listing, and sending email drafts. ```bash anima email draft create # Create a draft (may be incomplete — only --agent required) anima email draft list # List drafts anima email draft get # Get draft details anima email draft send # Send: converts the draft to a real message anima email draft delete # Delete a draft without sending ``` -------------------------------- ### Authentication Commands Source: https://github.com/anima-labs-ai/cli/blob/main/README.md Commands for managing user authentication and session state. ```APIDOC ## anima auth login ### Description Authenticate with Anima. ## anima auth logout ### Description Clear stored credentials. ## anima auth whoami ### Description Show current org, agent, and how each was resolved. ``` -------------------------------- ### Send and Manage Emails Source: https://github.com/anima-labs-ai/cli/blob/main/README.md Commands for sending, listing, and searching emails, including filtering by labels. ```bash anima email send # Send an email anima email list # List received emails anima email get # Get email details anima email search # Full-text search over your emails anima email search --semantic # Meaning-based (embedding) search # Filter by label (repeat --label to require ALL); spam is hidden by default. # Relabel a message with `anima message label ` (see below). anima email list --label unread # unread mail only anima email list --label unread --include-spam # include spam-flagged anima email search --label unread # combine text + label (full-text only) ``` -------------------------------- ### Manage Phone Numbers and SMS Source: https://github.com/anima-labs-ai/cli/blob/main/README.md Commands for searching, provisioning, and releasing phone numbers, and sending SMS messages. ```bash anima phone search # Search available phone numbers anima phone provision # Provision a new phone number anima phone list # List provisioned numbers anima phone release # Release a phone number anima phone send-sms # Send an SMS message ``` -------------------------------- ### Manage Chrome extension with anima extension Source: https://github.com/anima-labs-ai/cli/blob/main/README.md Commands to check status and mint headless connection URLs for the Anima Chrome extension. ```bash anima extension status # Check extension status anima extension connect # Mint a headless connect URL (agent key) anima extension connect --agent # Master key: agent is required anima extension connect --agent --ttl 15m # Shorten the token TTL (15m | 1h | session) ``` -------------------------------- ### Manage administration with anima admin Source: https://github.com/anima-labs-ai/cli/blob/main/README.md Commands for organizational management, including member invitations, role updates, and API key rotation. ```bash anima admin org list # List organizations anima admin member invite # Invite a team member anima admin member role # Update member role anima admin key rotate # Rotate org API key anima admin key revoke # Revoke an API key anima admin usage # View usage statistics ``` -------------------------------- ### Verify npm provenance Source: https://github.com/anima-labs-ai/cli/blob/main/SECURITY.md Check the provenance attestations for the published npm package. ```bash npm view @anima-labs/cli --json | jq .dist.attestations ``` -------------------------------- ### Webhook Management Source: https://github.com/anima-labs-ai/cli/blob/main/README.md Commands for creating, listing, and managing webhooks for event notifications. ```APIDOC ## anima webhook ### Description Manage webhooks for event delivery. ### Commands - `anima webhook create` - Create a webhook - `anima webhook list` - List all webhooks - `anima webhook get ` - Get webhook details - `anima webhook delete ` - Delete a webhook - `anima webhook test ` - Send a test event to a webhook - `anima webhook deliveries ` - List webhook delivery history ``` -------------------------------- ### Manage Email Inboxes Source: https://github.com/anima-labs-ai/cli/blob/main/README.md Commands for creating and managing email inboxes. ```bash anima inbox create # Create an inbox (--username, --domain, --display-name, --agent) anima inbox list # List inboxes anima inbox get # Get inbox details anima inbox update # Update display name or agent association anima inbox delete # Delete an inbox ``` -------------------------------- ### Monitor security with anima security Source: https://github.com/anima-labs-ai/cli/blob/main/README.md Commands to list security events and scan content for potential threats. ```bash anima security events # List security events anima security scan # Scan content for security threats ``` -------------------------------- ### Email Management Source: https://github.com/anima-labs-ai/cli/blob/main/README.md Commands for sending, listing, and searching emails. ```APIDOC ## anima email send ### Description Send an email. ## anima email list ### Description List received emails. ## anima email get ### Description Get email details. ## anima email search ### Description Full-text search over your emails. ``` -------------------------------- ### Manage credentials with anima vault Source: https://github.com/anima-labs-ai/cli/blob/main/README.md Commands to provision, sync, and manage credentials within the password vault, including password and TOTP generation. ```bash anima vault provision # Provision vault for an identity anima vault deprovision # Remove vault from an identity anima vault status # Check vault status anima vault sync # Sync vault data anima vault store # Store a credential anima vault store --generate-password # Store a login with a vault-generated password # (generated server-side, stays in the vault, only the # credential ref is returned; --length/--no-special etc.) anima vault get # Retrieve a credential anima vault list # List all credentials anima vault search # Search credentials anima vault delete # Delete a credential anima vault generate # Generate a password anima vault totp # Generate TOTP code ``` -------------------------------- ### Agent Management Source: https://github.com/anima-labs-ai/cli/blob/main/README.md Commands for managing agents within an organization. ```APIDOC ## anima agent create ### Description Create a new agent in your current org. ## anima agent list ### Description List agents. ## anima agent use ### Description Set the default agent for later commands. ## anima agent get ### Description Get agent details. ## anima agent update ### Description Update agent properties. ## anima agent delete ### Description Delete an agent. ## anima agent rotate-key ### Description Rotate the agent's API key. ## anima agent did ### Description Get the agent's DID document. ## anima agent credentials ### Description List the agent's verifiable credentials. ## anima agent card ### Description Get the public agent card. ``` -------------------------------- ### anima email send Source: https://github.com/anima-labs-ai/cli/blob/main/src/__tests__/snapshots/email.help.txt Sends an email using the CLI. ```APIDOC ## anima email send ### Description Sends an email. ### Usage `anima email send [options]` ``` -------------------------------- ### Manage messages with anima message Source: https://github.com/anima-labs-ai/cli/blob/main/README.md Commands for listing, retrieving, searching, and labeling messages across channels. Labels represent workflow states like unread or archived. ```bash anima message list # List messages (email, SMS, MMS) anima message get # Get message details anima message search # Full-text search messages anima message label # Add/remove labels on a message # Labels are an agent's workflow state. System labels: unread, read, # archived, spam. Adding `read` clears `unread` (and vice versa). anima message label --add read # mark read anima message label --add archived --remove unread anima message label --add urgent # your own tag # Filter list/search by label (repeat --label to require ALL). Spam is # hidden by default; --include-spam surfaces it. anima message list --label unread --label urgent anima message list --include-spam anima message search --label unread ``` -------------------------------- ### Phone Services Source: https://github.com/anima-labs-ai/cli/blob/main/README.md Commands for managing phone numbers and SMS. ```APIDOC ## anima phone search ### Description Search available phone numbers. ## anima phone provision ### Description Provision a new phone number. ## anima phone list ### Description List provisioned numbers. ## anima phone release ### Description Release a phone number. ## anima phone send-sms ### Description Send an SMS message. ``` -------------------------------- ### Email Domains Source: https://github.com/anima-labs-ai/cli/blob/main/README.md Commands for managing custom email domains. ```APIDOC ## anima email domains add ### Description Add a custom domain. ## anima email domains list ### Description List configured domains. ## anima email domains get ### Description Get domain details. ## anima email domains verify ### Description Verify domain DNS records. ## anima email domains dns ### Description Show required DNS records. ## anima email domains deliverability ### Description Check deliverability status. ## anima email domains delete ### Description Remove a domain. ``` -------------------------------- ### Vault Management Source: https://github.com/anima-labs-ai/cli/blob/main/README.md Commands for managing password vault credentials, including storage, retrieval, and generation. ```APIDOC ## anima vault ### Description Manage password vault credentials and security tokens. ### Commands - `anima vault provision` - Provision vault for an identity - `anima vault deprovision` - Remove vault from an identity - `anima vault status` - Check vault status - `anima vault sync` - Sync vault data - `anima vault store` - Store a credential - `anima vault get` - Retrieve a credential - `anima vault list` - List all credentials - `anima vault search` - Search credentials - `anima vault delete` - Delete a credential - `anima vault generate` - Generate a password - `anima vault totp` - Generate TOTP code ``` -------------------------------- ### Inbox Management Source: https://github.com/anima-labs-ai/cli/blob/main/README.md Commands for managing email inboxes. ```APIDOC ## anima inbox create ### Description Create an inbox. ## anima inbox list ### Description List inboxes. ## anima inbox get ### Description Get inbox details. ## anima inbox update ### Description Update display name or agent association. ## anima inbox delete ### Description Delete an inbox. ``` -------------------------------- ### Email Drafts Source: https://github.com/anima-labs-ai/cli/blob/main/README.md Commands for composing and managing email drafts. ```APIDOC ## anima email draft create ### Description Create a draft. ## anima email draft list ### Description List drafts. ## anima email draft get ### Description Get draft details. ## anima email draft send ### Description Send a draft. ## anima email draft delete ### Description Delete a draft. ``` -------------------------------- ### Message Management Source: https://github.com/anima-labs-ai/cli/blob/main/README.md Commands for listing, retrieving, searching, and labeling messages across email, SMS, and MMS channels. ```APIDOC ## anima message ### Description Manage messages across all channels including email, SMS, and MMS. ### Commands - `anima message list` - List messages - `anima message get ` - Get message details - `anima message search ` - Full-text search messages - `anima message label ` - Add/remove labels on a message ``` -------------------------------- ### anima email list Source: https://github.com/anima-labs-ai/cli/blob/main/src/__tests__/snapshots/email.help.txt Lists emails associated with the account. ```APIDOC ## anima email list ### Description Lists emails. ### Usage `anima email list [options]` ``` -------------------------------- ### anima email search Source: https://github.com/anima-labs-ai/cli/blob/main/src/__tests__/snapshots/email.help.txt Searches emails based on a text query. ```APIDOC ## anima email search ### Description Search emails by text query. Add --semantic for meaning-based ranking. ### Parameters - **query** (string) - Required - The text query to search for. ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.