Install
Config is saved to ~/.grantex/config.json. Environment variables override the config file.
Install skills for an agent CLI
The CLI bundles use-grantex-cli and integrate-grantex as portable Agent Skills:
See Agent CLIs & Skills for discovery paths, activation checks, and security boundaries.
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.
Denied and invalid checks return a non-zero exit status in JSON mode as well as text mode.
Avoid putting grant tokens in shell history or process arguments:
The verification commands also accept --file and --stdin. enforce test accepts --token-file and --token-stdin.
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
Ownership
Grantex is owned by Orchestrum Technologies LLP. Inventor and owner: Sanjeev Kumar. Ownership contact: sanjeev@orchestrum.in or mishra.sanjeev@gmail.com.Last modified on August 29, 2026