agent-devkit 0.2.0 → 0.3.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.
Files changed (177) hide show
  1. package/README.md +66 -13
  2. package/bin/agent.mjs +133 -7
  3. package/package.json +1 -1
  4. package/runtime/README.md +205 -13
  5. package/runtime/agent +31 -5
  6. package/runtime/agents/README.md +18 -0
  7. package/runtime/agents/contribution-reviewer/AGENTS.md +8 -0
  8. package/runtime/agents/contribution-reviewer/README.md +8 -0
  9. package/runtime/agents/contribution-reviewer/agent.yaml +40 -0
  10. package/runtime/agents/contribution-reviewer/capabilities/plan-contribution-pr/capability.yaml +27 -0
  11. package/runtime/agents/contribution-reviewer/capabilities/plan-contribution-pr/decision-rules.md +5 -0
  12. package/runtime/agents/contribution-reviewer/capabilities/plan-contribution-pr/workflow.md +6 -0
  13. package/runtime/agents/contribution-reviewer/capabilities/review-contribution/capability.yaml +25 -0
  14. package/runtime/agents/contribution-reviewer/capabilities/review-contribution/decision-rules.md +5 -0
  15. package/runtime/agents/contribution-reviewer/capabilities/review-contribution/workflow.md +5 -0
  16. package/runtime/agents/contribution-reviewer/capabilities/validate-local-contribution/capability.yaml +26 -0
  17. package/runtime/agents/contribution-reviewer/capabilities/validate-local-contribution/decision-rules.md +5 -0
  18. package/runtime/agents/contribution-reviewer/capabilities/validate-local-contribution/workflow.md +6 -0
  19. package/runtime/agents/contribution-reviewer/infra/README.md +6 -0
  20. package/runtime/agents/contribution-reviewer/knowledge/context.md +8 -0
  21. package/runtime/agents/contribution-reviewer/knowledge/system.md +8 -0
  22. package/runtime/agents/contribution-reviewer/templates/README.md +3 -0
  23. package/runtime/agents/knowledge-author/AGENTS.md +7 -0
  24. package/runtime/agents/knowledge-author/README.md +7 -0
  25. package/runtime/agents/knowledge-author/agent.yaml +37 -0
  26. package/runtime/agents/knowledge-author/capabilities/create-knowledge-snapshot/capability.yaml +30 -0
  27. package/runtime/agents/knowledge-author/capabilities/create-knowledge-snapshot/decision-rules.md +6 -0
  28. package/runtime/agents/knowledge-author/capabilities/create-knowledge-snapshot/workflow.md +7 -0
  29. package/runtime/agents/knowledge-author/infra/.gitkeep +1 -0
  30. package/runtime/agents/knowledge-author/knowledge/context.md +4 -0
  31. package/runtime/agents/knowledge-author/knowledge/system.md +4 -0
  32. package/runtime/agents/knowledge-author/templates/.gitkeep +1 -0
  33. package/runtime/agents/knowledge-curator/AGENTS.md +7 -0
  34. package/runtime/agents/knowledge-curator/README.md +6 -0
  35. package/runtime/agents/knowledge-curator/agent.yaml +37 -0
  36. package/runtime/agents/knowledge-curator/capabilities/curate-knowledge-base/capability.yaml +29 -0
  37. package/runtime/agents/knowledge-curator/capabilities/curate-knowledge-base/decision-rules.md +6 -0
  38. package/runtime/agents/knowledge-curator/capabilities/curate-knowledge-base/workflow.md +7 -0
  39. package/runtime/agents/knowledge-curator/infra/.gitkeep +1 -0
  40. package/runtime/agents/knowledge-curator/knowledge/context.md +4 -0
  41. package/runtime/agents/knowledge-curator/knowledge/system.md +4 -0
  42. package/runtime/agents/knowledge-curator/templates/.gitkeep +1 -0
  43. package/runtime/agents/knowledge-infra-builder/AGENTS.md +8 -0
  44. package/runtime/agents/knowledge-infra-builder/README.md +8 -0
  45. package/runtime/agents/knowledge-infra-builder/agent.yaml +38 -0
  46. package/runtime/agents/knowledge-infra-builder/capabilities/create-knowledge-base/capability.yaml +30 -0
  47. package/runtime/agents/knowledge-infra-builder/capabilities/create-knowledge-base/decision-rules.md +6 -0
  48. package/runtime/agents/knowledge-infra-builder/capabilities/create-knowledge-base/workflow.md +7 -0
  49. package/runtime/agents/knowledge-infra-builder/infra/.gitkeep +1 -0
  50. package/runtime/agents/knowledge-infra-builder/knowledge/context.md +4 -0
  51. package/runtime/agents/knowledge-infra-builder/knowledge/system.md +4 -0
  52. package/runtime/agents/knowledge-infra-builder/templates/.gitkeep +1 -0
  53. package/runtime/agents/knowledge-owner/AGENTS.md +7 -0
  54. package/runtime/agents/knowledge-owner/README.md +6 -0
  55. package/runtime/agents/knowledge-owner/agent.yaml +37 -0
  56. package/runtime/agents/knowledge-owner/capabilities/publish-knowledge-snapshot/capability.yaml +28 -0
  57. package/runtime/agents/knowledge-owner/capabilities/publish-knowledge-snapshot/decision-rules.md +6 -0
  58. package/runtime/agents/knowledge-owner/capabilities/publish-knowledge-snapshot/workflow.md +7 -0
  59. package/runtime/agents/knowledge-owner/infra/.gitkeep +1 -0
  60. package/runtime/agents/knowledge-owner/knowledge/context.md +4 -0
  61. package/runtime/agents/knowledge-owner/knowledge/system.md +4 -0
  62. package/runtime/agents/knowledge-owner/templates/.gitkeep +1 -0
  63. package/runtime/agents/knowledge-reviewer/AGENTS.md +7 -0
  64. package/runtime/agents/knowledge-reviewer/README.md +7 -0
  65. package/runtime/agents/knowledge-reviewer/agent.yaml +36 -0
  66. package/runtime/agents/knowledge-reviewer/capabilities/review-knowledge-snapshot/capability.yaml +26 -0
  67. package/runtime/agents/knowledge-reviewer/capabilities/review-knowledge-snapshot/decision-rules.md +6 -0
  68. package/runtime/agents/knowledge-reviewer/capabilities/review-knowledge-snapshot/workflow.md +7 -0
  69. package/runtime/agents/knowledge-reviewer/infra/.gitkeep +1 -0
  70. package/runtime/agents/knowledge-reviewer/knowledge/context.md +4 -0
  71. package/runtime/agents/knowledge-reviewer/knowledge/system.md +4 -0
  72. package/runtime/agents/knowledge-reviewer/templates/.gitkeep +1 -0
  73. package/runtime/agents/local-memory-manager/AGENTS.md +5 -0
  74. package/runtime/agents/local-memory-manager/README.md +7 -0
  75. package/runtime/agents/local-memory-manager/agent.yaml +38 -0
  76. package/runtime/agents/local-memory-manager/capabilities/curate-local-memory/capability.yaml +19 -0
  77. package/runtime/agents/local-memory-manager/capabilities/curate-local-memory/decision-rules.md +5 -0
  78. package/runtime/agents/local-memory-manager/capabilities/curate-local-memory/workflow.md +6 -0
  79. package/runtime/agents/local-memory-manager/capabilities/inspect-local-memory/capability.yaml +19 -0
  80. package/runtime/agents/local-memory-manager/capabilities/inspect-local-memory/decision-rules.md +5 -0
  81. package/runtime/agents/local-memory-manager/capabilities/inspect-local-memory/workflow.md +5 -0
  82. package/runtime/agents/local-memory-manager/infra/.gitkeep +1 -0
  83. package/runtime/agents/local-memory-manager/knowledge/context.md +4 -0
  84. package/runtime/agents/local-memory-manager/knowledge/system.md +4 -0
  85. package/runtime/agents/local-memory-manager/templates/.gitkeep +1 -0
  86. package/runtime/agents/memory-sync-manager/AGENTS.md +7 -0
  87. package/runtime/agents/memory-sync-manager/README.md +7 -0
  88. package/runtime/agents/memory-sync-manager/agent.yaml +37 -0
  89. package/runtime/agents/memory-sync-manager/capabilities/plan-memory-backup/capability.yaml +29 -0
  90. package/runtime/agents/memory-sync-manager/capabilities/plan-memory-backup/decision-rules.md +6 -0
  91. package/runtime/agents/memory-sync-manager/capabilities/plan-memory-backup/workflow.md +7 -0
  92. package/runtime/agents/memory-sync-manager/infra/.gitkeep +1 -0
  93. package/runtime/agents/memory-sync-manager/knowledge/context.md +4 -0
  94. package/runtime/agents/memory-sync-manager/knowledge/system.md +4 -0
  95. package/runtime/agents/memory-sync-manager/templates/.gitkeep +1 -0
  96. package/runtime/agents/shared-memory-curator/AGENTS.md +5 -0
  97. package/runtime/agents/shared-memory-curator/README.md +6 -0
  98. package/runtime/agents/shared-memory-curator/agent.yaml +38 -0
  99. package/runtime/agents/shared-memory-curator/capabilities/create-shared-memory/capability.yaml +19 -0
  100. package/runtime/agents/shared-memory-curator/capabilities/create-shared-memory/decision-rules.md +5 -0
  101. package/runtime/agents/shared-memory-curator/capabilities/create-shared-memory/workflow.md +5 -0
  102. package/runtime/agents/shared-memory-curator/capabilities/publish-shared-submission/capability.yaml +19 -0
  103. package/runtime/agents/shared-memory-curator/capabilities/publish-shared-submission/decision-rules.md +5 -0
  104. package/runtime/agents/shared-memory-curator/capabilities/publish-shared-submission/workflow.md +5 -0
  105. package/runtime/agents/shared-memory-curator/capabilities/review-shared-submission/capability.yaml +19 -0
  106. package/runtime/agents/shared-memory-curator/capabilities/review-shared-submission/decision-rules.md +5 -0
  107. package/runtime/agents/shared-memory-curator/capabilities/review-shared-submission/workflow.md +5 -0
  108. package/runtime/agents/shared-memory-curator/infra/.gitkeep +1 -0
  109. package/runtime/agents/shared-memory-curator/knowledge/context.md +5 -0
  110. package/runtime/agents/shared-memory-curator/knowledge/system.md +4 -0
  111. package/runtime/agents/shared-memory-curator/templates/.gitkeep +1 -0
  112. package/runtime/cli/README.md +47 -8
  113. package/runtime/cli/aikit/__init__.py +1 -1
  114. package/runtime/cli/aikit/agent_registry.py +4 -2
  115. package/runtime/cli/aikit/agentic_commands.py +158 -0
  116. package/runtime/cli/aikit/app_home.py +2 -0
  117. package/runtime/cli/aikit/audit.py +16 -6
  118. package/runtime/cli/aikit/catalog.py +278 -8
  119. package/runtime/cli/aikit/cli_dispatch.py +489 -13
  120. package/runtime/cli/aikit/cli_parser.py +146 -8
  121. package/runtime/cli/aikit/contribution.py +132 -2
  122. package/runtime/cli/aikit/doctor_runtime.py +85 -0
  123. package/runtime/cli/aikit/embedded_mini_brain.py +351 -0
  124. package/runtime/cli/aikit/eval.py +356 -10
  125. package/runtime/cli/aikit/human_output.py +310 -4
  126. package/runtime/cli/aikit/interactive_wizard.py +146 -0
  127. package/runtime/cli/aikit/knowledge_base.py +1067 -0
  128. package/runtime/cli/aikit/llm.py +40 -6
  129. package/runtime/cli/aikit/local_artifacts.py +444 -0
  130. package/runtime/cli/aikit/local_llm.py +176 -0
  131. package/runtime/cli/aikit/local_llm_operator.py +15 -5
  132. package/runtime/cli/aikit/main.py +15 -0
  133. package/runtime/cli/aikit/mcp_manifest.py +798 -0
  134. package/runtime/cli/aikit/mcp_tools.py +643 -5
  135. package/runtime/cli/aikit/memory.py +405 -0
  136. package/runtime/cli/aikit/mini_brain.py +56 -25
  137. package/runtime/cli/aikit/model_router.py +42 -9
  138. package/runtime/cli/aikit/natural_prompt_runtime.py +194 -2
  139. package/runtime/cli/aikit/ollama.py +64 -15
  140. package/runtime/cli/aikit/onboarding.py +551 -0
  141. package/runtime/cli/aikit/output.py +67 -0
  142. package/runtime/cli/aikit/prompt_injection.py +12 -1
  143. package/runtime/cli/aikit/review_gate.py +14 -2
  144. package/runtime/cli/aikit/roadmap_cli.py +1 -1
  145. package/runtime/cli/aikit/secrets.py +3 -2
  146. package/runtime/cli/aikit/setup_wizard_payload.py +3 -0
  147. package/runtime/cli/aikit/shared_memory.py +415 -0
  148. package/runtime/cli/aikit/specialist_readiness.py +152 -0
  149. package/runtime/cli/aikit/tasks.py +104 -1
  150. package/runtime/cli/aikit/team.py +380 -0
  151. package/runtime/cli/aikit/toolchain.py +7 -2
  152. package/runtime/cli/aikit/workflows.py +115 -14
  153. package/runtime/models/qwen2.5-0.5b-instruct/manifest.json +30 -0
  154. package/runtime/providers/knowledge-github.yaml +40 -0
  155. package/runtime/providers/knowledge-google-drive.yaml +32 -0
  156. package/runtime/providers/knowledge-local.yaml +26 -0
  157. package/runtime/providers/knowledge-notion.yaml +32 -0
  158. package/runtime/providers/knowledge-obsidian.yaml +24 -0
  159. package/runtime/providers/knowledge-onedrive.yaml +36 -0
  160. package/runtime/providers/knowledge-s3.yaml +45 -0
  161. package/runtime/providers/knowledge-sharepoint.yaml +39 -0
  162. package/runtime/providers/knowledge-supabase.yaml +43 -0
  163. package/runtime/providers/knowledge-vector.yaml +39 -0
  164. package/runtime/requirements.txt +6 -0
  165. package/runtime/scripts/docker-cli-qa.sh +453 -0
  166. package/runtime/scripts/release-catalog-snapshot.json +55 -4
  167. package/runtime/scripts/release-gate.py +54 -13
  168. package/runtime/tooling/toolchain.yaml +92 -0
  169. package/runtime/vendor/skills/napkin/napkin.md +21 -7
  170. package/runtime/workflows/azure-card-analysis/README.md +3 -0
  171. package/runtime/workflows/azure-card-analysis/workflow.yaml +30 -0
  172. package/runtime/workflows/daily-pr-review/README.md +3 -0
  173. package/runtime/workflows/daily-pr-review/workflow.yaml +31 -0
  174. package/runtime/workflows/incident-analysis/README.md +3 -0
  175. package/runtime/workflows/incident-analysis/workflow.yaml +33 -0
  176. package/runtime/workflows/release-prep/README.md +3 -0
  177. package/runtime/workflows/release-prep/workflow.yaml +30 -0
