Skip to main content
Grantex v0.1 is our first public release, and we wanted it to be comprehensive. Whether you are building a single-agent prototype or deploying a multi-agent system in production, the tooling is here. Let’s walk through everything that ships today.

SDKs

TypeScript (@grantex/sdk)

The TypeScript SDK is the primary client library. It covers the full API surface: agent registration, authorization, token exchange, offline and online verification, grants management, audit logging, and every enterprise endpoint. It uses native fetch, ships as ESM, and requires Node 18+.
npm install @grantex/sdk
TypeScript SDK docs

Python (grantex)

The Python SDK mirrors the TypeScript API with idiomatic Python conventions — snake_case methods, dataclass responses, and httpx under the hood. It supports Python 3.9+ and includes full type annotations for editor autocomplete.
pip install grantex
Python SDK docs

Framework Integrations

We built integrations for every major agent framework so you can add Grantex authorization to your existing stack without rewriting your agent logic.
IntegrationPackageWhat It Does
LangChain@grantex/langchainLangChain tools that wrap Grantex operations — use them as agent tools in any LangChain pipeline.
Vercel AI@grantex/vercel-aiVercel AI SDK tools for building authorized AI chatbots and assistants.
AutoGen@grantex/autogenAutoGen function tools for multi-agent conversations with scoped authorization.
CrewAIgrantex-crewaiCrewAI tools that let crew agents request and verify grants.
OpenAI Agents SDKgrantex-openai-agentsPython tools for the OpenAI Agents SDK with built-in authorization.
Google ADKgrantex-adkGoogle Agent Development Kit tools for authorized agent actions.
Each integration ships with its own documentation page and a runnable example in the examples/ directory. Integrations overview

MCP Server (@grantex/mcp)

The MCP server exposes 13 Grantex tools as an MCP (Model Context Protocol) service. Point Claude Desktop, Cursor, Windsurf, or any MCP-compatible client at it and your AI assistant can manage agents, grants, and tokens through natural language.
npx @grantex/mcp
MCP server docs

CLI (@grantex/cli)

The Grantex CLI gives you full control from your terminal. Register agents, initiate authorization flows, exchange tokens, query audit logs, manage policies — everything the SDKs can do, the CLI can do.
npx @grantex/cli agents list
npx @grantex/cli tokens verify <token>
npx @grantex/cli audit entries --agentId <id>
CLI docs

Developer Portal

The developer portal at grantex.dev/dashboard provides a web UI for managing your Grantex account. View registered agents, browse active grants, inspect audit logs, and configure policies — all without writing code.

Enterprise Features

Grantex v0.1 includes a full suite of enterprise capabilities, available out of the box:
  • Policy Engine — define JSON-based authorization policies that are evaluated on every grant request. Restrict by scope, time window, IP range, or custom attributes. (Policies docs)
  • Anomaly Detection — automated analysis of agent behavior patterns. Flags unusual activity like scope escalation, off-hours access, or velocity spikes. (Anomalies docs)
  • SCIM Provisioning — sync users and groups from your identity provider (Okta, Azure AD, OneLogin) to Grantex. (SCIM docs)
  • SSO — SAML and OIDC single sign-on for the developer portal. (SSO docs)
  • Compliance Exports — generate audit reports in formats that satisfy SOC 2, ISO 27001, and EU AI Act requirements. (Compliance docs)
  • Billing — Stripe-backed usage metering and plan management with automatic enforcement of plan limits. (Billing docs)

Auth Service

The auth service is a production-ready Fastify server backed by PostgreSQL and Redis. It handles authorization flows, token issuance and verification, webhook delivery with retry, rate limiting, and PKCE (S256). It deploys to Cloud Run and is the reference implementation of the Grantex protocol. Self-hosting guide

What’s Next

This is v0.1, not v1.0. We are actively working on:
  • Additional framework integrations based on community demand
  • Expanded policy engine with OPA (Open Policy Agent) support
  • SDK support for more languages (Go, Java, Rust)
  • Hosted multi-tenant service for teams that do not want to self-host
Star the repo, try the quickstart, and let us know what you would like to see next on GitHub.