Version 1.4.0 (current)
Make your app work with Taku Memory
What Taku Memory remembers from your app, and how to keep sensitive content out.
Taku Memory remembers text from the apps a user chooses, through an Android accessibility service and notification access. If a user adds your app to Apps to remember, its page text and notifications can be saved, sent to a model during nightly organizing, and searched by the assistant. This page explains what is captured and what you can do in your app.
Interfaces for apps
Taku Memory's data interface, content://org.agentos.memory, is protected by the signature permission org.agentos.memory.ACCESS_MEMORY. Only system components signed with the same platform key, such as the assistant and the system task service, can call it. Ordinary apps cannot read or write memories directly.
- To let the assistant operate your app, expose actions and data with app interfaces.
- To call a model from your app, use the system AI client.
How page text is captured
Once the user turns on capture, chooses your app and enables the observation service, Taku Memory reads the active window's accessible text about 900 ms after the page settles:
- Only while the screen is on and unlocked, from nodes visible to the user in the active window on the main display; up to 32 levels, 500 nodes and 8,000 characters.
- Pages with fewer than 16 readable characters are not saved.
- System UI, the assistant and Taku Memory's own pages are never captured.
These are left out:
| Content | How to exclude it | Effect |
|---|---|---|
| Passwords | Use a password input type (isPassword() is true) | The whole page is skipped |
| Other sensitive content | Call setAccessibilityDataSensitive(ACCESSIBILITY_DATA_SENSITIVE_YES) on the view | The whole page is skipped |
| What the user is typing | Editable fields are skipped automatically | Only that field is skipped |
When the whole page is skipped, none of its other text is saved either. To keep an entire page out, include one view marked as sensitive.
A page is also skipped when its text contains something shaped like an API key or a Bearer token. Mark sensitive content explicitly rather than relying on that fallback.
How notifications are captured
Once the user turns on Read notifications and grants notification access, Taku Memory reads the title and EXTRA_BIG_TEXT (or EXTRA_TEXT when absent) of notifications from chosen apps. It never posts, dismisses or acts on a notification.
These notifications are skipped:
- ongoing, foreground-service and group-summary notifications;
- notifications with
visibilityset toVISIBILITY_SECRET; - notifications whose text mentions a verification code or a one-time code, in English or Chinese.
With Speak up first on, a new notification that touches something remembered may go to a model together with the few related memory lines, and the model decides whether to remind the user. Instruction-like notifications and notifications with links never go to the model.
Test your app
- In Taku Memory, turn on Auto capture, add your app to Apps to remember and enable the observation service.
- Open a page with a password field, a sensitive view and ordinary text, and let it settle.
- Go back to Memories in Taku Memory, open the new record and check that only the ordinary text appears.
Users can remove your app from the sources or delete saved records at any time. For every switch and permission, see Memory switches and access.
Research preview · Current availability
Report an issue or give feedback
Delivery to the maintenance queue does not mean it has been handled. Feedback is retained for 90 days.
Built with Fumadocs