@botpress/adk 1.19.0-beta.9 → 2.0.0-alpha.1
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/dist/agent-init/agent-project-generator.d.ts +5 -1
- package/dist/agent-init/agent-project-generator.d.ts.map +1 -1
- package/dist/agent-project/agent-project.d.ts +3 -3
- package/dist/agent-project/agent-project.d.ts.map +1 -1
- package/dist/agent-project/agent-resolver.d.ts.map +1 -1
- package/dist/agent-project/config-writer.d.ts +1 -1
- package/dist/agent-project/dependency-state-to-dependencies.d.ts +11 -0
- package/dist/agent-project/dependency-state-to-dependencies.d.ts.map +1 -0
- package/dist/agent-project/types.d.ts +9 -4
- package/dist/agent-project/types.d.ts.map +1 -1
- package/dist/agent0/capabilities/commands/adk-build.md +6 -5
- package/dist/agent0/capabilities/commands/adk-debug.md +1 -1
- package/dist/agent0/capabilities/commands/adk-dev-console.md +1 -1
- package/dist/agent0/capabilities/commands/adk-document.md +10 -2
- package/dist/agent0/capabilities/commands/adk-eval.md +1 -1
- package/dist/agent0/capabilities/commands/adk-explain.md +2 -2
- package/dist/agent0/capabilities/commands/adk-init.md +2 -2
- package/dist/agent0/capabilities/commands/adk-ship.md +1 -1
- package/dist/agent0/capabilities/commands/adk-test.md +3 -3
- package/dist/agent0/capabilities/commands/adk-validate.md +3 -3
- package/dist/agent0/capabilities/skills/adk/SKILL.md +21 -21
- package/dist/agent0/capabilities/skills/adk/references/actions.md +245 -239
- package/dist/agent0/capabilities/skills/adk/references/advanced-patterns.md +185 -218
- package/dist/agent0/capabilities/skills/adk/references/agent-config.md +74 -71
- package/dist/agent0/capabilities/skills/adk/references/assets.md +45 -48
- package/dist/agent0/capabilities/skills/adk/references/autonomous-execution.md +40 -46
- package/dist/agent0/capabilities/skills/adk/references/cli.md +17 -7
- package/dist/agent0/capabilities/skills/adk/references/context-api.md +98 -94
- package/dist/agent0/capabilities/skills/adk/references/conversation-lifecycle.md +65 -62
- package/dist/agent0/capabilities/skills/adk/references/conversations.md +395 -385
- package/dist/agent0/capabilities/skills/adk/references/custom-components.md +1 -1
- package/dist/agent0/capabilities/skills/adk/references/desk.md +236 -234
- package/dist/agent0/capabilities/skills/adk/references/explain-config.md +54 -37
- package/dist/agent0/capabilities/skills/adk/references/files.md +301 -306
- package/dist/agent0/capabilities/skills/adk/references/integration-actions.md +211 -214
- package/dist/agent0/capabilities/skills/adk/references/integrations.md +33 -31
- package/dist/agent0/capabilities/skills/adk/references/interfaces.md +13 -12
- package/dist/agent0/capabilities/skills/adk/references/knowledge-bases.md +98 -111
- package/dist/agent0/capabilities/skills/adk/references/mcp-server.md +6 -0
- package/dist/agent0/capabilities/skills/adk/references/messages.md +280 -256
- package/dist/agent0/capabilities/skills/adk/references/model-configuration.md +52 -49
- package/dist/agent0/capabilities/skills/adk/references/patterns-mistakes.md +102 -101
- package/dist/agent0/capabilities/skills/adk/references/plugins.md +15 -15
- package/dist/agent0/capabilities/skills/adk/references/tables.md +204 -210
- package/dist/agent0/capabilities/skills/adk/references/tags.md +141 -143
- package/dist/agent0/capabilities/skills/adk/references/tools.md +191 -199
- package/dist/agent0/capabilities/skills/adk/references/triggers.md +331 -336
- package/dist/agent0/capabilities/skills/adk/references/workflow-steps.md +132 -96
- package/dist/agent0/capabilities/skills/adk/references/workflows.md +479 -464
- package/dist/agent0/capabilities/skills/adk/references/zai-agent-reference.md +127 -129
- package/dist/agent0/capabilities/skills/adk/references/zai-complete-guide.md +255 -276
- package/dist/agent0/capabilities/skills/adk-debugger/SKILL.md +21 -17
- package/dist/agent0/capabilities/skills/adk-debugger/references/common-failures.md +25 -25
- package/dist/agent0/capabilities/skills/adk-debugger/references/conversation-analysis.md +49 -41
- package/dist/agent0/capabilities/skills/adk-debugger/references/debug-workflow.md +20 -14
- package/dist/agent0/capabilities/skills/adk-debugger/references/llm-debugging.md +13 -13
- package/dist/agent0/capabilities/skills/adk-debugger/references/trace-summarization.md +18 -18
- package/dist/agent0/capabilities/skills/adk-debugger/references/traces-and-logs.md +67 -67
- package/dist/agent0/capabilities/skills/adk-dev-console/SKILL.md +36 -36
- package/dist/agent0/capabilities/skills/adk-dev-console/references/agent-steps.md +14 -6
- package/dist/agent0/capabilities/skills/adk-dev-console/references/multi-agent-dashboard.md +13 -13
- package/dist/agent0/capabilities/skills/adk-dev-console/references/pages.md +18 -0
- package/dist/agent0/capabilities/skills/adk-docs/SKILL.md +13 -13
- package/dist/agent0/capabilities/skills/adk-docs/references/doc-standards.md +15 -0
- package/dist/agent0/capabilities/skills/adk-evals/SKILL.md +29 -23
- package/dist/agent0/capabilities/skills/adk-evals/references/eval-format.md +31 -23
- package/dist/agent0/capabilities/skills/adk-evals/references/test-patterns.md +25 -36
- package/dist/agent0/capabilities/skills/adk-evals/references/testing-workflow.md +6 -4
- package/dist/agent0/index.js +41 -19
- package/dist/agent0/index.js.map +7 -7
- package/dist/agent0/runtime/client.d.ts +2 -0
- package/dist/agent0/runtime/client.d.ts.map +1 -1
- package/dist/agent0/runtime/engine.d.ts +2 -1
- package/dist/agent0/runtime/engine.d.ts.map +1 -1
- package/dist/agent0/runtime/process.d.ts +1 -0
- package/dist/agent0/runtime/process.d.ts.map +1 -1
- package/dist/assets/manager.d.ts +3 -0
- package/dist/assets/manager.d.ts.map +1 -1
- package/dist/auth/credentials.d.ts +1 -1
- package/dist/bot-generator/generator.d.ts +22 -0
- package/dist/bot-generator/generator.d.ts.map +1 -1
- package/dist/bot-generator/plugin-sync.d.ts.map +1 -1
- package/dist/commands/base-command.d.ts +1 -0
- package/dist/commands/base-command.d.ts.map +1 -1
- package/dist/commands/bp-dev-command.d.ts +1 -1
- package/dist/commands/bp-dev-command.d.ts.map +1 -1
- package/dist/commands/bp-dev-stderr.d.ts +9 -0
- package/dist/commands/bp-dev-stderr.d.ts.map +1 -1
- package/dist/commands/index.d.ts +1 -0
- package/dist/commands/index.d.ts.map +1 -1
- package/dist/dependencies/catalog/catalog-service.d.ts +53 -0
- package/dist/dependencies/catalog/catalog-service.d.ts.map +1 -0
- package/dist/dependencies/catalog/client-factory.d.ts +33 -0
- package/dist/dependencies/catalog/client-factory.d.ts.map +1 -0
- package/dist/dependencies/catalog/integration-source.d.ts +34 -0
- package/dist/dependencies/catalog/integration-source.d.ts.map +1 -0
- package/dist/dependencies/catalog/interface-source.d.ts +23 -0
- package/dist/dependencies/catalog/interface-source.d.ts.map +1 -0
- package/dist/dependencies/catalog/plugin-source.d.ts +49 -0
- package/dist/dependencies/catalog/plugin-source.d.ts.map +1 -0
- package/dist/dependencies/catalog/resolution-cache.d.ts +76 -0
- package/dist/dependencies/catalog/resolution-cache.d.ts.map +1 -0
- package/dist/dependencies/dependency-manager.d.ts +31 -16
- package/dist/dependencies/dependency-manager.d.ts.map +1 -1
- package/dist/dependencies/errors.d.ts +2 -2
- package/dist/dependencies/errors.d.ts.map +1 -1
- package/dist/dependencies/index.d.ts +5 -4
- package/dist/dependencies/index.d.ts.map +1 -1
- package/dist/dependencies/index.js +2089 -1670
- package/dist/dependencies/index.js.map +37 -30
- package/dist/dependencies/legacy-lock-file.d.ts +15 -0
- package/dist/dependencies/legacy-lock-file.d.ts.map +1 -0
- package/dist/dependencies/migration.d.ts +19 -0
- package/dist/dependencies/migration.d.ts.map +1 -1
- package/dist/dependencies/resolvers/integration-resolver.d.ts +4 -3
- package/dist/dependencies/resolvers/integration-resolver.d.ts.map +1 -1
- package/dist/dependencies/resolvers/plugin-resolver.d.ts +4 -4
- package/dist/dependencies/resolvers/plugin-resolver.d.ts.map +1 -1
- package/dist/dependencies/snapshot-store.d.ts +59 -0
- package/dist/dependencies/snapshot-store.d.ts.map +1 -0
- package/dist/dependencies/status-resolver.d.ts +36 -0
- package/dist/dependencies/status-resolver.d.ts.map +1 -0
- package/dist/dependencies/status.d.ts +214 -0
- package/dist/dependencies/status.d.ts.map +1 -0
- package/dist/dependencies/types.d.ts +380 -29
- package/dist/dependencies/types.d.ts.map +1 -1
- package/dist/file-watcher/watcher.d.ts +21 -5
- package/dist/file-watcher/watcher.d.ts.map +1 -1
- package/dist/generators/action-types.d.ts.map +1 -1
- package/dist/generators/client-wrapper.d.ts.map +1 -1
- package/dist/index.d.ts +4 -5
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3134 -2226
- package/dist/index.js.map +55 -48
- package/dist/integrations/config-utils.d.ts +11 -7
- package/dist/integrations/config-utils.d.ts.map +1 -1
- package/dist/integrations/hub-cache.d.ts +0 -58
- package/dist/integrations/hub-cache.d.ts.map +1 -1
- package/dist/integrations/index.d.ts +1 -3
- package/dist/integrations/index.d.ts.map +1 -1
- package/dist/integrations/manager.d.ts +19 -53
- package/dist/integrations/manager.d.ts.map +1 -1
- package/dist/interfaces/enhanced-cache.d.ts +7 -7
- package/dist/interfaces/enhanced-cache.d.ts.map +1 -1
- package/dist/interfaces/manager.d.ts +11 -17
- package/dist/interfaces/manager.d.ts.map +1 -1
- package/dist/knowledge/manager.d.ts +3 -0
- package/dist/knowledge/manager.d.ts.map +1 -1
- package/dist/plugins/index.d.ts +0 -1
- package/dist/plugins/index.d.ts.map +1 -1
- package/dist/plugins/manager.d.ts +16 -48
- package/dist/plugins/manager.d.ts.map +1 -1
- package/dist/preflight/checker.d.ts +6 -1
- package/dist/preflight/checker.d.ts.map +1 -1
- package/dist/preflight/dependency-gate.d.ts +37 -0
- package/dist/preflight/dependency-gate.d.ts.map +1 -0
- package/dist/preflight/index.d.ts +2 -1
- package/dist/preflight/index.d.ts.map +1 -1
- package/dist/preflight/types.d.ts +18 -0
- package/dist/preflight/types.d.ts.map +1 -1
- package/dist/runner/script-runner.d.ts.map +1 -1
- package/dist/tables/table-manager.d.ts +3 -0
- package/dist/tables/table-manager.d.ts.map +1 -1
- package/dist/templates/README.md +23 -13
- package/dist/templates/blank/agent.config.ts +3 -3
- package/dist/templates/blank/src/triggers/index.ts +1 -1
- package/dist/templates/botpress-desk/evals/index.eval.ts +1 -1
- package/dist/templates/botpress-desk/src/triggers/index.ts +1 -1
- package/dist/templates/crm-enrichment/README.md +3 -3
- package/dist/templates/crm-enrichment/agent.config.ts +2 -2
- package/dist/templates/crm-enrichment/src/conversations/index.ts +1 -1
- package/dist/templates/hello-world/agent.config.ts +3 -3
- package/dist/templates/hello-world/src/triggers/index.ts +1 -1
- package/dist/templates/knowledge-assistant/src/triggers/index.ts +1 -1
- package/dist/templates/template.config.json +3 -3
- package/dist/utils/ids.d.ts +10 -0
- package/dist/utils/ids.d.ts.map +1 -1
- package/dist/workspace/workspace-cache.d.ts +2 -1
- package/dist/workspace/workspace-cache.d.ts.map +1 -1
- package/package.json +3 -3
- package/dist/agent-project/lock-to-dependencies.d.ts +0 -11
- package/dist/agent-project/lock-to-dependencies.d.ts.map +0 -1
- package/dist/dependencies/lock-file.d.ts +0 -15
- package/dist/dependencies/lock-file.d.ts.map +0 -1
- package/dist/integrations/enhanced-cache.d.ts +0 -53
- package/dist/integrations/enhanced-cache.d.ts.map +0 -1
- package/dist/plugins/enhanced-cache.d.ts +0 -53
- package/dist/plugins/enhanced-cache.d.ts.map +0 -1
- package/dist/templates/blank/package.json +0 -17
- package/dist/templates/blank/tsconfig.json +0 -25
- package/dist/templates/botpress-desk/package.json +0 -17
- package/dist/templates/crm-enrichment/package.json +0 -18
- package/dist/templates/crm-enrichment/tsconfig.json +0 -25
- package/dist/templates/hello-world/package.json +0 -18
- package/dist/templates/hello-world/tsconfig.json +0 -25
- package/dist/templates/knowledge-assistant/package.json +0 -18
- package/dist/templates/knowledge-assistant/tsconfig.json +0 -25
- package/dist/templates/slack-triage/package.json +0 -18
- package/dist/templates/slack-triage/tsconfig.json +0 -25
|
@@ -69,6 +69,7 @@ adk status --format json
|
|
|
69
69
|
```
|
|
70
70
|
|
|
71
71
|
**What this tells you:**
|
|
72
|
+
|
|
72
73
|
- Project name and location
|
|
73
74
|
- Every registered primitive with name, file path, and description
|
|
74
75
|
- Integration status — which are configured and which are missing fields
|
|
@@ -85,6 +86,7 @@ cat agent.config.ts
|
|
|
85
86
|
```
|
|
86
87
|
|
|
87
88
|
**What this tells you:**
|
|
89
|
+
|
|
88
90
|
- Model configuration (`defaultModels`)
|
|
89
91
|
- State schemas (`user.state`, `bot.state`, `conversation.state`)
|
|
90
92
|
- Integration versions and inline config
|
|
@@ -131,6 +133,7 @@ cat agent.local.json
|
|
|
131
133
|
The `name` and `description` fields in `agent.config.ts`.
|
|
132
134
|
|
|
133
135
|
**How to explain:**
|
|
136
|
+
|
|
134
137
|
- The `name` identifies the bot in the Botpress Cloud dashboard and CLI output.
|
|
135
138
|
- The `description` is optional — it documents the bot's purpose.
|
|
136
139
|
|
|
@@ -139,6 +142,7 @@ The `name` and `description` fields in `agent.config.ts`.
|
|
|
139
142
|
> This is **customer-support-bot** — a customer support assistant. The name is used as the bot identifier in Botpress Cloud.
|
|
140
143
|
|
|
141
144
|
**Potential issues:**
|
|
145
|
+
|
|
142
146
|
- Missing `description` — not critical, but worth adding for documentation.
|
|
143
147
|
- Name with spaces or special characters — should be kebab-case.
|
|
144
148
|
|
|
@@ -148,10 +152,10 @@ The `defaultModels` object controls which AI models power the bot.
|
|
|
148
152
|
|
|
149
153
|
**Two model slots:**
|
|
150
154
|
|
|
151
|
-
| Slot
|
|
152
|
-
|
|
153
|
-
| `autonomous` | Agentic reasoning — conversation handling, tool selection, multi-step logic | `execute()` in conversations and workflows
|
|
154
|
-
| `zai`
|
|
155
|
+
| Slot | Purpose | Used By |
|
|
156
|
+
| ------------ | --------------------------------------------------------------------------- | -------------------------------------------------------------- |
|
|
157
|
+
| `autonomous` | Agentic reasoning — conversation handling, tool selection, multi-step logic | `execute()` in conversations and workflows |
|
|
158
|
+
| `zai` | Utility AI operations — extraction, classification, summarization | `adk.zai.extract()`, `adk.zai.check()`, `adk.zai.text()`, etc. |
|
|
155
159
|
|
|
156
160
|
**How to explain model choices:**
|
|
157
161
|
|
|
@@ -166,21 +170,23 @@ defaultModels: {
|
|
|
166
170
|
|
|
167
171
|
**Common configurations and tradeoffs:**
|
|
168
172
|
|
|
169
|
-
| Configuration
|
|
170
|
-
|
|
171
|
-
| `autonomous: "openai:gpt-4o"`
|
|
172
|
-
| `autonomous: "openai:gpt-4o-mini"`
|
|
173
|
-
| `autonomous: "fast"`
|
|
174
|
-
| `autonomous: "best"`
|
|
175
|
-
| `autonomous: "anthropic:claude-3-5-sonnet"`
|
|
176
|
-
| `zai: "openai:gpt-4o-mini"`
|
|
177
|
-
| Fallback arrays like `["openai:gpt-4o", "anthropic:claude-3-5-sonnet"]` | Automatic fallback if first model is unavailable
|
|
173
|
+
| Configuration | Tradeoff |
|
|
174
|
+
| ----------------------------------------------------------------------- | -------------------------------------------------- |
|
|
175
|
+
| `autonomous: "openai:gpt-4o"` | High quality, higher cost and latency |
|
|
176
|
+
| `autonomous: "openai:gpt-4o-mini"` | Fast and cheap, less capable for complex reasoning |
|
|
177
|
+
| `autonomous: "fast"` | Zai shortcut — fastest/cheapest available model |
|
|
178
|
+
| `autonomous: "best"` | Zai shortcut — highest quality available model |
|
|
179
|
+
| `autonomous: "anthropic:claude-3-5-sonnet"` | Strong reasoning, different provider |
|
|
180
|
+
| `zai: "openai:gpt-4o-mini"` | Good default for utility tasks |
|
|
181
|
+
| Fallback arrays like `["openai:gpt-4o", "anthropic:claude-3-5-sonnet"]` | Automatic fallback if first model is unavailable |
|
|
178
182
|
|
|
179
183
|
**If `defaultModels` is not set**, the ADK uses these defaults:
|
|
184
|
+
|
|
180
185
|
- `zai`: `"openai:gpt-4.1-2025-04-14"`
|
|
181
186
|
- `autonomous`: `"openai:gpt-4.1-mini-2025-04-14"`
|
|
182
187
|
|
|
183
188
|
**Potential issues:**
|
|
189
|
+
|
|
184
190
|
- No `defaultModels` set — the bot uses ADK defaults, which may not be optimal.
|
|
185
191
|
- Both slots set to `"fast"` — fine for development, but may underperform in production for complex conversations.
|
|
186
192
|
- Both slots set to `"best"` — high quality but expensive; consider using `"best"` only for `autonomous`.
|
|
@@ -192,6 +198,7 @@ The `dependencies.integrations` section defines which external services the bot
|
|
|
192
198
|
**How to explain:**
|
|
193
199
|
|
|
194
200
|
For each integration, describe:
|
|
201
|
+
|
|
195
202
|
1. **What it is** — the platform or service it connects to
|
|
196
203
|
2. **What it provides** — channels (for messaging), actions (for API calls), events (for triggers)
|
|
197
204
|
3. **Whether it's configured** — check the `status` field from `adk status`
|
|
@@ -227,6 +234,7 @@ adk info slack
|
|
|
227
234
|
```
|
|
228
235
|
|
|
229
236
|
**Potential issues:**
|
|
237
|
+
|
|
230
238
|
- Integration with `status: "unconfigured"` and `missing` fields — needs configuration before it works.
|
|
231
239
|
- Integration using hardcoded secrets instead of the ADK secrets API — security risk.
|
|
232
240
|
- Integration with `enabled: false` — installed but not active.
|
|
@@ -237,11 +245,11 @@ State schemas define what data the bot persists across interactions.
|
|
|
237
245
|
|
|
238
246
|
**Three state scopes:**
|
|
239
247
|
|
|
240
|
-
| Scope
|
|
241
|
-
|
|
242
|
-
| `user.state`
|
|
243
|
-
| `bot.state`
|
|
244
|
-
| `conversation.state` | Conversation
|
|
248
|
+
| Scope | Persisted Per | Typical Use |
|
|
249
|
+
| -------------------- | ------------- | ---------------------------------------------- |
|
|
250
|
+
| `user.state` | User | Preferences, profile data, onboarding progress |
|
|
251
|
+
| `bot.state` | Bot (global) | Feature flags, counters, maintenance mode |
|
|
252
|
+
| `conversation.state` | Conversation | Context within a single conversation thread |
|
|
245
253
|
|
|
246
254
|
**How to explain:**
|
|
247
255
|
|
|
@@ -263,18 +271,21 @@ bot: {
|
|
|
263
271
|
```
|
|
264
272
|
|
|
265
273
|
> **User state** tracks per-user data:
|
|
274
|
+
>
|
|
266
275
|
> - `name` (optional string) — The user's name, collected during conversation
|
|
267
276
|
> - `department` (optional string) — The user's department
|
|
268
277
|
> - `role` (optional string) — The user's job role
|
|
269
278
|
> - `age` (number, defaults to 10) — The user's age
|
|
270
279
|
>
|
|
271
280
|
> **Bot state** tracks global data:
|
|
281
|
+
>
|
|
272
282
|
> - `version` (number, defaults to 0) — Bot configuration version
|
|
273
283
|
> - `ticketCounter` (number, defaults to 0) — Running count of tickets created
|
|
274
284
|
>
|
|
275
285
|
> No conversation state is defined — conversation-scoped data is not being tracked.
|
|
276
286
|
|
|
277
287
|
**Potential issues:**
|
|
288
|
+
|
|
278
289
|
- No `.default()` on required fields — will fail if state hasn't been initialized.
|
|
279
290
|
- Large state objects — can slow down read/write operations.
|
|
280
291
|
- Sensitive data in state (emails, tokens) — consider whether it needs to be stored.
|
|
@@ -286,12 +297,14 @@ Check the `secrets` block in `agent.config.ts` for declared secrets, and look fo
|
|
|
286
297
|
**How to explain:**
|
|
287
298
|
|
|
288
299
|
> Your config declares these secrets:
|
|
300
|
+
>
|
|
289
301
|
> - `SLACK_BOT_TOKEN` — Used to authenticate the Slack integration
|
|
290
302
|
> - `LINEAR_API_KEY` — Used to authenticate the Linear integration
|
|
291
303
|
>
|
|
292
304
|
> Secrets are managed via `adk secrets` and injected at runtime. Make sure they're set for both dev and production environments.
|
|
293
305
|
|
|
294
306
|
**Potential issues:**
|
|
307
|
+
|
|
295
308
|
- Hardcoded secrets in `agent.config.ts` — should use the ADK secrets API instead.
|
|
296
309
|
- Declared secrets that aren't set — the integration won't work at runtime.
|
|
297
310
|
|
|
@@ -301,21 +314,22 @@ The primitives from `adk status` show what the bot can actually do.
|
|
|
301
314
|
|
|
302
315
|
**How to explain each type:**
|
|
303
316
|
|
|
304
|
-
| Primitive
|
|
305
|
-
|
|
306
|
-
| **Actions**
|
|
307
|
-
| **Tools**
|
|
308
|
-
| **Workflows**
|
|
309
|
-
| **Conversations** | Message handlers — routes incoming messages by channel.
|
|
310
|
-
| **Triggers**
|
|
311
|
-
| **Tables**
|
|
312
|
-
| **Knowledge**
|
|
317
|
+
| Primitive | What It Means |
|
|
318
|
+
| ----------------- | ----------------------------------------------------------------------------------- |
|
|
319
|
+
| **Actions** | Functions callable by the bot or external APIs. Each action has typed input/output. |
|
|
320
|
+
| **Tools** | AI-callable tools — these are what the LLM can invoke during autonomous reasoning. |
|
|
321
|
+
| **Workflows** | Long-running, resumable processes with step-based execution. |
|
|
322
|
+
| **Conversations** | Message handlers — routes incoming messages by channel. |
|
|
323
|
+
| **Triggers** | Event-driven handlers — react to specific events (e.g., new user, webhook). |
|
|
324
|
+
| **Tables** | Structured data storage with optional semantic search. |
|
|
325
|
+
| **Knowledge** | RAG knowledge bases — documents the bot can search and cite. |
|
|
313
326
|
|
|
314
327
|
**Example explanation from status output:**
|
|
315
328
|
|
|
316
329
|
> Your bot has **3 actions**, **2 tools**, **2 workflows**, **1 conversation handler**, **no triggers**, **1 table**, and **1 knowledge base**.
|
|
317
330
|
>
|
|
318
331
|
> **What it can do:**
|
|
332
|
+
>
|
|
319
333
|
> - Look up customers, send invoices, and triage tickets (actions)
|
|
320
334
|
> - Search docs and look up CRM records autonomously (tools — the LLM decides when to call these)
|
|
321
335
|
> - Escalate urgent tickets and schedule follow-ups (workflows — long-running processes)
|
|
@@ -342,16 +356,19 @@ Combine all sources into a concise summary:
|
|
|
342
356
|
> It uses **gpt-4o** for conversations and **gpt-4o-mini** for utility AI tasks.
|
|
343
357
|
>
|
|
344
358
|
> **Capabilities:**
|
|
359
|
+
>
|
|
345
360
|
> - Looks up customers, sends invoices, and triages support tickets
|
|
346
361
|
> - Can autonomously search documentation and look up CRM records
|
|
347
362
|
> - Runs escalation and follow-up workflows for ticket management
|
|
348
363
|
> - Stores contacts in a table and uses an FAQ knowledge base for answers
|
|
349
364
|
>
|
|
350
365
|
> **State tracking:**
|
|
366
|
+
>
|
|
351
367
|
> - Tracks user preferences (language, timezone, account tier)
|
|
352
368
|
> - Maintains global counters and feature flags
|
|
353
369
|
>
|
|
354
370
|
> **Issues to address:**
|
|
371
|
+
>
|
|
355
372
|
> - The `browser` integration is missing its `apiKey` configuration
|
|
356
373
|
|
|
357
374
|
### Section-Specific Explanation
|
|
@@ -362,16 +379,16 @@ When the developer asks about a specific section, read the relevant part of `age
|
|
|
362
379
|
|
|
363
380
|
When reviewing the config, check for:
|
|
364
381
|
|
|
365
|
-
| Check
|
|
366
|
-
|
|
367
|
-
| Unconfigured integrations | `status: "unconfigured"` in `adk status` output
|
|
368
|
-
| Hardcoded secrets
|
|
369
|
-
| Missing default models
|
|
370
|
-
| No conversation handler
|
|
371
|
-
| No tools registered
|
|
372
|
-
| No knowledge base
|
|
373
|
-
| State without defaults
|
|
374
|
-
| Unused integrations
|
|
382
|
+
| Check | How to Detect | Severity |
|
|
383
|
+
| ------------------------- | ------------------------------------------------------------------------- | ------------------------------------------ |
|
|
384
|
+
| Unconfigured integrations | `status: "unconfigured"` in `adk status` output | High — integration won't work |
|
|
385
|
+
| Hardcoded secrets | String literals in `config` blocks instead of ADK secrets API | High — security risk |
|
|
386
|
+
| Missing default models | No `defaultModels` in `agent.config.ts` | Low — ADK defaults apply |
|
|
387
|
+
| No conversation handler | `conversations.count === 0` in status | High — bot can't respond to messages |
|
|
388
|
+
| No tools registered | `tools.count === 0` in status | Medium — LLM can't take autonomous actions |
|
|
389
|
+
| No knowledge base | `knowledge.count === 0` in status | Low — bot relies only on tools and actions |
|
|
390
|
+
| State without defaults | `z.object({...})` without `.default()` | Medium — may fail on first access |
|
|
391
|
+
| Unused integrations | Integration installed but no conversation handler or action references it | Low — wasted dependency |
|
|
375
392
|
|
|
376
393
|
### Suggesting Improvements
|
|
377
394
|
|