You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/connect/pages/create-agent.adoc
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@
8
8
:learning-objective-3: Connect to and test a running agent
9
9
10
10
// Source: cloudv2 `proto/public/cloud/redpanda/api/adp/v1alpha1/agent.proto` (AgentCreate, ManagedAgentSpec) cross-referenced against `apps/adp-ui/src/components/agents/managed-create/` (managed-agent-canvas.tsx, model-picker.tsx, subagent-sheet.tsx, instructions-field.tsx, tool-list.tsx), `apps/adp-ui/src/components/agents/agent-detail-sections.tsx`, and `apps/adp-ui/src/routes/_authenticated/agents/$name.index.page.tsx` on cloudv2 main, verified 2026-08-01.
11
-
// The managed create flow is a single canvas titled "New managed agent" with sections Identity, Model, Instructions, Tools, and a collapsible Advanced area (Subagents, Tags). The Model picker is a single model-only list; the provider that serves the chosen model is selected automatically. There is no stepper and no editable Agent ID field; the resource slug is derived from the name at submit. The managed agent detail Overview is organized into Agent, Model & runtime, System prompt, MCP servers, and Subagents sections. Managed agent detail tabs are Overview, Triggers, Inspector, Cost & Usage, Transcripts, and Permissions. Credentials and Setup tabs exist only on self-managed agents.
11
+
// The managed create flow is a single canvas titled "New managed agent" with sections Identity, Model, Instructions, Tools, and a collapsible Advanced area (Subagents, Tags). The Model picker is a single model-only list; the provider that serves the chosen model is selected automatically. There is no stepper and no editable Agent ID field; the resource slug is derived from the name at submit. The managed agent detail Overview is organized into Agent, Model & runtime, System prompt, MCP servers, and Subagents sections. Managed agent detail tabs are Overview, Triggers, Playground, Cost & Usage, Transcripts, and Permissions. Credentials and Setup tabs exist only on self-managed agents. The interactive test tab, previously labeled Inspector, is now labeled Playground and its URL is `?tab=playground`. Re-verified 2026-08-07.
12
12
13
13
Create a new glossterm:AI agent[] declaratively through Redpanda Agentic Data Plane. No Python or JavaScript code required. This guide walks through the managed create canvas section by section, then covers how to connect to and test the running agent.
14
14
@@ -155,7 +155,7 @@ When the agent is running, open its detail page. A managed agent has these tabs:
155
155
156
156
* *Overview*: The agent's full configuration, organized into sections that you edit and save one at a time. The *Agent* section holds the display name, description, and tags (the agent ID is fixed). The *Model & runtime* section holds the LLM provider, model, and max iterations, along with the runtime status and endpoint. The *System prompt*, *MCP servers*, and *Subagents* sections hold the instructions, attached servers, and subagents.
157
157
* *Triggers*: Schedules and event sources that invoke the agent. See xref:connect:triggers/overview.adoc[].
158
-
* *Inspector*: An interactive test surface. See <<test-your-agent,Test your agent>>.
158
+
* *Playground*: An interactive test surface. See <<test-your-agent,Test your agent>>.
159
159
* *Cost & Usage*: Spend, tokens, and latency for the agent.
160
160
* *Transcripts*: A record of every conversation against the agent.
161
161
* *Permissions*: The access policies that apply to the agent as a principal. See xref:control:access-policies.adoc[].
@@ -211,12 +211,12 @@ For more about agent cards and how they're consumed, see xref:connect:a2a-concep
211
211
212
212
Two tabs on the agent detail page support testing and observability:
213
213
214
-
* *Inspector*: Send test prompts interactively and inspect each step of the agent's reasoning, tool calls, and responses. Use Inspector during development and tuning. The composer shows the agent's provider and model as read-only, so a test run always uses the agent's saved configuration.
214
+
* *Playground*: Send test prompts interactively and inspect each step of the agent's reasoning, tool calls, and responses. Use Playground during development and tuning. The composer shows the agent's provider and model as read-only, so a test run always uses the agent's saved configuration.
215
215
* *Transcripts*: Records every conversation against the agent (prompt, tool calls, tool outputs, final response). Use transcripts to audit production behavior.
Copy file name to clipboardExpand all lines: modules/connect/pages/draw-charts.adoc
+17-17Lines changed: 17 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,18 +1,18 @@
1
1
= Draw Charts from an Agent
2
-
:description: Make an agent render inline bar and line charts in the Inspector by emitting a chart code block that follows the Agentic Data Plane chart contract.
2
+
:description: Make an agent render inline bar and line charts in the Playground by emitting a chart code block that follows the Agentic Data Plane chart contract.
3
3
:page-topic-type: how-to
4
4
:personas: agent_builder
5
5
:learning-objective-1: Instruct an agent to draw a bar or line chart by emitting a chart code block
6
6
:learning-objective-2: Migrate an earlier chart prompt to the Agentic Data Plane chart contract
7
7
:learning-objective-3: Diagnose a chart that renders as an error or stays a placeholder
8
8
9
-
// Source: cloudv2 `apps/adp-ui/src/components/agents/inspector/components/chart-block.tsx`, `chart-block-renderer.tsx`, and `ai-elements/response.tsx` on origin/main. Verified 2026-07-28.
9
+
// Source: cloudv2 `apps/adp-ui/src/components/agents/inspector/components/chart-block.tsx`, `chart-block-renderer.tsx`, and `ai-elements/response.tsx` on origin/main. Verified 2026-07-28; the agent interaction tab is now labeled Playground (route `?tab=playground`), re-verified 2026-08-07.
10
10
11
11
An agent draws a chart by emitting a fenced code block tagged `chart` whose body is strict JSON that follows the Agentic Data Plane chart contract.
12
-
The Inspector renders the data with the Agentic Data Plane chart components.
12
+
The Playground renders the data with the Agentic Data Plane chart components.
13
13
The fence body contains data, not Recharts component code.
14
-
The agent's *Inspector* tab renders that block with Chart, Data, and Code views.
15
-
This is a rendering convention: the agent decides when a chart helps and writes the data, and the Inspector draws it.
14
+
The agent's *Playground* tab renders that block with Chart, Data, and Code views.
15
+
This is a rendering convention: the agent decides when a chart helps and writes the data, and the Playground draws it.
16
16
No tool call or application setup is required.
17
17
18
18
[IMPORTANT]
@@ -39,14 +39,14 @@ After reading this page, you will be able to:
39
39
40
40
== How chart rendering works
41
41
42
-
When the agent's response contains a fenced code block tagged `chart`, the Inspector parses the block body as a chart configuration and draws the chart in place of the code.
42
+
When the agent's response contains a fenced code block tagged `chart`, the Playground parses the block body as a chart configuration and draws the chart in place of the code.
43
43
Every other code block renders as plain code, so a `chart` block is the agent's only departure from ordinary output.
44
44
45
45
The renderer supplies the visual presentation.
46
46
A valid configuration renders as a responsive SVG chart with the Redpanda theme, a tooltip, and a legend.
47
47
The agent supplies the chart type, optional title, labels, series names, and numeric values.
48
48
49
-
Agentic Data Plane draws a `chart` block wherever it shows the agent's response: the agent's *Inspector* tab and the *Transcripts* tab.
49
+
Agentic Data Plane draws a `chart` block wherever it shows the agent's response: the agent's *Playground* tab and the *Transcripts* tab.
50
50
When an external application calls the agent, whether that application draws the chart depends on how it renders the agent's output.
51
51
52
52
== Write the chart block
@@ -57,15 +57,15 @@ Unsupported chart types or invalid values show an error.
57
57
* Tag the fence `chart`.
58
58
The opening fence is three backticks followed by the word `chart`, with no other language tag.
59
59
* Write the body as strict JSON.
60
-
The Inspector parses the body with a JSON parser, not a JavaScript evaluator, so use double-quoted keys and strings, unquoted numbers, no trailing commas, no comments, and no JavaScript expressions, functions, or callbacks.
60
+
The Playground parses the body with a JSON parser, not a JavaScript evaluator, so use double-quoted keys and strings, unquoted numbers, no trailing commas, no comments, and no JavaScript expressions, functions, or callbacks.
61
61
* Set the top-level `type` to `bar` or `line`.
62
62
* Add a top-level `data` object with `labels` and `datasets` arrays.
63
63
Each dataset contains a `data` array and can include a `label`.
64
-
Without a `label`, the Inspector names the series `Series 1`, `Series 2`, and so on.
64
+
Without a `label`, the Playground names the series `Series 1`, `Series 2`, and so on.
65
65
Values in a dataset must be finite numbers or `null`.
66
66
* To display a title, add a top-level `title` string.
67
67
* Do not add renderer-specific `options`, plugins, scales, animations, or color properties.
68
-
The Inspector controls those presentation details.
68
+
The Playground controls those presentation details.
69
69
70
70
A bar chart:
71
71
@@ -121,7 +121,7 @@ Rules for the chart block:
121
121
"data" array and can include a "label".
122
122
- Do not emit renderer-specific options, plugins, scales, animations, or colors.
123
123
- Put a brief plain-text explanation (1 or 2 sentences) before the chart block.
124
-
Do not also paste a data table; the Inspector has a built-in Data view.
124
+
Do not also paste a data table; the Playground has a built-in Data view.
125
125
126
126
Example response to "show last quarter's orders by month":
127
127
@@ -143,21 +143,21 @@ Orders peaked in February:
143
143
144
144
For prompt-writing patterns that make this output reliable, see xref:connect:system-prompts.adoc#output-formatting[Output formatting].
145
145
146
-
== Test the chart in the Inspector
146
+
== Test the chart in the Playground
147
147
148
-
. Open the agent and switch to the *Inspector* tab.
148
+
. Open the agent and switch to the *Playground* tab.
149
149
. Enter a prompt that calls for a chart, such as `Show the broker count for the demo cluster over the last 3 months as a bar chart`.
150
150
. Wait for the agent to finish its response.
151
151
The chart appears in place of the `chart` block.
152
152
153
-
image::connect:agent-chart-rendered.png[alt="The Inspector rendering a bar chart titled Broker count / demo cluster / 3 months, with a Chart, Data, and Code view selector above bars for January, February, and March."]
153
+
image::connect:agent-chart-rendered.png[alt="The Playground rendering a bar chart titled Broker count / demo cluster / 3 months, with a Chart, Data, and Code view selector above bars for January, February, and March."]
154
154
155
155
Use the view selector to switch between:
156
156
157
157
* *Chart*: The responsive bar or line chart.
158
158
Hover over the chart to inspect values.
159
159
* *Data*: The chart's values as a table, reconstructed from the configuration.
160
-
* *Code*: The JSON configuration the Inspector parsed.
160
+
* *Code*: The JSON configuration the Playground parsed.
161
161
162
162
Zoom, pan, and PNG export are not available.
163
163
@@ -186,7 +186,7 @@ Convert other chart types to `bar` or `line`.
186
186
187
187
|`options`, `plugins`, `scales`, animations, or colors
188
188
|Remove them.
189
-
The Inspector supplies the presentation.
189
+
The Playground supplies the presentation.
190
190
191
191
|Zoom, pan, or PNG export instructions
192
192
|Remove them.
@@ -256,7 +256,7 @@ Common causes include invalid JSON, a missing `type` field, a missing `data` obj
256
256
For migration guidance, see <<migrate-chart-js-prompt>>.
257
257
258
258
|A Building chart… placeholder remains visible
259
-
|The placeholder shows while the `chart` block streams in, because the Inspector cannot parse the configuration until the closing fence arrives.
259
+
|The placeholder shows while the `chart` block streams in, because the Playground cannot parse the configuration until the closing fence arrives.
260
260
The chart replaces the placeholder when the agent finishes the response.
261
261
If the response finishes and the body cannot be parsed, the Failed to render chart error replaces the placeholder.
262
262
If the placeholder remains after the agent stops responding, instruct the agent to emit one complete `chart` block with a closing fence.
Copy file name to clipboardExpand all lines: modules/control/pages/cost-usage.adoc
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -83,7 +83,7 @@ Use *Download full report* when you need the whole dataset rather than the chart
83
83
84
84
The *Activity* tab answers a different question from the report: instead of what something cost, it shows what's running right now. It ranks the agents with traffic over a window of the last hour (the default), the last 24 hours, or the last 7 days, and shows each agent's change against the previous window. Select an agent to see its recent requests and open a conversation.
85
85
86
-
The Inspector's live view also hands off to this tab: when an agent task is still running after several minutes, the Inspector points you here to follow it to completion.
86
+
The Playground's live view also hands off to this tab: when an agent task is still running after several minutes, the Playground points you here to follow it to completion.
Copy file name to clipboardExpand all lines: modules/gateway/pages/configure-provider.adoc
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -204,7 +204,7 @@ For Bedrock, the picker exposes inference profiles, not raw foundation-model IDs
204
204
Redpanda stores models as structured `ProviderModel` entries (one entry per model, with the model name as the only required field). Each model can carry custom pricing overrides that replace the catalog rates for that model in cost reporting; see <<pricing-overrides>>. The legacy flat `models` field still works on writes for backward compatibility.
205
205
====
206
206
207
-
Beyond pricing, the catalog carries each model's capabilities and context-window limits. The model discovery API (the `ListModels` and `GetModel` methods on `ModelService`) reports `max_input_tokens` (the largest context the model accepts) and `max_output_tokens` (the most it can generate in a single response) for each model. Both are read-only catalog metadata: a limit the catalog doesn't declare stays unset rather than reported as zero. Clients read `max_input_tokens` to show how full an agent's context window is, such as the context-window indicator on the agent's *Inspector* tab.
207
+
Beyond pricing, the catalog carries each model's capabilities and context-window limits. The model discovery API (the `ListModels` and `GetModel` methods on `ModelService`) reports `max_input_tokens` (the largest context the model accepts) and `max_output_tokens` (the most it can generate in a single response) for each model. Both are read-only catalog metadata: a limit the catalog doesn't declare stays unset rather than reported as zero. Clients read `max_input_tokens` to show how full an agent's context window is, such as the context-window indicator on the agent's *Playground* tab.
0 commit comments