The GitHub integration gives the Agent read-only access to a repository of your choice. The Agent can search across the codebase, read specific files, and ground its answers in what’s actually in your code — useful when you need to know whether something already exists, how it works today, or want a Plan that reflects reality instead of memory. Lane only reads. It never opens issues, PRs, or commits.Documentation Index
Fetch the complete documentation index at: https://docs.laneapp.co/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Once connected, the Agent can answer questions like:- “Is the new pricing tier already wired up in the codebase?”
- “How does our webhook handler work today?”
- “Find every place where we call the LemonSqueezy API.”
Configuration and Setup
To connect GitHub:- Click your workspace name in the top-left.
- Go to Settings → Integrations → GitHub.
- Click Connect.
- Authorize the Lane GitHub App and select which repositories it can access on GitHub.
- Back in Lane, pick a default Organization, Repository, and Branch — this becomes the Agent’s scope.
Permissions requested
The Lane GitHub App asks for two read-only permissions:- Contents: read — to read file contents.
- Metadata: read — to list branches and find files.
What the Agent can do
With GitHub connected, the Agent gains four read-only capabilities:| Capability | What it does |
|---|---|
| Search code | Find files by content across the repo. |
| Read file contents | Open a specific file at a path. |
| List branches | See all branches in the repo. |
| Search repositories | Find repos the Lane GitHub App has access to. |
Using the integration
You don’t need to switch any mode on. Once connected, just ask the Agent in any chat:- “Find where the priority score is calculated.”
- “Does this codebase handle Linear webhooks?”
- “Summarize what’s in
src/auth/and which files own session handling.”
Limits and good to know
- One repo at a time. The Agent works within the repo and branch you’ve set as default. You can change the default any time.
- Read-only. Lane will never open a PR, create an issue, or commit. For that, use Cursor — it can build from a Plan and open a PR for you.
- GitHub rate limits apply. If you hit them, code search will pause briefly until the bucket refills.
- Disconnecting. Disconnect from Settings → Integrations → GitHub, or remove the Lane GitHub App from your GitHub organization settings to revoke at the source.
Plan gating
Available on all plans.FAQs
Q: Can the Agent write to my repo?A: No. The integration is read-only — no commits, no PRs, no issues. Q: Can I connect more than one repository?
A: The Agent works against a single default repo and branch. Switch the default in Settings any time you need to look at a different repo. Q: Does it work on private repos?
A: Yes, as long as the Lane GitHub App has been granted access to that repo on GitHub. Q: What if I change branches frequently?
A: Update the default branch in Settings → Integrations → GitHub when you want the Agent to look somewhere new. Q: Who can see what the Agent finds in the repo?
A: Only people in your Lane workspace who have access to the chat or Plan where the code was referenced. The Agent doesn’t expose the repo more broadly than it already is in Lane.