@@ -70,6 +70,273 @@ TOOL_DEFINITIONS: list[dict[str, Any]] = [
70
70
  "additionalProperties": False,
71
71
  },
72
72
  },
73
+ {
74
+ "name": "agent_devkit_onboarding_status",
75
+ "description": "Return the no-argument Agent DevKit onboarding status used by `agent` startup.",
76
+ "inputSchema": {"type": "object", "properties": {}, "additionalProperties": False},
77
+ },
78
+ {
79
+ "name": "agent_devkit_memory_show",
80
+ "description": "Show local Agent DevKit memory usage and memory file paths without exposing secrets.",
81
+ "inputSchema": {
82
+ "type": "object",
83
+ "properties": {
84
+ "agent_id": {"type": "string"},
85
+ "source_id": {"type": "string"},
86
+ },
87
+ "additionalProperties": False,
88
+ },
89
+ },
90
+ {
91
+ "name": "agent_devkit_memory_path",
92
+ "description": "Ensure local memory files exist and return their paths.",
93
+ "inputSchema": {"type": "object", "properties": {}, "additionalProperties": False},
94
+ },
95
+ {
96
+ "name": "agent_devkit_memory_reset",
97
+ "description": "Reset local Agent DevKit memory, sessions, tasks or cache. This is a local-only write.",
98
+ "inputSchema": {
99
+ "type": "object",
100
+ "properties": {
101
+ "all": {"type": "boolean"},
102
+ "agent_id": {"type": "string"},
103
+ "source_id": {"type": "string"},
104
+ "sessions": {"type": "boolean"},
105
+ "tasks": {"type": "boolean"},
106
+ "cache": {"type": "boolean"},
107
+ },
108
+ "additionalProperties": False,
109
+ },
110
+ },
111
+ {
112
+ "name": "agent_devkit_memory_backup_create",
113
+ "description": "Create a local backup of Agent DevKit memory and personality. This does not upload remotely.",
114
+ "inputSchema": {
115
+ "type": "object",
116
+ "properties": {
117
+ "title": {"type": "string"},
118
+ "encrypted": {"type": "boolean"},
119
+ "passphrase_env": {"type": "string"},
120
+ },
121
+ "additionalProperties": False,
122
+ },
123
+ },
124
+ {
125
+ "name": "agent_devkit_memory_backup_list",
126
+ "description": "List local Agent DevKit memory backups.",
127
+ "inputSchema": {"type": "object", "properties": {}, "additionalProperties": False},
128
+ },
129
+ {
130
+ "name": "agent_devkit_memory_backup_restore",
131
+ "description": "Restore a local Agent DevKit memory backup. Requires yes=true to execute.",
132
+ "inputSchema": {
133
+ "type": "object",
134
+ "properties": {
135
+ "backup_id": {"type": "string"},
136
+ "file": {"type": "string"},
137
+ "passphrase_env": {"type": "string"},
138
+ "yes": {"type": "boolean"},
139
+ },
140
+ "additionalProperties": False,
141
+ },
142
+ },
143
+ {
144
+ "name": "agent_devkit_memory_backup_delete",
145
+ "description": "Delete a local Agent DevKit memory backup. Requires yes=true to execute.",
146
+ "inputSchema": {
147
+ "type": "object",
148
+ "properties": {
149
+ "backup_id": {"type": "string"},
150
+ "yes": {"type": "boolean"},
151
+ },
152
+ "required": ["backup_id"],
153
+ "additionalProperties": False,
154
+ },
155
+ },
156
+ {
157
+ "name": "agent_devkit_shared_memory_list",
158
+ "description": "List owner-reviewed shared memories stored in the local Agent DevKit home.",
159
+ "inputSchema": {"type": "object", "properties": {}, "additionalProperties": False},
160
+ },
161
+ {
162
+ "name": "agent_devkit_shared_memory_status",
163
+ "description": "Inspect one owner-reviewed shared memory workspace.",
164
+ "inputSchema": {
165
+ "type": "object",
166
+ "properties": {"memory_id": {"type": "string"}},
167
+ "required": ["memory_id"],
168
+ "additionalProperties": False,
169
+ },
170
+ },
171
+ {
172
+ "name": "agent_devkit_shared_memory_create",
173
+ "description": "Create a local shared memory workspace and contributor key. This is a local-only write.",
174
+ "inputSchema": {
175
+ "type": "object",
176
+ "properties": {"title": {"type": "string"}},
177
+ "additionalProperties": False,
178
+ },
179
+ },
180
+ {
181
+ "name": "agent_devkit_shared_memory_read",
182
+ "description": "Read accepted shared memory entries without exposing owner keys.",
183
+ "inputSchema": {
184
+ "type": "object",
185
+ "properties": {
186
+ "memory_id": {"type": "string"},
187
+ "entry_id": {"type": "string"},
188
+ "key": {"type": "string"},
189
+ },
190
+ "required": ["memory_id"],
191
+ "additionalProperties": False,
192
+ },
193
+ },
194
+ {
195
+ "name": "agent_devkit_shared_memory_submit",
196
+ "description": "Submit a contribution to shared memory pending owner review. This is a local-only write.",
197
+ "inputSchema": {
198
+ "type": "object",
199
+ "properties": {
200
+ "memory_id": {"type": "string"},
201
+ "title": {"type": "string"},
202
+ "content": {"type": "string"},
203
+ "key": {"type": "string"},
204
+ },
205
+ "required": ["memory_id", "content", "key"],
206
+ "additionalProperties": False,
207
+ },
208
+ },
209
+ {
210
+ "name": "agent_devkit_shared_memory_review",
211
+ "description": "Review a pending shared memory contribution without publishing it.",
212
+ "inputSchema": {
213
+ "type": "object",
214
+ "properties": {
215
+ "memory_id": {"type": "string"},
216
+ "submission_id": {"type": "string"},
217
+ },
218
+ "required": ["memory_id", "submission_id"],
219
+ "additionalProperties": False,
220
+ },
221
+ },
222
+ {
223
+ "name": "agent_devkit_shared_memory_publish",
224
+ "description": "Publish an approved shared memory contribution. This is a local-only write.",
225
+ "inputSchema": {
226
+ "type": "object",
227
+ "properties": {
228
+ "memory_id": {"type": "string"},
229
+ "submission_id": {"type": "string"},
230
+ "yes": {"type": "boolean"},
231
+ "owner_key": {"type": "string"},
232
+ },
233
+ "required": ["memory_id", "submission_id"],
234
+ "additionalProperties": False,
235
+ },
236
+ },
237
+ {
238
+ "name": "agent_devkit_personality_show",
239
+ "description": "Show the local Agent DevKit personality and public identity.",
240
+ "inputSchema": {"type": "object", "properties": {}, "additionalProperties": False},
241
+ },
242
+ {
243
+ "name": "agent_devkit_personality_update",
244
+ "description": "Update local Agent DevKit personality fields. This is a local-only write.",
245
+ "inputSchema": {
246
+ "type": "object",
247
+ "properties": {
248
+ "agent_name": {"type": "string"},
249
+ "user_name": {"type": "string"},
250
+ "language": {"type": "string"},
251
+ "tone": {"type": "string"},
252
+ "detail_level": {"type": "string"},
253
+ },
254
+ "additionalProperties": False,
255
+ },
256
+ },
257
+ {
258
+ "name": "agent_devkit_personality_reset",
259
+ "description": "Reset local Agent DevKit personality to defaults. This is a local-only write.",
260
+ "inputSchema": {"type": "object", "properties": {}, "additionalProperties": False},
261
+ },
262
+ {
263
+ "name": "agent_devkit_task_list",
264
+ "description": "List local scheduled tasks without running them.",
265
+ "inputSchema": {"type": "object", "properties": {}, "additionalProperties": False},
266
+ },
267
+ {
268
+ "name": "agent_devkit_task_show",
269
+ "description": "Show one local scheduled task.",
270
+ "inputSchema": {
271
+ "type": "object",
272
+ "properties": {"task_id": {"type": "string"}},
273
+ "required": ["task_id"],
274
+ "additionalProperties": False,
275
+ },
276
+ },
277
+ {
278
+ "name": "agent_devkit_task_run_dry_run",
279
+ "description": "Preview one local scheduled task run without executing it.",
280
+ "inputSchema": {
281
+ "type": "object",
282
+ "properties": {"task_id": {"type": "string"}},
283
+ "required": ["task_id"],
284
+ "additionalProperties": False,
285
+ },
286
+ },
287
+ {
288
+ "name": "agent_devkit_scheduler_run_once_dry_run",
289
+ "description": "Preview due local scheduled tasks without executing them.",
290
+ "inputSchema": {"type": "object", "properties": {}, "additionalProperties": False},
291
+ },
292
+ {
293
+ "name": "agent_devkit_notifications_doctor",
294
+ "description": "Diagnose local notification support without sending notifications.",
295
+ "inputSchema": {"type": "object", "properties": {}, "additionalProperties": False},
296
+ },
297
+ {
298
+ "name": "agent_devkit_notifications_list_events",
299
+ "description": "List supported local notification events.",
300
+ "inputSchema": {"type": "object", "properties": {}, "additionalProperties": False},
301
+ },
302
+ {
303
+ "name": "agent_devkit_notifications_list_channels",
304
+ "description": "List supported and future notification channels.",
305
+ "inputSchema": {"type": "object", "properties": {}, "additionalProperties": False},
306
+ },
307
+ {
308
+ "name": "agent_devkit_notifications_format",
309
+ "description": "Format a notification payload without sending it.",
310
+ "inputSchema": {
311
+ "type": "object",
312
+ "properties": {
313
+ "title": {"type": "string"},
314
+ "message": {"type": "string"},
315
+ "summary": {"type": "string"},
316
+ "event": {"type": "string"},
317
+ "status": {"type": "string"},
318
+ "severity": {"type": "string"},
319
+ "task_id": {"type": "string"},
320
+ "origin": {"type": "string"},
321
+ },
322
+ "additionalProperties": False,
323
+ },
324
+ },
325
+ {
326
+ "name": "agent_devkit_catalog_list",
327
+ "description": "List deterministic Agent DevKit catalog items with optional filters.",
328
+ "inputSchema": {
329
+ "type": "object",
330
+ "properties": {
331
+ "type": {"type": "string"},
332
+ "provider": {"type": "string"},
333
+ "status": {"type": "string"},
334
+ "write_policy": {"type": "string"},
335
+ "readiness": {"type": "string"},
336
+ },
337
+ "additionalProperties": False,
338
+ },
339
+ },
73
340
  {
74
341
  "name": "agent_devkit_catalog_search",
75
342
  "description": "Search agents, capabilities and providers in the deterministic Agent DevKit catalog.",
@@ -83,6 +350,19 @@ TOOL_DEFINITIONS: list[dict[str, Any]] = [
83
350
  "additionalProperties": False,
84
351
  },
85
352
  },
