AssistX docs
AssistX is an AI assistant that acts like a buddy who runs your life. It remembers you, acts for you, starts work on its own and learns new skills, with safety kept in code. It has two parts: the server in server/ (Rust engine and API) and the Android app in android/.
New here? Read What AssistX is, then Getting started.
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.
Overview
What AssistX is, the rules it follows, and the words it uses.
- What AssistX is: An AI assistant that acts like a buddy who runs your life.
- Principles: The rules the whole design follows.
- Glossary: Short meanings of the words used across these docs.
Getting started
Run the server, run the Android app, and set it up.
- Run the server: Build, test and start the Rust server, and make tokens.
- Run the Android app: Build or install the app and connect it to your server.
- Configuration: Every environment setting, its default, and what changes at run time.
Architecture
How the server is built, part by part.
- API: The one outside door: transport, auth, scopes and every route.
- Events: The event stream: format, replay and every event type.
- Turn engine: How one turn runs: threads, queues, the Safety Gate, limits and endings.
- Prompt system: The layers of the prompt, the index, outside content and the budget.
- Memory: Memory stores, entries, trust, folders, profiles, links, search and forget.
- Recipes: Saved multi-step tool runs the user can replay.
- Plugin format: Plugin folders, plugin.yaml, tags, tools, sandbox and sharing.
- Scheduler and notices: Jobs, alarms, reminders, tasks, sounds and unasked notices.
- Voice: Live mode, spoken answers and the voice screen.
- Models: Model profiles, auto mode, cloud rules and model tests.
- Accounts and encryption: Several people on one server, keys, sign-in and remembered phones.
- Multi-device plan: A plan for one owner with many devices. Not built yet.
- Location: Phone points, visits, places, place triggers, geofences, noticing and travel time.
- Phone capture: Speech heard by the phone, as text, picked into memory only with a yes.
- Computers: Your own computers connect with agent-node so the assistant can work with their files.
- Audit and reports: What is kept, the review pack, chat reports and automatic reports.
- Mind and morning brief: The quiet task that thinks every 30 minutes, and the morning brief.
- Deploy: The main server: layout, deploy from the Mac, logs and settings.
Agents
How the agent works end to end: turns, plugins, dreaming, scheduled work and approvals.
- Turn loop: What the agent does inside one turn, and the tools it always has.
- Plugin loading: How the agent finds and loads a plugin when it needs one.
- Plugin maker: How the agent learns a new ability: drafts, build mode, approval and versions.
- Dreaming: The background job that sorts notes into memory.
- Scheduled checks: Work the assistant starts on its own: jobs, tasks, the mind, the brief and watches.
- Approvals: Cards, risk, autonomy levels, batches, voice answers and waiting.
Android app
How the phone app is built and how it talks to the server.
- App structure: The files, screens, permissions and sounds of the Android app.
- Talking to the server: Tokens, the live connection, uploads, and which screen calls which route.
- Updates and release: How the app is built, published, installed and updated from your own server.
Plugins
One page per shipped plugin, with its tools and limits.
- calendar: The user's calendar - see, add, move and delete events, repeats, and reminders that can ring.
- computers: The user's own computers (Mac, Windows, Linux) running agent-node - list, read, search, copy and move their files.
- email: Your Gmail - recent and unread mail, search, read one mail, a short inbox summary, drafts and replies; sending always asks first.
- files: Browse, read, write, move and find files inside one allowed folder.
- google-health: Your Fitbit and Pixel Watch data via Google - steps, heart rate, sleep, exercise, weight and more. Read only.
- health: The user's body numbers per day from their phone - steps, sleep, heart rate, weight, workouts.
- hevy: Your Hevy workout log - recent workouts, routines, exercises; log a finished workout.
- lists: The user's lists - shopping, to-do or any name; add, tick off, remove and share items.
- location: Where the user is and has been - places they stay or visit often, named by them or by OpenStreetMap.
- memory-tools: Skill for writing things down. Load it when the user shares something worth keeping, or wants memory organised, folders made or facts rated.
- phone: Do things on the user's phone - open the dialer or a ready-to-send text, open an app, set a timer or a clock-app alarm, start directions.
- plugin-maker: How to learn a new ability by building a plugin when nothing in the index fits.
- scheduler: Reminders by time or place, repeating jobs, alarms that ring, and tasks that start the assistant later.
- spotify: Music: plays songs, artists, albums, playlists and liked songs on your Spotify devices.
- terminal: Run commands in the user's work folder - allowlisted programs, or any command line after a warned yes.
- weather: Current weather and a three day outlook for a named place.
- web: Read public web pages as plain text and list their links.
Security
Threat model, safety rules, and how to report a problem.
- Threat model: What we protect, who attacks, and what stops them.
- Safety rules: The rules every change must keep: core, plugins, page and app.
- Reporting a problem: How to report a security problem, scope and safe harbor.
- Private data: What must never be committed, tests included, and the check that stops it.
Contributing
How to work on AssistX: setup, code rules, tests and the change flow.
- Dev setup: Tools, build and test commands, and what never to commit.
- Code layout: Where the code, prompts, plugins, tests and app live.
- Code style: The hard rules for code in this project.
- Testing: Golden tests, model tests, the smoke test and the test sets we need.
- Change flow: How a change goes in, and pull request etiquette.
- Branches: main, beta and production: what each is for, what runs, and how a change moves up.
Roadmap
What is done, what is next, and what is still open.
- Done: What is built today.
- Next: Known gaps and work not built yet.
- Open questions: Decisions still needed, and where old docs and code disagree.
Design
The AssistX design language: how the app and the docs site look, move and adapt.
- Principles: The few rules every AssistX screen follows.
- Color: Colour tokens for light and dark, and how colour is used.
- Typography: The font, the type scale and how text is set.
- Spacing and layout: Compact spacing, corner sizes, the grid and layouts from phone to desktop.
- Motion: Durations, easing, springs, page moves and reduced motion.
- Haptics: The few vibrations we use, when, how to code them, and what never to do.
- Icons: One soft, round icon set, sizes, states and animated icons.
- Components: Buttons, cards, chat bubbles, lists, sheets, inputs and notices.
- Smart UI: How screens adapt to time, place and what you are doing.
- Accessibility: Contrast, touch size, text size, screen readers and motion.
- Tokens: One table of design values for the app page, Android and the docs site.
- Screens: The four tabs, where every screen lives, the states each screen shows, and how to add one.
Quality
The rules that keep AssistX code safe, fast, tested, logged and easy to read.
- Quality bar: What "done" means: tests, review, lint, no secrets, small changes.
- Safety: The safety rules every change must keep.
- Logging: Every change adds logs. What to log, levels, fields, and what never to log.
- Testing: What to test, how, and which tests each kind of change needs.
- Performance: Keep the server quick and small, and the model calls cheap.
- Android battery: How the app stays light on battery, and the gaps.
- Code review: The checklist a reviewer runs on every change.
- Writing docs: Format, front matter, style, where pages go, and keeping docs in sync.
- Agents checklist: Rules AI agents must follow when they change the code.
Plans
Specs for work that is not built yet.
- Full activity log: An opt-in, per-account setting that records everything for that account so AI agents can review it.
- Docs site: Plan for a small Rust site builder that turns docs/ into a private AssistX docs site.
- Design language rollout: Steps to bring the Android app and its page onto the design language.
About these docs
- Migration: where each old doc went.
- Runtime files are not docs:
server/prompts/*.md,server/plugins/*/guide.mdandserver/data/**are loaded by the engine. These pages link to them. - Each page has front matter (
title,description,order) for the docs website.
Archive
- Retired docs: Where the old server docs went and what supersedes them.