Experimental API - Context Connectors is experimental and subject to breaking changes.
Prerequisites
- Node.js 18+
- Augment authentication (via
auggie login or AUGMENT_SESSION_AUTH environment variable)
- Git provider token with repo read access:
- GitHub:
GITHUB_TOKEN
- GitLab:
GITLAB_TOKEN
- BitBucket:
BITBUCKET_TOKEN
- For chat: An LLM API key (OpenAI, Anthropic, or Google)
Steps
1. Install
2. Set credentials
3. Index the repository
You should see:
4. Search
You should see an LLM-generated answer based on the codebase:
For raw search results without LLM processing, add --raw:
5. Chat (Optional)
For an interactive AI agent that can search and read the codebase:
You should see:
Ask questions interactively:
Type exit to quit.
Done!
You can now:
- Search your codebase semantically with the
search command
- Chat with an AI agent that understands your code using the
agent command
No need to clone the repository locally - Context Connectors fetches files directly from the Git provider API.
Also Works With