Your Smart Personal Assistant, Powered by Google Gemini

MirAI 3 is a lightweight, fast, and feature-rich web interface for the Gemini API. Now with advanced search, custom accent color, memory management, and encrypted backups. Get instant answers without the bloat.

✨ Key Features

Lightweight

Vanilla Stack

Built purely with HTML, CSS, and JavaScript. No heavy frameworks, ensuring super lightweight loading and a snappy experience.

PWA

Progressive Web App

Install MirAI as a native-like app on your device with offline capabilities. Works seamlessly on Android and desktop.

Secure

Encrypted Backups (.medf)

Original encrypted data format by Allwaysever for secure backup of chat history, settings, and API keys with authenticity verification.

Session Persistence

Your conversations are automatically saved in your browser. Pick up where you left off, anytime! Supports cross-device sync via encrypted backups.

Multi-language Support

Available in Indonesian, English (US & UK), and Japanese. AI responses adapt to your chosen language for natural conversation.

Slash Commands & Tools

Use the '+' menu or type commands like `/translate`, `/summarize`, `/code`, and `/fix` for specific tasks. Dynamic suggestions as you type.

Custom Accent Color

Personalize the interface with your own hex color. Dark colors are automatically filtered to maintain readability.

Advanced Search System

Use /search command with multiple engines (SearchAPI, Google, DuckDuckGo, Wikipedia) or AI knowledge base fallback. Configurable in settings.

Memory Management

Control how many chat bubbles are stored with a handy slider. Trim old conversations manually or let MirAI handle it.

🔧 Advanced Features

Professional-Grade Capabilities

MirAI goes beyond basic chatbots with enterprise-level features designed for power users and developers.

  • Multimodal Input: Upload images (JPEG, PNG, WebP) and analyze them with text prompts using Gemini's vision capabilities.
  • Text-to-Speech (TTS): Click the speaker icon to have responses read aloud in your chosen language.
  • Model Switching: Choose between Gemini 2.5 Flash (stable) and Gemini 3 Flash Preview (beta) models.
  • Markdown Parsing: Code blocks, lists, and formatting display correctly with syntax highlighting.
  • Public API Limiter: Intelligent tracking and warnings for fair usage of the default API key.
  • Stop Generation: Immediately halt AI responses when needed with abort controllers.
  • Search Cache: Frequently run searches are cached to reduce API calls and speed up responses.
  • Debug Console: For power users, window.debugMirAI provides tools to inspect API usage, search engine status, and memory.
  • Authenticity Verification: Built-in signature verification for backup files to ensure they're genuine MirAI backups.
🔒

.medf Encrypted Backup System

Secure, portable, and authentic data format with signature verification

🛠️ Complete Tech Stack

Core

HTML5 CSS3 Vanilla JS

Foundation

Clean, semantic structure without framework bloat.

AI & APIs

Gemini API gemini-2.5-flash gemini-3-flash SearchAPI.io Google CSE

Intelligence

Latest Gemini models and multiple search engines.

Security

.medf Format Web Crypto API Authenticity Sig AES-GCM

Data Protection

Proprietary encrypted format with verification.

UX/UI

SuperRoundedUI Marked.js Service Workers Web Speech API

Experience

Premium design system with PWA and TTS.

MirAI is a simple and elegant Open-Source project under Apache License 2.0.

What Do They Say?

"The .medf backup system is genius! I can securely move my chat history between devices. The encryption gives me peace of mind."

User 1 Photo

Alex S.

Security Analyst

"Installing as a PWA on my Android feels like a native app. The offline capabilities and push notifications are game-changers."

User 2 Photo

Budi H.

Mobile Developer

"The model switching feature lets me test Gemini 3 preview easily. Performance is incredible even on my old laptop."

User 3 Photo

Cinta P.

AI Researcher

Frequently Asked Questions (FAQ)

What is the .medf file format?

.medf (MirAI Encrypted Data Files) is an original encrypted data format by Allwaysever for secure backup of chat history, settings, and API keys. It features password protection, authenticity signatures, and cross-device compatibility.

Can I install MirAI as a native app?

Yes! MirAI is a Progressive Web App (PWA). You can install it on Android devices through Chrome's "Add to Home Screen" feature. It works offline and supports push notifications via OneSignal integration.

Do I need my own API Key?

For the best performance and security, we highly recommend using your personal Google Gemini API Key. The default public key has usage limits. You can get a free API key from Google AI Studio and enter it in MirAI's settings.

What AI models does MirAI support?

MirAI supports both Gemini 2.5 Flash (stable) and Gemini 3 Flash Preview (beta) models. You can switch between them via URL parameters or settings. Each model offers different strengths in speed, accuracy, and capabilities.

Is my data secure with MirAI?

Absolutely. When using your own API key, all conversations happen between you and Google's servers. The .medf backup system uses military-grade encryption (Web Crypto API). Your API key is never transmitted to Allwaysever servers - it stays in your browser.

How does the search system work?

The /search command can use external search engines (SearchAPI.io, Google, DuckDuckGo, Wikipedia) if configured, or fallback to AI knowledge base. You can enable/disable engines in Settings → Search Configuration. Search results are cached for speed.

Can I control how much chat history is saved?

Yes! Use the memory slider in Settings to set the maximum number of messages to keep. Older messages are automatically trimmed to maintain performance.

Ready to experience next-gen AI assistance?

Try MirAI now with PWA installation, encrypted backups, and the latest Gemini models. Everything from coding to creative writing.

No sign-up required. Works offline with PWA installation.

Join the MirAI Community!

GitHub | WA Channel | Instagram | YouTube

Development is open-source under Apache License 2.0. Found a bug or want to contribute? Check out our Contributing Guide and comprehensive Documentation.