Skip to main content

MYRA for Termux & Linux

Phone UI: run myra-termux on Termux — it opens a full voice + chat UI in your phone browser (MYRA's photo, Gemini Live voice that keeps listening, tool cards, permission prompts, 148+ languages).

MYRA AI assistant for your Android phone (Termux) and Linux computers. Powered by Google Gemini. Chat or talk in 148+ languages, and let MYRA control your device.

  • Termux (Android): torch, battery, SMS, calls, apps, volume, brightness, clipboard, location, URLs, voice in/out.
  • Linux: battery, notifications, open apps/URLs, volume (pactl), brightness (brightnessctl), clipboard (xclip/wl-clipboard), spoken replies (espeak-ng).

Install

pkg update && pkg install python termux-api
pip install myra-termux
myra-termux --setup
myra-termux

Also install the Termux:API app (F-Droid) for phone control and voice.

Get a free Gemini API key at https://aistudio.google.com/apikey

Linux (text/CLI version)

For the full MYRA desktop app with the same UI as Windows on Linux, install myra-linux instead (pipx install myra-linux). The text-only CLI below works on any Linux, including servers/SSH.

sudo apt install python3-pip xclip libnotify-bin espeak-ng   # optional helpers
pip install myra-termux        # (use `pipx install myra-termux` on newer distros)
myra-termux --setup
myra-termux

The backend (Termux or Linux) is detected automatically (override with MYRA_BACKEND=linux|termux).

Live voice

Tap the orb once: MYRA connects to Gemini Live and keeps listening (hands-free) - speak, she answers in her own voice, then listens again. Tap again to stop. Turn on Headphones in settings to interrupt her mid-sentence. Chrome needs mic permission.

Phone automation tools (Termux)

Apps by name (WhatsApp, Instagram, Spotify, YouTube, camera, settings...), YouTube/Spotify search, WhatsApp chat with your message filled in, Google Maps navigation, alarm and timer, dialer, contacts lookup ("Mummy ko SMS bhejo"), SMS, calls, camera photo, Wi-Fi, torch, volume, brightness, clipboard, location, notifications, share, download, media player. SMS, calls and WhatsApp always ask your permission first (Allow/Deny card in the UI).

Android does not let apps tap inside other apps without root/ADB, so Spotify/YouTube open the search and you tap the result; WhatsApp opens the chat with your message and you press Send. MYRA tells you this honestly instead of pretending.

The UI listens on 127.0.0.1 only, and every request needs a random token from the link printed in Termux.

Update

pip install --upgrade myra-termux

Usage

Command What it does
myra-termux Phone UI in your browser (on Termux) / terminal chat (on Linux)
myra-termux web Phone UI (add --port 9000 or --no-open)
myra-termux chat Terminal chat
myra-termux alias Create the myra shortcut (then just type myra)
myra-termux --voice Speak and listen (Termux:API)
myra-termux --language Tamil Set language (any of 148+; auto = Hinglish)
myra-termux --languages List all languages
myra-termux --name Rahul Set your name
myra-termux --ask "battery kitni hai?" One-shot question

You can also say it naturally: "speak Spanish", "tamil me bolo", "mera naam Rahul hai", "torch on karo", "mummy ko SMS bhejo".

SMS and calls always ask for your confirmation first.

Notes

  • Your API key is stored in ~/.myra_termux/config.json (user-only permissions). Env var GEMINI_API_KEY also works.
  • Voice quality varies by language; big languages (Hindi, English, Spanish, Japanese, Tamil...) are best.
  • This package is pure Python with no dependencies.

Metadata

Release files for myra-termux 0.4.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for myra-termux 0.4.1
File Size Uploaded
myra_termux-0.4.1.tar.gz 104.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for myra-termux 0.4.1
File Interpreter ABI Platform
myra_termux-0.4.1-py3-none-any.whl Python 3 none any Details

Total release size: 209.3 kB

Release files / myra_termux-0.4.1.tar.gz

Download URL myra_termux-0.4.1.tar.gz
Size 104.5 kB
Tags Source
SHA-256 checksum
How to use checksums
ce90479b7e7b5fe8c55d9a8472ff4459231f63be06377aab939680d832ec7c9f
BLAKE2b-256 checksum
How to use checksums
0e9ca7e32a57fa0c6e2c7c03837577c8cbbc23ca1ebf7ffee0ba6c85c1e527d1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.0

Release files / myra_termux-0.4.1-py3-none-any.whl

Download URL myra_termux-0.4.1-py3-none-any.whl
Size 104.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
963a437b21cd0520c5dc254024bcd7c8225f16a8912992683de77754cfe2bc99
BLAKE2b-256 checksum
How to use checksums
3d6bce5d11072b5e0c8a2c9fb0d1d1a9f3eb32fecca270cab168a0e9b7fbb436
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.0

Release history Release notifications | RSS feed

This release

0.4.1 This release

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page