Documentation Index
Fetch the complete documentation index at: https://docs.heylua.ai/llms.txt
Use this file to discover all available pages before exploring further.
Overview
lua postprocessors manages postprocessor primitives — code that runs after your agent produces a response, before it’s sent to the user. Use postprocessors for adding disclaimers, branding, translation, format conversion, or compliance redaction.
For defining postprocessors in code, see the Postprocessor concept and the Postprocessor API.
Subcommands
| Action | What it does |
|---|---|
view | List all postprocessors defined on the agent. |
versions | List every version of a specific postprocessor. |
deploy | Promote a version to active. |
activate | Re-enable a deactivated postprocessor. |
deactivate | Pause execution — responses bypass this postprocessor. |
delete | Permanently remove a postprocessor and all its versions. |
Options
| Option | Description |
|---|---|
--postprocessor-name <name> | Postprocessor name. Required for most non-interactive actions. |
--postprocessor-version <ver> | Version for deploy. Pass latest for the newest. |
The shorthand
pp resolves to postprocessor in most argument positions — e.g. lua pp view, lua logs --type pp.Examples
Priority
Postprocessors have apriority field that controls execution order. Lower numbers run first. The priority you declare in code is now correctly preserved on push — re-push if you set priority in older releases and want it applied.

