Skip to main content

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

Options

The shorthand pp resolves to postprocessor in most argument positions — e.g. lua pp view, lua logs --type pp.

Examples

Priority

Postprocessors have a priority 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.

Common Workflow