kiro-agent-team 1.0.0

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 (155) hide show
  1. package/.kiro/README.md +228 -0
  2. package/.kiro/agents/backend-engineer.json +6 -0
  3. package/.kiro/agents/backend-engineer.md +643 -0
  4. package/.kiro/agents/database-specialist.json +6 -0
  5. package/.kiro/agents/database-specialist.md +390 -0
  6. package/.kiro/agents/development-logger.json +6 -0
  7. package/.kiro/agents/development-logger.md +265 -0
  8. package/.kiro/agents/devops-engineer.json +6 -0
  9. package/.kiro/agents/devops-engineer.md +287 -0
  10. package/.kiro/agents/frontend-architect.json +6 -0
  11. package/.kiro/agents/frontend-architect.md +1032 -0
  12. package/.kiro/agents/hooks/backend-engineer-hooks.yaml +540 -0
  13. package/.kiro/agents/hooks/database-specialist-hooks.yaml +488 -0
  14. package/.kiro/agents/hooks/development-logger-hooks.yaml +361 -0
  15. package/.kiro/agents/hooks/devops-engineer-hooks.yaml +345 -0
  16. package/.kiro/agents/hooks/frontend-architect-hooks.yaml +521 -0
  17. package/.kiro/agents/hooks/project-manager-hooks.yaml +513 -0
  18. package/.kiro/agents/hooks/security-specialist-hooks.yaml +358 -0
  19. package/.kiro/agents/hooks/test-orchestrator-hooks.yaml +380 -0
  20. package/.kiro/agents/hooks/ui-ux-designer-hooks.yaml +353 -0
  21. package/.kiro/agents/project-manager.json +6 -0
  22. package/.kiro/agents/project-manager.md +344 -0
  23. package/.kiro/agents/prompts/backend-engineer-system.md +815 -0
  24. package/.kiro/agents/prompts/database-specialist-system.md +332 -0
  25. package/.kiro/agents/prompts/development-logger-system.md +232 -0
  26. package/.kiro/agents/prompts/devops-engineer-system.md +260 -0
  27. package/.kiro/agents/prompts/frontend-architect-system.md +305 -0
  28. package/.kiro/agents/prompts/project-manager-system.md +285 -0
  29. package/.kiro/agents/prompts/security-specialist-system.md +231 -0
  30. package/.kiro/agents/prompts/test-orchestrator-system.md +214 -0
  31. package/.kiro/agents/prompts/ui-ux-designer-system.md +270 -0
  32. package/.kiro/agents/security-specialist.json +6 -0
  33. package/.kiro/agents/security-specialist.md +277 -0
  34. package/.kiro/agents/test-orchestrator.json +6 -0
  35. package/.kiro/agents/test-orchestrator.md +266 -0
  36. package/.kiro/agents/ui-ux-designer.json +6 -0
  37. package/.kiro/agents/ui-ux-designer.md +284 -0
  38. package/.kiro/devlog/00-START-HERE.md +444 -0
  39. package/.kiro/devlog/COMPLETE-WORKFLOW.md +553 -0
  40. package/.kiro/devlog/DEVLOG-INTEGRATION.md +413 -0
  41. package/.kiro/devlog/DEVLOG-PROCESS-FLOWS.md +484 -0
  42. package/.kiro/devlog/DEVLOG-QUICK-REF.md +299 -0
  43. package/.kiro/devlog/DEVLOG.md +22 -0
  44. package/.kiro/devlog/IMPLEMENTATION-COMPLETE.txt +434 -0
  45. package/.kiro/devlog/IMPLEMENTATION-SUMMARY.md +358 -0
  46. package/.kiro/devlog/README.md +363 -0
  47. package/.kiro/devlog/devlog-update.bat +136 -0
  48. package/.kiro/devlog/devlog-update.sh +275 -0
  49. package/.kiro/devlog/feature-completion-hook.bat +78 -0
  50. package/.kiro/devlog/feature-completion-hook.sh +84 -0
  51. package/.kiro/documentation/cli.md +31 -0
  52. package/.kiro/documentation/docs_cli.md +41 -0
  53. package/.kiro/documentation/docs_cli_authentication.md +43 -0
  54. package/.kiro/documentation/docs_cli_autocomplete.md +132 -0
  55. package/.kiro/documentation/docs_cli_billing.md +31 -0
  56. package/.kiro/documentation/docs_cli_billing_contact-support.md +43 -0
  57. package/.kiro/documentation/docs_cli_billing_managing-taxes.md +67 -0
  58. package/.kiro/documentation/docs_cli_billing_related-questions.md +49 -0
  59. package/.kiro/documentation/docs_cli_billing_subscription-portal.md +31 -0
  60. package/.kiro/documentation/docs_cli_chat.md +84 -0
  61. package/.kiro/documentation/docs_cli_chat_configuration.md +40 -0
  62. package/.kiro/documentation/docs_cli_chat_context.md +258 -0
  63. package/.kiro/documentation/docs_cli_chat_git-aware-selection.md +41 -0
  64. package/.kiro/documentation/docs_cli_chat_images.md +53 -0
  65. package/.kiro/documentation/docs_cli_chat_manage-prompts.md +216 -0
  66. package/.kiro/documentation/docs_cli_chat_model-selection.md +153 -0
  67. package/.kiro/documentation/docs_cli_chat_permissions.md +68 -0
  68. package/.kiro/documentation/docs_cli_chat_planning-agent.md +230 -0
  69. package/.kiro/documentation/docs_cli_chat_responding.md +123 -0
  70. package/.kiro/documentation/docs_cli_chat_security.md +87 -0
  71. package/.kiro/documentation/docs_cli_chat_subagents.md +77 -0
  72. package/.kiro/documentation/docs_cli_code-intelligence.md +251 -0
  73. package/.kiro/documentation/docs_cli_custom-agents.md +37 -0
  74. package/.kiro/documentation/docs_cli_custom-agents_configuration-reference.md +941 -0
  75. package/.kiro/documentation/docs_cli_custom-agents_creating.md +93 -0
  76. package/.kiro/documentation/docs_cli_custom-agents_examples.md +360 -0
  77. package/.kiro/documentation/docs_cli_custom-agents_troubleshooting.md +180 -0
  78. package/.kiro/documentation/docs_cli_enterprise_billing.md +33 -0
  79. package/.kiro/documentation/docs_cli_enterprise_concepts.md +34 -0
  80. package/.kiro/documentation/docs_cli_enterprise_getting-started.md +19 -0
  81. package/.kiro/documentation/docs_cli_enterprise_iam.md +251 -0
  82. package/.kiro/documentation/docs_cli_enterprise_monitor-and-track.md +15 -0
  83. package/.kiro/documentation/docs_cli_enterprise_monitor-and-track_dashboard.md +62 -0
  84. package/.kiro/documentation/docs_cli_enterprise_monitor-and-track_prompt-logging.md +165 -0
  85. package/.kiro/documentation/docs_cli_enterprise_monitor-and-track_user-activity.md +123 -0
  86. package/.kiro/documentation/docs_cli_enterprise_settings.md +15 -0
  87. package/.kiro/documentation/docs_cli_enterprise_subscribe.md +36 -0
  88. package/.kiro/documentation/docs_cli_enterprise_subscription-management.md +55 -0
  89. package/.kiro/documentation/docs_cli_enterprise_supported-regions.md +39 -0
  90. package/.kiro/documentation/docs_cli_experimental.md +282 -0
  91. package/.kiro/documentation/docs_cli_experimental_checkpointing.md +439 -0
  92. package/.kiro/documentation/docs_cli_experimental_delegate.md +422 -0
  93. package/.kiro/documentation/docs_cli_experimental_knowledge-management.md +449 -0
  94. package/.kiro/documentation/docs_cli_experimental_tangent-mode.md +357 -0
  95. package/.kiro/documentation/docs_cli_experimental_thinking.md +331 -0
  96. package/.kiro/documentation/docs_cli_experimental_todo-lists.md +385 -0
  97. package/.kiro/documentation/docs_cli_hooks.md +207 -0
  98. package/.kiro/documentation/docs_cli_installation.md +235 -0
  99. package/.kiro/documentation/docs_cli_mcp.md +106 -0
  100. package/.kiro/documentation/docs_cli_mcp_configuration.md +294 -0
  101. package/.kiro/documentation/docs_cli_mcp_examples.md +273 -0
  102. package/.kiro/documentation/docs_cli_mcp_governance.md +436 -0
  103. package/.kiro/documentation/docs_cli_mcp_security.md +77 -0
  104. package/.kiro/documentation/docs_cli_migrating-from-q.md +129 -0
  105. package/.kiro/documentation/docs_cli_privacy-and-security.md +83 -0
  106. package/.kiro/documentation/docs_cli_privacy-and-security_compliance-validation.md +17 -0
  107. package/.kiro/documentation/docs_cli_privacy-and-security_data-protection.md +104 -0
  108. package/.kiro/documentation/docs_cli_privacy-and-security_firewalls.md +26 -0
  109. package/.kiro/documentation/docs_cli_privacy-and-security_infrastructure-security.md +10 -0
  110. package/.kiro/documentation/docs_cli_privacy-and-security_vpc-endpoints.md +41 -0
  111. package/.kiro/documentation/docs_cli_reference_built-in-tools.md +624 -0
  112. package/.kiro/documentation/docs_cli_reference_cli-commands.md +689 -0
  113. package/.kiro/documentation/docs_cli_reference_settings.md +294 -0
  114. package/.kiro/documentation/docs_cli_reference_slash-commands.md +559 -0
  115. package/.kiro/documentation/docs_cli_steering.md +84 -0
  116. package/.kiro/guides/AGENT_WORKFLOW_GUIDE.md +294 -0
  117. package/.kiro/guides/DEVLOG.md +882 -0
  118. package/.kiro/guides/IMPLEMENTATION_EXAMPLES.md +611 -0
  119. package/.kiro/guides/PIV Loop.md +122 -0
  120. package/.kiro/guides/PIV Loop.png +0 -0
  121. package/.kiro/guides/PIVLoop.png +0 -0
  122. package/.kiro/guides/QUICK_REFERENCE.md +202 -0
  123. package/.kiro/guides/README.md +149 -0
  124. package/.kiro/guides/advanced-patterns.md +514 -0
  125. package/.kiro/guides/agent-coordination.md +434 -0
  126. package/.kiro/guides/core-workflows.md +409 -0
  127. package/.kiro/guides/emergency-procedures.md +414 -0
  128. package/.kiro/guides/project-evaluation.md +534 -0
  129. package/.kiro/guides/quality-assurance.md +431 -0
  130. package/.kiro/guides/quick-start.md +235 -0
  131. package/.kiro/guides/troubleshooting.md +575 -0
  132. package/.kiro/guides/walkthroughs.md +711 -0
  133. package/.kiro/prompts/add-to-devlog.md +263 -0
  134. package/.kiro/prompts/code-review-fix.md +18 -0
  135. package/.kiro/prompts/code-review-hackathon.md +167 -0
  136. package/.kiro/prompts/code-review-security.md +454 -0
  137. package/.kiro/prompts/code-review.md +113 -0
  138. package/.kiro/prompts/create-prd.md +151 -0
  139. package/.kiro/prompts/execute-backend.md +257 -0
  140. package/.kiro/prompts/execute-frontend.md +438 -0
  141. package/.kiro/prompts/execute-logging.md +491 -0
  142. package/.kiro/prompts/execute-security.md +482 -0
  143. package/.kiro/prompts/execute-testing.md +528 -0
  144. package/.kiro/prompts/execute.md +101 -0
  145. package/.kiro/prompts/execution-report.md +72 -0
  146. package/.kiro/prompts/implement-fix.md +228 -0
  147. package/.kiro/prompts/plan-feature.md +433 -0
  148. package/.kiro/prompts/prime.md +73 -0
  149. package/.kiro/prompts/quality-metrics.md +622 -0
  150. package/.kiro/prompts/quickstart.md +318 -0
  151. package/.kiro/prompts/rca.md +220 -0
  152. package/.kiro/prompts/system-review.md +189 -0
  153. package/README.md +32 -0
  154. package/bin/cli.js +97 -0
  155. package/package.json +33 -0
