NekoCLI
A multi-mode terminal AI agent supporting GPT-5/Ollama for vision, image creation and edition, video generation,web search, code generation, and autonomous pentesting with persistent history and zero API costs.
Install / Use
/learn @ARCANGEL0/NekoCLIREADME
AI assistant for your terminal, able to view, edit or generate images; create short videos; generate and save code/scripts; run commands and answer or assist with any subject.
NEKO is a lightweight, fast, and utility AI assistant for your terminal, to be acessible anytime you need.
It supports multiple flags and modes with a tidy formatted and colourful output in your terminal window such as persistent chat history, code mode, shell mode, video generation, image edition and creation, web search, vision mode and an optional pentest agent (beta).
ᗢ Features
- Fast & Lightweight – Minimal dependencies, instant startup with a single binary.
- Multiple Modes – AI chat with GPT5 + Web search and real time content, shell commands and execution, code generation, images and video generation, images analysis and editing, pentest mode with interactive and autonomous execution.
- Formatted output – Easy visualization data on terminal, outputs are displayed in colorful colorama boxes.
- Persistent History – Keeps context of chat if used with persistence flags. Chat history is saved in
~/neko/chat.jsonand pentest history in~/neko/pentest.json - Free endpoint – All the AI logic is run with my own API endpoint, alternatively ollama can be used for offline mode, change base api of *:11434 by editing the OLLAMA_BASE_URL.
- Media file handling - Neko can not only visualize images, but also generate videos & images and edit them based on user's prompt.
</details> <details> <summary><h2>⟢ Installation .ᐟ</h2></summary>
Option 1: Pip Install (Recommended)
pip install nekocli
This installs the neko command globally and you can use it from anywhere.
Option 2: Clone from repo
Clone the repository and run the installer:
git clone https://github.com/ARCANGEL0/NekoCLI
cd NekoCLI
./install.sh
This will install NekoCLI to ~/nekoCLI and add it to your PATH. After installation, you can use neko from anywhere in your terminal.
You can call neko anywhere in your terminal along with a prompt to make a question, you can also pass stdin arguments for NEKO to read.
$ cat serverLogs.txt | neko "Analyze these logs and return a solution for it"
To update NEKO, run:
$ neko -u
You can also use custom flags for different operation modes in NEKO.
Usage: neko [options] {question or prompt}
| Flag | Description |
|---------|-------------|
| -w / --web | Ask with web searching and realtime results |
| -c / --code | Tells neko to handle code generation, to create a fully working code, being able to save directly onto file |
| -s / --shell | Tells neko to interpret, generate and run shells commands based on user request. |
| -i / --interactive | Starts interactive chat using persisted history in ~/neko/chat.json |
| -l / --load | Loads/saves persisted chat history for non-interactive requests |
| -f / --file | Sends an image along with user prompt for neko to analyze. |
| -g / --generate | Asks Neko to generate an image using a prompt |
| -gv / --generate-video | Asks Neko to generate a small 8 seconds video using a prompt |
| -e / --edit | Asks Neko to edit an image based on your request |
| -a / --auto | (EXPERIMENTAL FEATURE [!]) Autonomous multi-step offensive security mode, pass an initial prompt and let neko autorun commands and learn from outputs and generate next steps continuously over a target|
| -x / --agent | Starts neko in cybersecurity agent mode, handling security, pentest questions and giving advices on command outputs |
| -r / --reset | Erases chat history saved on ~/neko |
| -h / --help | Displays the help menu |
| -n / --neofetch | Shows system information |
| -u / --update | Updates Neko |
| -v / --version | Displays current version |
⑇ Examples
$ neko -s "list all files sorted by size" # generates a command and asks user if he wants to Run it.
$ neko -c "Python script to merge two CSV files" # generates a short text and full python code, and asks user to copy code or save as a file in local dir.
$ neko -w "Latest CVE for OpenSSL in the last 2 months" # searches web for all possible index and findings on user prompt (CVE searches)
$ neko -a "Help me in a pentest process, to enumerate this IP 10.10.x.x and get a webshell" # neko will provide suggestions and commands to be run and ask authorization to run them, after running he will self collect the logs, analyze and suggest next steps and repeat the cycle.
$ neko -f /home/user/kitty.jpg "can you tell me the color of this cat?"
$ neko -g "Please generate an image of Donald trump vs Joe Biden in a MMA Octagon ring, both fighting" # Image generation with Neko
$ neko -gv "A video of a orange cat walking slowly in a cyberpunk city" # Video generation with Neko, usually a short video of 6 to 8 seconds.
$ neko -e /home/user/selfie.jpg "Please change the background and remove the people on it" # Neko will modify the image with AI and obey the request to remove people on background
$ neko -i "Tell me about Rutherford atom model" # after output, you will have option to ask a new question i.e: ''What about Schrodinger model?'' and continue conversation in context.
$ neko -wsl "find me a command to curl this endpoint with auth header" # combined short flags are supported (-w -s -l)
$ neko -x "i need help to enumerate 192.168.0.10 for open ports" # neko will return a small and a list of commands to be run by user, and ask them to retrieve the logs by calling command again, as in example below
$ cat nmapOutput.txt | neko -x "i have run nmap and found these info, what do you suggest now?" # Continues conversation saved on chat.json, analyzes nmap output and proceeds to suggest next steps
$ neko -r # resets all chat history.
$ neko --version # Outputs v6.7 🐈
</details>
<details>
<summary><h2> 🗈 Project Note </h2></summary>
| Not much to say, I just needed an interactive AI to speed up my workflow in terminals, and assist at pentesting or
coding and hitting Alt + Tab consistently to navigate through documentations, chatGPT for assistance,
among other things can be quite annoying.
And most repo's that offer similar solutions always require an OpenAI key, which I, as an Engineer Grad. student,
cannot afford because by tides of destiny, I was born poor.
So I decided to make my own CLI assistant using my own server for Free GPT 5-1 with
reasoning and vision capabilities without costs, making me able to
do all i need inside a single tty shell. 🐈
</details>
<div align="center">
❤️ Support
<a href='https://ko-fi.com/J3J7WTYV7' target='_blank'><img height='36' style='border:0px;height:36px;' src='https://storage.ko-fi.com/cdn/kofi3.png?v=6' border='0' alt='Buy Me a Coffee at ko-fi.com' /></a> <br> <strong>Hack the world. Byte by Byte.</strong> ⛛ <br> 𝝺𝗿𝗰𝗮𝗻𝗴𝗲𝗹𝗼 @ 2025
[ꋧ])
</div>