AIshe is an AI assistant that can help you get the answers you need using Wikipedia as a knowledge base and local LLM for answer generation.
This project was created for the Redis AI Workshop on 13 Dec 2025 in Sofia, Bulgaria.
AISHE is a Retrieval-Augmented Generation (RAG) system that:
- Searches Wikipedia for relevant articles based on your questions
- Retrieves and processes article content
- Generates accurate answers using a local LLM (via Ollama)
- Provides source citations for transparency
nix develop
# or
# direnv allow .Make sure Ollama is running in a separate terminal:
ollama serve
ollama pull llama3.2:3b
ollama lsIn a (second) separate terminal:
nix run .#server -- --port 8111NOTE: specifying the port is optional (default port is 8000).
You may run either the Python CLI or TypeScript/JavaScript CLI tool. Both of them do the same - communciate with AIshe server via it's REST API.
In a (third) separate terminal:
NOTE: if you changed the server port in the last step, make sure to:
export AISHE_API_URL="http://localhost:8111"nix run .#aishenix run .#aishe-jsYou'll see a prompt where you can ask questions:
======================================================================
Wikipedia RAG Question Answering System
======================================================================
Ask questions and get answers based on Wikipedia articles.
Type 'quit' or 'exit' to stop.
======================================================================
Your question: What is Python programming language?
Example output:
──────────────────────────────────────────────────────────────────────
ANSWER:
──────────────────────────────────────────────────────────────────────
Python is a high-level, interpreted programming language created by
Guido van Rossum and first released in 1991. It emphasizes code
readability with its use of significant indentation and supports
multiple programming paradigms including procedural, object-oriented,
and functional programming.
──────────────────────────────────────────────────────────────────────
SOURCES:
──────────────────────────────────────────────────────────────────────
[1] Python (programming language)
https://en.wikipedia.org/wiki/Python_(programming_language)
[2] History of Python
https://en.wikipedia.org/wiki/History_of_Python
──────────────────────────────────────────────────────────────────────
BSD
Contributions are welcome! Please feel free to submit a Pull Request. Fair warning: this is mostly vibe coded
- Augment.AI for Python-native AIshe server and CLI
- Cursor.AI for tab-coded TypeScript client
- chatGPT for fixing Nix / npm problems