Code Intelligence
Code Intelligence gives Linear controlled access to your connected GitHub repositories, so teams can ask questions about how the product actually works without leaving Linear.

Code Intelligence is available in beta for Business and Enterprise plans, and is free to use during the beta period. We’ll share more about pricing as the feature evolves.
Once enabled, your code becomes shared product context inside Linear. Linear can analyze relevant repositories and return grounded answers with links to the files, commits, or pull requests behind them.
This helps Product write sharper specs, Support and Sales answer technical questions with more confidence, and Engineering investigate bugs, regressions, and unfamiliar parts of the system faster.
Ask Linear:
How does the authentication system work?
Who wrote the payment processing logic?
When was the search feature added?
Because this requires deeper analysis of your codebase, responses may take longer than replies based only on workspace data.
Setup
To set up Code Intelligence, a Linear workspace owner or admin should:
- Connect the GitHub integration: If not already enabled, install the GitHub integration for your workspace, with code access enabled to allow Linear to read your repositories.
- Enable Code Intelligence: To configure Code Intelligence, go to Settings > AI & Agents > Code Intelligence.

Once enabled, teams can use Code Intelligence to understand implementation details, find where functionality lives, identify architectural patterns, trace when something was added, see who contributed to specific parts of the codebase, and assess what constraints or dependencies might affect a plan or customer request.
Code Intelligence is not available to guest users. Only members, admins, and workspace owners can use Code Intelligence.
Repository access
By default, Code Intelligence only searches repositories that are:
- connected through your GitHub integration, and
- accessible to the member
Workspace admins or owners can also choose which repositories are available for Code Intelligence. This lets you expose only the repositories you want Linear Agent to analyze, rather than making all connected repositories available.
Repository access is permission-aware by default. If someone can’t access a repository in GitHub, Code Intelligence won’t use it for them.
Extending access to all members
Admins can enable Extend access to all members to let anyone in the workspace use Code Intelligence, even if they don’t have direct GitHub access. Once enabled, admins can scope that access to all repositories or only selected repositories.
This makes technical product context available to teams like Support, Sales, and Product without requiring direct repository access or pulling an engineer in for every question.

Agent guidance
You can provide Linear Agent guidance to shape how this analysis works in your workspace.
This is useful for specifying repository conventions, architectural context, or preferences for how Linear should interpret and explain your codebase when answering code-related questions.