AssistX roadmap

From a smart chat box to a buddy that runs your day.

  1. Built · step 1Turn engine
  2. Built · step 2Memory DB
  3. Built · step 3Index + load / unload
  4. Built · step 4Safety Gate
  5. Built · step 5plugin-maker
  6. Built · step 6Dreaming
  7. Built · step 7Scheduler
  8. Built · step 8Undo
  9. Built sincePhone capture · Location · Computers · Models · Audit · The mind · Accounts
  10. You are hereDocs, design language, docs siteThe ground work for everything ahead.
  11. 1Next · 1Account system fixesClose the known gaps in Accounts: sign-in, keys, remembered phones. Started 2026-11-25…
  12. 2Next · 2Improved skill dataRicher, better-sorted data behind each skill, so the assistant picks and uses skills well.
  13. 3Next · 3Multi-computer supportOne owner, many computers, per the Multi-device plan.
  14. 4Next · 4Skill rewrites and more skillsRewrite older plugins to today's rules, and add new ones.
  15. 5Next · 5Design language reworkBring the app onto the design language, per the rollout plan.
  16. 6Next · 6AssistX websiteA public home page: docs, downloads, recent pushes, contributors, info. See below.
  17. 7Next · 7Phone screen data captureRead what is on the phone screen into memory, only with a yes.
  18. 8Next · 8Notification captureRead phone notifications into memory, only with a yes.
  19. 9Next · 9Email bridgesMail beyond Gmail: other providers and plain IMAP.
  20. 10Next · 10PC control supportRun commands and drive apps on your own computers, with approvals (Computers).
  21. 11Next · 11Improved secret storageSecrets in the OS keychain, not only inside the database.
  22. 12Next · 12Better storage readingFaster, smarter reading of files and stored data.
  23. Later16 choices to makeOpen questions below decide the road after this.

Choices to make 16

proposedStorage#2
proposedSandbox on macOS and Linux#3
proposedWhich models first#4
openProject name#5
proposedLicense#6
proposedProactive behavior#7
proposedMulti-user#8
proposedSecrets storage#9
proposedEvaluation#10
+7 more open questionsin the notes below

Full notes

What is built

Build order status

StepWhatState
1Turn engine, model adapter, prompt, threads/messages/events, auth, tokens, testsDone
2Memory DB, search_memory, save_note, raw-log scrubbing, core-set trustDone
3Index + load / unload (plugins, mem:, dir: folders, 80-line cap, batched rebuild)Done
4Safety Gate, approvals, action log, loader, sandbox, proxy, hash check, user autonomyDone (macOS sandbox only)
5plugin-maker, build mode, drafts, approval cards, install, versions, rollbackDone
6Dreaming (dry run, snapshot locks, trust rules), forgetDone
7Scheduler, jobs, triggers, noticesDone
8Undo, exportDone

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.

  1. Turn engine + model adapter + base prompt + API (threads, messages, events, auth, tokens) + the golden-conversation test harness, so every later step is tested.
  2. Memory DB + search_memory + save_note + raw log with secret scrubbing and core-set trust labels (04), so poisoning defenses exist before dreaming does.
  3. Index generation + load / unload.
  4. 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.
  5. plugin-maker + build mode + plugin approval flow.
  6. Dreaming job (memory tools only) + forget.
  7. Scheduler + triggers.
  8. 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.

