Show Amazon deliveries, hide Amazon deals. Android only lets you control notifications per app or channel. NotiSift decides per notification: what matters stays on top, the noise waits quietly, junk disappears.
Plug in a decision model and NotiSift reads each notification the moment it arrives, decides Important, Later or Junk and picks its group, then rebuilds your drawer around those decisions: ⭐ what needs you on top, everything else in quiet Day → group → notification stacks.
- Any model, your key: Perplexity's decision models, OpenAI, Anthropic, Gemini, OpenRouter, Groq, or a model on your own network (Ollama, LM Studio). Paste one key; the provider is detected for you. No account, no server.
- Per notification, not per app: each notification is decided on its own, so one app's deliveries and deals can land in different places.
- Your rules always win: codes, chats, calls and alarms never leave the phone, your choices beat the model, and if the model is slow or unsure the notification simply stays in the drawer.
- No AI? Still works. Built-in on-phone rules make the same decisions offline. The model makes them sharper.
- Nothing is lost: Later and Junk stay in the app (14 days by default), and anything you clear, here or in the drawer, waits in Cleared so you can restore it. New installs start in Preview, where nothing moves until you say so.
- 💬 Talk to NotiSift. Type a rule the way you'd say it: "Mute Instagram", "Family group only when someone tags me", "News can wait". It becomes rule cards you confirm with one tap, and one Undo takes it all back. Or ask: "Did my package ship?", "What was that Chase code?" (codes only with the on-phone AI), and get the answer with the notifications it came from.
- 📱 Runs on your phone's own AI. On phones with Gemini Nano (recent Pixel, Galaxy S and Galaxy Z models and others; Settings → On-phone AI tells you) NotiSift uses it by default: no key, no account, no cost, and nothing leaves the phone. It writes the one-line summary on each waiting group and learns from what the rules sorted.
- ⬆ Important on top. When you open NotiSift, the on-phone AI reads today's Later pile and moves up the few that can't wait ("arriving today", "gate changed"). One tap puts any back, and that kind never moves up again.
- 🕓 A notification scheduler. Have everything that can wait arrive at the times you pick (say 9 am and 6 pm) instead of all day, while what needs you now still gets through.
| How NotiSift decides | Cost | Your notifications go to |
|---|---|---|
| Built-in rules (always on) | Free | Nowhere: on the phone |
| On-phone AI (Gemini Nano, where the phone has it) | Free | Nowhere: on the phone |
| A model on your own computer (Ollama, LM Studio) | Free | Your computer, on your wifi |
| Free tiers (Gemini, Groq) | Free within their limits | That provider |
| Any cloud decision model (Perplexity, OpenAI, Anthropic, OpenRouter…) | Usually well under $1 a month (estimate below) | That provider |
Why a cloud model costs so little here: most notifications never reach it. Codes, chats, calls and alarms are decided on the phone; duplicates are skipped; once the model is sure about a kind of notification ("Amazon: out for delivery"), NotiSift remembers the answer and stops asking; and several questions go in one request.
Estimate, not a quote: 300 notifications a day, about a third reaching the model, a few hundred tokens each, is roughly 1–2 million tokens a month. With a small model priced around $0.10–0.50 per million input tokens, that is about $0.10–$1 a month. Check your provider's current price; NotiSift shows which provider it uses.
⬇️ Download the latest APK · Setup guide · How the decision model plugs in · Contribute
NotiSift is short for notification + sift.
All screenshots use the built-in demo data (assembleDemo, see below). Every name and message in them is made up.
- Protected first. Codes, chats from people, calls, alarms and ongoing notifications are decided on the phone and never hidden automatically.
- Your rules next. Per-app choices, per-chat settings and your swipe corrections beat everything else.
- Then the model or the offline rules pick Important, Later or Junk, plus a group (People & messages, Codes & security, Money & bills, Orders & deliveries…).
- Unsure? It stays in the drawer. Anything slow or uncertain fails open.
Full details: How it works · Any decision model · Privacy
A typical phone gets 50 to 100+ notifications a day, and most of them are not for right now: sales, "people you may know", feed updates, ride receipts, "rate your visit". The few that matter (a message from a person, a code, a bill due, a delivery arriving) get buried, so you either clear everything and miss things, or never clear and stop looking.
Android's own tools are all-or-nothing per app or channel: you can't say "show Amazon deliveries, hide Amazon deals". NotiSift decides per notification, so one app can land in all three tiers.
| Tier | What goes there | Where you see it |
|---|---|---|
| ⭐ Important | Messages from people, codes, money owed, calls and reminders, deliveries arriving now | Top of your drawer, as working copies of the originals (tap opens the exact chat, reply buttons work) |
| 🕓 Later | Useful but not urgent: receipts, news, social activity, smart-home events | One silent row per group in the drawer, and the Home tab |
| 🗑️ Junk | Ads, promos, engagement bait, review requests, update nags | Only inside NotiSift, in case you need it |
On top of the tier, every notification gets a group (People & messages, Codes & security, Money & bills, Orders & deliveries, News, Social, Promotions, Smart home & car, Stocks & crypto, Travel, Health, Video & music…), so the Later pile stays readable instead of being one long list.
- A short drawer. Only the few things that need you now sit on top; everything else is one silent row per group.
- Nothing is lost. Junk and Later stay in the app (14 days by default). Swipe any one back on top. Cleared one by mistake, even a whole day's stack in the drawer? Home → ↩️ Cleared puts it back.
- Find it again. 🔍 on Home searches every notification by app, sender or text.
- Chats, not just apps. A 1:1 chat and a 300-member community group aren't equally urgent. Set any chat to Only when mentioned or Mute. Each chat is one row in the drawer ("WhatsApp · 12 new"), not one per message.
- Smart group chats. Sale posts, forwards and groups having a very busy day (20+ messages) wait in Later unless someone @mentions you. 1:1 chats and Android priority conversations are never quieted, and Home tells you what was quieted with one tap to keep it on top. Off switch: Settings → Groups.
- Learns what you never read. A group with lots of messages this week and none opened? Home asks whether to show it only when you're mentioned. It asks; it never does it on its own.
- Later at set times. Have waiting groups appear in the drawer at, say, 9 am and 6 pm instead of all day (Settings → Groups). Everything is always in the app.
- On-phone AI (Gemini Nano). On phones that have it, NotiSift uses Google's on-phone AI with no key and nothing leaving the phone: one line on each waiting group ("40 sale posts, nothing for you"), and a second look at what the rules sorted, so it gets smarter on its own. See On-phone AI.
- Optional AI summaries. With an AI key, waiting groups get that one line even while NotiSift is closed. Off by default.
- It learns from you. Swipe right = "this was important", swipe left = done. Each correction becomes a rule for similar notifications, and every change can be undone.
- Safe by default. Codes, messages from people, money movement, calls and alarms are never hidden automatically. New installs start in Preview, where nothing moves until you say so.
- Private by choice. No account, no server. Use built-in rules or a local model and nothing leaves the phone.
⭐ Important · 9 ← real copies of the originals: tap opens the exact chat,
Alex Rivera 10:22 reply and other buttons work, swipe one away
Team standup 10:18
…
📌 Running in background · 2 ← car app, automation… tucked away; "Show" brings them back
18 waiting in NotiSift ← silent, one row per group; tap to open, "Clear" to empty
🏷️ Promotions & ads · 4
📰 News, weather & sports · 2
…
Or, with By day on, one stack per day that opens three levels deep:
🕓 Today · 16 ← tap the stack: one row per group
💬 People & messages · 5 ← expand a row (⌄): its newest notifications
👥 Social activity · 3 Instagram: Sam liked your photo …
➕ More groups · 4 ← the small groups share one row: 📈 1 · ✈️ 1 · 📦 1 …
📅 Yesterday · 2
Prefer dates? Tap By day on Home. The drawer then shows Today, Yesterday and an Earlier stack for the rest of the week, so nothing drops out after a day. Inside each day the biggest groups get their own row and the small ones share a More groups row, which keeps NotiSift well under Android's limit of about 50 notifications per app. The Home tab mirrors it: day → group → notification, each level tap-to-open.
Calls, alarms, navigation, media, timers, downloads and Android's own system notices are never touched.
Download: get NotiSift-<version>.apk from the latest release, open it on your phone, and allow your browser or file manager to install apps when Android asks. Android 8.0 or newer.
Or build it yourself (needs JDK 17+, Android Studio's bundled JBR works, and Android SDK 36):
git clone https://github.com/procoder-net/notisift.git && cd notisift
./gradlew :app:assembleRelease
adb install -r app/build/outputs/apk/release/app-release.apkYour own builds are signed with the debug key unless you add a keystore.properties (see app/build.gradle.kts), so uninstall the downloaded app before installing one you built, and the other way round.
The first time you open NotiSift, a four-step setup walks you through it:
- Your drawer, sorted. What NotiSift does, in one picture.
- Allow access. What NotiSift does and doesn't do with notification access, before Android shows its warning. You come back to the next step automatically.
- Your apps. Every app gets a starting choice by itself; nothing to tap.
- Your drawer, right now. The notifications already in your drawer, sorted the way NotiSift would sort them, with nothing moved yet. Tap Start sorting, or Just watch for now to keep your drawer as it is.
Every step can be skipped. The ? button at the top opens Help over any screen, with a short explanation of every part and a guided tour.
If you skipped part of the setup, the status card on Home shows the one next step:
- Allow access. Enable NotiSift under Notification access. This is how it reads notifications.
- Set up my apps. A scan gives every installed app a starting choice. Most get 🤖 Smart; authenticator apps are always on top. It runs on the phone.
- Preview. Use your phone normally for a day. Home shows what NotiSift would do; nothing moves yet. Swipe right on anything that should be Important, left on anything that's done.
- Start sorting. Android asks to let NotiSift post its rows. From now on your drawer is sorted. Add the NotiSift Quick Settings tile to switch between sorting and Preview from the shade.
Turn off on the status card stops NotiSift completely: nothing is read, logged or sent anywhere.
Newer phones with Google's AICore (recent Pixel, Galaxy S and Galaxy Z models, and others) have Gemini Nano built in. NotiSift uses it by default, with no key, and nothing leaves the phone. Settings → On-phone AI shows whether your phone has it.
- Summaries. While NotiSift is open, it writes the one-line summary on each waiting group in the drawer.
- Learning. It takes a second look at up to 10 kinds of recent notifications the built-in rules sorted. Answers it is very sure of (95%+) are remembered, so the next ones like them are sorted that way even with the app closed.
- Never chats, codes, money, or anything you set yourself. With your own AI key set up, that model's answers stand.
- Why only while open: Android lets apps use Gemini Nano only while they are on screen. Notifications that arrive with the app closed are sorted by your AI key or the built-in rules, as before.
- The first time, Android may download the model. It often waits for wifi and charging.
Phones without Gemini Nano work exactly as before. The rest of this section is about adding a cloud or local model.
Without a model NotiSift uses built-in rules on the phone, which already handle messages, codes, money, deliveries, promos and app types. A model is better at the in-between cases ("is this Amazon notification a delivery or a deal?").
Fastest: Connect OpenRouter. Home offers Make sorting smarter; tap Add a key → Connect OpenRouter, sign in on
openrouter.ai and approve. NotiSift gets its own key back automatically (OpenRouter's PKCE sign-in, caught by a
one-time listener on localhost on the phone), saves it encrypted and tests it. One OpenRouter account reaches Claude,
GPT, Gemini, Perplexity Sonar and many more.
Any other provider: the same screen has buttons to each provider's key page (Gemini and Groq have free tiers). Copy the key, come back, and NotiSift offers Use the key you copied. Only OpenRouter offers sign-in for apps; the others need a key created on their website.
Everything is in Settings → Advanced:
| Field | What to put there |
|---|---|
| Use AI | On to use a model, off for on-phone rules only |
| API key | Any supported key. The provider is detected from the key itself |
| Base URL / Model | Leave blank for the provider's default; set them for Ollama, LM Studio or other OpenAI-compatible servers |
| Tell the AI what matters to you | Plain words, e.g. "school emails from Oak Elementary are important" |
| Strictness | How sure the AI must be before something goes to Junk |
Tap Save & test: it sends a sample promo and shows the verdict and how long it took. Keys are stored encrypted with an Android Keystore key.
| Provider | Detected by | Notes |
|---|---|---|
| Perplexity Decisions (default) | pplx-…, PERPLEXITY_API_KEY |
POST /v1/decisions, pplx-decider-latest. Real probabilities, ~0.3 s |
| Jev / FastJev | api.typesafe.ai / :8000 |
Same decision protocol (/v1/systemone) |
| Perplexity Agent | choose in Settings | Chat models via /v1/agent, no web search |
| OpenAI | sk-…, api.openai.com |
Model auto-picked from /models if blank |
| Anthropic | sk-ant-… |
Messages API |
| Google Gemini | AIza… |
generateContent |
| OpenRouter / Groq | sk-or-… / gsk_… |
OpenAI-compatible |
| Ollama / LM Studio | :11434 / :1234 |
Local and private. Plain HTTP is allowed only for LAN/localhost hosts |
| Anything else | custom base URL | Any OpenAI-compatible /chat/completions server |
Developers: copy .env.example to .env (git-ignored) and fill in one key to pre-fill your own builds:
assembleDebug, or assemblePersonal (the signed release app with your key, which installs over a downloaded copy
and keeps its data).
The
.envkey is compiled into debug and personal builds only.app-release.apk, and every APK on the Releases page, never contains it. Never share a personal or debug APK.
| I want to… | Where |
|---|---|
| Always show / always hide one app | Apps → pick ⭐ Important, 🤖 Smart, 🕓 Later or 🗑️ Junk |
| Hide a kind of notification everywhere (e.g. all promos) | Settings → Groups → 🗑️ Junk on Promotions & ads |
| Catch a phrase ("flash sale", "your OTP") | Settings → Your choices → When a notification says… |
| Fix one mistake | Home → swipe right (on top) or left (done); Undo in the snackbar |
| Get back something I cleared | Home → ↩️ Cleared → swipe right or Restore (a whole day at once from its header) |
| Find a notification I saw earlier | Home → 🔍 and type the app, sender or a word from it |
| Keep history shorter or longer | Settings → history retention, or Delete notification history |
| See everything by date instead of by group | Home → By day (the drawer switches too) |
| Quiet a busy group chat | Open one of its messages on Home → ⭐ Always on top / @ Only when mentioned / 🔕 Mute |
| Stop NotiSift quieting group chats by itself | Settings → Groups → Smart group chats off (or Keep them on top on Home's 🤫 card) |
| See waiting groups only at set times | Settings → Groups → Later shows up in the drawer → e.g. 9 am & 6 pm |
| One-line AI summary on each waiting group | Settings → Groups → AI summary on waiting groups (needs an AI key) |
| Get @mentions through from muted groups | Settings → Your choices → Names people @mention you by |
| Pause for a while | Quick Settings tile, or ⋯ → Preview only on the status card |
| Bring back the larger Home cards | Settings → Advanced → Compact Home off. The line under it shows, on this phone only, how often each layout led to an action |
| Move to a new phone | Settings → Move to a new phone → Export, then Import the file on the new phone. Brings app choices, corrections, keyword and chat rules, groups and settings; never your API key or notification history |
Your choices always win over the AI. Protected groups (people, codes, money, calls) can be pinned on top but never hidden.
Does it delete my notifications? No. Later and Junk are removed from the drawer but kept in NotiSift for the retention period. You can put any of them back on top.
Will it hide a code or a message from a person? Not automatically. Those are protected and always stay on top, whatever the model says. 1:1 chats only leave the top through your own choice (Mute, or Only when mentioned). In group chats, Smart group chats sends sale posts, forwards and very busy days to Later, but anything that mentions you still goes on top; turn it off in Settings → Groups.
Why did a notification still make a sound? NotiSift sorts a notification right after Android posts it, so the app's own sound can play first. For apps you mostly send to Later or Junk, make their channels silent in Apps → Android settings; NotiSift still sees them.
Does it need the internet? Only if you add a cloud model. Built-in rules and Ollama/LM Studio work offline or on your LAN.
What does the AI see? The title and text of notifications that reach the model step, never codes, chats, calls or ongoing notifications (see Privacy).
Cheapest and safest first:
posted ─► live (call, alarm, media, navigation, progress, system) ─► left alone
─► ongoing (car, automation, foreground service) ─► tucked into "Running"
─► verification code, message from a person, hidden by Android ─► Important (protected)
─► your keyword rules ("flash sale" → Junk) ─► as written
─► your app choice (Important / Later / Junk) ─► as set
─► conversation or no readable text ─► Important / Later
─► duplicate within 10 min ─► Junk
─► learned or corrected template ─► cached answer
─► AI model, bursts batched (or offline heuristics if none) ─► answer + group
─► your group choice (Settings → Groups) ─► overrides
─► inbox mode: not clearly important ─► Later
─► safety net: codes, people, money and calls are never hidden automatically
New installs start in Preview: decisions are logged but nothing moves. Tap Start sorting on the Home screen once you trust it. Turn off stops NotiSift completely: nothing is read, logged or sent to a model.
Android doesn't let an app reorder another app's notifications, so NotiSift moves them:
- Important: NotiSift rebuilds the original with
Notification.Builder.recoverBuilder(so the tap target, reply and action buttons are the original app's own), posts it in its own "⭐ Important" group, and only then cancels the original. If posting fails, the original stays. - Later / Junk: the original is logged, then cancelled. Later items are summarised in one silent row per group.
- Running: ongoing notifications can't be cancelled, so they are snoozed for an hour at a time and listed in the Running row.
Practical limits it works within:
- About 5 posts per second per app. Android silently drops the rest, so every post goes through a pacer (one every 350 ms), and summary rows are only re-posted when their content changes.
- 50 notifications per app. At most 20 Important rows are shown; older ones stay in the app's Important tab.
- Updates wipe NotiSift's notifications. On reconnect it rebuilds the drawer from its log. The originals are gone by then, so rows rebuilt this way open the app instead of the exact chat. New messages bring the exact link back.
- Drawers that sort by time (One UI's default) would put a freshly refreshed waiting row above Important, so waiting rows carry an older timestamp. Not too old: Android silently drops notifications dated far in the past.
Smart cleanup runs on one small contract, so any model can plug in:
interface DecisionModel {
val id: String
suspend fun decide(request: DecisionRequest): DecisionResult // one decision
suspend fun decideAll(requests: List<DecisionRequest>): List<DecisionResult> // optional batching
}Decision APIs answer natively with probabilities. Chat models get the same requests as a JSON prompt. Notifications arriving within 0.3 s of each other are decided in one call.
| Android | Status |
|---|---|
| 8 – 9 (API 26–28) | Supported. Copies always use the app icon (icon types can't be read) |
| 10 – 13 | Supported |
| 14 | Supported. Swipeable foreground-service notifications (no "ongoing" flag) are still tucked away |
| 15 – 16 | Supported. Codes Android hides from listeners are left exactly as they are, because a copy would only show the placeholder (not yet verified on a device) |
- Notifications from work profiles and second users are left alone: NotiSift can only manage its own user's.
- Tested on Samsung One UI (Galaxy Z Fold). Samsung collapses each stack to one row; tap the count to expand it. Pixel shows the first few rows of a stack.
Aggressive battery savers can stop the listener:
- Samsung: Settings → Battery → Background usage limits → Never sleeping apps → add NotiSift.
- Xiaomi / HyperOS: App info → Battery saver → No restrictions, and enable Autostart.
- OnePlus / Oppo / Realme: App info → Battery → Allow background activity.
- If the listener shows as off after an update, toggle NotiSift off and on in Notification access.
NotiSift moves a notification after it is posted, so its first sound or vibration can still play. For apps you mostly send to Later or Junk, use Apps → Android settings to make that app's channels silent; NotiSift still sees them.
- Everything is stored on the phone (Room + DataStore) and excluded from cloud backup and device transfer. Settings → Delete notification history removes it at any time; old history is deleted automatically.
- With a cloud model, the title and text of notifications that reach the model step are sent to that provider. The app scan sends app names, channel ids and a few notification titles, never from chats, codes, money or calls. Codes, conversations, calls, alarms and ongoing notifications are decided on the phone and never sent.
- AI summary on waiting groups (off by default) sends the titles and texts of waiting groups, including muted or quieted group chats, to your provider for one line per group. Codes and money groups are never sent.
- On-phone AI (Gemini Nano) runs on the phone itself; what it reads never leaves the phone.
- Use Ollama or LM Studio on your LAN, or turn AI off, to keep everything local.
- Notification text is treated as untrusted. Prompts tell the model to ignore instructions inside it, and the answer is validated against a fixed set of actions and groups.
- Android doesn't let apps read other apps' notification channel lists, so the scan uses what NotiSift has observed. It improves the longer it runs.
- After NotiSift is updated or restarted by the system, rebuilt Important rows open the app rather than the exact chat (see above).
- On-phone AI only works while NotiSift is on screen (an Android rule for Gemini Nano), so it teaches the rules rather than sorting live.
QUERY_ALL_PACKAGESis used for the full app scan. Fine for sideloading and F-Droid; Google Play would need a justification.
app/src/main/java/io/github/notisift/
llm/ Provider detection + one client for decision APIs and chat models
engine/ Pipeline (DecisionEngine), groups, local rules, heuristics, prompts: no Android deps, unit-tested
scan/ DeviceScanner (installed apps + observed history) and PolicyAdvisor (suggestions)
service/ NotificationListenerService, Important stack, waiting groups, pacer
data/ Room entities/DAO, settings, Room-backed engine store
ui/ Compose screens: Home, Apps, Settings, Help sheet, first-run tour (adaptive for foldables)
DemoData.kt Invented notifications for the demo build
tools/testsender/ Helper app for end-to-end tests
scripts/ e2e-deeplink.sh
./gradlew :app:testDebugUnitTest :app:lintDebug # unit tests + lint
./gradlew :app:connectedDemoAndroidTest # UI tests on a device or emulator (installs the demo app beside yours)
./gradlew :app:assembleDebug # your own debug build (.env key included)
./gradlew :app:assemblePersonal # signed release app + your .env key, for your own phone
./gradlew :app:assembleDemo # demo build with made-up data, for screenshotsThe demo build installs beside the real app as io.github.notisift.demo, fills itself with invented
notifications on first launch and never reads your drawer, so screenshots can't leak real messages.
tools/testsender is a tiny helper app that posts chat notifications whose tap opens one exact chat.
scripts/e2e-deeplink.sh posts one, checks that NotiSift's row carries the sender's own tap action, opens the
drawer, taps the row and confirms that exact chat opened:
./gradlew :testsender:installDebug
adb shell pm grant io.github.notisift.testsender android.permission.POST_NOTIFICATIONS
./scripts/e2e-deeplink.sh "Alice" # phone unlocked, NotiSift turned onPushing a v* tag runs .github/workflows/release.yml: it tests, builds a
signed APK (for GitHub) and AAB (for Google Play), and attaches both to a GitHub release with their SHA-256.
Signing uses four repository secrets (SIFT_KEYSTORE_BASE64, SIFT_KEYSTORE_STORE_PASSWORD,
SIFT_KEYSTORE_KEY_ALIAS, SIFT_KEYSTORE_KEY_PASSWORD); without them the workflow stops rather than publish a
debug-signed build. Locally, put the same values in a gitignored keystore.properties
(storeFile, storePassword, keyAlias, keyPassword) and run ./gradlew :app:assembleRelease :app:bundleRelease.
Spread the word: ready-made posts, store text and taglines are in docs/MARKETING.md.
NotiSift gets better with every phone it runs on, and contributions are very welcome, no Android experience needed for most of them:
- 🗂️ A notification landed in the wrong place? Open a "wrong sort" issue with the app, roughly what it said (no personal details) and where it should have gone. These become new rules and tests.
- 📱 Tested on a phone or launcher we haven't? Send a device report telling us how the drawer looked: One UI, Pixel, MIUI, ColorOS, OxygenOS and others order stacks differently.
- 🤖 A decision model or provider we don't support? Adding one is a small
DecisionModel(see Any decision model). - 🌍 Translations, accessibility, docs, screenshots (demo build only, never real notifications).
- 🐛 Bugs and ideas: open an issue.
- 👋 First time? Pick an issue labelled
good first issue: small, scoped, with a "done when" check.
Read CONTRIBUTING.md for setup and the few rules (tests for engine changes, no secrets, no real notification content in issues, screenshots or tests). Every change goes through a pull request; CI must pass and a maintainer reviews and merges.
Samsung Galaxy Z Fold (One UI, Android 17): the cover screen and the inner screen, which gets a navigation rail and two-pane layouts. Tried it on another phone? Send a device report.
MIT













