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.
Current Authority and Human Identity
Use the exact integration version and minimum primary SDK in Release Status.
Per-invocation issuer authority and trusted principal/agent binding are opt-in.
Configure the callback with the trusted issuer and derive identity from the host’s
authenticated session; signature and scope checks alone do not prove current
revocation or human consent. See SDK execution authority
for configuration, denial behavior and manifest/decision/caps boundaries.Last modified on September 29, 2026