A universal TUI & web agent that connects to any llama.cpp server and uses RAG + semantic memory to research, write, and remember โ across sessions.
๐ English ยท ็ฎไฝไธญๆ
Point it at any OpenAI-compatible endpoint โ local llama.cpp, Ollama, LM Studio, or remote.
A terminal interface (Rich + Textual) and a streaming FastAPI web chat with login.
SME (Semantic Memory Engine) recalls your last session so context survives restarts.
Local embeddings (multilingual-e5) + LanceDB for semantic search across your library.
The model gets write/read/list tools scoped strictly to a per-user workspace.
Deep-research, writer, and wiki-memory skills โ drop in more as SKILL.md modules.
# 1. Clone & install
git clone https://github.com/pedjaurosevic/scribe-ai.git
cd scribe-ai
./scripts/install.sh # installs the package + config + ~/scribe-workspace
# 2. Start your llama-server (or use any OpenAI-compatible endpoint)
./scripts/start-server.sh
# 3. Chat in the terminal โฆ
scribe chat
# โฆ or launch the web UI
scribe web # http://localhost:8765
Configure the endpoint in ~/.config/scribe/config.toml or via
SCRIBE_BASE_URL / SCRIBE_MODEL env vars.