Skip to main content

Towards Ambient AI

Today we are releasing the preview version of our Ambient AI assistant agent for Mac. It can help you with your everyday computer tasks. It is fast, smart, and most importantly, fully private. It runs locally on your computer, without sending any of your personal data to the cloud. We post-trained open-weights models to excel at working with Mac apps, and built our own inference engine to run them exceptionally fast. In this post I’ll talk about how we trained it, and what’s the longer-term vision behind our research program.

Introduction

AI agents are already ordering groceries, sending emails, arranging meetings, editing contracts, and giving dating advice. But even for the simplest tasks they still rely on explicit prompting, which requires attention and cognitive effort. We believe that the future of AI assistants is in always-on ambient agents, deeply integrated into operating systems and passively perceiving user actions, deciding when to act without needing an explicit prompt, even before the user can consciously verbalise it.

The combination of the level of access to the user’s personal data, and the ability to intelligently interpret that data makes AI agents a source of unprecedented privacy risks. We believe that the only way to build an ambient AI which preserves the user’s privacy is to run models fully locally on the user’s device.

Intelligence density is rapidly increasing: the latest open models which fit on a laptop already outperform frontier models from a year ago. An everyday assistant doesn’t require superhuman mathematical capabilities or coding skills. It should have good common sense, be fluent with computers, and work extremely fast. Those are the goals that we are working towards.

Training our models

Our roadmap toward building capable ambient agents consists of three stages:

  1. Solving short computer use tasks quickly and reliably
  2. Adapting to the user, carrying context through long histories of interactions
  3. Inferring goals from a stream of the user’s actions and acting proactively

For this release, we focused our training efforts on the first stage: building a pipeline for post-training existing open-weights models to be proficient at using macOS. The key to good post-training is high-quality data and diverse and realistic RL environments. So we created an orchestration system for running thousands of agents in sandboxed virtual machines, and built an elaborate pipeline for generating synthetic user personas, environments and tasks.

The first stage of our data pipeline is generation of user personas. We start with a detailed questionnaire containing 56 questions covering identity, languages, education, work, hobbies, family, financial status, travel history and many other attributes. We sample responses to those questions using an LLM to get a coarse portrait of a person.

Facts about our synthetic users

Alex Dwyer

46, regional truck driver, Sault Ste. Marie, Ontario

  • Hauls groceries across northern Ontario, starting at 4 a.m.
  • Lives with her partner Gwen in a rented duplex
  • Walks Patch, a senior beagle, on days off
  • Son Tyler is an electrical apprentice in London, Ontario
  • Takes Dad, who lives in assisted living, to his appointments
  • Grows tomatoes in buckets in a shared yard
  • Says “blue mug” with her friend Anita after a rough shift
  • Needs to renew her passport, with no trip planned

We then use this portrait as a seed for generating many stories covering episodes in the person’s life. When those episodes involve computer interaction, we populate the person’s filesystem with digital traces which include files, browser history, calendar events, text messages and emails.

Nine months on a synthetic user’s Mac

1,422things Alex did, saved or was sent
JanFebMarAprMayJunJulAugSepOctNovDecBrowserFilesMessagesMailNewslettersCalendar

tyler-letter.txt, edited 6 times over 6 weeks

Documents/tyler-letter.txt26 Mar, 19:59

Hi Tyler,

I’ve been thinking about you and hoping the apprenticeship is treating you fairly. I’d like to see you when our schedules line up. I’m not trying to put pressure on you; I know work and life do not always leave much room.

I hope things are going all right for you. Write or call when you have time.

Love,

Mom

To ensure a high degree of realism we use public domain files scraped from the internet instead of generating them directly.

Alex’s Mac, one of our synthetic users

Documents29 items
  • bus-station-scene.txt7 Oct
  • Broadband bill check.xlsx15 Sep
  • cold night seedlings.txt14 Sep
  • card-game-rules.txt9 Sep
  • Washing-care symbols.txt3 Sep
  • bead purse clasp repair.txt1 Sep
  • complaint to library.txt31 Aug
  • Bench marks observation note.txt29 Aug
  • letter to Lynn.txt28 Aug
  • trouser return.txt27 Aug
  • peach-pan-test.xlsx16 Aug
  • three-in-a-row-rules.pdf16 Aug
  • cutting care note.txt15 Aug
  • yellowing family prints.md15 Aug
  • tote bag mend.txt12 Aug
  • drawer runner repair note.txt11 Aug
  • drawer runner before repair.jpg11 Aug
  • desk drawer inventory.pdf11 Aug
  • vacuum suction check.txt4 Aug
  • cupboard hinge test.txt1 Aug
  • Sault Ste. Marie extra cleanup route.xlsx29 Jul
  • room inventory.xlsx1 Jul
  • slow exercise music.xlsx28 Jun
  • small kitchen puzzle.txt30 May
  • bicycle return plans.xlsx19 May
  • morning-road-poem.txt9 May
  • tyler-letter.txt6 May
  • Patch and the gate.txt2 Apr
  • household costs.xlsx7 Mar

