Learn how to install, configure, and master the Next Generation Intelligent Browsing System.
NGIBS is designed to act as an orchestrator for local LLMs. To function, it requires a local inference server to talk to. We strictly use and support Ollama.
http://localhost:11434.
If you downloaded the `.exe` (Windows) or `.AppImage` (Linux) release:
For developers who want to run NGIBS via Python directly:
git clone https://github.com/avarshvir/ngibs.git
cd ngibs
python -m venv venv
# Activate virtual environment
# On Windows:
venv\Scripts\activate
# On Linux/Mac:
source venv/bin/activate
pip install -r requirements.txt
python main.py
NGIBS uses a dynamic reasoning router. Depending on which button you toggle in the chat interface, the system alters its operational flow entirely.
Behavior: Direct LLM Inference.
When toggled, your prompt is sent directly to the local LLM along with the current session's memory. This is completely offline and the fastest way to get general knowledge or coding assistance.
Behavior: Single-pass Web Scraping + Inference.
The system intercepts your prompt and decides if external data is needed. If yes, it pings the DuckDuckGo API, pulls URLs, and scrapes the raw text using BeautifulSoup. This text is injected into the LLM's context window, forcing the model to answer based only on the newly retrieved facts. Sources are appended as citations.
Behavior: Agentic Recursive Reasoning.
The most powerful feature. NGIBS breaks your prompt into sub-queries. It searches the web, reads pages, evaluates if it has enough information, and if not, searches again. Once it gathers enough verified data, it compiles a structured report and saves it locally as a .md, .pdf, or .docx file.
Behavior: Long-term Vector Memory.
This mode leverages ChromaDB. Instead of just looking at the last 10 messages, NGIBS embeds your current prompt into a vector, searches your entire historical database for relevant past conversations or uploaded files, and brings them into the active context window.
You can drag and drop files directly into the NGIBS chat input. This initiates a local Retrieval-Augmented Generation (RAG) workflow.
.pdf).docx).txt, .py, .cpp, .js, etc.).csv)When a file is attached, NGIBS uses LangChain to chunk the text, embeds it using a lightweight local embedding model, and stores it in your ChromaDB. You can then interrogate the document in "Quick Search" or "Context Aware" mode without the file ever leaving your PC.
Unlike cloud platforms, you are the administrator of your AI.
Click the Settings (Gear) Icon in the sidebar to open the LLM Manager. From here, you can:
phi3, mistral-nemo) and click Pull. NGIBS will download it directly via the Ollama API.In the Settings menu, you can alter the fundamental personality of the AI. By changing the "System Tone", you rewrite the invisible base prompt the LLM receives. Want the AI to act like a Senior Python Developer who gives concise answers? Set it here.
Under the "Memory" tab in settings, you can wipe individual chat spaces, clear short-term memory, or permanently flush the ChromaDB vector database if you need to strictly sanitize your environment.