Installation¶
Requirements¶
- Python 3.11 or later
- No API key required for the core library
Install¶
With extras¶
Install only what you need:
| Extra | What it adds | Install |
|---|---|---|
wrap-anthropic |
Drop-in Claude client wrapper | pip3.11 install "extremis[wrap-anthropic]" |
wrap-openai |
Drop-in OpenAI client wrapper | pip3.11 install "extremis[wrap-openai]" |
mcp |
MCP server for Claude Desktop / Code | pip3.11 install "extremis[mcp]" |
postgres |
Postgres + pgvector backend | pip3.11 install "extremis[postgres]" |
chroma |
ChromaDB backend | pip3.11 install "extremis[chroma]" |
pinecone |
Pinecone backend | pip3.11 install "extremis[pinecone]" |
openai |
OpenAI embeddings (replaces local model) | pip3.11 install "extremis[openai]" |
server |
REST API server (FastAPI + uvicorn) | pip3.11 install "extremis[server]" |
client |
HTTP client for hosted server | pip3.11 install "extremis[client]" |
all |
Everything | pip3.11 install "extremis[all]" |
First run note¶
On first recall(), extremis downloads all-MiniLM-L6-v2 (~90 MB) from HuggingFace. This is a one-time download cached to ~/.cache/huggingface/.
To skip the download entirely, use OpenAI embeddings:
Older Python¶
Download Python 3.11+ from python.org/downloads. Then:
Verify¶
import extremis
mem = extremis.Extremis()
mem.remember("test", conversation_id="verify")
results = mem.recall("test")
print(results[0].memory.content) # โ "test"
print("โ extremis working")
Or run the interactive demo: