Setup
Install Aletheia
Set up the Aletheia engine locally with predictable binaries, model downloads, and SDK wiring.
Prerequisites
Aletheia is built as a Rust service with optional SDK clients. For a smooth start, install Rust stable and keep at least 4GB free disk for model and index artifacts.
Use a dedicated workspace directory for cache and data files so benchmarks and local testing can be reset without touching your main development environment.
- Rust toolchain (stable channel)
- Git for fetching benchmark assets
- Node 20+ if you are using the platform/docs UI
- Python 3.10+ only if using the Python SDK examples
Build and first boot
The release build gives realistic performance for retrieval and reranking tests. Development builds are fine for functional checks but not for latency decisions.
- Clone the monorepo and open `Aletheia`.
- Build release binary with Cargo.
- Start the API server on loopback.
- Call `/health` before sending ingest/query traffic.
cargo build --release
./target/release/aletheia --bind 127.0.0.1:3000 --data-dir ./.tm-dataSDK smoke test
After the server is healthy, run one ingest and one query through your preferred SDK. This validates auth headers, entity scoping, and transport behavior in one pass.
curl -sS http://127.0.0.1:3000/ingest \
-H "content-type: application/json" \
-d '{"entity_id":"user-123","textual_content":"I now drink tea instead of coffee."}'