AI-powered GitHub issue triage assistant using Claude and semantic code search.
Automatically categorizes GitHub issues, detects duplicates, finds related code, and generates response suggestions.
Prerequisites:
- Docker Desktop
- Python 3.9+
- Node.js 18+
- Anthropic API key
Install:
git clone <your-repo-url>
cd snorlax
make setup
make devConfigure:
- Open http://localhost:3000
- Add Anthropic API key in Settings
- Add repository and import issues
- Start triaging
make setup # Initial setup
make dev # Start all services
make db-reset # Reset database
make clean # Stop all services- Frontend: Next.js 15, React 19, TypeScript
- Backend: FastAPI, Python
- Database: PostgreSQL with pgvector
- AI: Claude Sonnet 4.5
- Embeddings: CocoIndex (automatic real-time sync)
Automatic Issue Sync:
- User adds repository → Snorlax clones and indexes code
- CocoIndex starts watching the database for changes
- When issues are fetched from GitHub → PostgreSQL triggers fire
- CocoIndex automatically generates embeddings in real-time
- UI always shows fresh data (no manual sync needed)
Benefits:
- 🔄 Real-time: Embeddings update within seconds
- 🤖 Automatic: No manual "Sync" button needed
- ⚡ Efficient: Only changed issues are reprocessed
- 🎯 Consistent: Uses same embedding model as code
Backend (backend/.env):
APP_DATABASE_URL=postgresql://snorlax:snorlax_password@localhost:5432/snorlaxFrontend (frontend/.env.local):
NEXT_PUBLIC_API_URL=http://localhost:8000Stop services:
lsof -ti:8000 | xargs kill -9 # Backend
lsof -ti:3000 | xargs kill -9 # Frontend
make db-down # DatabaseReset database:
make db-reset