Skip to main content

Neko CLI - AI-powered command line tool for terminal assistance.

Project description


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.

Stars Watchers Forks Repo Views AI Version

GitHub issues GitHub pull requests GitHub contributors GitHub last commit

⬡ 𝗔𝗯𝗼𝘂𝘁 𝗡𝗘𝗞𝗢

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/chats.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.

⟢ Installation .ᐟ

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.

⬥ Usage .ᐟ

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 neko chat with persistent chat history saved on ~/neko
-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 -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.0 🐈

🗈 Project Note

| 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. 🐈

❤️ Support

Star on GitHub Follow on GitHub

Buy Me a Coffee at ko-fi.com
Hack the world. Byte by Byte.
𝝺𝗿𝗰𝗮𝗻𝗴𝗲𝗹𝗼 @ 2025

[ꋧ])

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nekocli-6.0.tar.gz (23.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nekocli-6.0-py3-none-any.whl (21.6 kB view details)

Uploaded Python 3

File details

Details for the file nekocli-6.0.tar.gz.

File metadata

  • Download URL: nekocli-6.0.tar.gz
  • Upload date:
  • Size: 23.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for nekocli-6.0.tar.gz
Algorithm Hash digest
SHA256 1d95c67a8aa24cf84d1b415f1a602c69da81463dbdad7b8552400ec3192e11c0
MD5 33d73f34feede6d929e314112a6fcfd5
BLAKE2b-256 b2e4a1aa9b4ea7c66b75d67d8571ee14c8b71c45d9c5251a76231ebea0e57967

See more details on using hashes here.

File details

Details for the file nekocli-6.0-py3-none-any.whl.

File metadata

  • Download URL: nekocli-6.0-py3-none-any.whl
  • Upload date:
  • Size: 21.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for nekocli-6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 136f0179be2142227307d446aa33ad1f05f2ae268441f738e8ee145c686d130e
MD5 c316ddcd6d5f47b69d3716495f317275
BLAKE2b-256 5c2adf552c8396305be69ea4975a18a74da689f2eddc2189cea5a032a3efe36f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page