# Clone and enter the repository
git clone https://github.com/Varun-SV/EviCortex.git
cd EviCortex
# Create a Python 3.12 environment
python -m venv .venv
# Activate it, then install the local package
python -m pip install -e .
python examples/quickstart.py
Optional dense-encoder support is isolated in the local-transformers extra.
02 · remember and recall
memory.py
from evicortex import ClaimInput, EviCortex
with EviCortex.open("memory.db") as memory:
memory.remember(
namespace="assistant/user-1",
content="Ada prefers the dark theme.",
source="conversation/42",
claims=[ClaimInput(
"user:ada", "prefers_theme", "dark"
)],
)
capsule = memory.recall(
namespace="assistant/user-1",
query="Which theme does Ada prefer?",
budget_tokens=300,
)
print(capsule.to_prompt())