@@ -0,0 +1,93 @@
1
+ # Creating custom agents
2
+ Custom agents allow you to tailor Kiro CLI behavior for specific tasks by defining which tools are available, what permissions are granted, and what context is automatically included.
3
+ ## Quick start[](https://kiro.dev/docs/cli/custom-agents/creating/#quick-start)
4
+ You can create an agent configuration using a slash command from within a Kiro CLI chat session. It will guide you through the process of configuring the agent:
5
+ ```
6
+
7
+ > /agent generate
8
+
9
+ ✔ Enter agent name: · backend-specialist
10
+ ✔ Enter agent description: · You are specialist in backend coding practices
11
+ ✔ Agent scope · Local (current workspace)
12
+ Select MCP servers (use Space to toggle, Enter to confirm): markdown-downloader (node), code-analysis (uv)
13
+
14
+ ✓ Agent 'backend-specialist' has been created and saved successfully!
15
+
16
+
17
+ ```
18
+
19
+ Alternatively, you can also use the CLI command to create a new custom agent:
20
+ bash
21
+ ```
22
+
23
+ kiro-cli agent create --name my-agent
24
+
25
+
26
+ ```
27
+
28
+ This will guide you through the setup process and create a configuration file at `~/.kiro/agents/my-agent.json`.
29
+ ## Agent configuration file[](https://kiro.dev/docs/cli/custom-agents/creating/#agent-configuration-file)
30
+ Custom agents are defined using JSON configuration files. Here's a basic example:
31
+ json
32
+ ```
33
+
34
+ {
35
+ "name": "my-agent",
36
+ "description": "A custom agent for my workflow",
37
+ "tools": ["read","write"],
38
+ "allowedTools": ["read"],
39
+ "resources": ["file://README.md", "file://.kiro/steering/**/*.md"],
40
+ "prompt": "You are a helpful coding assistant",
41
+ "model": "claude-sonnet-4"
42
+ }
43
+
44
+
45
+ ```
46
+
47
+ ## Using your custom agent[](https://kiro.dev/docs/cli/custom-agents/creating/#using-your-custom-agent)
48
+ Start a new chat session - which uses the default agent ("kiro_default") and swap to an agent using the agent slash command
49
+ bash
50
+ ```
51
+
52
+ > /agent swap
53
+
54
+ Choose one of the following agents
55
+ ❯ rust-developer-agent
56
+ kiro_default
57
+ backend-specialist
58
+
59
+
60
+ ```
61
+
62
+ After selecting an agent, you will see the following:
63
+ bash
64
+ ```
65
+
66
+ ✔ Choose one of the following agents · backend-specialist
67
+
68
+ [backend-specialist] >
69
+
70
+
71
+ ```
72
+
73
+ Alternatively, start a chat session with your custom agent:
74
+ bash
75
+ ```
76
+
77
+ kiro-cli --agent my-agent
78
+
79
+
80
+ ```
81
+
82
+ ## Next steps[](https://kiro.dev/docs/cli/custom-agents/creating/#next-steps)
83
+ * Explore [Agent Configuration](https://kiro.dev/docs/cli/custom-agents/configuration-reference) options in detail
84
+
85
+
86
+ Page updated: November 18, 2025
87
+ [Custom agents](https://kiro.dev/docs/cli/custom-agents/)
88
+ [Configuration reference](https://kiro.dev/docs/cli/custom-agents/configuration-reference/)
89
+ On this page
90
+ * [Quick start](https://kiro.dev/docs/cli/custom-agents/creating/#quick-start)
91
+ * [Agent configuration file](https://kiro.dev/docs/cli/custom-agents/creating/#agent-configuration-file)
92
+ * [Using your custom agent](https://kiro.dev/docs/cli/custom-agents/creating/#using-your-custom-agent)
93
+ * [Next steps](https://kiro.dev/docs/cli/custom-agents/creating/#next-steps)
@@ -0,0 +1,360 @@
1
+ # Agent Examples
2
+ This page provides practical examples of custom agents you can use as starting points for your own workflows.
3
+ ## AWS Specialist Agent[](https://kiro.dev/docs/cli/custom-agents/examples/#aws-specialist-agent)
4
+ This custom agent is optimized for AWS infrastructure management and development tasks. It provides pre-approved access to AWS tools while including relevant documentation.
5
+ json
6
+ ```
7
+
8
+ {
9
+ "name": "aws-specialist-agent",
10
+ "description": "Specialized custom agent for AWS infrastructure and development tasks",
11
+ "prompt": "You are an expert AWS infrastructure specialist with deep knowledge of cloud architecture and best practices",
12
+ "tools": [
13
+ "read",
14
+ "write",
15
+ "shell",
16
+ "aws"
17
+ ],
18
+ "allowedTools": [
19
+ "read",
20
+ "aws"
21
+ ],
22
+ "toolsSettings": {
23
+ "aws": {
24
+ "allowedServices": [
25
+ "s3",
26
+ "lambda",
27
+ "cloudformation",
28
+ "ec2",
29
+ "iam",
30
+ "logs"
31
+ ]
32
+ },
33
+ "write": {
34
+ "allowedPaths": [
35
+ "infrastructure/**",
36
+ "scripts/**",
37
+ "*.yaml",
38
+ "*.yml",
39
+ "*.json"
40
+ ]
41
+ }
42
+ },
43
+ "resources": [
44
+ "file://README.md",
45
+ "file://infrastructure/**/*.yaml",
46
+ "file://infrastructure/**/*.yml",
47
+ "file://docs/aws-setup.md",
48
+ "file://scripts/deploy.sh"
49
+ ],
50
+ "hooks": {
51
+ "agentSpawn": [
52
+ {
53
+ "command": "aws sts get-caller-identity",
54
+ "timeout_ms": 10000,
55
+ "cache_ttl_seconds": 300
56
+ }
57
+ ]
58
+ },
59
+ "model": "claude-sonnet-4"
60
+ }
61
+
62
+
63
+ ```
64
+
65
+ Use cases:
66
+ * Deploying CloudFormation stacks
67
+ * Managing S3 buckets and Lambda functions
68
+ * Troubleshooting AWS service issues
69
+ * Reviewing and updating infrastructure as code
70
+
71
+
72
+ ## Development Workflow Agent[](https://kiro.dev/docs/cli/custom-agents/examples/#development-workflow-agent)
73
+ This custom agent is designed for general software development tasks, including code review, testing, and Git operations.
74
+ json
75
+ ```
76
+
77
+ {
78
+ "name": "development-workflow-agent",
79
+ "description": "General development workflow custom agent with Git integration",
80
+ "prompt": "You are a software development assistant with expertise in Git workflows and code management",
81
+ "mcpServers": {
82
+ "git": {
83
+ "command": "git-mcp-server",
84
+ "args": [],
85
+ "timeout": 30000
86
+ }
87
+ },
88
+ "tools": [
89
+ "read",
90
+ "write",
91
+ "shell",
92
+ "@git"
93
+ ],
94
+ "allowedTools": [
95
+ "read",
96
+ "@git/git_status",
97
+ "@git/git_log",
98
+ "@git/git_diff"
99
+ ],
100
+ "toolAliases": {
101
+ "@git/git_status": "status",
102
+ "@git/git_log": "log",
103
+ "@git/git_diff": "diff"
104
+ },
105
+ "toolsSettings": {
106
+ "write": {
107
+ "allowedPaths": [
108
+ "src/**",
109
+ "tests/**",
110
+ "docs/**",
111
+ "*.md",
112
+ "*.json",
113
+ "package.json",
114
+ "requirements.txt"
115
+ ]
116
+ }
117
+ },
118
+ "resources": [
119
+ "file://README.md",
120
+ "file://CONTRIBUTING.md",
121
+ "file://docs/**/*.md",
122
+ "file://package.json",
123
+ "file://requirements.txt"
124
+ ],
125
+ "hooks": {
126
+ "agentSpawn": [
127
+ {
128
+ "command": "git status --porcelain",
129
+ "timeout_ms": 5000
130
+ },
131
+ {
132
+ "command": "git branch --show-current",
133
+ "timeout_ms": 3000
134
+ }
135
+ ]
136
+ }
137
+ }
138
+
139
+
140
+ ```
141
+
142
+ Use cases:
143
+ * Code review and analysis
144
+ * Writing and updating tests
145
+ * Git workflow management
146
+ * Documentation updates
147
+ * Dependency management
148
+
149
+
150
+ ## Code Review Agent[](https://kiro.dev/docs/cli/custom-agents/examples/#code-review-agent)
151
+ This custom agent focuses specifically on code review tasks, with tools and context optimized for analyzing code quality, security, and best practices.
152
+ json
153
+ ```
154
+
155
+ {
156
+ "name": "code-review-agent",
157
+ "description": "Specialized custom agent for code review and quality analysis",
158
+ "prompt": "You are a code review specialist focused on quality, security, and best practices",
159
+ "tools": [
160
+ "read",
161
+ "shell"
162
+ ],
163
+ "allowedTools": [
164
+ "read",
165
+ "shell"
166
+ ],
167
+ "toolsSettings": {
168
+ "shell": {
169
+ "allowedCommands": [
170
+ "grep",
171
+ "find",
172
+ "wc",
173
+ "head",
174
+ "tail",
175
+ "cat",
176
+ "diff",
177
+ "git diff",
178
+ "git log",
179
+ "eslint",
180
+ "pylint",
181
+ "rubocop"
182
+ ]
183
+ }
184
+ },
185
+ "resources": [
186
+ "file://CONTRIBUTING.md",
187
+ "file://docs/coding-standards.md",
188
+ "file://docs/security-guidelines.md",
189
+ "file://.eslintrc.json",
190
+ "file://.pylintrc",
191
+ "file://pyproject.toml"
192
+ ],
193
+ "hooks": {
194
+ "agentSpawn": [
195
+ {
196
+ "command": "git diff --name-only HEAD~1",
197
+ "timeout_ms": 5000,
198
+ "max_output_size": 2048
199
+ }
200
+ ],
201
+ "userPromptSubmit": [
202
+ {
203
+ "command": "find . -name '*.py' -o -name '*.js' -o -name '*.ts' | wc -l",
204
+ "timeout_ms": 3000,
205
+ "cache_ttl_seconds": 60
206
+ }
207
+ ]
208
+ }
209
+ }
210
+
211
+
212
+ ```
213
+
214
+ Use cases:
215
+ * Reviewing pull requests for code quality
216
+ * Identifying security vulnerabilities
217
+ * Checking adherence to coding standards
218
+ * Analyzing code complexity and maintainability
219
+ * Suggesting improvements and refactoring opportunities
220
+
221
+
222
+ ## Project-Specific Agent[](https://kiro.dev/docs/cli/custom-agents/examples/#project-specific-agent)
223
+ This example shows how to create a custom agent tailored to a specific project, including project-specific tools, documentation, and build processes.
224
+ json
225
+ ```
226
+
227
+ {
228
+ "name": "mobile-app-agent",
229
+ "description": "Custom agent for the mobile app backend project",
230
+ "prompt": "You are a backend development specialist for mobile applications with expertise in Docker and database management",
231
+ "mcpServers": {
232
+ "docker": {
233
+ "command": "docker-mcp-server",
234
+ "args": ["--socket", "/var/run/docker.sock"]
235
+ },
236
+ "database": {
237
+ "command": "postgres-mcp-server",
238
+ "args": ["--connection", "postgresql://localhost:5432/myapp"],
239
+ "env": {
240
+ "PGPASSWORD": "$DATABASE_PASSWORD"
241
+ }
242
+ }
243
+ },
244
+ "tools": [
245
+ "read",
246
+ "write",
247
+ "shell",
248
+ "@docker",
249
+ "@database"
250
+ ],
251
+ "allowedTools": [
252
+ "read",
253
+ "@docker/docker_ps",
254
+ "@docker/docker_logs",
255
+ "@database/query_read_only"
256
+ ],
257
+ "toolAliases": {
258
+ "@docker/docker_ps": "containers",
259
+ "@docker/docker_logs": "logs",
260
+ "@database/query_read_only": "query"
261
+ },
262
+ "toolsSettings": {
263
+ "write": {
264
+ "allowedPaths": [
265
+ "src/**",
266
+ "tests/**",
267
+ "migrations/**",
268
+ "docker-compose.yml",
269
+ "Dockerfile",
270
+ "requirements.txt"
271
+ ]
272
+ },
273
+ "shell": {
274
+ "allowedCommands": [
275
+ "npm test",
276
+ "npm run build",
277
+ "python manage.py test",
278
+ "docker-compose up",
279
+ "docker-compose down"
280
+ ]
281
+ }
282
+ },
283
+ "resources": [
284
+ "file://README.md",
285
+ "file://docs/api-documentation.md",
286
+ "file://docs/database-schema.md",
287
+ "file://docker-compose.yml",
288
+ "file://requirements.txt",
289
+ "file://src/config/settings.py"
290
+ ],
291
+ "hooks": {
292
+ "agentSpawn": [
293
+ {
294
+ "command": "docker-compose ps",
295
+ "timeout_ms": 10000,
296
+ "cache_ttl_seconds": 30
297
+ },
298
+ {
299
+ "command": "git status --porcelain",
300
+ "timeout_ms": 5000
301
+ }
302
+ ]
303
+ }
304
+ }
305
+
306
+
307
+ ```
308
+
309
+ Use cases:
310
+ * Managing Docker containers and services
311
+ * Running database queries and migrations
312
+ * Building and testing the application
313
+ * Debugging production issues
314
+ * Updating API documentation
315
+
316
+
317
+ ## Tips for Creating Effective Custom Agents[](https://kiro.dev/docs/cli/custom-agents/examples/#tips-for-creating-effective-custom-agents)
318
+ * **Start simple** - Begin with basic tool configurations and add complexity as needed
319
+ * **Use descriptive names** - Choose custom agent names that clearly indicate their purpose
320
+ * **Include relevant context** - Add project documentation and configuration files to resources
321
+ * **Pre-approve safe tools** - Include frequently used, low-risk tools in allowedTools
322
+ * **Use hooks for dynamic context** - Include current system state through command hooks
323
+ * **Limit tool scope** - Use toolsSettings to restrict tool access to relevant paths and services
324
+ * **Test thoroughly** - Verify that your custom agent configuration works as expected
325
+ * **Document your custom agents** - Use clear descriptions to help team members understand custom agent purposes
326
+
327
+
328
+ ## Remote MCP Server Integration[](https://kiro.dev/docs/cli/custom-agents/examples/#remote-mcp-server-integration)
329
+ This example shows an agent configured to use a remote MCP server:
330
+ json
331
+ ```
332
+
333
+ {
334
+ "name": "domain-finder",
335
+ "description": "Agent with access to domain search capabilities",
336
+ "prompt": "You help users find and research domain names using the find-a-domain service.",
337
+ "mcpServers": {
338
+ "find-a-domain": {
339
+ "type": "http",
340
+ "url": "https://api.findadomain.dev/mcp"
341
+ }
342
+ },
343
+ "tools": ["@find-a-domain"],
344
+ "allowedTools": ["@find-a-domain"]
345
+ }
346
+
347
+
348
+ ```
349
+
350
+ This agent provides access to domain search tools through a remote MCP server. If the server requires OAuth authentication, use the `/mcp` command to authenticate when prompted.
351
+ Page updated: November 18, 2025
352
+ [Configuration reference](https://kiro.dev/docs/cli/custom-agents/configuration-reference/)
353
+ [Troubleshooting](https://kiro.dev/docs/cli/custom-agents/troubleshooting/)
354
+ On this page
355
+ * [AWS Specialist Agent](https://kiro.dev/docs/cli/custom-agents/examples/#aws-specialist-agent)
356
+ * [Development Workflow Agent](https://kiro.dev/docs/cli/custom-agents/examples/#development-workflow-agent)
357
+ * [Code Review Agent](https://kiro.dev/docs/cli/custom-agents/examples/#code-review-agent)
358
+ * [Project-Specific Agent](https://kiro.dev/docs/cli/custom-agents/examples/#project-specific-agent)
359
+ * [Tips for Creating Effective Custom Agents](https://kiro.dev/docs/cli/custom-agents/examples/#tips-for-creating-effective-custom-agents)
360
+ * [Remote MCP Server Integration](https://kiro.dev/docs/cli/custom-agents/examples/#remote-mcp-server-integration)
@@ -0,0 +1,180 @@
1
+ # Troubleshooting custom agents
2
+ ## Overview[](https://kiro.dev/docs/cli/custom-agents/troubleshooting/#overview)
3
+ This guide helps you diagnose and resolve common issues when creating and using custom agents in Kiro CLI.
4
+ ### Configuration errors[](https://kiro.dev/docs/cli/custom-agents/troubleshooting/#configuration-errors)
5
+ #### Invalid JSON syntax[](https://kiro.dev/docs/cli/custom-agents/troubleshooting/#invalid-json-syntax)
6
+ **Problem** : Custom agent fails to load with JSON parsing errors.
7
+ **Symptoms** :
8
+ * Error messages mentioning "invalid JSON" or "syntax error"
9
+ * Custom agent not appearing in /agent list
10
+ * Fallback to default agent behavior
11
+
12
+
13
+ **Solutions** :
14
+ * Validate your JSON using a JSON validator or linter
15
+ * Check for common JSON errors:
16
+ * Missing commas between array elements or object properties
17
+ * Trailing commas after the last element
18
+ * Unmatched brackets or braces
19
+ * Unescaped quotes in string values
20
+ * Use `/agent schema` to verify your configuration structure
21
+
22
+
23
+ #### Schema validation errors[](https://kiro.dev/docs/cli/custom-agents/troubleshooting/#schema-validation-errors)
24
+ **Problem** : Custom agent configuration doesn't match the expected schema.
25
+ **Symptoms** :
26
+ * Warnings about unknown configuration fields
27
+ * Custom agent behavior not matching configuration
28
+ * Missing required fields errors
29
+
30
+
31
+ **Solutions** :
32
+ * Compare your configuration against the schema using /agent schema
33
+ * Check field names for typos (e.g., allowedTools vs allowedTool)
34
+ * Verify data types match schema requirements (arrays vs strings, booleans vs strings)
35
+
36
+
37
+ ### Custom agent loading issues[](https://kiro.dev/docs/cli/custom-agents/troubleshooting/#custom-agent-loading-issues)
38
+ #### Custom agent not found[](https://kiro.dev/docs/cli/custom-agents/troubleshooting/#custom-agent-not-found)
39
+ **Problem** : Custom agent doesn't appear in the list or can't be used.
40
+ **Symptoms** :
41
+ * `/agent list` doesn't show your custom agent
42
+ * Fallback to default agent without warning
43
+
44
+
45
+ **Solutions** :
46
+ * Verify the custom agent file is in the correct location:
47
+ * Global: `~/.kiro/agents/[name].json`
48
+ * Workspace: `.kiro/agents/[name].json`
49
+ * Check file permissions - ensure the file is readable
50
+ * Verify the filename matches the custom agent name you're trying to use
51
+ * Ensure the file has a .json extension
52
+
53
+
54
+ #### Wrong custom agent version loading[](https://kiro.dev/docs/cli/custom-agents/troubleshooting/#wrong-custom-agent-version-loading)
55
+ **Problem** : A different version of your custom agent is loading than expected.
56
+ **Symptoms** :
57
+ * Custom agent behavior doesn't match your recent configuration changes
58
+ * Warning message about custom agent conflicts
59
+ * Unexpected tool availability or permissions
60
+
61
+
62
+ **Solutions** :
63
+ * Check for custom agent name conflicts between local and global directories
64
+ * Remember that local custom agents take precedence over global custom agents
65
+ * Use /agent list to see which version is being loaded
66
+ * Remove or rename conflicting custom agent files if necessary
67
+
68
+
69
+ ### Tool permission problems[](https://kiro.dev/docs/cli/custom-agents/troubleshooting/#tool-permission-problems)
70
+ ### Tool not available[](https://kiro.dev/docs/cli/custom-agents/troubleshooting/#tool-not-available)
71
+ **Problem** : Custom agent can't access a tool you've configured.
72
+ **Symptoms** :
73
+ * Error messages about unknown or unavailable tools
74
+ * Custom agent asking for permission for tools in allowedTools
75
+ * MCP server tools not working
76
+
77
+
78
+ **Solutions** :
79
+ * Verify tool names are spelled correctly in the tools array
80
+ * For MCP tools, ensure the server is properly configured in mcpServers
81
+ * Check that MCP servers are running and accessible
82
+ * Use correct syntax for MCP tools: @server_name/tool_name
83
+ * Verify built-in tool names against the built-in tools documentation
84
+
85
+
86
+ #### /tools command returns empty list[](https://kiro.dev/docs/cli/custom-agents/troubleshooting/#tools-command-returns-empty-list)
87
+ **Problem** : The /tools command shows no available tools or fewer tools than expected.
88
+ **Symptoms** :
89
+ * `/tools` returns an empty list
90
+ * Expected tools are missing from the tools list
91
+ * Custom agent appears to have no capabilities
92
+
93
+
94
+ **Common causes** :
95
+ * Empty tools array in the custom agent configuration
96
+ * Typos in tool names within the tools array
97
+ * Incorrect MCP server tool names (missing server prefix)
98
+ * MCP server configuration issues preventing tool loading
99
+
100
+
101
+ **Solutions** :
102
+ * Check that your custom agent configuration includes a tools array with valid tool names
103
+ * Verify tool names are spelled correctly (case-sensitive)
104
+ * For MCP tools, ensure you're using the correct server-prefixed format: `@server-name___tool-name`
105
+ * Test with the default agent to confirm tools are available `/tools`
106
+ * Check MCP server status if using external tools
107
+
108
+
109
+ #### Unexpected permission prompts[](https://kiro.dev/docs/cli/custom-agents/troubleshooting/#unexpected-permission-prompts)
110
+ **Problem** : Custom agent prompts for permission for tools you thought were pre-approved.
111
+ **Symptoms** :
112
+ * Permission prompts for tools listed in `allowedTools`
113
+ * Workflow interruptions despite custom agent configuration
114
+
115
+
116
+ **Solutions** :
117
+ * Ensure tools are listed in both tools and allowedTools arrays
118
+ * Check for typos in tool names between the two arrays
119
+ * For MCP tools, use the full server-prefixed name in`allowedTools`
120
+ * Verify that toolAliases are correctly applied
121
+
122
+
123
+ ### Debugging custom agent behavior[](https://kiro.dev/docs/cli/custom-agents/troubleshooting/#debugging-custom-agent-behavior)
124
+ #### Missing context or resources[](https://kiro.dev/docs/cli/custom-agents/troubleshooting/#missing-context-or-resources)
125
+ **Problem** : Custom agent doesn't seem to have access to expected files or context.
126
+ **Solutions** :
127
+ * Verify file paths in the resources array are correct and files exist
128
+ * Check that glob patterns in resources are matching the intended files
129
+ * Ensure hook commands are executing successfully and producing output
130
+ * Test hook commands manually to verify they work in your environment
131
+ * Check hook timeout settings if commands are being cut off
132
+
133
+
134
+ #### MCP server issues[](https://kiro.dev/docs/cli/custom-agents/troubleshooting/#mcp-server-issues)
135
+ **Problem** : MCP servers aren't working or tools aren't available.
136
+ **Solutions** :
137
+ * Verify MCP server commands are correct and executables are in your PATH
138
+ * Check that required environment variables are set
139
+ * Test MCP servers independently to ensure they're working
140
+ * Review MCP server logs for error messages
141
+ * Increase timeout values if servers are slow to start
142
+
143
+
144
+ #### Testing custom agent configurations[](https://kiro.dev/docs/cli/custom-agents/troubleshooting/#testing-custom-agent-configurations)
145
+ To systematically test your custom agent configuration:
146
+ * Validate JSON syntax using a JSON validator
147
+ * Check configuration against schema using /agent schema
148
+ * Test custom agent loading with `/agent list`
149
+ * Switch to the custom agent with `/agent swap [name]`
150
+ * Test each tool individually to verify access and permissions
151
+ * Verify that resources and hooks are providing expected context
152
+ * Test common workflows to ensure the custom agent behaves as expected
153
+
154
+
155
+ ## Next steps[](https://kiro.dev/docs/cli/custom-agents/troubleshooting/#next-steps)
156
+ * Review the [Configuration reference](https://kiro.dev/docs/cli/custom-agents/configuration-reference) for detailed options
157
+ * Check [Examples](https://kiro.dev/docs/cli/custom-agents/examples) for working configurations
158
+ * Learn about [Creating custom agents](https://kiro.dev/docs/cli/custom-agents/creating)
159
+
160
+
161
+ Page updated: November 16, 2025
162
+ [Examples](https://kiro.dev/docs/cli/custom-agents/examples/)
163
+ [MCP](https://kiro.dev/docs/cli/mcp/)
164
+ On this page
165
+ * [Overview](https://kiro.dev/docs/cli/custom-agents/troubleshooting/#overview)
166
+ * [Configuration errors](https://kiro.dev/docs/cli/custom-agents/troubleshooting/#configuration-errors)
167
+ * [Invalid JSON syntax](https://kiro.dev/docs/cli/custom-agents/troubleshooting/#invalid-json-syntax)
168
+ * [Schema validation errors](https://kiro.dev/docs/cli/custom-agents/troubleshooting/#schema-validation-errors)
169
+ * [Custom agent loading issues](https://kiro.dev/docs/cli/custom-agents/troubleshooting/#custom-agent-loading-issues)
170
+ * [Custom agent not found](https://kiro.dev/docs/cli/custom-agents/troubleshooting/#custom-agent-not-found)
171
+ * [Wrong custom agent version loading](https://kiro.dev/docs/cli/custom-agents/troubleshooting/#wrong-custom-agent-version-loading)
172
+ * [Tool permission problems](https://kiro.dev/docs/cli/custom-agents/troubleshooting/#tool-permission-problems)
173
+ * [Tool not available](https://kiro.dev/docs/cli/custom-agents/troubleshooting/#tool-not-available)
174
+ * [/tools command returns empty list](https://kiro.dev/docs/cli/custom-agents/troubleshooting/#tools-command-returns-empty-list)
175
+ * [Unexpected permission prompts](https://kiro.dev/docs/cli/custom-agents/troubleshooting/#unexpected-permission-prompts)
176
+ * [Debugging custom agent behavior](https://kiro.dev/docs/cli/custom-agents/troubleshooting/#debugging-custom-agent-behavior)
177
+ * [Missing context or resources](https://kiro.dev/docs/cli/custom-agents/troubleshooting/#missing-context-or-resources)
178
+ * [MCP server issues](https://kiro.dev/docs/cli/custom-agents/troubleshooting/#mcp-server-issues)
179
+ * [Testing custom agent configurations](https://kiro.dev/docs/cli/custom-agents/troubleshooting/#testing-custom-agent-configurations)
180
+ * [Next steps](https://kiro.dev/docs/cli/custom-agents/troubleshooting/#next-steps)
@@ -0,0 +1,33 @@
1
+ # Enterprise billing
2
+ When you subscribe your team to Kiro, you can choose from the following service tiers: **Kiro Pro** , **Kiro Pro+** , and **Kiro Power**. Depending on usage patterns, higher level tiers will give users more credits to use with Kiro.
3
+ Credits are consumed fractionally based on each request. Simple edits and shorter prompts will use fewer credits than complex, lengthy tasks. This means that fractional credits will give you more value from your credit allocation.
4
+ ## Tier comparison[](https://kiro.dev/docs/cli/enterprise/billing/#tier-comparison)
5
+ Tier | Credits | Overage
6
+ ---|---|---
7
+ Pro | 1,000 | Opt-in
8
+ Pro+ | 2,000 | Opt-in
9
+ Power | 10,000 | Opt-in
10
+ You are billed monthly for each user that you subscribe to Kiro. For more information, see [Kiro pricing](https://kiro.dev/pricing/).
11
+ ## I've subscribed a user twice. Will I be double-billed?[](https://kiro.dev/docs/cli/enterprise/billing/#ive-subscribed-a-user-twice-will-i-be-double-billed)
12
+ It depends.
13
+ If a user is subscribed twice _under the same Kiro profile_ (for example, in two different groups), then you will _not_ be charged twice. Instead, you will pay the subscription price of the highest tier assigned to the user. Example: If Alice is subscribed at the Pro tier in group A, and the Pro+ tier in group B, then you will pay the Pro+ tier price for Alice.
14
+ If a user is subscribed twice under _different Kiro profiles_ (for example, in two different AWS Regions), then you will be charged twice. Example: If Bob is subscribed in Profile A in Europe (Frankfurt) and Profile B in US East (N. Virginia), then you will be charged twice for Bob.
15
+ ## Proration considerations[](https://kiro.dev/docs/cli/enterprise/billing/#proration-considerations)
16
+ * If you **unsubscribe** a user mid-month, you will pay for the last month in full. The cancellation takes effect at the beginning of the following month.
17
+ * If you **upgrade** a subscription mid-month, you will be refunded for the lower-tier subscription, and you will be charged in full for the higher-tier subscription.
18
+ * If you **downgrade** a subscription mid-month, you will pay in full for the higher-tier subscription, and you will be charged for the lower-tier subscription starting the following month.
19
+
20
+
21
+ ## Viewing your bill[](https://kiro.dev/docs/cli/enterprise/billing/#viewing-your-bill)
22
+ * You can view your bill in the AWS console's Billing and Cost Management service. The Kiro expenses are listed on the **Charges by service** tab, under **Kiro**. For more information about the Billing and Cost Management service, see [What is AWS Billing and Cost Management?](https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/billing-what-is.html) in the _AWS Billing User Guide_.
23
+ * You can identify the cost of Kiro subscriptions for specific users with resource IDs through AWS Billing and Cost Management. To do so, in the Billing and Cost Management console, under [Data Exports](https://console.aws.amazon.com/costmanagement/home#/bcm-data-exports), create either a standard data export or a legacy CUR export with the **Include resource IDs** option selected. To learn more, refer to [Creating data exports](https://docs.aws.amazon.com/cur/latest/userguide/dataexports-create.html?icmpid=docs_costmanagement_hp-dataexports-export-type) in the _AWS Data Exports User Guide_.
24
+
25
+
26
+ Page updated: November 16, 2025
27
+ [Settings](https://kiro.dev/docs/cli/enterprise/settings/)
28
+ [IAM](https://kiro.dev/docs/cli/enterprise/iam/)
29
+ On this page
30
+ * [Tier comparison](https://kiro.dev/docs/cli/enterprise/billing/#tier-comparison)
31
+ * [I've subscribed a user twice. Will I be double-billed?](https://kiro.dev/docs/cli/enterprise/billing/#ive-subscribed-a-user-twice-will-i-be-double-billed)
32
+ * [Proration considerations](https://kiro.dev/docs/cli/enterprise/billing/#proration-considerations)
33
+ * [Viewing your bill](https://kiro.dev/docs/cli/enterprise/billing/#viewing-your-bill)