Android · AI agent · Security

Nifa is an Android AI agent that I designed and built to look after your messages and calls. It sorts notifications, replies for you when you are busy, asleep or driving, carries out multi-step errands, screens calls and warns you about scams. It is built to resist prompt injection: text inside incoming messages cannot instruct it. It ships in 24 languages and is live on Google Play.

Nifa: screenshot of the live site
Nifa on a phone
Languages
24
Status
Live, still in active development
AI options
Its own server, or your key for 8 providers
Built with
Kotlin, Jetpack Compose and Next.js
Platforms
Android
Technology
Kotlin, Jetpack Compose, Next.js, Android Keystore

What Nifa does on your phone

Your phone’s assistant: it sorts notifications, answers for you and warns you about scams.

nifa.khuramimtiaz.com

Nifa is an AI agent rather than a chatbot. A chatbot answers questions; an agent does things on your behalf. On your phone, that means:

  • Sorting notifications, so the ones that matter are not buried.
  • Auto-replies when you are busy, asleep or driving, written in the other person’s language.
  • Errands: tasks that take several steps, carried out for you.
  • Call screening.
  • “Ask Nifa”: search your messages by asking a question.

The scam shield: four signs of a scam

Scams arrive by message and by phone call. Nifa’s scam shield looks for four signs:

  • Impersonation: a message pretending to come from someone it does not.
  • Phishing links: links to fake pages built to collect your details.
  • Newly registered domains: a web address created very recently, a common mark of a scam site.
  • Code requests during calls: a caller asking for a one-time code while you are on the phone, a classic way to take over an account.

None of these checks needs the user to be an expert. Nifa looks for the signs so people do not have to spot them alone.

Built to resist prompt injection

An assistant that reads your messages has an unusual weakness: anyone can send it text. If a message contains instructions aimed at the assistant, and the assistant follows them, that is prompt injection. For an agent that reads messages from strangers, it is a central risk.

Nifa is built so that text inside incoming messages cannot instruct it. It treats a message as something to sort, answer or check, never as a command to obey.

Why this matters for any AI agent

The more an agent can do, the more it matters who is allowed to give it orders. In Nifa, the answer is never the text of an incoming message.

Its own server, or your own key for 8 AI providers

Nifa can run through its own server, or through the user’s own key for any of 8 AI providers. That gives people a choice: use Nifa’s server, or bring a key and pay their chosen provider directly.

A personal key is a secret, so Nifa stores it encrypted with Android Keystore. Keystore keeps encryption keys in Android’s protected key store, away from the app’s ordinary files and from other apps.

How it is built, and how it has grown

Nifa is a native Android app written in Kotlin and Jetpack Compose, with an API built in Next.js. It ships in 24 languages, which matters for an assistant that replies in the other person’s language.

I have kept developing it since it launched on Google Play. It is a product I keep improving, not one I shipped once and left.

What shipped

  • Nifa on Google Play, in 24 languages, with new versions since its launch.
  • Notification sorting, auto-replies in the other person’s language and multi-step errands.
  • A scam shield for impersonation, phishing links, newly registered domains and code requests during calls.
  • Call screening and Ask Nifa search over your messages.
  • Prompt injection resistance: incoming text cannot instruct it.
  • A choice of its own server or the user’s own key for 8 AI providers, stored encrypted with Android Keystore.
  • A native Kotlin and Jetpack Compose app with a Next.js API.
Services
  • AI agents

    AI agents that work with your tools, data and rules, designed and built end to end, with a person approving the important actions.

  • AI security

    Security-first engineering for AI agents and apps: prompt injection defenses, attack testing before launch, scam detection and secure code.

  • Mobile app development

    I design, build and launch native Android apps in Kotlin and Jetpack Compose, from the first plan to Google Play. Five of my own apps are live there.

Insights

Nov 7, 2026 · 8 min read

What is prompt injection? How I test AI agents against it

Prompt injection is the attack every AI agent has to survive. What it is, the kinds to expect, how to contain it, and how I test for it before launch.

Nov 7, 2026 · 8 min read

What are AI agents? Real examples from products I’ve built

An AI agent doesn’t just answer; it works toward a goal using tools. Here is what that means in practice, shown through five agents I designed and built.

An AI agent, an app, a platform or a growth problem. Tell me what you want to achieve and I’ll tell you how I’d build it.

Start a project