AssistX roadmap
From a smart chat box to a buddy that runs your day.
- Built · step 1Turn engine
- Built · step 2Memory DB
- Built · step 3Index + load / unload
- Built · step 4Safety Gate
- Built · step 5plugin-maker
- Built · step 6Dreaming
- Built · step 7Scheduler
- Built · step 8Undo
- Built sincePhone capture · Location · Computers · Models · Audit · The mind · Accounts
- You are hereDocs, design language, docs siteThe ground work for everything ahead.
- 1Next · 1Account system fixesClose the known gaps in Accounts: sign-in, keys, remembered phones. Started 2026-11-25…
- 2Next · 2Improved skill dataRicher, better-sorted data behind each skill, so the assistant picks and uses skills well.
- 3Next · 3Multi-computer supportOne owner, many computers, per the Multi-device plan.
- 4Next · 4Skill rewrites and more skillsRewrite older plugins to today's rules, and add new ones.
- 5Next · 5Design language reworkBring the app onto the design language, per the rollout plan.
- 6Next · 6AssistX websiteA public home page: docs, downloads, recent pushes, contributors, info. See below.
- 7Next · 7Phone screen data captureRead what is on the phone screen into memory, only with a yes.
- 8Next · 8Notification captureRead phone notifications into memory, only with a yes.
- 9Next · 9Email bridgesMail beyond Gmail: other providers and plain IMAP.
- 10Next · 10PC control supportRun commands and drive apps on your own computers, with approvals (Computers).
- 11Next · 11Improved secret storageSecrets in the OS keychain, not only inside the database.
- 12Next · 12Better storage readingFaster, smarter reading of files and stored data.
- Later16 choices to makeOpen questions below decide the road after this.
Choices to make 16
Full notes
What is built
Build order status
| Step | What | State |
|---|---|---|
| 1 | Turn engine, model adapter, prompt, threads/messages/events, auth, tokens, tests | Done |
| 2 | Memory DB, search_memory, save_note, raw-log scrubbing, core-set trust | Done |
| 3 | Index + load / unload (plugins, mem:, dir: folders, 80-line cap, batched rebuild) | Done |
| 4 | Safety Gate, approvals, action log, loader, sandbox, proxy, hash check, user autonomy | Done (macOS sandbox only) |
| 5 | plugin-maker, build mode, drafts, approval cards, install, versions, rollback | Done |
| 6 | Dreaming (dry run, snapshot locks, trust rules), forget | Done |
| 7 | Scheduler, jobs, triggers, notices | Done |
| 8 | Undo, export | Done |
Also built since: phone capture, location, computers, models, audit, the mind, accounts. See the Architecture pages; each opens with its status.
The planned build order
Safety comes in with the first risky tool, not at the end.
- Turn engine + model adapter + base prompt + API (threads, messages, events, auth, tokens) + the golden-conversation test harness, so every later step is tested.
- Memory DB +
search_memory+save_note+ raw log with secret scrubbing and core-set trust labels (04), so poisoning defenses exist before dreaming does. - Index generation +
load/unload. - Safety Gate + approvals + action log, then plugin loader + sandbox + proxy + one real plugin (calendar). The sandbox escape and API auth tests (see Threat model) land in this step.
- plugin-maker + build mode + plugin approval flow.
- Dreaming job (memory tools only) + forget.
- Scheduler + triggers.
- Undo for each plugin tool that supports it + export.
Next and known gaps
Planned milestones
In order. The roadmap page draws these as the road ahead.
| # | Milestone | What it means |
|---|---|---|
| 1 | Account system fixes | Close the known gaps in Accounts: sign-in, keys, remembered phones. Started 2026-11-25: invite codes, switch off/on, per-phone removal, admin log and the admin dashboard (a web page on the server at /admin) are built. |
| 2 | Improved skill data | Richer, better-sorted data behind each skill, so the assistant picks and uses skills well. |
| 3 | Multi-computer support | One owner, many computers, per the Multi-device plan. |
| 4 | Skill rewrites and more skills | Rewrite older plugins to today's rules, and add new ones. |
| 5 | Design language rework | Bring the app onto the design language, per the rollout plan. |
| 6 | AssistX website | A public home page: docs, downloads, recent pushes, contributors, info. See below. |
| 7 | Phone screen data capture | Read what is on the phone screen into memory, only with a yes. |
| 8 | Notification capture | Read phone notifications into memory, only with a yes. |
| 9 | Email bridges | Mail beyond Gmail: other providers and plain IMAP. |
| 10 | PC control support | Run commands and drive apps on your own computers, with approvals (Computers). |
| 11 | Improved secret storage | Secrets in the OS keychain, not only inside the database. |
| 12 | Better storage reading | Faster, smarter reading of files and stored data. |
Gaps against the design
-
Linux sandbox is bubblewrap only: files, and network only through the socket proxy (untested on a real Linux box yet: run web and weather there once). CPU, memory and process-count limits are not set; only wall time and output size are.
-
macOS profile not verified on a real login session in this build: the dev machine ran the server inside another sandbox, so tests ran tools unsandboxed. Run
cargo testfrom a normal Terminal to exercise it, especially Spotify's Apple Events rules. -
HTTPS through the proxy is checked by host only (CONNECT), so build-mode "GET only" holds for plain HTTP, not inside TLS.
-
The DB is encrypted with SQLCipher (
src/db.rs). Key:AGENT_DB_KEY(a passphrase) or elsedata/db.key(made on first run, 0600).A plain DB from an older version is encrypted at start and the plain copy kept as
data/core.db.plain-backup(delete it by hand).The key file sits next to the DB, so this guards copies, backups and exports of the DB file, not a full copy of
data/; setAGENT_DB_KEYfrom elsewhere for that. Secrets live inside the encrypted DB; the OS keychain (keyring) is still not used. -
OAuth only for Spotify (
src/oauth.rs, PKCE); no install by URL, no signing, no MCP-wrapped plugins. -
Forget removes other entries built from the same sources instead of rewriting them.
-
Long chats are summed up (
src/summary.rs, Prompt system): pastAGENT_SUMMARY_AT_TOKENS(default 12000) or 40 messages, the older part is folded into one stored summary by the turn's model; the newest 12 stay word for word. -
Vectors are plain BLOBs scanned in Rust (no
sqlite-vec); fine for thousands of entries. -
No batches of
lowapprovals. -
No OpenAPI file (
utoipa). -
Multi-device (Multi-device) is not started.
-
AGENT_MAX_TOKENS_PER_DAY(default 2000000, 0 = no cap) caps cloud model tokens per day (columnturns.cloud_tokens). Local models never count and keep working when the cap is hit. -
Live config: only per-tool autonomy can be changed with
PATCH /v1/config; the rest is env vars. -
serde_yamlis archived upstream. -
Android build in CI: the APK still builds from the Mac with
assistantx-app-release. Moving it to theproductionrelease needs the signing key as a CI secret (Branches). -
No license file yet. Pick one before asking outside people to contribute.
Project home page: not built yet
One public page for AssistX, for users and helpers. It is built by the Rust docs site tool (all-Rust rule) and shares the design language.
- About: what AssistX is, why use it, why help. Short version of the repo
README.md. - Docs: links into the docs site, with search.
- Downloads: the newest Android APK and its changelog, from the
productionreleases. - Recent pushes: the last commits and releases on
main,betaandproduction. - Contributors: everyone who has helped, with their GitHub picture and name.
- Info: the roadmap picture, the rules, and how to report a security problem.
Status 2026-11-25: a first version is built into the docs site as its home page (docs-site/src/home.rs). It has the nav (Home, Docs, GitHub), a GitHub download button, app screens, a terminal, a contributor leaderboard, and release, pull request and push logs. Refresh GitHub data with cargo run -j1 -- fetch in docs-site/, then build. Real screenshots go in docs-site/assets/screens/ (PNG, JPG or WebP); without them the page draws the screens. Still to do: hosting, and real screenshots.
Open choices: where it is hosted (it is local only today, see Docs site), and whether pushes and contributors are read at build time or live from GitHub. Build time is the safe default: no tokens on the page.
Phone capture: not built yet
- Pairing by QR code, and listing devices with their last upload.
- Turning a kept appointment into a reminder automatically.
- Speaker-labelled summaries of a whole conversation.
- Encrypting the capture log at rest (same gap as the rest of the database).
Computers: not yet
- Running commands on a computer (would be an
unrestrictedtool, like the terminal'sshell). - Sending a file from one computer to another, or to the phone.
- Signed builds; macOS may ask to allow an unsigned program the first time.
Multi-device build order
- Schema and parser:
devices.toml+ env merge + validation +devicestable. - Read-only API and tools:
GET /v1/devices,list_devices,device_info, device index in the prompt. - Per-device tokens,
origin_deviceon every turn,last_seenand status. - Pairing and revoke (CLI + API) with action-log entries.
- Safety Gate device checks and
can_approveon approvals. - Notice routing and the short offline queue.
- Nodes: tools that run on another device.
Accounts: build order (done) and known gaps
-
Per-account home: data folder, database, settings, models, jobs. Account store and admin routes. 2. Key wrapping, passphrase and recovery key flow, unlock and lock. 3. Per-account tokens and route isolation, with cross-account tests on every route. 4.
Phone: server pick, server token, account sign-in, create-account screens with the recovery-key ceremony. 5. Admin page. 6. Migration of today's data into the first account.
Known gaps are listed in Accounts, As built.
App reshape plan (R1 review)
A review on 2026-11-22 planned a design doc and a safe-code doc for the app. Both are written: Screens, Tokens and Safety rules. Round 2 risks and acceptance:
What can break:
-
NativeApp.pageReady()(index.html, 2 calls;MainActivity.kt:765). If a reshape throws before it runs, the app shows the rescue dialog after 8 s (:151) for every user. Keep the call first, guarded. -
Native -> page callbacks: the app calls
window.__open,__ready,__captureChanged,__updateChanged,__locationChanged,__voiceChanged,__healthChanged,__dictation,__dictationState,__oauthCheck,__shared,__photoText,__setupChanged(MainActivity.kt:74-729).Renaming or dropping any = silent breakage. Done: it is the bridge contract.
-
Deep links by name:
openPendingViewandgoPlan("calendar"|"new-event"|"alarms"|"new-alarm"|"lists")(index.html:1188-1190) are hit by home-screen shortcuts (android/app/src/main/res/xml/shortcuts.xml, extraopen), allowed byOPEN_VIEWS = calendar, alarms, new-event, new-alarm, new-chat(MainActivity.kt:1025). Keep names, or change both sides. -
localStoragekeys (planTab:1180, others): renamed keys reset users' choices. -
Release script:
~/bin/assistantx-app-release:8-18copies one file and only checks the first<script>parses with jsc. Splitting into several files, or adding a second script block, breaks the copy or the check. Keep one self-contained HTML file, or update the script andbuild.gradle.kts:59together. -
Native screens (
AssistActivity,RingActivity) will look old next to a new page unless colors are mirrored. -
Server-side:
AGENT_ALLOWED_ORIGINSmust still includehttps://appassets.androidplatform.net(server/docs/09-deploy.md:46); don't change the host. -
Memory: the Mac is low on RAM; the APK builds on the server (
assistantx-app-release), so round 2 must not need a local Gradle build.
Acceptance for round 2 (suggest):
- jsc parse check passes (
assistantx-app-releasestep) and the page callspageReadyon load. - A checklist in the PR: each of the 21 Settings rows + 3 Plan segments + chat history + connect/account reachable in the new map (from the Screens table).
- Every
NA.*call andwindow.__*callback above still present (grep diff = 0 removed, or both sides changed). - Screenshots light + dark of each top place, phone width, from a real install (or the Mac test page) — before and after.
- No new
innerHTMLwith data, no inlinestyle:added; tokens only. build.gradle.kts:59path fixed;cargo test -j1untouched (page change must not touchsrc/).- Owner approves screenshots before release; ship with
assistantx-app-release, roll back = re-publish previous APK.
Open questions
Decisions
Status of each: Decided, Proposed (suggestion, needs a yes), or Open. The other docs already assume the Proposed storage, sandbox and secrets answers (#2, #3, #9). Change them here first if they move.
| # | Question | Status | Answer | Reason |
|---|---|---|---|---|
| 1 | Language and runtime | Decided | Rust (tokio, axum) for the core and API. Plugin tools can be in any language. | Speed, memory safety, one binary. Front ends get typed clients from the generated OpenAPI file. |
| 2 | Storage | Proposed | SQLite (SQLCipher build) via rusqlite, FTS5 for text, sqlite-vec for vectors | One local file, easy backup, works offline. |
| 3 | Sandbox on macOS and Linux | Proposed | Linux: Landlock + seccomp (or bubblewrap). macOS: sandbox-exec profile. Both: network through a local allowlist proxy. Containers later as an option. | Light, starts fast. A proxy is the simplest way to limit hosts. sandbox-exec is deprecated but still works; watch for a replacement. |
| 4 | Which models first | Proposed | First: an OpenAI-compatible adapter. Second: Anthropic. | The first also covers Ollama, vLLM and many hosted models. The second proves the adapter interface. |
| 5 | Project name | Open | — | Owner's call. The assistant itself stays unnamed and the user may name it. |
| 6 | License | Proposed | Apache-2.0 | As easy to modify as MIT, plus a patent grant. |
| 7 | Proactive behavior | Proposed | Quiet hours, a daily cap on unasked messages, and three priorities: urgent (any time, still capped), normal (outside quiet hours), digest (batched into a morning or evening brief). | Stops nagging. Front ends decide how each priority is shown. Delivered as the assistant.notice event. |
| 8 | Multi-user | Proposed | Out of scope, but every table has owner_id and every path can be scoped per user. | Cheap now, costly later. |
| 9 | Secrets storage | Proposed | OS keychain via the keyring crate; encrypted file fallback for headless Linux. | Keychain is safest; servers often lack one. |
| 10 | Evaluation | Proposed | Golden conversations per adapter, plus dreaming tests (merge, conflict, forget) and injection tests (see Threat model). Run in CI on every prompt change. | Merges and attacks fail quietly; tests catch them. |
Still open
- Plugin signing format (minisign, Sigstore, or none in v1).
- How the user grants OAuth for plugins on a headless install (device-code flow vs a link from the front end).
- Backup format and schedule.
- How a front end that holds only a
clienttoken handles ahighapproval. Proposed: the owner token is traded for a 5-minute token that can answer one approval, so the front end never stores the owner token. - Whether SQLCipher and
sqlite-vecbuild and work together. Check this in step 2; it decides the storage answer. - Database migrations: how the schema is versioned, and a backup taken before each migration.
- What
sandbox-execreplaces on macOS, if Apple removes it. Until then, document that this layer may break on new OS versions.
Multi-device questions
- Should the host be allowed to move to another device (failover), or stay fixed in v1?
- How does a headless node pair when it has no screen for the code?
- Do we need device groups ("all home devices") for routing rules?
- Should location (home, work) come from the owner only, or may a trusted GPS device update it?
Found while writing these docs (2026-11-22)
| Topic | Old docs say | Code or files say |
|---|---|---|
| Name | No product name in code, strings or docs (server/AGENTS.md rule 2) | Decided: the project is AssistX in docs. Code carries no product name. Screens use one display name, default "Assistant" (Code style rule 2). |
| Front end | examples/dummy-client/ is throwaway | Decided: an optional reference client, the app's real screens; src/ never depends on it (Code style rule 3). |
| Android project | A separate project AssistantX-Android | It is AssistX/android/, not in git. |
| Gradle page copy | copyWeb copies the page | It points at ../AssistantX/examples/..., which is gone, so it skips. Fix to ../server/.... |
| Linux tools on the main server | Off, no Linux sandbox (old deploy doc) | Code has a bubblewrap sandbox; newer note says tools run in it, network tools refused. Check on the server. |
| DB key | In the OS keychain | AGENT_DB_KEY or data/db.key; keyring not used. |
| OAuth routes | POST /v1/secrets/{name}/oauth/start, GET /v1/oauth/callback | /v1/oauth/{provider}, /start, /finish. |
| OAuth providers | Only Spotify (gaps list) | Spotify, Google Health and Gmail. |
| Approval batches | Low-risk calls are batched | Not built. |
| OpenAPI | Generated with utoipa | Not built. |
| Rate limits | 60 messages a minute per token, 10 triggers a minute | Message, notice and speech limits exist; exact numbers not checked here. |
| Port | Docs show 8790 | Code default is 8787; the main server sets 8790. |
| Phone capture page | Three tabs | Four tabs. |
| Review packs | Saved to AssistantX-reviews/ | Found in AssistX/reviews/. They hold real chats; keep them private. |