SOLFIND
Web Lens
Portal home

Customize GitLab Duo Agent Platform | GitLab Docs

https://docs.gitlab.com/user/duo_agent_platform/customize/ • 33 KB fetched
Open original page


Customize GitLab Duo Agent Platform | GitLab Docs Skip to main content Go to GitLab Docs homepage What's new? What's new? Get free trial Toggle menu * Use GitLab * GitLab Duo * GitLab Orbit * Extend * Install * Administer * Subscribe * Contribute * Solutions GitLab Duo Agent Platform Getting started Tutorials Availability Agentic Chat AI Catalog Agents Flows Sessions Customization Custom rules AGENTS.md Agent Skills Custom review instructions Code Suggestions Models Contextual awareness Composite identity Authentication Security threats Model Context Protocol Semantic code search Troubleshooting GitLab Duo Non-Agentic Data usage * GitLab Docs / * GitLab Duo / * GitLab Duo Agent Platfor… / * Customization Help us learn about your current experience with the documentation. Take the survey . Customize GitLab Duo Agent Platform You can customize the Agent Platform to match your workflow, coding standards, or project requirements. Customization options Method AI features 1 Use cases Supported in Use custom rules to provide instructions. - GitLab Duo Chat - Agents - Flows, excluding Code Review Flow - Apply personal preferences. - Enforce team standards. - GitLab UI - Editor extensions - GitLab Duo CLI Create an AGENTS.md file to provide instructions. - GitLab Duo Chat - Flows, excluding Code Review Flow - Account for project-specific context. - Organize a monorepo. - Enforce directory-specific conventions. - GitLab UI - Editor extensions - GitLab Duo CLI - Non-GitLab AI coding tools Create MR review instructions to ensure consistent and specific code review standards in your project. - Code Review Flow Apply: - Language-specific review rules. - Security standards. - Code quality requirements. - File-specific guidelines. - GitLab UI Create Agent Skills to provide skills. - GitLab Duo Chat - Flows, excluding Code Review Flow - Provide shareable skills - Add custom slash commands - GitLab UI - Editor extensions - GitLab Duo CLI - Non-GitLab AI coding tools Footnotes : * Support varies by where you use these features. For more information, see the documentation for each customization method. Best practices When you customize the Agent Platform, apply the following best practices: * Start with minimal, clear, and simple instructions, and add more as needed. Keep the instruction file as short as possible. * Make sure the instructions are specific and actionable. Provide examples as needed. * Choose the method that matches your use case. * Combine multiple methods to tailor and control how GitLab Duo behaves. * If you use multiple methods, consider the following file structure for your project: Project root directory |─ AGENTS.md # Applies to multiple Duo features |- skills/<skill-name>/ |─ SKILL.md # Applies to multiple Duo features |─ .gitlab/duo/ |─ chat-rules.md # Custom Chat-specific rules |─ mr-review-instructions.yaml # Custom code review standards |─ ... # Other configuration as needed You can include other configuration files in the .gitlab/duo/ folder, such as custom flow definitions , or an MCP server configuration file. * Document your choices in comments to explain why certain instructions exist. * Protect customization files with Code Owners to manage changes. Related topics * Hooks for GitLab Duo CLI * Customization options * Best practices * Related topics * Facebook * LinkedIn * Twitter * YouTube Company * About GitLab * View pricing * Try GitLab for free Feedback * View page source * Edit in Web IDE * Contribute to GitLab * Suggest updates Help & Community * Get certified * Get support * Post on the GitLab forum Resources * Terms * Privacy statement * Use of generative AI * Acceptable use of user licenses *

Links found on this page

  1. Skip to main content [direct]
  2. Go to GitLab Docs homepage [direct]
  3. What's new? [direct]
  4. Get free trial [direct]
  5. Use GitLab [direct]
  6. GitLab Duo [direct]
  7. GitLab Orbit [direct]
  8. Extend [direct]
  9. Install [direct]
  10. Administer [direct]
  11. Subscribe [direct]
  12. Contribute [direct]
  13. Solutions [direct]
  14. GitLab Duo Agent Platform [direct]
  15. Getting started [direct]
  16. Tutorials [direct]
  17. Availability [direct]
  18. Agentic Chat [direct]
  19. AI Catalog [direct]
  20. Agents [direct]
  21. Flows [direct]
  22. Sessions [direct]
  23. Custom rules [direct]
  24. AGENTS.md [direct]
  25. Agent Skills [direct]
  26. Custom review instructions [direct]
  27. Code Suggestions [direct]
  28. Models [direct]
  29. Contextual awareness [direct]
  30. Composite identity [direct]
  31. Authentication [direct]
  32. Security threats [direct]
  33. Model Context Protocol [direct]
  34. Semantic code search [direct]
  35. Troubleshooting [direct]
  36. GitLab Duo Non-Agentic [direct]
  37. Data usage [direct]
  38. Take the survey [direct]
  39. custom flow definitions [direct]
  40. MCP server configuration [direct]
  41. Code Owners [direct]
  42. Hooks for GitLab Duo CLI [direct]
  43. Facebook [direct]
  44. LinkedIn [direct]
  45. Twitter [direct]
  46. YouTube [direct]
  47. About GitLab [direct]
  48. View pricing [direct]
  49. Try GitLab for free [direct]
  50. View page source [direct]
  51. Edit in Web IDE [direct]
  52. Contribute to GitLab [direct]
  53. Suggest updates [direct]
  54. Get certified [direct]
  55. Get support [direct]
  56. Post on the GitLab forum [direct]
  57. Terms [direct]
  58. Privacy statement [direct]
  59. Use of generative AI [direct]
  60. Acceptable use of user licenses [direct]