π Create a code assistant that learns from your GitHub repository using OpenAI
β‘ 858 views Β· π Internal Wiki & Knowledge Base
π‘ Pro Tip β If you need GitHub data beyond what the REST API gives you, ScraperNode has a repository scraper that extracts metadata at scale without token rate limits.
Description
AI Agent for GitHub
AI Agent to learn directly from your GitHub repository.
It automatically syncs source files, converts them into vectorized knowledge
How It Works
Provide your GitHub repository β the workflow will automatically pull your source files and update the knowledge base (vectorstore) for the AI Agent.
This allows the AI Agent to answer questions directly based on your repositoryβs content.
How to Use
- Commit your files to your GitHub repository.
- Trigger the
Sync Dataworkflow. - Ask questions to the AI Agent β it will respond using your repository knowledge.
Requirements
- A valid GitHub account
- An existing repository with accessible content
Customization Options
- Customize the prompt for specific or detailed tasks
- Replace or connect to your own vector database provider
π Nodes Used
GitHub, HTTP Request, AI Agent, Embeddings OpenAI, OpenAI Chat Model, Simple Memory
π₯ Import
Download workflow.json and import into n8n:
Workflow menu β Import from File