πŸ“– 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.

View All Scrapers

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

  1. Commit your files to your GitHub repository.
  2. Trigger the Sync Data workflow.
  3. Ask questions to the AI Agent β€” it will respond using your repository knowledge.

Requirements


Customization Options

πŸ”— 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

πŸ“– Importing guide Β· πŸ”‘ Credential setup