HaltState Documentation

HaltState is an action-control layer for AI agent governance. It sits between autonomous agents and sensitive business systems, evaluates tool calls against policy before execution, and records verifiable evidence for audit and incident response.

Start here

These docs are written for teams that are moving autonomous agents from chat into business operations. The important boundary is not whether an agent can generate a plan; it is whether the agent can perform a high-risk action such as creating a refund, authorizing a payment, exporting customer data, writing to a database, sending a customer message, or changing an order. HaltState gives that boundary a runtime control point.

The core pattern is simple: put a guard call immediately before the side effect, derive a stable idempotency key, send safe policy context, branch on the decision, execute only when allowed or later approved, and report the final outcome. This makes the enforcement path deterministic and testable. It also gives operators an evidence trail that can support incident response, internal controls, and governance programs without exposing customer payloads publicly.

The public retail refund agent is the reference workflow. It claims server-side ledger rows, asks HaltState for authority, writes simulated execution only for allowed or later-approved refunds, creates Proof Pack evidence, and sends sanitized live events to the public board. The same architecture applies to gift cards, loyalty credits, PII access, outbound communications, and production writes.

Use the quickstart when you need the first guarded action. Use the SDK pages when you are wiring a service. Use the guard, idempotency, approval, and exception pages when you are hardening retry behavior. Use the refund agent, ops API, policy, and Proof Pack pages when you need a fuller implementation model.

If you are evaluating HaltState as a buyer, start with the live control room and Proof Packs. If you are implementing it, start with the guard pattern and idempotency keys. If you are operating it, focus on approval lifecycle, ops APIs, redaction, and failure handling. The same pages are intentionally linked together so product, engineering, security, and compliance teams can discuss the same runtime facts rather than separate slideware.

Quickstart

Wrap a first high-risk tool call with the HaltState SDK.

Guard Pattern

Evaluate allow, deny, approval-required, and idempotent retry paths.

Approval Lifecycle

Route ambiguous or high-risk actions to human authority.

Proof Packs

Preserve verifiable evidence without exposing sensitive data.

Environment Variables

Configure tenant IDs, API keys, API origins, and worker runtime settings.

Refund Agent Example

Review the real server-side refund worker and ledger lifecycle.

Ops API Reference

Inspect live status, live feed, refund ledger, and process-once endpoints.

Policy Examples

Use deterministic policy packs for refunds, PII, payments, and database writes.

Getting Started

SDK Libraries

SDK Guides

Patterns

Reference

Why HaltState?