# How Gary works ::: hero Gary is an AI teammate with its own computer. Each Gary works in your apps and on a cloud computer, so it keeps working after you close your laptop. Gary reaches other services through the apps you connect. When a service has no connector, Gary uses the browser on its computer. This page follows one request from start to finish. Suppose you send Gary this message: > "Reorder the toner we bought last time and send the receipt to accounting." - ![Memory](icon:memory) **Remembers the toner, the supplier, and the card to use** — Memory - ![Gmail](app:gmail) **Finds the last order's receipt** — Gmail - ![Computer](icon:computer) **Signs in and fills the cart** — Computer and Vault - ![Approval](icon:shield) **Asks you before it pays** — Approval card - ![Google Drive](app:googledrive) **Logs the order and reports back** — Google Drive ::: ## 1. It checks its memory The message doesn't say which toner, which supplier, or which card. Gary gets those from memory. Its notes include the cartridges you bought in March and your rule to use the company card for office supplies. You can ask Gary which notes it used. :::: window purple **Gary** · 9:12 AM > What do you remember for this? On March 4, you bought four TN-760 cartridges from Office Supply Co. for $212.40. You also told me to use the company card for office supplies. :::: Each Gary has its own memory. It stores your preferences, the rules you give it, and dated notes on its work. One note, About me, is shared by all your Garys. It holds facts like your name and time zone. ::: boxes ### ![Gary](gator:Gary) ![Ledger](gator:Ledger) Read by all your Garys - **About me** — Your name, your time zone, and the fact that you travel most Thursdays ### ![Gary](gator:Gary) Gary - **Pinned notes** — Use the company card for office supplies - **Daily notes** — March 4: bought four TN-760 cartridges, $212.40 ### ![Ledger](gator:Ledger) Ledger, your bookkeeper - **Pinned notes** — Log every order in the Purchases sheet - **Daily notes** — October's close finished on the 3rd ::: If you add your time zone to About me, all your Garys know it. If you tell one Gary where receipts go, only that Gary knows. Gary decides what to remember. Before it changes something it already remembers, it asks on a card. You can read, search, and edit each Gary's memory. For numbers that change, like prices, ask Gary to look them up again. Save logins and cards in [Vault](/vault), not in memory. See [Create and manage Garys](/garys). ## 2. It finds the last order's receipt in Gmail Next, Gary searches Gmail for the March receipt. Gmail is a connected app, so Gary reads the mail through the connection and doesn't open the Gmail website. A connection is more reliable than clicking through pages in a browser. ### Apps without a connector When an app has no connector, Gary opens its website in the browser on its computer. When you connect an app, Gary reads without asking. You choose what it can change without asking, action by action. See [Connect your apps](/connectors). See [Use the computer and apps](/computer-and-apps). ## 3. It signs in and fills the cart The supplier has no connector, so Gary opens its site in Chrome on its cloud computer. The computer keeps its files and sign-ins between tasks. You can open its desktop at any time to see what Gary is doing or which windows it left open. Each of your Garys is isolated from the others on that computer. The site asks for a password. Gary can sign in three ways: ::: rows - [on] ![Vault](icon:lock) **Vault** — A login you saved for Gary `Used for this site` - ![Take control](icon:pointer) **Take control** — You sign in yourself in Gary's browser `For codes and passkeys` - ![A key](icon:key) **A key on a card** — An owner or admin types it into a masked form `For services with a key` ::: :::: window gold ::: screen officesupplyco.com/sign-in #### Sign in to your account - **Email** - **Password** [Take control] ::: **Gary** · 9:14 AM Office Supply Co. is asking me to sign in. ::: card Needs your OK Use the Office Supply Co. login from Vault? [Allow] [Not now] ::: :::: In all three, the password is entered into the page without Gary seeing it. To pay, Gary asks to use the company card you saved in Vault. Each use of a card needs your approval. See [Vault and secure sign-in](/vault). Some steps need you, like entering a code sent to your phone or using a passkey. For those, choose **Take control**, do the step in Gary's browser, and choose **I'm done**. Gary doesn't see what you type. ## 4. It asks before it pays The cart is filled, and Gary is ready to pay. Payments need approval, so Gary stops and asks. :::: window blue **Gary** · 9:16 AM The cart has four TN-760 cartridges, the same as the March order. They arrive Thursday. ::: card Needs your OK Pay $212.40 to Office Supply Co. with the company card? [Approve] [Deny] ::: :::: Gary shows a card before it sends a message, submits a form, pays, or books. The card states the action in one sentence. You can answer it in the app, in Slack, or from the notification on your phone. Gary does everything else without asking. On a card, you can choose **Always allow** for that kind of action, such as email to one company's domain. You can remove the rule later. Emailing the receipt to accounting is a send, so it also gets a card until you allow it. Your admin can set a rule for each kind of action across the organization: allow, ask, or deny. You can add stricter rules of your own. See [Approvals and privacy](/approvals-and-privacy). ## 5. It logs the order and reports back Gary then adds the order to your Purchases sheet in Google Drive, which is also a connected app, and replies with what it did. If you close your laptop before it finishes, Gary keeps working and notifies you when it's done. The chat shows each step as Gary works, from your message to its reply. :::: window teal **Gary** · 9:19 AM > Reorder the toner we bought last time and send the receipt to accounting. The toner is ordered, and four TN-760 cartridges arrive Thursday. I paid $212.40 on the company card, logged the order in the Purchases sheet on row 48, and sent the receipt to accounting. `receipt-4471.pdf` :::: ## Security Gary acted as you for the whole request. It used the apps you connected and the logins you saved, so it can't do anything you couldn't do yourself. Every action is recorded under your name. ::: boxes ### ![Gary](gator:Gary/computer) Gary's computer Each person has one cloud computer. Each of that person's Garys is isolated from the others on it, and its folders are backed up every night. ### App sign-ins App sign-ins are kept in a secrets store, not on Gary's computer. Gary uses your apps without holding the sign-in. ### Vault Saved logins and cards are entered into the page without Gary seeing them. ::: Admins can see a record of every action, approval, and site Gary reached. The record doesn't include conversation content. You can also run Gary on your own hardware, either a company cluster or a single machine. The server, the database, the secrets, and each person's computer then run on your side. See [Security](/security) and [Run Gary on your own hardware](/own-hardware). ## Your first Gary and Garys with one job Your first Gary takes any request. Other Garys work best with one job, like keeping the books. Garys in the same project share a group chat. You can mention one, or let Gary choose which one answers. :::: window purple ::: sidebar #### Office - **Gary** — Toner ordered - **Ledger** — Logged in Purchases - **Scout** — Watching listings ::: **Office** · 9:41 AM > Reorder the toner we bought last time and send the receipt to accounting. **Gary:** The toner is ordered and arrives Thursday. I paid $212.40 on the company card. **Ledger:** I logged it in the Purchases sheet on row 48 and sent accounting the receipt. :::: Start new work with your first Gary. When one kind of request keeps coming back and has its own sources, rules, or schedule, create a Gary for it. That Gary's memory is then about that job only, so you explain the job once. ## Best practices - Start with your first Gary. Create a Gary for work that has its own sources, schedule, or approval rules. - Ask Gary to remember rules that apply every time. Put the details of a single task in your message. - For numbers that change, like prices or budgets, ask Gary to look them up. Don't rely on its memory. - Connect an app for each service you use often. For everything else, Gary uses the browser on its computer. - Choose a fast model for small checks and the strongest model for work you'll sign. - Never paste a password or a card number into a chat. Save it in [Vault](/vault), or take control and type it yourself. - Teach Gary the jobs you repeat. Do the job once on its computer while it watches, and it [saves the steps as a skill](/skills-and-routines). Then [ask for a routine](/skills-and-routines) that runs the skill on a schedule or when an email arrives. - Keep sends, payments, and anything you can't undo on **Asks first**. - In a [group chat](/projects), make one Gary responsible for each step. ::: callout ### [Start with your first Gary](/get-started) Tell it the goal. It asks a few questions, then creates the Garys, with one job each. ::: ## Related pages ::: cards ### [What makes Gary different](/what-makes-gary-different) Six more things Gary can do, with prompts to copy. ### [Use the computer and apps](/computer-and-apps) Gary's computer, connected apps, and taking control. ### [Vault and secure sign-in](/vault) Save logins, cards, and contact details, and take control when a site needs you. ### [Approvals and privacy](/approvals-and-privacy) Approval cards, Asks first rules, and what your admin can see. :::