Navar
Navigate your codebase, not your context window.
Navar is an interactive AI coding agent designed to provide context-aware assistance by indexing your local codebase and using RAG (Retrieval-Augmented Generation) to ground its responses.
Prerequisites
- Python 3.11+
- Docker (for running Qdrant)
Setup
-
Install Navar:
pip install -e .
-
Start Qdrant:
docker-compose up -d
-
Initialize & Index:
navar init navar index .
Configuration
Create a .env file in your project root with your DeepSeek API key:
DEEPSEEK_API_KEY=your_key_here
DEEPSEEK_MODEL=deepseek-chat
QDRANT_HOST=localhost
QDRANT_PORT=6333
QDRANT_COLLECTION=navar
EMBEDDING_MODEL=all-MiniLM-L6-v2
CHUNK_SIZE=400
CHUNK_OVERLAP=80
TOP_K=5
CLI Subcommands
| Command | Description |
|---|---|
navar |
Launch the interactive TUI |
navar init |
Initialize a new project and configuration |
navar index <path> |
Crawl and index a directory |
navar clear |
Clear the current vector collection |
navar remove <file> |
Remove a specific file from the index |
navar status |
Show collection statistics |
navar models |
List available DeepSeek models |
TUI Slash Commands
Inside the Navar TUI, use these commands to manage your session:
| Command | Action |
|---|---|
/clear |
Clear conversation history and screen |
/model |
Cycle through available DeepSeek models |
/index <path> |
Index a path from within the TUI |
/remove <file> |
Remove a file from the index |
/status |
Show collection information panel |
/export [path] |
Export current session to a markdown file |
/help |
Show all available commands |
/exit |
Quit the application |
Built with Python, FastAPI, Qdrant, and DeepSeek.
Metadata
Release files for navar 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| navar-0.1.0.tar.gz | 16.2 kB | Without provenance | Details for navar-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| navar-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for navar-0.1.0-py3-none-any.whl |
Total release size: 30.5 kB
Security for navar 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.