Where your data lives
All Han AI state is on your VPS disk. Nothing is mirrored to a central server. This page lists every persistent path so you know exactly where each piece of your workspace lives.
Conversation and learning
| Path | Contents |
|---|---|
/var/hanai/state/coo-history.jsonl | Append-only log of every Telegram turn. Onboarding and live mode share this file. |
/var/hanai/state/dreams.jsonl | Daily insights generated by the dreaming loop. |
/var/hanai/state/capability-gaps.jsonl | Anything the AI COO wanted to do but couldn’t — used to prioritise future capabilities. |
/var/hanai/state/pdf-preferences.jsonl | Your learned PDF style preferences. |
Operational state
| Path | Contents |
|---|---|
/var/hanai/state/owner_cron.db | SQLite — recurring jobs you have scheduled. |
/var/hanai/state/anchors.db | SQLite — Telegram message anchors used to keep threads tidy. |
/var/hanai/state/self_loops.db | SQLite — internal self-improvement loops. |
/var/hanai/state/dashboard.sqlite | Dashboard session and cache store. |
Tooling on disk
| Path | Contents |
|---|---|
/var/hanai/playwright-browsers/ | Headless Chromium install used by the browser capability. |
/opt/whisper.cpp/ | Optional local voice transcription. Falls back to the API path if absent. |
Your Airtable base
The captured profile and structured outputs are written to your Airtable base. The base ID is stored in your vault as AIRTABLE_BASE_ID. The base lives in your Airtable account, not ours.
Backups
State files are append-only or SQLite. Your operator pulls a daily tenant brief back to the fleet registry for continuity; the source of truth is always your VPS.
Next
- The systemd services — what reads and writes these paths.
- Secrets & vault — credential storage.