Create Your First Index
Once you've installed TeaRAGs and connected to an agent, indexing your codebase is simple.
Index Your Codebase
Just ask your AI assistant:
Index this codebase for semantic search
What Happens During Indexing
- File discovery — scans the project, respects
.gitignoreand.contextignore - AST-aware chunking — parses code into semantic chunks (functions, classes, methods)
- Embedding — converts chunks into vectors using your configured provider
- Storage — upserts vectors into Qdrant with metadata
- Snapshot — saves file hashes for future incremental updates
Update After Changes
After making changes or pulling new commits:
Update the search index with my recent changes
Only changed files are re-processed — unchanged files are skipped.
Check Index Status
Show me stats for the current index
tip
You can check index status from a parallel agent tab while indexing is still running.