Answer: Project-specific (local) agents go in .kiro/agents/ within the current workspace, while global (user-wide) agents go in ~/.kiro/agents/ in the HOME directory. Status: Confirmed Entry: tool/kiro/agents-and-automation/custom-agent-file-locations Revision: 1 Digest: sha256:7ef99630f1db3ce9 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:39:48Z Last changed: 2026-11-13T03:39:48Z Last verified: 2026-11-20T13:24:53Z Next check: 2026-11-21T13:24:53Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of Local agents (project-specific) location | .kiro/agents/ | [1] | 2026-11-20 Global agents (user-wide) location | ~/.kiro/agents/ | [1] | 2026-11-20 Local agent scope | specific to the current workspace | [1] | 2026-11-20 Global agent scope | available from any directory | [1] | 2026-11-20 Precedence | the local agent takes precedence | [1] | 2026-11-20 Sources: [1] Amazon Web Services. "Creating custom agents - Custom agents - Features - Docs - Kiro". https://kiro.dev/docs/custom-agents/creating/ Role: primary. Accessed: 2026-11-20T13:24:53Z Quote: "Local agents (project-specific) .kiro/agents/" (Supports: Local agents (project-specific) location) Quote: "Global agents (user-wide) ~/.kiro/agents/" (Supports: Global agents (user-wide) location) Quote: "Local agents are specific to the current workspace and only available when running Kiro from that directory or its subdirectories." (Supports: Local agent scope) Quote: "Global agents are available from any directory." (Supports: Global agent scope) Quote: "If both locations have agents with the same name, the local agent takes precedence with a warning message." (Supports: Precedence) Published: 2026-11-20T07:39:25Z Snapshot SHA-256: 9c9ddda6952ff16176d96c8058f4c814bbbf1c2aa2f9226312a927a0fa3b5d09 (captured 2026-11-20T13:24:54Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. Cross-check: not-available at 2026-11-20T13:24:53Z. No independent second source is configured for this entry Last successful check: 2026-11-20T13:24:53Z Last attempt: 2026-11-20T13:24:53Z Notes and limitations: Extracted automatically from a single official source (section "File locations"). Related: https://latestn.com/tool/kiro/agents-and-automation/custom-agent-file-uri-prompt How do I define a prompt for a Kiro custom agent using a file URI? https://latestn.com/tool/kiro/agents-and-automation/custom-agent-model-field How do I configure the model for a Kiro custom agent? https://latestn.com/tool/kiro/agents-and-automation/custom-agent-precedence How does Kiro decide which custom agent to use when multiple agents are defined? https://latestn.com/tool/kiro/agents-and-automation/create-two-step-recipe How do I create a two-step workflow recipe in Kiro? https://latestn.com/tool/kiro/agents-and-automation/cron-add-schedule How do I schedule a recurring task with kirocrew cron add in Kiro Crew? https://latestn.com/tool/kiro/agents-and-automation/custom-agent-examples What are some example custom agents I can set up in Kiro, like an AWS specialist or code review agent? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T03:39:48Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/kiro/agents-and-automation/custom-agent-file-locations/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/kiro/agents-and-automation/custom-agent-file-locations POST: https://latestn.com/dispute/tool/kiro/agents-and-automation/custom-agent-file-locations with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/kiro/agents-and-automation/custom-agent-file-locations?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). Where do I put the Kiro custom agent configuration file for a project-specific agent versus a global user-wide agent? Revision 1, last verified 2026-11-20T13:24:53Z. https://latestn.com/tool/kiro/agents-and-automation/custom-agent-file-locations (accessed 2026-11-21T10:04:42Z). @misc{LatestN_tool_kiro_agents_and_automation_custom_agent_file_locations_r1, title = {Where do I put the Kiro custom agent configuration file for a project-specific agent versus a global user-wide agent?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/kiro/agents-and-automation/custom-agent-file-locations}}, note = {Revision 1; digest sha256:7ef99630f1db3ce9; last verified 2026-11-20T13:24:53Z; accessed 2026-11-21T10:04:42Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/kiro/agents-and-automation/custom-agent-file-locations