-
Notifications
You must be signed in to change notification settings - Fork 26
Installation
ssd edited this page Feb 24, 2026
·
1 revision
- Python 3.11 or later
- An AI agent backend (see Agent Backends)
- An Obsidian vault (or Alfred will scaffold one for you)
# Base install (curator + janitor + distiller)
pip install alfred-vault
# With surveyor (adds ML/vector dependencies)
pip install "alfred-vault[all]"
# With Temporal (kinetic layer — durable workflow engine)
pip install "alfred-vault[temporal]"The base install includes the semantic layer workers (curator, janitor, distiller). The [all] extra adds the surveyor (ML/vector deps) and Temporal (workflow engine).
git clone https://github.com/ssdavidai/alfred.git
cd alfred
pip install -e . # base (semantic layer workers)
pip install -e ".[all]" # full (surveyor + temporal)Run the interactive quickstart wizard:
alfred quickstartThe wizard will:
- Ask for your vault path (or create a new one)
- Scaffold the vault directory structure (entity directories, templates, base views, starter views)
- Create a
user-profile.mdin your vault root - Ask which agent backend to use (Claude Code, Zo Computer, or OpenClaw)
- Write
config.yamland.env - Optionally configure the surveyor (Ollama for embeddings, OpenRouter for labeling)
- Offer to start daemons immediately
If you prefer to configure manually:
cp config.yaml.example config.yaml
cp .env.example .envEdit both files. See Configuration for all options.
alfred status # check what's configured
alfred up --live # start with dashboard to see everything workingThe Temporal workflow engine requires a running Temporal server:
-
Install Temporal CLI:
# See: https://docs.temporal.io/cli#install brew install temporal # macOS
-
Start the dev server:
temporal server start-dev
-
Add config (optional — defaults work for local dev):
# config.yaml temporal: address: "127.0.0.1:7233" task_queue: "alfred-workflows" workflow_dirs: ["./workflows"]
-
Start the worker:
alfred temporal worker
See Kinetic Layer for workflow authoring and schedule management.
The surveyor requires additional infrastructure:
-
Ollama (for local embeddings):
# Install Ollama: https://ollama.com ollama pull nomic-embed-text # or your preferred embedding model
-
OpenRouter API key (for cluster labeling):
- Sign up at https://openrouter.ai
- Add your API key to
.env:OPENROUTER_API_KEY=sk-or-...
-
Milvus Lite (automatic):
- Installed with
[all]extra - File-based vector store at
data/milvus_lite.db - No external server needed
- Installed with
Getting Started
Architecture
Workers
Reference