Espresso

LatteAI

LatteAI is the assistant built into Espresso. It suggests what comes next as you type, changes text in place when you say what you want, and works on a whole project in a conversation. It runs on your Mac: nothing you write leaves it.

Topics

All of LatteAI's commands are in the Edit ⟩ LatteAI menu.

Setting up LatteAI

LatteAI needs a model, which Espresso downloads once. The first time you choose a LatteAI command, Espresso tells you that a download is required. Click Download & Install and the download starts, and the LatteAI preferences open so that you can watch it.

While a model is downloading, the LatteAI button in a project window's toolbar is a ring that fills. Click it to see the download in the preferences. You can go on working in the meantime; until the model is there, LatteAI shows no suggestions or hints. A download that was under way when you quit Espresso is taken up again the next time you open it. Cancel stops a download and discards what had arrived, and if a download stops by itself, Try Again restarts it.

LatteAI has no switch of its own. Once its model is on your Mac it is on, and you choose in the preferences whether it offers anything unasked.

LatteAI needs a Mac with at least 16 GB of memory. On a Mac with less, its commands say that LatteAI can't run on this Mac.

The two models

LatteAI is the one everything needs. LatteAI Agent is optional: download it from the LatteAI preferences if you want the conversation to change files. Without it, the conversation answers questions only.

LatteAI Agent is large, so Espresso holds it in memory only while a conversation needs it. It loads when you begin to write a message and is released three minutes after the conversation was last used, when the last conversation is closed, about a minute after you leave Espresso for another app, and whenever your Mac runs short of memory. It is never released in the middle of its work. While it is loaded the conversation says how much memory it is using, beside a Release button that gives the memory back at once.

Models are kept in:

~/Library/Application Support/Espresso/LatteAI/Models/

To remove a model, click Remove… beside it in the LatteAI preferences. It is moved to the Trash.

Each version of Espresso uses the version of a model it was made for, and no other. If you keep more than one version of Espresso, each downloads its own, and the preferences show a line saying that models for other versions of Espresso are here too, with their size and a Remove… button.

Privacy

LatteAI preferences

Choose Edit ⟩ LatteAI ⟩ LatteAI Settings…, or choose Espresso ⟩ Preferences… and click LatteAI.