How raytolfas/rayseek works
RaySeek is a local AI assistant exposed through a command-line session and a small HTTP API. In the main workflow, it gathers conversation history and relevant indexed facts, then requests a response from a locally loaded language model; the CLI additionally offers web search, translation, and symbolic math. The repository also indexes text files into FAISS-backed memory. The README documents these capabilities, while the sampled source shows the call paths; external service behavior is represented only where referenced.
Main entry points: main.py CLI session · api.py HTTP API · memory_db.py Local indexing · model_loader.py Model loader
Components 17
User interfaces
- CLI session
main.py - HTTP API
api.py
Assistant workflow
- Math solving
main.py - Translation
main.py - Translation service
- SymPy
Knowledge and tools
- Memory retrieval
memory_db.py - Local indexing
memory_db.py - Brand text files
brand_data - FAISS memory
memory_db.py - Embedding model
- Web search
search.py - DDGS search
Model runtime
- Model loader
model_loader.py - Hugging Face Hub
- Local LLM
Other components
- User
Connections 23
- User → CLI session: enters commands
README.md - User → HTTP API: sends chat
README.md - CLI session → Local indexing: indexes on startup
main.py - CLI session → Model loader: loads engine
main.py - CLI session → Memory retrieval: queries facts
main.py - CLI session → Web search: searches query
main.py - CLI session → Math solving: checks expression
main.py - CLI session → Translation: translates text
main.py - CLI session → Local LLM: requests completion
main.py - HTTP API → Local indexing: indexes at startup
api.py - HTTP API → Model loader: loads engine
api.py - HTTP API → Memory retrieval: queries facts
api.py - HTTP API → Local LLM: requests completion
api.py - Local indexing → Brand text files: reads paragraphs
memory_db.py - Local indexing → FAISS memory: adds vectors
memory_db.py - Memory retrieval → FAISS memory: searches vectors
memory_db.py - Memory retrieval → Embedding model: embeds query
memory_db.py - Local indexing → Embedding model: embeds text
memory_db.py - Web search → DDGS search: requests results
search.py - Model loader → Hugging Face Hub: downloads weights
model_loader.py - Model loader → Local LLM: constructs runtime
model_loader.py - Translation → Translation service: translates text
main.py - Math solving → SymPy: evaluates expression
main.py