GitHub Repo Scanning
Scan your GitHub organization or personal repos to find repositories that contain AI agent code.
What It Detects
The GitHub scanner uses the Code Search API to find repos containing AI framework imports:
| Pattern | Framework | Language |
|---|---|---|
from langchain | LangChain | Python |
from crewai | CrewAI | Python |
import autogen | AutoGen | Python |
from llama_index | LlamaIndex | Python |
import openai | OpenAI SDK | Python |
import anthropic | Anthropic SDK | Python |
from "openai" | OpenAI SDK | TypeScript |
import dev.langchain4j | LangChain4j | Java |
Setup
Create a GitHub personal access token
Go to github.com/settings/tokens and generate a classic token with the repo scope.
Add the integration
Go to Agent Inventory → Integrations → Add Integration, select GitHub Repos, and paste your token.
Set your org or username
In the Configuration section, enter your GitHub organization name or personal username. The scanner will search all repos under that owner.
Click Add & Scan
The scan runs immediately. Each repo with AI code patterns appears in your inventory as a discovered agent.
Indexing delay
What You Get
For each repo with AI code, the inventory shows:
- Agent name — the repository name
- Framework — the primary detected framework (LangChain, CrewAI, etc.)
- Language — Python, TypeScript, or Java
- Dependencies — all detected framework/SDK imports as API dependencies
- Metadata — repository full name and detected patterns
Next Steps
After discovering an agent via GitHub scan, click Onboard on the agent's detail page to get SDK setup instructions for the detected language. Once the SDK is added, the agent transitions to full monitoring with traces, token usage, anomaly detection, and compliance tracking.