whatisgithub

What is zetsu?

chaelsoo/zetsu — explained in plain English

Analysis updated 2026-05-18

157PythonAudience · developerComplexity · 3/5Setup · moderate

In one sentence

Zetsu is an offline tool that lets security researchers turn their own notes and writeups into a searchable question-and-answer assistant.

Mindmap

mindmap
  root((Zetsu))
    What it does
      Offline RAG assistant
      Query your own notes
      Structured attack step extraction
    Tech stack
      Python
      ChromaDB vector store
      BM25 keyword search
      Ollama or cloud LLMs
    Use cases
      Search past writeups
      Live engagement lookups
      Personal knowledge base
    Audience
      Penetration testers
      Bug bounty hunters
      Security researchers

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Search your own hacking writeups and notes by asking a question instead of grepping files.

USE CASE 2

Build a private, offline knowledge assistant from bug bounty reports and lab solutions.

USE CASE 3

Query past engagement notes for exact commands during a live penetration test.

USE CASE 4

Ingest security blogs and tool wikis to keep a personal reference library up to date.

What is it built with?

PythonChromaDBBM25Ollama

How does it compare?

chaelsoo/zetsu0xabcd01/cve-2026-41089affaan-m/jarvis
Stars157157158
LanguagePythonPythonPython
Setup difficultymoderateeasyhard
Complexity3/53/55/5
Audiencedeveloperresearcherdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

Requires an API key for the chosen AI backend and a folder of your own notes to ingest.

So what is it?

Zetsu is a personal, offline tool for people who do offensive security work, like penetration testers or bug bounty hunters. The idea is simple: over time you build up a pile of your own notes, writeups, lab solutions, and saved blog posts about hacking techniques. Instead of digging through folders trying to remember which file had the right command, you can just ask a question in plain language and get an answer pulled from your own material. When you add your notes, Zetsu reads through them and pulls out the useful pieces, things like what was found, what action was taken, why, and what happened as a result. This means when you later search for something, you get a focused answer instead of a random chunk of text. It also combines two different search methods together, one that matches exact words like tool names or command flags, and one that matches based on meaning, so it can find relevant notes even if you do not phrase the question exactly like your original notes. You can talk to it in a few ways: a terminal interface for quick lookups during an actual engagement, a browser interface for slower study sessions, and a command line mode for scripting. It can pull answers using different AI providers, including Anthropic, OpenAI-compatible services like DeepSeek, or a locally run model through Ollama, so nothing has to leave your machine if you do not want it to. Setup involves cloning the code, installing Python dependencies, and adding an API key for whichever AI service you choose. You then drop your markdown notes into a folder, tell it where to find them in a config file, and run an ingest command before you can start asking questions. The project includes a benchmark the author ran across 910 security questions, reporting that it answered all of them and included working commands in the large majority of cases. It is aimed squarely at people who already have a personal knowledge base and want a fast way to query it, not a general purpose chat assistant.

Copy-paste prompts

Prompt 1
Help me write a config.toml for Zetsu that ingests a folder of my markdown pentest notes.
Prompt 2
Explain the difference between Zetsu's Operator mode and Concept mode answers.
Prompt 3
Write a script that exports my Obsidian notes into markdown files for Zetsu to ingest.
Prompt 4
Help me set up Zetsu to use a local Ollama model instead of a cloud AI provider.

Frequently asked questions

What is zetsu?

Zetsu is an offline tool that lets security researchers turn their own notes and writeups into a searchable question-and-answer assistant.

What language is zetsu written in?

Mainly Python. The stack also includes Python, ChromaDB, BM25.

How hard is zetsu to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is zetsu for?

Mainly developer.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.