Understand, visualize, and reason over any software system.
π Live Demo β’ π API Docs β’ Features β’ Architecture β’ Quick Start
Modern software projects contain thousands of files, APIs, services, and dependencies. Understanding how a large codebase works is hard β for new developers, reviewers, and even the people who wrote it.
Helix transforms any codebase into a queryable knowledge graph. Upload a ZIP or connect a GitHub repo, and Helix parses every file with tree-sitter AST analysis, builds a Neo4j relationship graph, generates semantic embeddings, and lets you explore and query your code with natural language.
Unlike RAG-based code assistants that search text, Helix reasons over structure β function call graphs, class inheritance, module dependencies, and import chains β giving answers that understand how your code actually works.
| π Frontend | https://helix-phi-beige.vercel.app |
| π Backend API + Swagger | https://helix-iq1l.onrender.com/docs |
| π¦ GitHub | https://github.com/harshitayadavv/helix |
- Upload ZIP or clone any public GitHub repository
- Automatic language detection across Python, JavaScript, TypeScript, Java, C++
- Real-time processing progress via WebSocket streaming
- Incremental indexing with status tracking
- Full tree-sitter AST parsing per language
- Extracts functions, classes, imports, exports, function calls
- Builds Neo4j graph with node types:
File,Function,Class,Module - Relationships:
CONTAINS,CALLS,IMPORTS,INHERITS
- LangGraph agent powered by Groq
llama-3.3-70b-versatile - Reasons over the knowledge graph, not just text
- Ask questions like:
- "Explain the authentication flow"
- "Where is JWT implemented?"
- "Which files would break if I remove Redis?"
- "Find all dead code"
- FAISS vector search + Neo4j keyword fallback
- Filter by node type (Function / Class / File / Module) and language
- Search history tracked per repository in Redis
- Select any file or function β compute blast radius via Neo4j BFS
- Depth 1: direct dependents (red), Depth 2: indirect (orange), Depth 3: transitive (yellow)
- Risk score: Low / Medium / High / Critical
- Groq-generated plain-English explanation
- Hardcoded secrets detection (API keys, passwords, tokens)
- SQL injection patterns, XSS vulnerabilities
- Unsafe imports (
eval,exec,pickle,os.system) - Weak auth patterns (MD5/SHA1 password hashing)
- God Classes (>10 methods), Long Methods (>50 lines)
- Circular Dependencies (Neo4j cycle detection)
- Dead Code (functions with no incoming CALLS edges)
- Duplicate Logic (same function name across files)
- Overall score (0β100) with letter grade
- 6 sub-scores: Architecture Β· Maintainability Β· Complexity Β· Security Β· Performance Β· Documentation
- N+1 query pattern detection, blocking calls in async functions
- Expensive nested loops, unnecessary object creation in loops
- AI-generated README, API docs, Architecture overview, Onboarding guide
- Mermaid diagram for module dependencies β copy or download as
.md
- Git log: commits, authors, timestamps, files changed
- Hotspot files + contributor graph
- React Flow canvas β zoomable, draggable, filterable
- BFS path tracing between any two nodes, node detail drawer on click
GitHub URL / ZIP Upload
β
βΌ
Repository Processor
β
βββββββββββββββββββββΌββββββββββββββββββββ
βΌ βΌ βΌ
AST Parser Dependency Builder Git Analyzer
(tree-sitter) (import resolver) (GitPython)
β β β
ββββββββββββββββ¬βββββ΄ββββββββββββββββββββ
βΌ
Knowledge Graph Builder
(Neo4j + PostgreSQL)
β
ββββββββββββββββΌβββββββββββββββ
βΌ βΌ βΌ
Vector Store Search Engine AI Agents
(FAISS) (Hybrid Search) (LangGraph)
ββββββββββββββββ¬βββββββββββββββ
βΌ
FastAPI Backend
β
WebSocket Streaming
β
βΌ
Next.js Interactive Dashboard
| Layer | Technology |
|---|---|
| Frontend | Next.js 14, TypeScript, Tailwind CSS, React Flow, Framer Motion, ShadCN UI |
| Backend | FastAPI, Python 3.11, Celery, Uvicorn |
| Graph DB | Neo4j AuraDB |
| Relational DB | PostgreSQL (SQLAlchemy async) |
| Cache / Queue | Redis |
| AI Agent | LangGraph, Groq llama-3.3-70b-versatile |
| Parsing | tree-sitter (Python, JS, TS, Java, C++) |
| Embeddings | sentence-transformers (all-MiniLM-L6-v2) |
| Vector Search | FAISS |
| Git Analysis | GitPython |
| Hosting | Vercel (frontend) Β· Render (backend) |
| Infra | Docker, Docker Compose |
- Docker + Docker Compose
- Python 3.11 (conda recommended)
- Node.js 18+
- Groq API key (free at console.groq.com)
git clone https://github.com/harshitayadavv/helix.git
cd helixcd helix-backend
cp .env.example .env
# Edit .env β add GROQ_API_KEY and NEO4J credentials
docker compose up -d neo4j postgres redis # start infrastructure
conda create -n helix python=3.11 -y
conda activate helix
pip install -r requirements.txt
# Terminal 1
uvicorn app.main:app --reload --port 8001
# Terminal 2
celery -A celery_worker.celery_app worker --loglevel=info --pool=solocd helix-frontend
cp .env.local.example .env.local
# Set NEXT_PUBLIC_API_URL=http://localhost:8001
npm install && npm run dev| Service | URL |
|---|---|
| Frontend | http://localhost:3000 |
| API + Swagger | http://localhost:8001/docs |
| Neo4j Browser | http://localhost:7474 |
All endpoints require X-API-Key header after registration.
# Register
curl -X POST https://helix-iq1l.onrender.com/api/v1/auth/register \
-H "Content-Type: application/json" \
-d '{"email": "you@example.com", "password": "yourpass", "name": "Your Name"}'
# Upload a repository
curl -X POST https://helix-iq1l.onrender.com/api/v1/repositories/upload \
-H "X-API-Key: your_key" \
-F "file=@myrepo.zip"
# Ask the AI
curl -X POST https://helix-iq1l.onrender.com/api/v1/ai/ask \
-H "X-API-Key: your_key" \
-H "Content-Type: application/json" \
-d '{"repo_id": "your_repo_id", "question": "Explain the authentication flow"}'Full docs: https://helix-iq1l.onrender.com/docs
helix/
βββ helix-backend/
β βββ app/
β β βββ api/routes/ # FastAPI route handlers
β β βββ core/
β β β βββ ai/ # LangGraph agent, embeddings, prompts
β β β βββ analysis/ # Security, smells, health, performance, impact
β β β βββ docs/ # Documentation generator
β β β βββ git/ # Git analyzer (GitPython)
β β β βββ graph/ # Neo4j client, graph builder
β β β βββ parser/ # tree-sitter AST parser
β β β βββ search/ # Hybrid FAISS + Neo4j search
β β βββ db/ # PostgreSQL + SQLAlchemy
β β βββ services/ # Repo processor, Celery, WebSocket
β βββ docker-compose.yml
β
βββ helix-frontend/
βββ src/
βββ app/
β βββ repo/[id]/ # Per-repo workspace
β βββ dashboard/ # Repo list + uploader
β βββ auth/ # Login + signup
βββ components/ # 20+ reusable components
βββ lib/ # api.ts, websocket.ts, utils.ts
- Multi-agent architecture reviewer
- PR review assistant
- AI Change Simulator
- VS Code extension
- Voice interaction
- Team Knowledge Hub
Built by Harshita Yadav β B.Tech, IIIT Kota