MEGA is a program on your Windows PC. This page follows a request through its eight layers, shows how it finds what to click and checks that the click worked, and says where your data lives. Nothing on this page runs MEGA: it is an illustration of how the app is built.
From your request to a result
Scroll through the layers. The diagram keeps its place and lights the layer you are reading. Its moving dashes show the path of a request, and they stop when motion is off.
Layer 1, Entry. The desktop icon launches MEGA. It points at a tiny launcher, MEGA.exe, which setup compiles on your PC with the C# compiler built into Windows. The launcher starts the Python app with no console window, and only one instance runs per user.
Layer 2, Surfaces. Everything that can talk to MEGA feeds one input queue: the HOLO app window, voice, a paired phone, WhatsApp, the scheduler, and the tray and hotkeys.
Layer 3, Gateway. One dispatcher handles one task at a time, deliberately, because tasks share one screen, keyboard and mouse. A watchdog abandons a turn only after 4 minutes without progress; long tasks keep going while they keep making progress.
Layer 4, Router. The router understands your request in tiers, so simple commands run instantly without calling the AI model: routines you taught it, about 130 instant patterns, about 360 skill trigger phrases, multi-step commands that the model breaks into a plan, and finally one AI call that picks a skill or answers directly.
Layer 5, Authority gate. The authority gate checks who is asking. The owner has full authority. Anyone else gets answer-only skills by default, for example someone mentioning MEGA in a WhatsApp group if you enabled that. Every plan step and every agent tool call is checked again.
Layer 6, Execution. Execution takes one of three paths: a single skill; a plan of steps run in order, where an honesty check adds a correction if the written answer claims something no step verified; or an agent loop that looks at the screen fresh every step, decides one action, acts, verifies, and repeats until done or stopped. The Orchestrator in the Automation view breaks bigger goals into goal, milestones, tasks and actions, with approvals.
Layer 7, Skills and tools. About 70 built-in skills (69 folders; the shell skill is disabled by default), plus about 17 agent tool aliases. MCP connectors are optional: MEGA is an MCP client over stdio, and the Plugins view has a gallery of 42 one-click presets for third-party MCP servers that need Node.js or uv and your own credentials.
Layer 8, Models. Separate, independently configurable text, vision and image models. Ollama runs locally (defaults qwen2.5:7b for text and gemma3:4b for vision); Anthropic, OpenAI, Google Gemini and xAI Grok run on your own key. Once a key is entered, MEGA lists the models that key can use, and the model can be switched without restarting.
Layer 1
Entry
The desktop icon launches MEGA. It points at a tiny launcher, MEGA.exe, which setup compiles on your PC with the C# compiler built into Windows. The launcher starts the Python app with no console window, and only one instance runs per user.
Setup compiles the launcher on your PC.
No console window.
One instance per user.
Layer 2
Surfaces
Everything that can talk to MEGA feeds one input queue: the HOLO app window, voice, a paired phone, WhatsApp, the scheduler, and the tray and hotkeys.
The HOLO app window is the main interface.
Voice: click-to-talk, an optional “hey mega” wake phrase, or a recorded wake sound.
A paired phone on your home Wi-Fi: chat, hold-to-talk and a hands-free Wi-Fi Call.
WhatsApp, optional: MEGA drives WhatsApp Web in its own browser window.
The scheduler, the tray and hotkeys.
Layer 3
Gateway
One dispatcher handles one task at a time, deliberately, because tasks share one screen, keyboard and mouse. A watchdog abandons a turn only after 4 minutes without progress; long tasks keep going while they keep making progress.
One task at a time.
A watchdog gives up after 4 minutes without progress.
Layer 4
Router
The router understands your request in tiers, so simple commands run instantly without calling the AI model: routines you taught it, about 130 instant patterns, about 360 skill trigger phrases, multi-step commands that the model breaks into a plan, and finally one AI call that picks a skill or answers directly.
Routines you taught it, called by name.
About 130 instant patterns that need no AI call.
About 360 skill trigger phrases.
Multi-step commands, which the model breaks into a plan.
Finally, one AI call that picks a skill or answers directly.
Layer 5
Authority gate
The authority gate checks who is asking. The owner has full authority. Anyone else gets answer-only skills by default, for example someone mentioning MEGA in a WhatsApp group if you enabled that. Every plan step and every agent tool call is checked again.
By default nobody but you can instruct MEGA.
Guests get answers only, never your screen, files, accounts or memory.
Every plan step and every agent tool call is re-checked.
Layer 6
Execution
Execution takes one of three paths: a single skill; a plan of steps run in order, where an honesty check adds a correction if the written answer claims something no step verified; or an agent loop that looks at the screen fresh every step, decides one action, acts, verifies, and repeats until done or stopped. The Orchestrator in the Automation view breaks bigger goals into goal, milestones, tasks and actions, with approvals.
A single skill.
A plan of steps, with an honesty check on the written answer.
An agent loop: look, decide, act, verify, repeat.
The Orchestrator: goal, milestones, tasks, actions, with approvals.
Layer 7
Skills and tools
About 70 built-in skills (69 folders; the shell skill is disabled by default), plus about 17 agent tool aliases. MCP connectors are optional: MEGA is an MCP client over stdio, and the Plugins view has a gallery of 42 one-click presets for third-party MCP servers that need Node.js or uv and your own credentials.
About 70 built-in skills.
Arbitrary shell commands are off by default and excluded from agents.
Agents cannot spawn other agents.
Optional MCP connectors: 42 one-click presets.
Layer 8
Models
Separate, independently configurable text, vision and image models. Ollama runs locally (defaults qwen2.5:7b for text and gemma3:4b for vision); Anthropic, OpenAI, Google Gemini and xAI Grok run on your own key. Once a key is entered, MEGA lists the models that key can use, and the model can be switched without restarting.
Ollama, local: qwen2.5:7b for text and gemma3:4b for vision by default.
Anthropic, OpenAI, Google Gemini or xAI Grok with your own key.
Text, vision and image models are set separately.
One task at a time is deliberate: tasks share one screen, one keyboard and one mouse. A watchdog gives up on a turn only after 4 minutes without progress.
How it sees
To find “the blue Continue button”, MEGA tries five rungs in order. The first confident answer wins. Pick a kind of screen to see which rung answers, and what it costs when the better rungs have nothing to read.
Looking forthe blue Continue button
0
Rung 0: Markers
Exact spots you taught it, such as “save this as the export button”.
Nothing taught for this window.
No answer
0.5
Rung 0.5: Screen memory
Spots where a click was verified before, remembered per app, window and size.
No verified click remembered here yet.
No answer
1
Rung 1: Accessibility tree
Windows UI Automation: the app’s own accessibility tree. Exact positions, and for real buttons and menu items MEGA can press them through the accessibility API with no pixel guessing.
Found a button named Continue, with its exact position.
Answers · high confidence
2
Rung 2: OCR
Tesseract, a separate free install, reads the text on screen.
Not needed: a rung above answered.
Not needed
3
Rung 3: Vision model
Asks a vision model which region holds the target, refining up to three times. The lowest confidence, and the last resort.
Not needed: a rung above answered.
Not needed
App with accessibility data: Accessibility tree answers, high confidence. Exact, fast and cheap: this is the best case.
It checks its own work
It doesn’t assume the click worked. After acting, MEGA compares the screen before and after.
Before→After
Verdict
Changed
The 96×96 patch around the click differs after the click: something happened.
MEGA carries on.
BeforeMEGA saves a 96×96 patch of the screen around the target.
ClickIt clicks.
AfterIt saves the same patch again.
CompareThe two patches decide the verdict.
LearnOn a measured miss it asks a different rung, and it learns small, repeatable aim corrections on that machine.
Your model. Your data.
MEGA works with a free local model or your own API key. Text, vision and image models are set separately, so you can mix them.
MEGA, on your Windows PC
Local
Ollama, on your PC
Ollama (free): qwen2.5:7b for text and gemma3:4b for vision by default
→Your prompts and screenshotsare processed on this PC.
→Web searches, research and newsstill go from your PC to those websites.
With a local model, MEGA's AI runs on your PC. Web searches, research and news still go to those websites, and when stuck the computer agent may ask ChatGPT in your own browser.
Honest limitation
When the computer agent makes no progress for about 90 seconds, it may open ChatGPT in your own browser (if you're signed in there) and type the problem in to ask for help. This can happen even with a local model.
Cloud
Your own key, your own account
Anthropic
OpenAI
Google Gemini
xAI Grok
→Your request and the memory context it needsgo to that provider.
→Screenshots, when the vision model is a cloud modelgo to that provider too.
Text and vision can be split: local chat with cloud vision, or the other way round.
MEGA has no server of its own and does not phone home.
You pay a cloud provider directly, per use.
Where MEGA keeps its dataC:\Users\<you>\.mega\workspace\
It remembers — in a folder you own
MEGA keeps its brain as an Obsidian-compatible folder of Markdown notes with [[links]], and browses it as a 3D graph where separate subjects form separate clusters. It captures useful notes from your conversations automatically, filtering out secrets. This miniature uses sample subjects and sample note counts.
What the app shows you
MEGA’s Home view has gauges for the PC and the AI model. This panel imitates them with labelled sample values.
System
Illustration · sample values
23CPU
41RAM
Core · MEGA core — idle
Model
qwen2.5:7b · ready
Tasks
One at a time
Two limits that belong on this page
Honest limitation
Many apps and most web pages expose little accessibility data, so OCR and vision do much of the work there, and they are slower and less exact.
Honest limitation
Agent steps take several seconds each. The median we measured is around 14 seconds. MEGA is not instant, and it does one task at a time.