#MilestoneWhat it means
1Account system fixesClose 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.
2Improved skill dataRicher, better-sorted data behind each skill, so the assistant picks and uses skills well.
3Multi-computer supportOne owner, many computers, per the Multi-device plan.
4Skill rewrites and more skillsRewrite older plugins to today's rules, and add new ones.
5Design language reworkBring the app onto the design language, per the rollout plan.
6AssistX websiteA public home page: docs, downloads, recent pushes, contributors, info. See below.
7Phone screen data captureRead what is on the phone screen into memory, only with a yes.
8Notification captureRead phone notifications into memory, only with a yes.
9Email bridgesMail beyond Gmail: other providers and plain IMAP.
10PC control supportRun commands and drive apps on your own computers, with approvals (Computers).
11Improved secret storageSecrets in the OS keychain, not only inside the database.
12Better storage readingFaster, 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 test from 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 else data/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/; set AGENT_DB_KEY from 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): past AGENT_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 low approvals.

  • 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 (column turns.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_yaml is archived upstream.

  • Android build in CI: the APK still builds from the Mac with assistantx-app-release. Moving it to the production release 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 production releases.
  • Recent pushes: the last commits and releases on main, beta and production.
  • 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 unrestricted tool, like the terminal's shell).
  • 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

  1. Schema and parser: devices.toml + env merge + validation + devices table.
  2. Read-only API and tools: GET /v1/devices, list_devices, device_info, device index in the prompt.
  3. Per-device tokens, origin_device on every turn, last_seen and status.
  4. Pairing and revoke (CLI + API) with action-log entries.
  5. Safety Gate device checks and can_approve on approvals.
  6. Notice routing and the short offline queue.
  7. Nodes: tools that run on another device.

Accounts: build order (done) and known gaps

  1. 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: openPendingView and goPlan("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, extra open), allowed by OPEN_VIEWS = calendar, alarms, new-event, new-alarm, new-chat (MainActivity.kt:1025). Keep names, or change both sides.

  • localStorage keys (planTab :1180, others): renamed keys reset users' choices.

  • Release script: ~/bin/assistantx-app-release:8-18 copies 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 and build.gradle.kts:59 together.

  • Native screens (AssistActivity, RingActivity) will look old next to a new page unless colors are mirrored.

  • Server-side: AGENT_ALLOWED_ORIGINS must still include https://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):

  1. jsc parse check passes (assistantx-app-release step) and the page calls pageReady on load.
  2. 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).
  3. Every NA.* call and window.__* callback above still present (grep diff = 0 removed, or both sides changed).
  4. Screenshots light + dark of each top place, phone width, from a real install (or the Mac test page) — before and after.
  5. No new innerHTML with data, no inline style: added; tokens only.
  6. build.gradle.kts:59 path fixed; cargo test -j1 untouched (page change must not touch src/).
  7. 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.

#QuestionStatusAnswerReason
1Language and runtimeDecidedRust (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.
2StorageProposedSQLite (SQLCipher build) via rusqlite, FTS5 for text, sqlite-vec for vectorsOne local file, easy backup, works offline.
3Sandbox on macOS and LinuxProposedLinux: 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.
4Which models firstProposedFirst: an OpenAI-compatible adapter. Second: Anthropic.The first also covers Ollama, vLLM and many hosted models. The second proves the adapter interface.
5Project nameOpen—Owner's call. The assistant itself stays unnamed and the user may name it.
6LicenseProposedApache-2.0As easy to modify as MIT, plus a patent grant.
7Proactive behaviorProposedQuiet 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.
8Multi-userProposedOut of scope, but every table has owner_id and every path can be scoped per user.Cheap now, costly later.
9Secrets storageProposedOS keychain via the keyring crate; encrypted file fallback for headless Linux.Keychain is safest; servers often lack one.
10EvaluationProposedGolden 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 client token handles a high approval. 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-vec build 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-exec replaces 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)

TopicOld docs sayCode or files say
NameNo 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 endexamples/dummy-client/ is throwawayDecided: an optional reference client, the app's real screens; src/ never depends on it (Code style rule 3).
Android projectA separate project AssistantX-AndroidIt is AssistX/android/, not in git.
Gradle page copycopyWeb copies the pageIt points at ../AssistantX/examples/..., which is gone, so it skips. Fix to ../server/....
Linux tools on the main serverOff, 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 keyIn the OS keychainAGENT_DB_KEY or data/db.key; keyring not used.
OAuth routesPOST /v1/secrets/{name}/oauth/start, GET /v1/oauth/callback/v1/oauth/{provider}, /start, /finish.
OAuth providersOnly Spotify (gaps list)Spotify, Google Health and Gmail.
Approval batchesLow-risk calls are batchedNot built.
OpenAPIGenerated with utoipaNot built.
Rate limits60 messages a minute per token, 10 triggers a minuteMessage, notice and speech limits exist; exact numbers not checked here.
PortDocs show 8790Code default is 8787; the main server sets 8790.
Phone capture pageThree tabsFour tabs.
Review packsSaved to AssistantX-reviews/Found in AssistX/reviews/. They hold real chats; keep them private.