NetraSuite

NetraSuite-image

Techstack

  • Python, Ollama, LLM, AI

Tools

  • Linux

LLM-Powered Network Assistant Tool

NetraSuite is a terminal-based, AI-powered network security assistant that transforms natural language prompts into real command-line operations using tools like nmap, whois, and dig. Designed for network engineers, penetration testers, and cybersecurity professionals, NetraSuite streamlines recon and enumeration workflows by leveraging local Large Language Models (LLMs) served via Ollama.

Whether you're scanning for open ports, analyzing DNS records, or retrieving domain ownership information, NetraSuite automatically selects the most appropriate tool based on your query — all while maintaining full offline capabilities and clean terminal output using Rich.

Why NetraSuite is Useful

NetraSuite addresses a common challenge in cybersecurity tooling: the steep learning curve of command syntax and the lack of streamlined, conversational interfaces. By combining AI with traditional CLI tools, NetraSuite empowers users to run advanced reconnaissance and information-gathering commands using natural language — without sacrificing control or visibility. Whether you're new to recon or a seasoned red-teamer, NetraSuite speeds up your workflow, improves accuracy, and makes security tooling more intuitive.

Features

Natural Language Prompts: Just type what you want — like "scan google.com for open ports" — and let the LLM figure out the exact command.

Intelligent Tool Selection: Automatically chooses between tools like nmap, whois, and dig based on the prompt.

Domain to IP Resolution: Resolves domain names to IPs on the fly (for tools like nmap), while preserving domains for tools like whois and dig.

Local LLM-Powered: All prompts are interpreted using locally hosted models via Ollama (e.g., Mistral), ensuring complete privacy and offline use.

Clear CLI Output: Uses the rich Python library to print beautiful, readable, and cleanly formatted outputs in the terminal.

Built-in Command History: Supports up/down arrow navigation so you can reuse past commands just like in a regular shell.

Built-in Ollama Session Cleanup: Automatically clears LLM sessions and cache to avoid memory bloating and improve performance over time.

Installation

Clone the repository:


git clone https://github.com/ansari-khursaid7tr/netrasuite.git
cd netrasuite

Install dependencies:


pip install -r requirements.txt

Run the setup script:


python3 post_install.py

Usage

Start NetraSuite from terminal:


python3 -m netrasuite

Now try any of these example prompts:

  • scan google.com for open ports
  • perform whois lookup on github.com
  • get MX and TXT records of protonmail.com

Use built-in commands anytime:


help     → Show example prompts  
clear    → Clear the terminal  
about    → Tool version and author  
exit     → Exit and clean LLM session


GitHub Repository