原始内容
Iptic Memex
Iptic Memex is a command-line LLM workbench. It supports CLI chat, completion, agent, TUI, and Web modes, plus a flexible tool system, RAG, and optional hooks for sidecar analysis.
The name is a reference to the Memex, a device described by Vannevar Bush in his 1945 essay "As We May Think". See: https://en.wikipedia.org/wiki/Memex

Highlights
- Multiple interaction modes: chat, completion, agent, TUI, and Web.
- Load and summarize local files (pdf/docx/xlsx/pptx/msg/audio/images) and web content.
- Built-in tools (file, cmd, websearch, ragsearch, memory, persona_review).
- Retrieval-Augmented Generation (RAG) with local indexes.
- Broad provider support (OpenAI, Anthropic, Gemini, OpenRouter, and more).
- Optional hooks for pre/post turn analysis and memory.
- Session persistence with autosave, resume, and checkpoints.
Quickstart
Requirements: Python 3.11+.
git clone https://github.com/acasto/iptic-memex.git
cd iptic-memex
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
Set API keys in config.ini (or ~/.config/iptic-memex/config.ini) or via env vars like OPENAI_API_KEY.
Run chat mode:
python main.py chat
One-shot (completion) example:
echo "What is PI?" | python main.py -f -
Tip: See docs/getting-started.md for platform-specific dependencies.
Docs
Start here for the rest of the platform details: