Sdk cli

SDK & CLI

Install the ArmorIQ CLI, wire the Python or TypeScript SDK into your agent, and ship authorized tool calls backed by cryptographic intent tokens and per-user policy enforcement.

The ArmorIQ SDK and CLI let you secure every tool call your AI agent makes. The CLI authenticates your developer workstation and manages per-organization API keys; the SDK wraps every tool call with a cryptographically signed intent token so the proxy can enforce policy before the call leaves your network.

You only need two things to integrate:

  • An API key — minted from the dashboard under API Keys or from the CLI after armoriq login.
  • An email — the identity of the end user your agent is acting on behalf of. Attached per-call via for_user(email) (Python) or the userEmail option (TypeScript). Audit logs, policies, and delegation flows all key off this email.

That pair — API key + email — is the canonical minimum for any real integration.

Start here

What you get

CapabilityWhat it does
Intent tokensEvery tool call is signed against the LLM's actual reasoning. The proxy rejects calls that don't match the signed plan.
Per-tool allow-listsDefine which tools each agent can call. Deny rules always win over allow.
Per-user scopingAttach an end-user email to every call. Policies and audit logs are scoped per-user, per-membership, or per-role.
Delegation & approvalsHigh-risk tool calls can require human approval. The SDK waits on the delegation and retries automatically once approved.
Audit trailEvery plan, token, and invocation is captured in the dashboard — searchable by agent, user, or tool.

Prerequisites

Before you start, have:

  1. A verified ArmorIQ account — see Getting Started.
  2. Membership in at least one organization — see Organizations.
  3. Python 3.10+ (for the Python SDK and the CLI) or Node.js 18+ (for the TypeScript SDK).

The CLI is Python-only today. TypeScript users should install the Python CLI via pipx install armoriq-sdk for authentication and org management; your runtime can still use @armoriq/sdk in Node.

On this page