Skip to main content

Install

Scope-Enforced Functions

Create OpenAI function-calling tool definitions with built-in Grantex scope checks:

Function Registry

Use GrantexFunctionRegistry to manage multiple functions and dispatch tool calls by name:

Audit Logging

Wrap any function with withAuditLogging:

API Reference

createGrantexFunction(options)

Returns { definition, execute }.

GrantexFunctionRegistry

withAuditLogging(fn, client, options)

Requirements

  • Node.js 18+
  • @grantex/sdk >= 0.1.0

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