Skip to content

Automate Duo Agent Platform setup in GDK

Problem Statement

When installing or re-installing GDK for Duo Agent Platform work, engineers need to follow a number of additional steps for local development setup. As more teams are utilizing Duo Agent Platform for agent development, this manual process has become a significant pain point.

Current manual steps required:

  • Run AI Gateway setup script (needs Anthropic key and Fireworks API key)
  • Run Duo setup rake script
  • Run gdk reconfigure
  • Create DAP onboarding for composite identity authentication
  • Configure runner for the project

Existing instructions can be found here.

Impact

Engineers spend time on repetitive setup tasks. Manual steps lead to configuration errors. Onboarding new developers takes longer than it should.

Proposal

Add Duo Agent Platform setup as an optional configuration during GDK installation. Automating this would significantly reduce onboarding time and eliminate common configuration errors.

This could work through configuration in gdk.yml (e.g., duo_agent_platform: enabled: true).

Note: Adding an interactive prompt during gdk install might be out of scope for now. It could be something for the future when we have a UI to determine which services to enable/disable in GDK.

Expected Outcome

  • Configuration setting to enable Duo Agent Platform setup
  • When enabled, gdk install or gdk reconfigure automatically:
    • Runs AI Gateway setup script with provided API keys (sets up gitlab-ai-gateway and duo-workflow-service)
    • Runs Duo setup rake script
    • Creates DAP onboarding for composite identity
    • Configures runner for the project
    • Seeds sample issues
    • Gets remote execution working
  • Documentation updated with the new setup option

Impacted categories

The following categories relate to this issue:

Edited by Nao Hashizume