Add AI-assisted features architecture documentation for Workhorse

This merge request adds comprehensive documentation for the AI-assisted features architecture in GitLab, specifically focusing on how Workhorse enables Duo Chat and Duo Agent functionality.

Changes

  • Added detailed architecture overview explaining the relationship between GitLab Rails, Workhorse, Duo Workflow Service, and MCP Servers
  • Included high-level architecture diagram showing component interactions
  • Added request flow sequence diagram for AI interactions
  • Documented Workhorse request handling flow for executing HTTP actions and MCP tools
  • Explained restricted network environment support
  • Covered error handling and graceful shutdown procedures
  • Documented security considerations including authentication and authorization
  • Added references to related resources and merge requests

Documentation Structure

The document provides:

  1. Overview of AI-assisted features architecture
  2. Key components explanation
  3. Multiple architecture diagrams (Mermaid)
  4. Detailed request flow documentation
  5. Security and resilience considerations
  6. Related resources and references

Merge request reports

Loading