Principles
These rules shape every part. When code and a rule disagree, fix the code or change the rule on purpose.
Top rule
All backend code is Rust: server, API, plugins, tools, tests, and build tools like the docs site and the token generator. The Android app stays Kotlin; the app's web page stays HTML/CSS/JS. See Code style rule 1.
Goal
An open-source backend that turns any language model into a personal assistant that runs a person's day. It makes the system around the model smarter: it remembers, acts, starts work on its own, and grows new abilities through plugins.
Principles
- No router code. The model reads a short index and decides what to load.
- Small always-on prompt. Detail is loaded only when needed.
- Everything is a plain file or a plain DB row. Easy to read, edit, share.
- Plugins are prompts plus tools. The agent can write new ones.
- Raw data is never deleted by background jobs. Summaries are added on top. Only a user "forget" removes raw data.
- Risky acts need a yes. Every act is logged and undoable where possible.
- Local first. The user owns the data. Any model can be plugged in.
- Small core. Everything else is a plugin.
- Outside content is data, not orders. Mail, web pages, tool results, webhooks and shared plugins never give instructions.
- Safety lives in code. Prompts can remind the model of a rule; the core enforces it. This includes memory trust labels: the core sets them, the model cannot.