Buddy
AI text assistant for Android. Type /fix, /formal, /reply or any custom trigger at the end of text in any app, and Buddy rewrites it instantly using Gemini.
Type a trigger at the end of your text, in any app, and AI rewrites it in place.
Buddy is an AI text assistant for Android. It runs quietly in the background and works inside any app. Type a trigger such as /fix, /formal or /reply at the end of what you wrote, and Buddy replaces your text with the AI result right in the same text field. There is no copy and paste and no switching apps. You bring your own API key, and your text goes straight from your phone to the AI provider you chose.
From a text field to a keyboard upgrade in two weeks.
Using AI to polish a message usually means leaving the app you are in, opening a chatbot, pasting your text, waiting, copying the answer and pasting it back. Buddy is built around removing that detour. It moves the AI to where the text already is, so that a short word typed after your sentence is all it takes.
The project was built in April 2026. Its first commit is dated 3 April, with a public README, screenshots and an MIT licence in the first few days. Over the next two weeks it grew from a single page of features into four feature releases. Version 1.1 added a history tab, static text replacers, an update reminder and a quick switch for banking apps. Version 1.2 added usage analytics per key and a new commands editor. Version 1.3 added Groq as a first-class provider. Version 1.4, on 18 April, added a creativity slider and redesigned the Keys and Commands screens.
- 3 April: first commit, screenshots and README.
- 6 April: custom and built-in commands become editable, language preservation and model defaults improve.
- 7 to 10 April: history, text replacers, update reminder, banking app toggle and API usage tracking.
- 14 April: Groq support, with a refreshed Settings and Keys UI.
- 18 April: AI temperature control, a usage dashboard and a redesigned Commands screen.
Good writing help should not cost you a context switch.
Most AI writing tools live in their own app or their own keyboard. To use them you copy your text out, wait, and paste it back. For a quick WhatsApp reply or a rushed email, that is often more effort than just sending it as it is.
Buddy asks what the smallest possible version of an AI writing assistant would look like. The answer is no screen of its own while you work: the assistant should appear only when you ask for it, in whatever app you are already typing in.
- Work in every app, not only in one keyboard or one editor.
- Be as quick as typing a word, with no copy and paste.
- Let people choose their own AI provider and keep their own keys.
- Keep private text private: no accounts, no servers in the middle.
- Stay out of the way until a trigger is typed.
One trigger, five steps.
Buddy runs as an Android Accessibility Service, which lets it see text changes in the focused text field. Everything below happens in a couple of seconds, without leaving the app you are typing in.
- 1. Write, then add a trigger: Write your text in any app and finish it with a trigger such as /fix or /formal.
- 2. Buddy notices the trigger: The background service sees that your text ends with a known trigger and takes the text that came before it.
- 3. A spinner in the field: A small animated spinner appears in the text field itself, so you know something is happening.
- 4. Your AI provider answers: The text goes straight to the provider you set up. If one key is busy or invalid, Buddy tries the next one.
- 5. Text swapped in place: Your text is replaced with the result and the phone gives a small vibration. If every key fails, your original text is put back and an error message appears.
What Buddy can do.
- Rewrites text in any app: Works in messaging, email, notes and social apps. Type a trigger at the end and the text is replaced where it stands.
- Ten built-in commands: Fix grammar, formal, casual, improve, shorten, expand, add emoji, write a reply, translate and undo.
- Translates to any language: Add a language code to /translate to switch language. Typing in a Latin-letter form of a language keeps that form.
- Custom commands: Create your own trigger with your own instruction, such as a tweet, a code review comment or a cold email. Built-in ones can be edited too.
- Text replacers: A trigger can also expand to fixed text, such as an address, with no AI call and no waiting.
- Three kinds of provider: Google Gemini, Groq, or any OpenAI-compatible endpoint, including local models.
- Several keys, rotated: Add more than one key and Buddy rotates through them, skipping busy or invalid ones.
- History and undo: A local history lists past results to copy or clear, and /undo restores the text before the last replacement.
- Usage insight: A dashboard shows seven days of requests, your most used command and a per-key view of requests and errors.
A small set of words, a lot of writing help.
The built-in triggers cover everyday writing: fixing mistakes, changing tone and changing length. The trigger starts with a symbol, a slash by default, and that symbol can be changed in Settings. Custom commands work in the same way, which means anyone can turn a favourite prompt into a short shortcut.
- /fix: Corrects grammar and spelling.
- /formal: Rewrites in a professional tone.
- /casual: Makes it friendly and relaxed.
- /improve: Polishes clarity and readability.
- /shorten: Cuts it down to the point.
- /expand: Adds detail and explanation.
- /emoji: Adds fitting emojis.
- /reply: Writes a reply to the message.
- /translate: Translates to the language you name.
- /undo: Brings back the text before the last replacement.
Your key, your provider, your choice.
Buddy has no AI of its own and no backend. You pick a provider, add a key and choose a model. Gemini is the default, with a free tier available, and Groq and any OpenAI-compatible endpoint are supported. That covers hosted services as well as models running on your own machine.
When several keys are added, requests are spread across them. A key that is rate limited is skipped and tried again after a cooldown, and a key that is invalid is marked so it is not wasted on later calls.
- Your text and trigger: Sent with the instruction for that command
- Next key in rotation: Keys are used in turn to spread the load
- Gemini: The default
- Groq: Open models, fast
- Custom: Any OpenAI-compatible endpoint
- Busy or invalid key: Skipped, next key is tried
- Success: Text replaced in the field
- Every key failed: Your original text is restored and an error is shown
Built so your text stays yours.
An app that can see what you type has to earn trust. Buddy keeps the list of things it does short and states clearly what it does not do.
- No servers in the middle: Buddy has no backend. Text goes from your phone straight to the provider you set up.
- No tracking: No analytics, no telemetry, no ads and no account or sign-up.
- Keys stored encrypted: Your API keys are encrypted on the device with AES-256-GCM, backed by the Android Keystore.
- Only on a trigger: The service acts when you type a trigger. It is not a keylogger, and text only leaves the device when you ask for an AI command.
- Password fields blocked: Buddy never reads or changes a password field.
- Careful with the clipboard: The clipboard is only a fallback way to insert text, and the original clipboard content is put back.
- Quick off switch: A one-tap shortcut on the dashboard turns Buddy off before you open a banking app.
- Open source: The full code is public under the MIT licence, so anyone can check it.
A request to a provider is still sent to that provider, under that provider’s own rules. Local models are an option for people who want text to stay on their own network.
Kotlin on the outside, Python for the AI calls.
Buddy is one app with two languages. Kotlin handles the Android side: the accessibility service, the screens, the key and command storage, history and usage. The AI requests themselves are written in Python, which runs inside the app through Chaquopy, so there is nothing else to install and no separate server.
One build, one install, nothing running anywhere else. That is also why the app is about 20 MB: it carries its own Python runtime.
- What you see, Any app: The text field you are typing in
- What you see, Buddy screens: Dashboard, Keys, Commands, History and Settings
- Android side (Kotlin), Accessibility service: Spots triggers and swaps in the result
- Android side (Kotlin), Key manager: Encrypted keys and rotation
- Android side (Kotlin), Commands, history, usage: Built-in and custom triggers, past results, request counts
- AI calls (Python), Embedded Python: Runs inside the app through Chaquopy
- AI calls (Python), Provider clients: One for Gemini, one for Groq, one for OpenAI-compatible endpoints
- App: Kotlin, Jetpack Compose, Material Design 3, Coroutines
- AI calls: Python 3.12, Chaquopy
- Platform: Android Accessibility Service, Android Keystore, Encrypted preferences
- Security: AES-256-GCM
- AI providers: Google Gemini, Groq, OpenAI-compatible endpoints
- Build: Gradle Kotlin DSL
Built as a native Android project, with Android 6.0 (API 23) as the minimum and Android 15 (API 35) as the target.
Small, quick to set up, widely supported.
- v1.4: Latest release, after four updates in about two weeks (v1.1 to v1.4)
- ~20.4 MB: APK size, including its own Python runtime
- 10: Built-in commands, plus any custom ones you create
- 3: Kinds of AI provider: Gemini, Groq and OpenAI-compatible
Figures come from the project’s README and release notes. They describe the app itself, not its usage.
Where it stands, and what it cannot do.
Buddy is distributed as an Android APK, with its source public under the MIT licence. It needs Android 6.0 or newer and an internet connection to reach your AI provider, unless you use a local model.
It has known limits, mostly where other apps or Android itself get in the way.
- Some text fields, such as a browser address bar or web views, can resist replacement, so Buddy falls back to a paste based method there.
- Some apps with their own text engines, such as WeChat, may block replacement completely.
- Banking and finance apps block apps that use Accessibility Services, which Buddy cannot get around. Use the quick off switch before opening them.
- Aggressive battery management on some phones can stop the background service, so a few makers need a settings change.
- Undo goes back one step only, and very long texts may hit a provider’s limits.
- The accessibility service may need to be switched on again after an app update on some devices.
Built with Kotlin, Python, Jetpack Compose, Coroutines, AES-256-GCM.
Deepender Yadav - AI/ML Engineer & Full-Stack Developer
Selected work
- Edge Drop - A dynamic-island style clipboard shelf that lives on your screen edge. Hover to spring it open, then drag text, images, links, and files straight into any app.
- Wicky - An AI superconnector that finds the right person for you, introduces you only when you both say yes, joins your call by voice, and follows up on what was promised.
- Campus Connect AI - AI-powered multilingual chatbot for campus information. Features Gemini LLM, dynamic knowledge base, Telegram/web interfaces, and a secure admin dashboard.
- Readme Architect AI - SaaS app generating professional GitHub READMEs with Google Gemini AI. Shipped GitHub OAuth, private repo support, JWT auth, dynamic sitemap, and Google Analytics.
- CursorViaCam - Hands-free mouse control with a webcam: move your head to steer the cursor and blink to click. Designed to assist users with motor impairments.
- Buddy - AI text assistant for Android. Type /fix, /formal, /reply or any custom trigger at the end of text in any app, and Buddy rewrites it instantly using Gemini.
- Attend-Sight - An AI-powered attendance tracker that turns uploaded schedules into a beautiful, interactive dashboard for managing your classes.
- Presenta - Create stunning video mockups and screenshots with professional device frames and smooth scrolling animations directly in your browser.
- AI-news-Automation - Automated AI news aggregator that fetches, summarizes, and emails daily tech briefings using Google Gemini AI and Vercel serverless functions.
- Video-to-Shorts - Turns long-form videos into short clips: AI picks the strongest moments, cuts them and adds word-timed subtitles you can edit before export.
- Sub-Gen - AI-powered video subtitle generation tool that automatically transcribes and generates subtitles using speech-to-text. Supports Hindi and Hinglish.
yadavdeepender65@gmail.com · GitHub · LinkedIn