Devin Desktop
Verified Code examples on this page have been automatically tested and verified.
Configure Devin Desktop AI code editor to use agentgateway
Configure Devin Desktop, the AI-powered code editor from Cognition (formerly Windsurf), to route requests to your LLM through your agentgateway proxy.
Before you begin
- Install the
agentgatewaybinary. - Install Devin Desktop.
Example agentgateway configuration
cat > /tmp/test-devin.yaml << 'EOF'
# yaml-language-server: $schema=https://agentgateway.dev/schema/config
llm:
port: 3000
models:
- name: "*"
provider: openAI
params:
apiKey: "$OPENAI_API_KEY"
EOF
Configure Devin Desktop
Configure Devin Desktop to route LLM requests through agentgateway. For more information, review the Devin Desktop documentation.
-
Open Devin Desktop Settings.
- macOS:
Cmd + ,or Devin Desktop > Settings - Windows/Linux:
Ctrl + ,or File > Preferences > Settings
- macOS:
-
Search for Http: Proxy.
-
Enter your agentgateway URL.
http://localhost:3000 -
Save the settings.
Verify the connection
- Open the Devin Desktop chat panel.
- Send a message such as “test”.
- Devin Desktop responds through your agentgateway backend.