@botpress/adk-cli 1.19.0-beta.3 → 1.19.0-beta.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/ui-dist/assets/{index-CSTz-oTK.js → index-B3b7PPgV.js} +4 -4
- package/{dist/index-DNqXHLNi-27nvpkee.js → assets/ui-dist/assets/index-BESZeTO5.js} +2 -2
- package/{dist/index-DAztRXeA-vr85xnxs.css → assets/ui-dist/assets/index-DIFGtVmI.css} +1 -1
- package/{dist/index-DfjXY3Oo-szsanhnt.js → assets/ui-dist/assets/index-a3ZL0_Jr.js} +2 -2
- package/assets/ui-dist/index.html +2 -2
- package/dist/{README-wjb7z7f0.md → README-824wa4jj.md} +1 -1
- package/dist/SKILL-75ym6tcj.md +257 -0
- package/dist/SKILL-chnwzmt1.md +548 -0
- package/dist/SKILL-d4bs53y3.md +244 -0
- package/dist/SKILL-h4b2f1n9.md +114 -0
- package/dist/SKILL-hbw5nt95.md +111 -0
- package/dist/actions-h7hxxvxr.md +823 -0
- package/dist/adk-build-emhwd0tg.md +39 -0
- package/dist/adk-debug-yrrdtpmb.md +23 -0
- package/dist/adk-dev-console-7z9rtjpy.md +17 -0
- package/dist/adk-document-ras6zzzh.md +68 -0
- package/dist/adk-eval-vx76dwq0.md +17 -0
- package/dist/adk-explain-fcsaw852.md +22 -0
- package/dist/adk-init-9kmxmbbe.md +30 -0
- package/dist/adk-ship-dybzn884.md +29 -0
- package/dist/adk-test-xq67savs.md +27 -0
- package/dist/adk-validate-1p4skv4m.md +31 -0
- package/dist/advanced-patterns-z86m9h1a.md +669 -0
- package/dist/agent-config-1aqvkrgf.md +450 -0
- package/dist/agent-steps-zj4c1n9t.md +115 -0
- package/dist/agent0-assets/skills/adk/SKILL.md +5 -5
- package/dist/agent0-assets/skills/adk/references/cli.md +265 -24
- package/dist/agent0-assets/skills/adk-debugger/SKILL.md +5 -5
- package/dist/agent0-assets/skills/adk-debugger/references/common-failures.md +1 -1
- package/dist/agent0-assets/skills/adk-debugger/references/debug-workflow.md +3 -3
- package/dist/agent0-assets/skills/adk-debugger/references/traces-and-logs.md +15 -7
- package/dist/assets-q7jt8r2q.md +237 -0
- package/dist/autonomous-execution-fymc12e5.md +747 -0
- package/dist/cli-c31e06yr.md +1334 -0
- package/dist/cli.js +963 -548
- package/dist/commands.json +24 -3
- package/dist/common-failures-ht29w2db.md +231 -0
- package/dist/component-registry-bbpw0see.md +43 -0
- package/dist/context-api-760cvh0h.md +461 -0
- package/dist/conversation-analysis-8ka4nrm4.md +420 -0
- package/dist/conversation-lifecycle-4seqqjc1.md +311 -0
- package/dist/conversations-gwfvxaee.md +1111 -0
- package/dist/custom-components-y5wdgpey.md +167 -0
- package/dist/debug-workflow-vz84q80v.md +239 -0
- package/dist/desk-k54ktvsd.md +852 -0
- package/dist/doc-standards-ck6ax2jd.md +124 -0
- package/dist/eval-format-7n9brja4.md +354 -0
- package/dist/evals-y1zcr1mc.md +11 -0
- package/dist/explain-config-1yaq3zzd.md +424 -0
- package/dist/files-dzt0wxn3.md +918 -0
- package/dist/{index-gqxgqnyz.html → index-3t354nbw.html} +2 -2
- package/dist/{index-CSTz-oTK-mdfh47r8.js → index-B3b7PPgV-zetkb01w.js} +4 -4
- package/{assets/ui-dist/assets/index-DNqXHLNi.js → dist/index-BESZeTO5-2rpmcefa.js} +2 -2
- package/{assets/ui-dist/assets/index-DAztRXeA.css → dist/index-DIFGtVmI-d4dhjg97.css} +1 -1
- package/{assets/ui-dist/assets/index-DfjXY3Oo.js → dist/index-a3ZL0_Jr-q145h35p.js} +2 -2
- package/dist/integration-actions-xang7tma.md +659 -0
- package/dist/integrations-k5ss07f4.md +266 -0
- package/dist/interfaces-6t0bpxs4.md +97 -0
- package/dist/knowledge-bases-20rg8p5c.md +456 -0
- package/dist/llm-debugging-76ng8rzm.md +209 -0
- package/dist/mcp-server-n1asyzhv.md +112 -0
- package/dist/messages-gkkg0b54.md +769 -0
- package/dist/model-configuration-f273kgd0.md +201 -0
- package/dist/multi-agent-dashboard-1mdfjdts.md +70 -0
- package/dist/pages-xn18xn73.md +273 -0
- package/dist/patterns-mistakes-5vb99dhf.md +469 -0
- package/dist/plugins-ttnx8f49.md +280 -0
- package/dist/tables-x45t36dd.md +1136 -0
- package/dist/tags-46td3qrg.md +516 -0
- package/dist/test-patterns-hj47w4nc.md +355 -0
- package/dist/testing-workflow-2vkp932f.md +225 -0
- package/dist/tools-wk7bq24z.md +581 -0
- package/dist/trace-summarization-hdyx1c2e.md +313 -0
- package/dist/traces-and-logs-f2kjfh19.md +203 -0
- package/dist/triggers-4j2cc86x.md +719 -0
- package/dist/ui-server-entry.js +977 -162
- package/dist/workflow-steps-mrdrf1c5.md +851 -0
- package/dist/workflows-gadx3s69.md +1408 -0
- package/dist/zai-agent-reference-e6644aad.md +454 -0
- package/dist/zai-complete-guide-mnna5d6f.md +1408 -0
- package/package.json +4 -4
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
# Model Configuration Reference
|
|
2
|
+
|
|
3
|
+
Quick reference for configuring AI models at different levels in ADK agents.
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## 1. Global Defaults (agent.config.ts)
|
|
8
|
+
|
|
9
|
+
```typescript
|
|
10
|
+
import { defineConfig } from "@botpress/runtime";
|
|
11
|
+
|
|
12
|
+
export default defineConfig({
|
|
13
|
+
name: "my-agent",
|
|
14
|
+
|
|
15
|
+
defaultModels: {
|
|
16
|
+
autonomous: "openai:gpt-4o", // Used by execute()
|
|
17
|
+
zai: "openai:gpt-4o-mini" // Used by Zai operations
|
|
18
|
+
}
|
|
19
|
+
});
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
### With Fallback Arrays
|
|
23
|
+
|
|
24
|
+
```typescript
|
|
25
|
+
defaultModels: {
|
|
26
|
+
autonomous: [
|
|
27
|
+
"openai:gpt-4o",
|
|
28
|
+
"anthropic:claude-3-5-sonnet",
|
|
29
|
+
"openai:gpt-4o-mini"
|
|
30
|
+
],
|
|
31
|
+
zai: "openai:gpt-4o-mini"
|
|
32
|
+
}
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
---
|
|
36
|
+
|
|
37
|
+
## 2. Per-Call Override (execute)
|
|
38
|
+
|
|
39
|
+
```typescript
|
|
40
|
+
await execute({
|
|
41
|
+
instructions: "You are a helpful assistant",
|
|
42
|
+
model: "anthropic:claude-3-5-sonnet",
|
|
43
|
+
temperature: 0.7
|
|
44
|
+
});
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
### With Fallback Array
|
|
48
|
+
|
|
49
|
+
```typescript
|
|
50
|
+
await execute({
|
|
51
|
+
instructions: "You are a helpful assistant",
|
|
52
|
+
model: [
|
|
53
|
+
"openai:gpt-4o",
|
|
54
|
+
"anthropic:claude-3-5-sonnet"
|
|
55
|
+
]
|
|
56
|
+
});
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
---
|
|
60
|
+
|
|
61
|
+
## 3. Zai Model Override
|
|
62
|
+
|
|
63
|
+
Override the default Zai model per-instance using `.with()`:
|
|
64
|
+
|
|
65
|
+
```typescript
|
|
66
|
+
import { adk } from "@botpress/runtime";
|
|
67
|
+
|
|
68
|
+
const preciseZai = adk.zai.with({ modelId: "openai:gpt-4o" });
|
|
69
|
+
await preciseZai.extract(text, schema);
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
> For full Zai configuration (initialization, chaining, learning, operations), see [zai-agent-reference.md](./zai-agent-reference.md) and [zai-complete-guide.md](./zai-complete-guide.md).
|
|
73
|
+
|
|
74
|
+
---
|
|
75
|
+
|
|
76
|
+
## 4. Available Models
|
|
77
|
+
|
|
78
|
+
### Model Name Format
|
|
79
|
+
|
|
80
|
+
Models follow the pattern: `{provider}:{model-name}`
|
|
81
|
+
|
|
82
|
+
```typescript
|
|
83
|
+
"openai:gpt-4o" // Short name
|
|
84
|
+
"openai:gpt-4.1-2025-04-14" // Dated version (more specific)
|
|
85
|
+
"anthropic:claude-3-5-sonnet" // Short name
|
|
86
|
+
"anthropic:claude-sonnet-4-5-20250929" // Dated version
|
|
87
|
+
"best" // Zai shortcut (highest quality)
|
|
88
|
+
"fast" // Zai shortcut (fastest/cheapest)
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
**Finding Available Models:**
|
|
92
|
+
- The Models type accepts any string, so new models work automatically
|
|
93
|
+
- For current available models, check the `Models` type in `@botpress/cognitive`
|
|
94
|
+
- Use TypeScript autocomplete: Start typing a provider name to see suggestions
|
|
95
|
+
- Dated versions (e.g., `gpt-4.1-2025-04-14`) are more explicit about which version you're using
|
|
96
|
+
|
|
97
|
+
### Common Models
|
|
98
|
+
|
|
99
|
+
### OpenAI
|
|
100
|
+
```
|
|
101
|
+
openai:gpt-4o
|
|
102
|
+
openai:gpt-4o-mini
|
|
103
|
+
openai:gpt-4-turbo
|
|
104
|
+
openai:gpt-3.5-turbo
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
### Anthropic
|
|
108
|
+
```
|
|
109
|
+
anthropic:claude-3-5-sonnet
|
|
110
|
+
anthropic:claude-3-opus
|
|
111
|
+
anthropic:claude-3-haiku
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
### Google
|
|
115
|
+
```
|
|
116
|
+
google:gemini-1.5-pro
|
|
117
|
+
google:gemini-1.5-flash
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
### Cerebras
|
|
121
|
+
```
|
|
122
|
+
cerebras:gpt-oss-120b
|
|
123
|
+
```
|
|
124
|
+
|
|
125
|
+
### Zai Shortcuts
|
|
126
|
+
```
|
|
127
|
+
best # Highest quality model
|
|
128
|
+
fast # Fastest/cheapest model
|
|
129
|
+
```
|
|
130
|
+
|
|
131
|
+
---
|
|
132
|
+
|
|
133
|
+
## 5. Precedence Order
|
|
134
|
+
|
|
135
|
+
**For execute():**
|
|
136
|
+
1. `execute({ model: "..." })` - Per-call override
|
|
137
|
+
2. `agent.config.ts defaultModels.autonomous` - Global default
|
|
138
|
+
|
|
139
|
+
**For Zai:**
|
|
140
|
+
1. `zai.with({ modelId: "..." })` - Instance override
|
|
141
|
+
2. `new Zai({ modelId: "..." })` - Constructor config
|
|
142
|
+
3. `agent.config.ts defaultModels.zai` - Global default
|
|
143
|
+
|
|
144
|
+
---
|
|
145
|
+
|
|
146
|
+
## 6. Environment-Based Configuration
|
|
147
|
+
|
|
148
|
+
```typescript
|
|
149
|
+
export default defineConfig({
|
|
150
|
+
name: "my-agent",
|
|
151
|
+
defaultModels: {
|
|
152
|
+
autonomous: process.env.AI_MODEL || "openai:gpt-4o",
|
|
153
|
+
zai: process.env.ZAI_MODEL || "openai:gpt-4o-mini"
|
|
154
|
+
}
|
|
155
|
+
});
|
|
156
|
+
```
|
|
157
|
+
|
|
158
|
+
---
|
|
159
|
+
|
|
160
|
+
## Quick Examples
|
|
161
|
+
|
|
162
|
+
### Conversation with Custom Model
|
|
163
|
+
|
|
164
|
+
```typescript
|
|
165
|
+
export default new Conversation({
|
|
166
|
+
channel: "*",
|
|
167
|
+
handler: async ({ execute }) => {
|
|
168
|
+
await execute({
|
|
169
|
+
instructions: "You are a helpful assistant",
|
|
170
|
+
model: "anthropic:claude-3-5-sonnet"
|
|
171
|
+
});
|
|
172
|
+
}
|
|
173
|
+
});
|
|
174
|
+
```
|
|
175
|
+
|
|
176
|
+
### Workflow with Model Override
|
|
177
|
+
|
|
178
|
+
```typescript
|
|
179
|
+
export default Workflow({
|
|
180
|
+
name: "research",
|
|
181
|
+
handler: async ({ step, execute }) => {
|
|
182
|
+
const result = await step("analyze", async () => {
|
|
183
|
+
return await execute({
|
|
184
|
+
instructions: "Analyze this data",
|
|
185
|
+
model: "openai:gpt-4o"
|
|
186
|
+
});
|
|
187
|
+
});
|
|
188
|
+
return result;
|
|
189
|
+
}
|
|
190
|
+
});
|
|
191
|
+
```
|
|
192
|
+
|
|
193
|
+
### Zai Operation with Specific Model
|
|
194
|
+
|
|
195
|
+
```typescript
|
|
196
|
+
import { adk } from "@botpress/runtime";
|
|
197
|
+
|
|
198
|
+
const analysis = await adk.zai
|
|
199
|
+
.with({ modelId: "anthropic:claude-3-5-sonnet" })
|
|
200
|
+
.extract(document, schema);
|
|
201
|
+
```
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
# Multi-Agent Dashboard
|
|
2
|
+
|
|
3
|
+
The Dev Console is a **singleton shared dashboard** that coordinates multiple running agents. Each `adk dev` process registers its agent with the shared DevConsole, and the UI lets developers switch between them instantly.
|
|
4
|
+
|
|
5
|
+
## How It Works
|
|
6
|
+
|
|
7
|
+
Running `adk dev` in multiple project directories registers each agent with a single shared DevConsole. The UI automatically updates to show all running agents, and developers can switch between them from the sidebar.
|
|
8
|
+
|
|
9
|
+
Each agent shows a status indicator:
|
|
10
|
+
|
|
11
|
+
| Status | Meaning |
|
|
12
|
+
|--------|---------|
|
|
13
|
+
| `starting` | Agent is initializing (building, syncing) |
|
|
14
|
+
| `ready` | Agent is running and accepting requests |
|
|
15
|
+
| `error` | Agent encountered a fatal error |
|
|
16
|
+
|
|
17
|
+
If all agents are stopped, the DevConsole exits automatically (unless started in standalone mode via `adk dashboard`).
|
|
18
|
+
|
|
19
|
+
## Console Modes
|
|
20
|
+
|
|
21
|
+
The Dev Console supports two orthogonal concepts:
|
|
22
|
+
|
|
23
|
+
### Console Mode — where is the console operating?
|
|
24
|
+
|
|
25
|
+
- **Local Dev Console** — selects a local project registered over the socket. This is the default during `adk dev`.
|
|
26
|
+
- **Cloud Dev Console** — selects a deployed Botpress Cloud prod bot from the prod bot picker. No local project backend needed.
|
|
27
|
+
|
|
28
|
+
### Target — which bot data is used?
|
|
29
|
+
|
|
30
|
+
- **Dev target** — uses the local project's dev bot ID and local backend. All pages available.
|
|
31
|
+
- **Prod target** — uses the deployed prod bot data. Hides dev-only pages (Actions, Workflows, Triggers, Evals, Files, Conversations, Traces, Logs).
|
|
32
|
+
|
|
33
|
+
| Console Mode | Dev Target | Prod Target |
|
|
34
|
+
|-------------|------------|-------------|
|
|
35
|
+
| Local | Local dev bot + all pages | Prod bot data + restricted pages |
|
|
36
|
+
| Cloud | Not available | Prod bot data + restricted pages |
|
|
37
|
+
|
|
38
|
+
Prod views that need ADK source-shaped definitions (actions, workflows, triggers, tables, knowledge) read **deployed metadata** published by `adk deploy`, not local source files. This is true in both local-prod and cloud-prod modes.
|
|
39
|
+
|
|
40
|
+
## Agent Selector UI
|
|
41
|
+
|
|
42
|
+
### Sidebar Header
|
|
43
|
+
|
|
44
|
+
Full-width dropdown trigger showing: ADK logo, status ring (color matches agent status), agent name, mode pill (dev/prod/cloud), chevron.
|
|
45
|
+
|
|
46
|
+
### Dropdown Content
|
|
47
|
+
|
|
48
|
+
- **Active agents section** — lists running local agents with status dot, name, project path (truncated right-to-left), and close button
|
|
49
|
+
- **Cloud Dev Console** — switches to the prod bot picker (workspace dropdown → bot list), shows recent prod bots
|
|
50
|
+
- **Recent projects** — projects previously opened but not currently running
|
|
51
|
+
- **Footer actions** — Create new project, Open existing project, Switch environment (dev↔prod), About
|
|
52
|
+
|
|
53
|
+
### Topbar Agent Picker
|
|
54
|
+
|
|
55
|
+
Compact pill in the top navigation center: status dot + agent name + mode pill + chevron. Opens the same dropdown content. Falls back to a non-interactive label if no agents are connected.
|
|
56
|
+
|
|
57
|
+
## CLI Commands
|
|
58
|
+
|
|
59
|
+
See the [CLI Reference](../../adk/references/cli.md) for full options and examples.
|
|
60
|
+
|
|
61
|
+
| Command | What it does |
|
|
62
|
+
|---------|-------------|
|
|
63
|
+
| `adk ps` | List running agents and processes |
|
|
64
|
+
| `adk dashboard` | Open Dev Console without an agent |
|
|
65
|
+
| `adk kill` | Stop agents or the Dev Console |
|
|
66
|
+
| `adk status` | Show project health info |
|
|
67
|
+
|
|
68
|
+
## Data Isolation
|
|
69
|
+
|
|
70
|
+
Each agent's data is isolated to its own project directory (`.adk/`). Traces, logs, eval results, and dev bot IDs stay per-project — switching agents in the UI switches the data you see.
|
|
@@ -0,0 +1,273 @@
|
|
|
1
|
+
# Dev Console Pages
|
|
2
|
+
|
|
3
|
+
Every page accessible from the ADK Dev Console at `http://localhost:3001`.
|
|
4
|
+
|
|
5
|
+
Pages marked **(dev only)** are hidden when the environment toggle is set to Production.
|
|
6
|
+
Pages marked **(experimental)** are behind a feature flag and may change.
|
|
7
|
+
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
## Multi-Agent Navigation
|
|
11
|
+
|
|
12
|
+
The Dev Console is a shared singleton — multiple `adk dev` agents register with one UI server. The sidebar agent selector switches between running agents, and the environment toggle switches between dev and prod targets. See [multi-agent-dashboard.md](./multi-agent-dashboard.md) for details.
|
|
13
|
+
|
|
14
|
+
---
|
|
15
|
+
|
|
16
|
+
## Chat (`/chat`)
|
|
17
|
+
|
|
18
|
+
Real-time conversation interface for testing the agent.
|
|
19
|
+
|
|
20
|
+
**Layout:** Webchat embed (left) + Agent Steps visualization (right)
|
|
21
|
+
|
|
22
|
+
**Features:**
|
|
23
|
+
- Webchat panel for sending messages to the agent
|
|
24
|
+
- Agent Steps panel showing execution flow (see `agent-steps.md`)
|
|
25
|
+
- Conversation picker dropdown (filters to webchat conversations)
|
|
26
|
+
- "Open conversation traces" link to jump to full Traces view
|
|
27
|
+
- Download transcript button
|
|
28
|
+
|
|
29
|
+
---
|
|
30
|
+
|
|
31
|
+
## Agent Map (`/agent-map`) — dev only, experimental
|
|
32
|
+
|
|
33
|
+
Interactive bird's-eye visualization of the agent's architecture as a graph. Feature-flagged behind `enable_agent_forge`.
|
|
34
|
+
|
|
35
|
+
**Layout:** Full-screen React Flow canvas with auto-layout (elkjs) + detail panel
|
|
36
|
+
|
|
37
|
+
**Features:**
|
|
38
|
+
- Graph nodes for agent primitives: triggers, actions, workflows, autonomous handlers, knowledge bases, tables
|
|
39
|
+
- Edges showing relationships between primitives
|
|
40
|
+
- Auto-layout with elkjs; user can drag nodes (positions persist to localStorage per agent)
|
|
41
|
+
- Detail panel: click a node to inspect metadata (description, knowledge counts, table schemas)
|
|
42
|
+
- Hover cards with node summary
|
|
43
|
+
- Change pulse animation when the agent snapshot updates (e.g., after file save)
|
|
44
|
+
- Data from `/api/agent-map/snapshot` (one-shot) and `/api/agent-map/stream` (SSE for live updates)
|
|
45
|
+
- "Experimental feature" badge — the map is compiled by parsing code and may be incomplete or inaccurate
|
|
46
|
+
|
|
47
|
+
---
|
|
48
|
+
|
|
49
|
+
## Components
|
|
50
|
+
|
|
51
|
+
### Webchat Components (`/components`)
|
|
52
|
+
|
|
53
|
+
Browse the component registry and inspect components installed in the agent.
|
|
54
|
+
|
|
55
|
+
**Layout:** Two-tab interface (Installed / Registry) + masonry card grid + detail overlay
|
|
56
|
+
|
|
57
|
+
**Tabs:**
|
|
58
|
+
|
|
59
|
+
**Installed** — Components present in the agent's `src/components/` directory:
|
|
60
|
+
- Masonry card layout with component preview (rendered in shadow DOM)
|
|
61
|
+
- Click a card to open overlay with full details
|
|
62
|
+
- Empty state: "No components installed yet" with guidance
|
|
63
|
+
|
|
64
|
+
**Registry** — Available components from the external component registry:
|
|
65
|
+
- Same masonry layout
|
|
66
|
+
- Click a card to open overlay with installation instructions and metadata
|
|
67
|
+
- Empty state: "Registry is empty"
|
|
68
|
+
|
|
69
|
+
**Features:**
|
|
70
|
+
- Live reload on component source changes
|
|
71
|
+
- Preview rendering via shadow DOM isolation
|
|
72
|
+
- Error states for load/fetch failures
|
|
73
|
+
- Loading skeletons while fetching
|
|
74
|
+
|
|
75
|
+
See `component-registry.md` for details on the registry model and component lifecycle.
|
|
76
|
+
|
|
77
|
+
### Actions (`/actions`) — dev only
|
|
78
|
+
|
|
79
|
+
Browse and test bot actions and integration actions.
|
|
80
|
+
|
|
81
|
+
**Layout:** Sidebar (action list) + detail pane
|
|
82
|
+
|
|
83
|
+
**Features:**
|
|
84
|
+
- Bot custom actions with input/output schema visualization
|
|
85
|
+
- Integration actions grouped by integration (icon, title, description)
|
|
86
|
+
- "Invoke action" button opens a modal to test with live inputs
|
|
87
|
+
- Schema view for input/output types
|
|
88
|
+
|
|
89
|
+
### Workflows (`/workflows`) — dev only
|
|
90
|
+
|
|
91
|
+
Browse workflows and view execution history.
|
|
92
|
+
|
|
93
|
+
**Layout:** Sidebar (workflow list) + detail pane
|
|
94
|
+
|
|
95
|
+
**Features:**
|
|
96
|
+
- Workflow name, path, description, timeout badge
|
|
97
|
+
- "Invoke workflow" button to trigger manually
|
|
98
|
+
- Workflow definition schema
|
|
99
|
+
- **Runs tab** (`/workflows/runs`): execution history table with status, duration, timestamp
|
|
100
|
+
- Click a run to open WorkflowRunDetail modal
|
|
101
|
+
|
|
102
|
+
### Triggers (`/triggers`) — dev only
|
|
103
|
+
|
|
104
|
+
Browse event triggers defined in the agent.
|
|
105
|
+
|
|
106
|
+
**Layout:** Sidebar (trigger list) + detail pane
|
|
107
|
+
|
|
108
|
+
**Features:**
|
|
109
|
+
- Trigger names and event types
|
|
110
|
+
- Trigger metadata and status
|
|
111
|
+
|
|
112
|
+
---
|
|
113
|
+
|
|
114
|
+
## Test
|
|
115
|
+
|
|
116
|
+
### RAG Search (`/search`)
|
|
117
|
+
|
|
118
|
+
Test knowledge base search interactively.
|
|
119
|
+
|
|
120
|
+
**Layout:** Sidebar (KB filter + content tree) + search input + results area + detail drawer
|
|
121
|
+
|
|
122
|
+
**Features:**
|
|
123
|
+
- Dropdown to filter by specific knowledge base
|
|
124
|
+
- Query input with advanced settings (result limit, context depth)
|
|
125
|
+
- Search results as cards: relevance score, source file, text snippet
|
|
126
|
+
- Content tree sidebar showing hierarchical KB structure
|
|
127
|
+
- Click a result to open detail drawer with full document + highlighted passages
|
|
128
|
+
- Real-time search as you type
|
|
129
|
+
|
|
130
|
+
### Evals (`/evals`) — dev only
|
|
131
|
+
|
|
132
|
+
Run and inspect automated conversation tests.
|
|
133
|
+
|
|
134
|
+
**Layout:** Sidebar (eval list) + detail pane
|
|
135
|
+
|
|
136
|
+
**Features:**
|
|
137
|
+
- Eval definitions with run history
|
|
138
|
+
- Run status: pending, in-progress, completed
|
|
139
|
+
- Per-turn assertion results with pass/fail badges
|
|
140
|
+
- Assertion types: response content, tool usage, state changes, table data, workflow triggers
|
|
141
|
+
- Outcome summary (passed/failed/pending counts)
|
|
142
|
+
- Elapsed time, turn counts
|
|
143
|
+
- **Runs tab** (`/evals/runs`): run history with timestamps and status
|
|
144
|
+
- Download results button
|
|
145
|
+
|
|
146
|
+
---
|
|
147
|
+
|
|
148
|
+
## Data
|
|
149
|
+
|
|
150
|
+
### Knowledge (`/knowledge`)
|
|
151
|
+
|
|
152
|
+
Manage knowledge bases and uploaded files.
|
|
153
|
+
|
|
154
|
+
**Layout:** Sidebar (KB list) + toolbar + file grid
|
|
155
|
+
|
|
156
|
+
**Features:**
|
|
157
|
+
- Knowledge base list with icons and descriptions
|
|
158
|
+
- File grid: name, size, upload date, status badge (synced/syncing/error/local)
|
|
159
|
+
- Filter by name, source, status, date range
|
|
160
|
+
- Sort by name, date, or size
|
|
161
|
+
- File detail drawer: metadata, embedding status, delete/sync/copy path
|
|
162
|
+
- KB sync dialog to upload and sync files
|
|
163
|
+
- Pagination for large file lists
|
|
164
|
+
|
|
165
|
+
### Tables (`/tables`)
|
|
166
|
+
|
|
167
|
+
Manage agent data tables.
|
|
168
|
+
|
|
169
|
+
**Layout:** Sidebar (table list) + toolbar + data grid + pagination
|
|
170
|
+
|
|
171
|
+
**Features:**
|
|
172
|
+
- Table definitions with row counts
|
|
173
|
+
- Sortable, filterable data grid (100 rows/page)
|
|
174
|
+
- Add/edit/delete rows
|
|
175
|
+
- Import/export data
|
|
176
|
+
- "Transfer to prod" option (with confirmation modal)
|
|
177
|
+
- "Recreate table" for schema changes
|
|
178
|
+
- Column headers with sort indicators
|
|
179
|
+
|
|
180
|
+
### Files (`/files`) — dev only
|
|
181
|
+
|
|
182
|
+
Browse agent files.
|
|
183
|
+
|
|
184
|
+
**Layout:** Folder browser
|
|
185
|
+
|
|
186
|
+
**Features:**
|
|
187
|
+
- Folder tree: All Files, Knowledge Base, System, Webchat
|
|
188
|
+
- File list with name, size, modification time
|
|
189
|
+
- Copy file path button
|
|
190
|
+
- Hover cards with full file info
|
|
191
|
+
- Browser-style navigation (back/forward/refresh)
|
|
192
|
+
|
|
193
|
+
---
|
|
194
|
+
|
|
195
|
+
## Observe
|
|
196
|
+
|
|
197
|
+
### Conversations (`/conversations`) — dev only
|
|
198
|
+
|
|
199
|
+
View all conversations with the agent.
|
|
200
|
+
|
|
201
|
+
**Layout:** Full-page table
|
|
202
|
+
|
|
203
|
+
**Features:**
|
|
204
|
+
- Table columns: ID, Integration → Channel, Created, Updated, Preview
|
|
205
|
+
- Sortable columns
|
|
206
|
+
- Real-time polling for new conversations
|
|
207
|
+
- Click row to inspect conversation
|
|
208
|
+
|
|
209
|
+
### Traces (`/traces`) — dev only
|
|
210
|
+
|
|
211
|
+
Deep execution trace inspection. More detailed than Agent Steps — shows the full span tree including internal runtime spans.
|
|
212
|
+
|
|
213
|
+
**Layout:** Full-page trace viewer
|
|
214
|
+
|
|
215
|
+
**Features:**
|
|
216
|
+
- Hierarchical span tree grouped by parent
|
|
217
|
+
- Span detail panel: name, timing, status, full data payload
|
|
218
|
+
- JSON and tree view of span data
|
|
219
|
+
- Filter by trace ID or conversation ID
|
|
220
|
+
- Auto-refresh
|
|
221
|
+
- Trace-level cost calculation
|
|
222
|
+
- Timeline visualization showing concurrent spans
|
|
223
|
+
|
|
224
|
+
### Logs (`/logs`) — dev only
|
|
225
|
+
|
|
226
|
+
Agent runtime logs.
|
|
227
|
+
|
|
228
|
+
**Layout:** Full-page log viewer
|
|
229
|
+
|
|
230
|
+
**Features:**
|
|
231
|
+
- Real-time log stream (stdout, stderr, info)
|
|
232
|
+
- Time range filters: 5m, 15m, 1h, 6h, all
|
|
233
|
+
- Text search/filter
|
|
234
|
+
- Color-coded: green (stdout), red (stderr), blue (info)
|
|
235
|
+
- ANSI color support (terminal-style rendering)
|
|
236
|
+
- Pause/play, clear, copy buttons
|
|
237
|
+
- Collapsible JSON payload inspection
|
|
238
|
+
|
|
239
|
+
---
|
|
240
|
+
|
|
241
|
+
## Config
|
|
242
|
+
|
|
243
|
+
### Settings (`/settings`)
|
|
244
|
+
|
|
245
|
+
Agent configuration management.
|
|
246
|
+
|
|
247
|
+
**Sections (sidebar navigation):**
|
|
248
|
+
1. **Overview** — Agent metadata: name, Bot ID, Workspace ID, file path, created/updated dates. Copy buttons for IDs.
|
|
249
|
+
2. **Configuration Variables** (dev only) — Runtime config schema and values. Add/edit/delete variables.
|
|
250
|
+
3. **Secrets** (dev only) — Secret schema and values. Add/edit/delete secrets.
|
|
251
|
+
4. **LLM Config** (dev only) — Model selection and parameters.
|
|
252
|
+
|
|
253
|
+
### Integrations (`/integrations`)
|
|
254
|
+
|
|
255
|
+
Install, configure, and manage integrations.
|
|
256
|
+
|
|
257
|
+
**Features:**
|
|
258
|
+
- Integration Hub UI (Botpress component)
|
|
259
|
+
- OAuth redirect handling
|
|
260
|
+
- Integration name and alias resolution
|
|
261
|
+
- Configuration editing via UI
|
|
262
|
+
- Installation status per integration
|
|
263
|
+
- Configured integrations' actions appear on the Actions page
|
|
264
|
+
|
|
265
|
+
---
|
|
266
|
+
|
|
267
|
+
## Dev vs. Production Mode
|
|
268
|
+
|
|
269
|
+
The environment toggle in the top navigation switches between dev and prod:
|
|
270
|
+
|
|
271
|
+
**Dev mode** (default during `adk dev`): All pages and features available.
|
|
272
|
+
|
|
273
|
+
**Production mode**: Hides development-only pages (Actions, Workflows, Triggers, Evals, Files, Conversations, Traces, Logs) and restricts some Settings sections. Chat, Search, Knowledge, Tables, Integrations, and Settings Overview remain available.
|