Skip to content

AI layer ​

Every model call in Hesper goes through one governed router. No consumer calls a provider directly.

Routing ​

  • Bulk tier (run): triage, classification, tagging, subject lines, extraction, summaries.
  • Agentic tier (runAgentTurn): the Console's investigation turns, SRE reasoning, the IT-support conversation, drafts.

Calls are ordered per tier with zero-data-retention providers first, falling through the cascade; a practice with an active BYO-AI provider serves every model call through that tenant's provider — binary, never a silent fallback to platform credits.

Spend control ​

  • Every model call writes one ai_usage row.
  • Mandatory caps: practice R400/day, global R1,500/day and R16,000/month (SAST). The caps are enforced, never advisory.
  • A turn is denied before it starts when credits are insufficient — the client reports the refusal as terminal to that turn.

Governance ​

  • The AI disclosure gate keeps non-Google providers unserved until the published disclosure names them.
  • Agentic changes are proposals: the model proposes typed Hesper operations; a human approves; the action is bound to a single-use confirmation and reconciled through a receipt.

In the Console ​

The Console distinguishes observed fact (tool result with source and timestamp) from inference, and labels cached inventory stale. See the reference incident.

Hesper docs · version v0.1.152