This is the “team” page for Agents, intended to be read by internal teammates working on agents.

For user installation docs, see Sourcegraph Agents (EAP).

Background

We announced “AI Agents” on January 29th as part of our Sourcegraph 6.0 release

https://sourcegraph.com/blog/introducing-enterprise-ai-agents

The scope of this Notion page is to aggregate various internal docs on Agents in one place.

Exploratory notes

Quinn wrote the following notes during the early phases of Agents

Agent API notes

Running Agents locally

First, read the customer-facing installation docs Sourcegraph Agents (EAP). This section describes the additional steps you need to make the installed GitHub App work with your locally running https://sourcegraph.test:3443 instance.

brew install ngrok
ngrok config add-authtoken YOUR_NGROK_TOKEN
ngrok http --url=YOUR_DOMAIN.ngrok-free.app --host-header=rewrite <https://sourcegraph.test:3443>

CleanShot 2025-04-02 at 11.42.21.png

<aside> ⚠️

The externalURL setting resets regularly to sourcegraph.test:3443. You will have to update site-admin site config every time you create a new app.

</aside>