Openai Complete
Send a completion request to the OpenAI API
Authority band
This tool runs under L1 authority in the Custodian kernel. Trivial autonomous spend or free side-effect — no human approval required.
Inputs
| Parameter | Type | Required | Description |
|---|---|---|---|
| (see execute.py for full schema) |
Configuration
Set the required environment variables before use. Until configured, custodian tools run openai-complete returns a stub response indicating which variables are needed.
Usage
custodian tools run openai-complete --param value
Custodian governance
Every call to this tool passes through the Custodian kernel authority check before executing. The kernel verifies the current authority band, checks spending caps where applicable, logs the action to the OCSF audit trail, and escalates to a human operator if the action exceeds the declared band.
Adding this tool to any Hermes agent session requires no code changes —
declare custodian-band: L1 in the SKILL.md frontmatter and the kernel
wraps it automatically.