Skip to main content

Install

Configure

Config is saved to ~/.grantex/config.json. Environment variables override the config file.

JSON Output

All commands support --json for machine-readable output. This is useful for scripting, piping into jq, or when using the CLI from AI coding assistants (Claude Code, Cursor, Codex, etc.).
To disable colored output, set the NO_COLOR=1 environment variable.

Commands

Authorize (Core Flow)

Agents

Tokens

Grants

Budgets

Usage

Events

Audit Log

Webhooks

Supported events: grant.created, grant.revoked, token.issued.

Policies

Domains

Principal Sessions

Compliance

Anomaly Detection

Billing

Account

Vault (Credential Storage)

WebAuthn / FIDO2

Verifiable Credentials

Agent Passports (MPP)

SCIM

SSO

DPDP Compliance

Full Workflow Example

Local Development

For local development with Docker Compose:

Requirements

  • Node.js 18+
Last modified on July 11, 2026