The seeds for our tasks are obtained from multiple sources. We parse online forums, articles, freelance job listings and public chatbot conversations for questions seeking computer use or tech support advice. We also estimate computer use patterns for our synthetic personas, and use generated stories as task seeds. Additionally, we run an internal task collection pipeline where the members of our team, as well as external contractors, can submit their personal computer use scenarios.

What a task looks like

Which Saturdays in November 2026 am I free from noon to 3 p.m.?
Calendar

November 2026

Sun
Mon
Tue
Wed
Thu
Fri
Sat
1
2
3
4
5
6Dentist
7Sofia’s party
8
9
10
11
12Team offsite
13
14
15
16
17
18
19
20
21
22
23
24Parents evening
25
26
27
28Pottery workshop
29
30

Must pass

  • ✓Reference solution

Must fail

  • ✕Names the busy Saturdays
  • ✕Edits the calendar
  • ✕Does nothing

We heavily filter those task seeds for feasibility and realism, and balance domain proportions to faithfully represent the global distribution of human hours spent on them. We use the seeds to automatically generate prompts, setup and validation scripts, and grading criteria for LLM judges. We use multiple rounds of automatic filtering to ensure that each task is solvable and the validation logic is correct.

During rollout generation, we monitor network traffic and filesystem access logs using a combination of rules and LLM judges to catch unsafe actions. Additionally, we inspect chains of thought of models for signs of evaluation awareness.

For our initial post-training we chose Qwen3.5-9B as a starting checkpoint. We train models using SFT on synthetic traces generated with the help of larger teachers, followed by an RL stage with curriculum- and group-based reward shaping to prioritise completion speed. We found the data used during the SFT stage to be critically important for performance, with naive use of rollouts from stronger teachers leading to model collapse and catastrophic forgetting. We developed elaborate sampling strategies to avoid this issue.

Results

Our latest post-training runs show gains of 15% on our evaluation set on average, which translates to the Qwen3.5-9B model becoming comparable in capability to the much larger and slower Qwen3.8-27B. While there is still a significant capability gap between our small post-trained models and cloud frontier ones, we see significant potential in increasing scale and using future, more capable base models.

Tasks solved

  • Qwen3.5-9B base
  • Qwen3.5-9B post-trained, quantized
  • Qwen3.8-27B base
  • GPT-6.1 Sol
Under 1 min108 tasks
62%
77%
81%
95%
1 – 5 min144 tasks
38%
55%
55%
88%
Over 5 min281 tasks
17%
33%
26%
83%

Tasks solved, by domain

  • Qwen3.5-9B base
  • Qwen3.5-9B post-trained, quantized
  • Qwen3.8-27B base
  • GPT-6.1 Sol
Files and system82 tasks
68%
+16 vs base
Developer tools170 tasks
68%
+12 vs base
Office and documents152 tasks
63%
+17 vs base
Web browsing55 tasks
62%
+36 vs base
Media and creative215 tasks
46%
+16 vs base
Science and research96 tasks
26%
+11 vs base
0%25%50%75%100%

Tasks solved within a given time

  • Qwen3.5-9B base
  • Qwen3.5-9B post-trained, quantized
  • Qwen3.8-27B base
  • GPT-6.1 Sol
0%25%50%75%100%2 s5 s15 s30 s1 min2 min5 min15 min88%58%55%39%

Time to solution, per task

What’s next

These are early results, and we are expecting to get a significant further improvement in scores from scaling the compute and data by orders of magnitude.

Beyond reliability, we are working on polishing the agent behavior and making it seamlessly interact with its harness, use preferred tools, provide progress updates, present results using generative UI, and ask clarifying questions when needed. The agent should not only “solve” problems, but do that in a clean and nicely presented way, with minimal disruptions to the user and the state of their computer.

Our next generation of environments will include very long histories of interactions, and focus on personalization, memory, and the ability to understand the user and infer their implicit preferences.

On the safety front, we are working on safety evaluations measuring model susceptibility to snitching and sandbagging in scenarios where the user is engaged in various immoral or illicit activities. Additionally, we are planning to establish evals and red-teaming protocols for prompt injection attacks.

Try Mirai

The model described in this post powers Mirai, the AI assistant that lives on your Mac. It runs fully on device on Apple Silicon with macOS 27.0 and up, uses your Mac’s own operations instead of clicking around the screen, and keeps working offline.

Join the closed beta

Models, runtime & infrastructure to
make on-device AI interactive,
ambient & continuous.

Learn more