353
+ {
354
+ "name": "agent_devkit_catalog_show",
355
+ "description": "Show one deterministic Agent DevKit catalog item.",
356
+ "inputSchema": {
357
+ "type": "object",
358
+ "properties": {
359
+ "id": {"type": "string"},
360
+ "type": {"type": "string"},
361
+ },
362
+ "required": ["id"],
363
+ "additionalProperties": False,
364
+ },
365
+ },
86
366
  {
87
367
  "name": "agent_devkit_route_explain",
88
368
  "description": "Explain how Agent DevKit would route a prompt without executing it.",
@@ -103,6 +383,16 @@ TOOL_DEFINITIONS: list[dict[str, Any]] = [
103
383
  "additionalProperties": False,
104
384
  },
105
385
  },
386
+ {
387
+ "name": "agent_devkit_agentic_plan",
388
+ "description": "Build the explicit v0.2.1 agentic plan contract for a natural-language prompt.",
389
+ "inputSchema": {
390
+ "type": "object",
391
+ "properties": {"prompt": {"type": "string"}},
392
+ "required": ["prompt"],
393
+ "additionalProperties": False,
394
+ },
395
+ },
106
396
  {
107
397
  "name": "agent_devkit_eval_list",
108
398
  "description": "List deterministic Agent DevKit eval suites.",
@@ -123,6 +413,514 @@ TOOL_DEFINITIONS: list[dict[str, Any]] = [
123
413
  "description": "Diagnose secret reference backends without exposing values.",
124
414
  "inputSchema": {"type": "object", "properties": {}, "additionalProperties": False},
125
415
  },
416
+ {
417
+ "name": "agent_devkit_workflow_list",
418
+ "description": "List installable Agent DevKit workflows.",
419
+ "inputSchema": {"type": "object", "properties": {}, "additionalProperties": False},
420
+ },
421
+ {
422
+ "name": "agent_devkit_workflow_show",
423
+ "description": "Show one installable Agent DevKit workflow.",
424
+ "inputSchema": {
425
+ "type": "object",
426
+ "properties": {"workflow_id": {"type": "string"}},
427
+ "required": ["workflow_id"],
428
+ "additionalProperties": False,
429
+ },
430
+ },
431
+ {
432
+ "name": "agent_devkit_workflow_run_dry_run",
433
+ "description": "Build a dry-run payload for an installable workflow.",
434
+ "inputSchema": {
435
+ "type": "object",
436
+ "properties": {"workflow_id": {"type": "string"}},
437
+ "required": ["workflow_id"],
438
+ "additionalProperties": False,
439
+ },
440
+ },
441
+ {
442
+ "name": "agent_devkit_local_llm_list",
443
+ "description": "List local LLM operational workers.",
444
+ "inputSchema": {"type": "object", "properties": {}, "additionalProperties": False},
445
+ },
446
+ {
447
+ "name": "agent_devkit_local_llm_doctor",
448
+ "description": "Diagnose local LLM/Ollama readiness without installing models.",
449
+ "inputSchema": {"type": "object", "properties": {}, "additionalProperties": False},
450
+ },
451
+ {
452
+ "name": "agent_devkit_local_llm_models",
453
+ "description": "List local LLM models known to Ollama when available.",
454
+ "inputSchema": {"type": "object", "properties": {}, "additionalProperties": False},
455
+ },
456
+ {
457
+ "name": "agent_devkit_local_artifacts_list",
458
+ "description": "List local skills, scripts, automations and local agents stored in Agent DevKit home.",
459
+ "inputSchema": {"type": "object", "properties": {}, "additionalProperties": False},
460
+ },
461
+ {
462
+ "name": "agent_devkit_local_skill_create",
463
+ "description": "Create a local Agent DevKit skill artifact.",
464
+ "inputSchema": {
465
+ "type": "object",
466
+ "properties": {
467
+ "id": {"type": "string"},
468
+ "description": {"type": "string"},
469
+ "force": {"type": "boolean"},
470
+ },
471
+ "additionalProperties": False,
472
+ },
473
+ },
474
+ {
475
+ "name": "agent_devkit_local_skill_list",
476
+ "description": "List local Agent DevKit skill artifacts.",
477
+ "inputSchema": {"type": "object", "properties": {}, "additionalProperties": False},
478
+ },
479
+ {
480
+ "name": "agent_devkit_local_skill_show",
481
+ "description": "Show one local Agent DevKit skill artifact.",
482
+ "inputSchema": {
483
+ "type": "object",
484
+ "properties": {"id": {"type": "string"}},
485
+ "required": ["id"],
486
+ "additionalProperties": False,
487
+ },
488
+ },
489
+ {
490
+ "name": "agent_devkit_local_script_create",
491
+ "description": "Create a local Agent DevKit shell script artifact.",
492
+ "inputSchema": {
493
+ "type": "object",
494
+ "properties": {
495
+ "id": {"type": "string"},
496
+ "command": {"type": "string"},
497
+ "force": {"type": "boolean"},
498
+ },
499
+ "additionalProperties": False,
500
+ },
501
+ },
502
+ {
503
+ "name": "agent_devkit_local_script_list",
504
+ "description": "List local Agent DevKit shell script artifacts.",
505
+ "inputSchema": {"type": "object", "properties": {}, "additionalProperties": False},
506
+ },
507
+ {
508
+ "name": "agent_devkit_local_script_run_dry_run",
509
+ "description": "Plan execution of one local Agent DevKit script without running it.",
510
+ "inputSchema": {
511
+ "type": "object",
512
+ "properties": {"id": {"type": "string"}},
513
+ "required": ["id"],
514
+ "additionalProperties": False,
515
+ },
516
+ },
517
+ {
518
+ "name": "agent_devkit_local_agent_create",
519
+ "description": "Create a local Agent DevKit specialist agent scaffold.",
520
+ "inputSchema": {
521
+ "type": "object",
522
+ "properties": {
523
+ "id": {"type": "string"},
524
+ "description": {"type": "string"},
525
+ "force": {"type": "boolean"},
526
+ },
527
+ "additionalProperties": False,
528
+ },
529
+ },
530
+ {
531
+ "name": "agent_devkit_local_agent_list",
532
+ "description": "List local Agent DevKit specialist agent scaffolds.",
533
+ "inputSchema": {"type": "object", "properties": {}, "additionalProperties": False},
534
+ },
535
+ {
536
+ "name": "agent_devkit_local_agent_show",
537
+ "description": "Show one local Agent DevKit specialist agent scaffold.",
538
+ "inputSchema": {
539
+ "type": "object",
540
+ "properties": {"id": {"type": "string"}},
541
+ "required": ["id"],
542
+ "additionalProperties": False,
543
+ },
544
+ },
545
+ {
546
+ "name": "agent_devkit_local_agent_validate",
547
+ "description": "Validate one local Agent DevKit specialist agent scaffold.",
548
+ "inputSchema": {
549
+ "type": "object",
550
+ "properties": {"id": {"type": "string"}},
551
+ "required": ["id"],
552
+ "additionalProperties": False,
553
+ },
554
+ },
555
+ {
556
+ "name": "agent_devkit_local_automation_create",
557
+ "description": "Create a local Agent DevKit automation artifact in the user home.",
558
+ "inputSchema": {
559
+ "type": "object",
560
+ "properties": {
561
+ "id": {"type": "string"},
562
+ "title": {"type": "string"},
563
+ "prompt": {"type": "string"},
564
+ "command": {"type": "string"},
565
+ "every": {"type": "string"},
566
+ "cron": {"type": "string"},
567
+ "force": {"type": "boolean"},
568
+ },
569
+ "additionalProperties": False,
570
+ },
571
+ },
572
+ {
573
+ "name": "agent_devkit_local_automation_list",
574
+ "description": "List local Agent DevKit automation artifacts.",
575
+ "inputSchema": {"type": "object", "properties": {}, "additionalProperties": False},
576
+ },
577
+ {
578
+ "name": "agent_devkit_local_automation_show",
579
+ "description": "Show one local Agent DevKit automation artifact.",
580
+ "inputSchema": {
581
+ "type": "object",
582
+ "properties": {"id": {"type": "string"}},
583
+ "required": ["id"],
584
+ "additionalProperties": False,
585
+ },
586
+ },
587
+ {
588
+ "name": "agent_devkit_local_automation_enable",
589
+ "description": "Enable one local Agent DevKit automation artifact.",
590
+ "inputSchema": {
591
+ "type": "object",
592
+ "properties": {"id": {"type": "string"}},
593
+ "required": ["id"],
594
+ "additionalProperties": False,
595
+ },
596
+ },
597
+ {
598
+ "name": "agent_devkit_local_automation_disable",
599
+ "description": "Disable one local Agent DevKit automation artifact.",
600
+ "inputSchema": {
601
+ "type": "object",
602
+ "properties": {"id": {"type": "string"}},
603
+ "required": ["id"],
604
+ "additionalProperties": False,
605
+ },
606
+ },
607
+ {
608
+ "name": "agent_devkit_local_automation_validate",
609
+ "description": "Validate one local Agent DevKit automation artifact.",
610
+ "inputSchema": {
611
+ "type": "object",
612
+ "properties": {"id": {"type": "string"}},
613
+ "required": ["id"],
614
+ "additionalProperties": False,
615
+ },
616
+ },
617
+ {
618
+ "name": "agent_devkit_team_status",
619
+ "description": "Inspect project-local team profile status without exposing secrets.",
620
+ "inputSchema": {
621
+ "type": "object",
622
+ "properties": {"project": {"type": "string"}},
623
+ "additionalProperties": False,
624
+ },
625
+ },
626
+ {
627
+ "name": "agent_devkit_team_doctor",
628
+ "description": "Run project-local team profile diagnostics without exposing secrets.",
629
+ "inputSchema": {
630
+ "type": "object",
631
+ "properties": {"project": {"type": "string"}},
632
+ "additionalProperties": False,
633
+ },
634
+ },
635
+ {
636
+ "name": "agent_devkit_team_init",
637
+ "description": "Create a project-local team profile file without storing secrets.",
638
+ "inputSchema": {
639
+ "type": "object",
640
+ "properties": {
641
+ "project": {"type": "string"},
642
+ "force": {"type": "boolean"},
643
+ },
644
+ "additionalProperties": False,
645
+ },
646
+ },
647
+ {
648
+ "name": "agent_devkit_team_onboard",
649
+ "description": "Return the project-local team onboarding checklist.",
650
+ "inputSchema": {
651
+ "type": "object",
652
+ "properties": {"project": {"type": "string"}},
653
+ "additionalProperties": False,
654
+ },
655
+ },
656
+ {
657
+ "name": "agent_devkit_team_profile_list",
658
+ "description": "List profiles in the project-local team profile file.",
659
+ "inputSchema": {
660
+ "type": "object",
661
+ "properties": {"project": {"type": "string"}},
662
+ "additionalProperties": False,
663
+ },
664
+ },
665
+ {
666
+ "name": "agent_devkit_team_profile_show",
667
+ "description": "Show one project-local team profile without exposing secrets.",
668
+ "inputSchema": {
669
+ "type": "object",
670
+ "properties": {
671
+ "project": {"type": "string"},
672
+ "profile_id": {"type": "string"},
673
+ },
674
+ "additionalProperties": False,
675
+ },
676
+ },
677
+ {
678
+ "name": "agent_devkit_team_profile_export",
679
+ "description": "Export one project-local team profile, or return a write plan when path is omitted.",
680
+ "inputSchema": {
681
+ "type": "object",
682
+ "properties": {
683
+ "project": {"type": "string"},
684
+ "profile_id": {"type": "string"},
685
+ "path": {"type": "string"},
686
+ },
687
+ "additionalProperties": False,
688
+ },
689
+ },
690
+ {
691
+ "name": "agent_devkit_team_profile_import",
692
+ "description": "Import a secret-free team profile into a project-local team profile file.",
693
+ "inputSchema": {
694
+ "type": "object",
695
+ "properties": {
696
+ "project": {"type": "string"},
697
+ "path": {"type": "string"},
698
+ },
699
+ "required": ["path"],
700
+ "additionalProperties": False,
701
+ },
702
+ },
703
+ {
704
+ "name": "agent_devkit_knowledge_doctor",
705
+ "description": "Run file-first knowledge base diagnostics for the current project.",
706
+ "inputSchema": {
707
+ "type": "object",
708
+ "properties": {"project": {"type": "string"}},
709
+ "additionalProperties": False,
710
+ },
711
+ },
712
+ {
713
+ "name": "agent_devkit_knowledge_init",
714
+ "description": "Initialize a file-first shared knowledge base in a project.",
715
+ "inputSchema": {
716
+ "type": "object",
717
+ "properties": {
718
+ "project": {"type": "string"},
719
+ "force": {"type": "boolean"},
720
+ },
721
+ "additionalProperties": False,
722
+ },
723
+ },
724
+ {
725
+ "name": "agent_devkit_knowledge_index",
726
+ "description": "Rebuild the local lexical index for a file-first knowledge base.",
727
+ "inputSchema": {
728
+ "type": "object",
729
+ "properties": {"project": {"type": "string"}},
730
+ "additionalProperties": False,
731
+ },
732
+ },
733
+ {
734
+ "name": "agent_devkit_knowledge_search",
735
+ "description": "Search the local file-first knowledge base lexical index.",
736
+ "inputSchema": {
737
+ "type": "object",
738
+ "properties": {
739
+ "project": {"type": "string"},
740
+ "query": {"type": "string"},
741
+ },
742
+ "required": ["query"],
743
+ "additionalProperties": False,
744
+ },
745
+ },
746
+ {
747
+ "name": "agent_devkit_knowledge_curate",
748
+ "description": "Run local curation checks over a file-first knowledge base.",
749
+ "inputSchema": {
750
+ "type": "object",
751
+ "properties": {"project": {"type": "string"}},
752
+ "additionalProperties": False,
753
+ },
754
+ },
755
+ {
756
+ "name": "agent_devkit_knowledge_sync",
757
+ "description": "Return the current local-only knowledge sync status.",
758
+ "inputSchema": {
759
+ "type": "object",
760
+ "properties": {"project": {"type": "string"}},
761
+ "additionalProperties": False,
762
+ },
763
+ },
764
+ {
765
+ "name": "agent_devkit_knowledge_snapshot_create",
766
+ "description": "Create a sanitized pending knowledge snapshot in a file-first knowledge base.",
767
+ "inputSchema": {
768
+ "type": "object",
769
+ "properties": {
770
+ "project": {"type": "string"},
771
+ "title": {"type": "string"},
772
+ "content": {"type": "string"},
773
+ "from_file": {"type": "string"},
774
+ "type": {"type": "string"},
775
+ },
776
+ "required": ["title"],
777
+ "additionalProperties": False,
778
+ },
779
+ },
780
+ {
781
+ "name": "agent_devkit_knowledge_snapshot_list",
782
+ "description": "List pending, accepted and rejected knowledge snapshots.",
783
+ "inputSchema": {
784
+ "type": "object",
785
+ "properties": {"project": {"type": "string"}},
786
+ "additionalProperties": False,
787
+ },
788
+ },
789
+ {
790
+ "name": "agent_devkit_knowledge_snapshot_show",
791
+ "description": "Show one knowledge snapshot content and metadata.",
792
+ "inputSchema": {
793
+ "type": "object",
794
+ "properties": {
795
+ "project": {"type": "string"},
796
+ "snapshot_id": {"type": "string"},
797
+ },
798
+ "required": ["snapshot_id"],
799
+ "additionalProperties": False,
800
+ },
801
+ },
802
+ {
803
+ "name": "agent_devkit_knowledge_snapshot_score",
804
+ "description": "Score a pending knowledge snapshot for usefulness, safety and duplication.",
805
+ "inputSchema": {
806
+ "type": "object",
807
+ "properties": {
808
+ "project": {"type": "string"},
809
+ "snapshot_id": {"type": "string"},
810
+ },
811
+ "required": ["snapshot_id"],
812
+ "additionalProperties": False,
813
+ },
814
+ },
815
+ {
816
+ "name": "agent_devkit_knowledge_snapshot_submit",
817
+ "description": "Submit a knowledge snapshot for owner review when it passes local score gates.",
818
+ "inputSchema": {
819
+ "type": "object",
820
+ "properties": {
821
+ "project": {"type": "string"},
822
+ "snapshot_id": {"type": "string"},
823
+ },
824
+ "required": ["snapshot_id"],
825
+ "additionalProperties": False,
826
+ },
827
+ },
828
+ {
829
+ "name": "agent_devkit_knowledge_review_list",
830
+ "description": "List knowledge snapshot reviews.",
831
+ "inputSchema": {
832
+ "type": "object",
833
+ "properties": {"project": {"type": "string"}},
834
+ "additionalProperties": False,
835
+ },
836
+ },
837
+ {
838
+ "name": "agent_devkit_knowledge_review",
839
+ "description": "Review one pending knowledge snapshot without publishing it.",
840
+ "inputSchema": {
841
+ "type": "object",
842
+ "properties": {
843
+ "project": {"type": "string"},
844
+ "snapshot_id": {"type": "string"},
845
+ },
846
+ "required": ["snapshot_id"],
847
+ "additionalProperties": False,
848
+ },
849
+ },
850
+ {
851
+ "name": "agent_devkit_knowledge_publish",
852
+ "description": "Publish an approved knowledge snapshot. Requires yes=true and the configured owner agent.",
853
+ "inputSchema": {
854
+ "type": "object",
855
+ "properties": {
856
+ "project": {"type": "string"},
857
+ "snapshot_id": {"type": "string"},
858
+ "yes": {"type": "boolean"},
859
+ "owner_agent": {"type": "string"},
860
+ },
861
+ "required": ["snapshot_id"],
862
+ "additionalProperties": False,
863
+ },
864
+ },
865
+ {
866
+ "name": "agent_devkit_knowledge_base_create",
867
+ "description": "Create a file-first knowledge base in a project directory with a canonical knowledge provider.",
868
+ "inputSchema": {
869
+ "type": "object",
870
+ "properties": {
871
+ "project": {"type": "string"},
872
+ "provider": {"type": "string"},
873
+ "force": {"type": "boolean"},
874
+ },
875
+ "additionalProperties": False,
876
+ },
877
+ },
878
+ {
879
+ "name": "agent_devkit_knowledge_base_join",
880
+ "description": "Create local config for joining an existing knowledge base id without remote sync.",
881
+ "inputSchema": {
882
+ "type": "object",
883
+ "properties": {
884
+ "project": {"type": "string"},
885
+ "kb_id": {"type": "string"},
886
+ "provider": {"type": "string"},
887
+ "force": {"type": "boolean"},
888
+ },
889
+ "required": ["kb_id"],
890
+ "additionalProperties": False,
891
+ },
892
+ },
893
+ {
894
+ "name": "agent_devkit_knowledge_base_status",
895
+ "description": "Inspect file-first knowledge base status for a project directory.",
896
+ "inputSchema": {
897
+ "type": "object",
898
+ "properties": {"project": {"type": "string"}},
899
+ "additionalProperties": False,
900
+ },
901
+ },
902
+ {
903
+ "name": "agent_devkit_knowledge_base_tokens",
904
+ "description": "List knowledge base token references without returning token values.",
905
+ "inputSchema": {
906
+ "type": "object",
907
+ "properties": {"project": {"type": "string"}},
908
+ "additionalProperties": False,
909
+ },
910
+ },
911
+ {
912
+ "name": "agent_devkit_knowledge_base_rotate_token",
913
+ "description": "Rotate a knowledge base token reference fingerprint without exposing token values.",
914
+ "inputSchema": {
915
+ "type": "object",
916
+ "properties": {
917
+ "project": {"type": "string"},
918
+ "scope": {"type": "string"},
919
+ },
920
+ "required": ["scope"],
921
+ "additionalProperties": False,
922
+ },
923
+ },
126
924
  {
127
925
  "name": "agent_devkit_roadmap",
128
926
  "description": "Return the deterministic Agent DevKit roadmap payload.",