Explanation · Beginner to advanced · 6 min
How the AI in Your AI works
A plain-language explanation of what happens when you send a message in Your AI, from your words to the model on your computer and back, plus bots, memory and tools.
You type a message. A few seconds later an answer appears. Here is what happens in between, first simply and then in more detail.
The simple version
Your AI has three parts, all on your Mac:
- The app you see: chats, bots, settings.
- Your private workspace, which runs quietly in the background and keeps your bots, chats, files and routines.
- The model: a large file of numbers that has learned language. It runs inside Ollama, a free engine for running AI models on your own computer.
When you send a message, the workspace passes it to the model on your Mac, the model writes an answer word by word, and the answer appears in your chat. No AI company receives your question to answer it.
What a model is
A language model predicts the next word, over and over, based on everything before it. Trained on a huge amount of text, that one skill turns into writing, summarizing, explaining and planning. The model in Your AI has billions of these learned numbers ("parameters"). Your AI picks a size that fits your Mac's memory. See Download or switch models.
Bots, chats and memory
Your AI is built around bots: helpers with a name, a job and their own memory. Each bot has one ongoing chat with you, so it remembers what you talked about. Bots also remember facts you share, like your name or how you like things done; ask a bot what it remembers, or tell it to forget something. That memory is stored on your Mac.
Tools: when the AI does things
On Pro and Max, bots can use tools: web search, a browser, files, connected apps like Gmail or Calendar, and routines that run on a schedule. The model decides a tool is needed, the app runs it, and the result goes back to the model to finish the answer. You choose what a bot may do alone and what needs your OK, per app and per action. When a bot needs your OK, a card appears in the chat.
For the technically curious
- The model is served by Ollama at
http://127.0.0.1:11434, a local address only your Mac can reach. - Your AI loads it with a 32,768-token context window, roughly a long report, so a bot can keep a lot of the conversation and its tools in view.
- Your AI uses one model for everything in a chat, so you never have to switch.
- The model stays loaded in memory while you use Your AI, so replies don't wait for it to reload. The first answer after opening the app can take a few seconds while it wakes up.
- On a 32 GB Mac the default is a mixture of experts model: about 35 billion parameters in total, with only about 3 billion used for each word, which makes it fast. The 27B Swift models are dense (all parameters work on every word), stored in compressed 4-bit or 2-bit form to fit in memory.
Limits to know
Every language model can be confidently wrong. For health, money or legal questions, check a trusted source or a professional.
Video script
- (0:00) "What happens when you send a message? Here's the short version."
- (0:03) "Your AI runs on your Mac: the app, a private workspace, and the model."
- (0:11) "Your message goes to the model in Ollama, at a local address only your Mac can reach."
- (0:16) "It loads with a 32,768-token context, so a bot keeps a lot in view."
- (0:20) "The model stays loaded while you use Your AI, so replies don't wait for it to reload."
- (0:27) "Bots are helpers with a name, a job and their own memory. Each has one ongoing chat with you."
- (0:35) "On Pro and Max, bots can use tools like web search, a browser and connected apps. You choose what needs your OK."
- (0:43) "Full explanation at joinyourai.com/learn/how-it-works."
Unlock web search, scheduled automations, image and video tools, and a faster cloud option. Compare Free, Pro, and Max plans anytime.
Upgrade