agui

Render tables, charts and forms in the user's browser from AG-UI actions the client declares. Covers what the plugin contributes and how to turn it off.

The agui plugin lets the agent render interactive UI components (tables, charts, forms) in the user's browser. It is on by default, and it contributes nothing on a request where the client declares no AG-UI actions.

Source: packages/oracle-runtime/src/plugins/agui/

AttributeValue
Feature keyagui
Visibilityon-demand
Stabilitystable
Categoryui
Default stateOn
Depends onNone

Summary

Renders interactive UI components (tables, charts, forms) in the user's browser. The client declares its renderable actions on each sendMessage via state.agActions; the runtime wraps each into a PluginTool and exposes them through the call_ag-ui_agent sub-agent. When no actions are declared the plugin contributes nothing.

Environment variables

This plugin has no required env vars.

What it contributes

  • Tools: none directly. Tools are owned by the per-request sub-agent.
  • Sub-agents: call_ag-ui_agent, built only when state.agActions is non-empty.
  • Middleware: none.
  • HTTP routes: none.
  • Shared state: none.

Opt out / opt in

const app = await createOracleApp({
  config,
  features: { agui: false }, // never load
  // features: { agui: true }, // force load (default)
});

When to use it

  • User asks for an interactive table, chart, or form to be rendered.
  • A response is best shown as a structured UI component rather than plain text.

When not to use it

  • No AG-UI actions are declared on this request. The sub-agent is not built.
  • A plain text answer is sufficient. Do not render UI only because you can.