Putting AI to Work: Why Use a Desktop App Instead of Web Chat
Introduction
To get work done with AI, you need a desktop app. Many people have used AI a lot through ordinary chat, but I think far fewer have used it through a desktop app on their own computer.
Some people may need nothing more than chat. But I doubt they chose chat after trying a desktop app.
I am not recommending the app because apps are better than the web. I recommend it because the things described below are possible in the app. You can download the desktop apps for Claude and Codex (it is inside the ChatGPT desktop app).
The AI model stays the same, so what is different between using it on the web and in an app? In this post, we give the same task, editing a file on my computer, to a web chat and to a desktop app. After that, we look at how far an AI goes when it can read and write files.
It is the same AI, so why use a desktop app instead of web chat?
Editing a document in web chat
Let's ask an AI to edit a year-end party notice that is on my computer. The left side is the web chat, and the right side is the file on my computer. Follow the glowing buttons and click through.
How can I help you?
- Year-end party
- Thank you all for a great year.
- Let's look back on it over dinner.
- When: Fri, Dec 20, 6 PM
- Where: Cafe, 1st floor
- Fee: $15
- Program
- 6 PM Dinner
- 7 PM Team of the year awards
- 8 PM Gift swap (up to $15)
- Please reply with a comment by Dec 13.
The AI cannot see my file, so I first copied the file's text and pasted it into the chat. The edited result also came back as text in the chat, so I copied it again and pasted it into the file. After the second request, I copied the reply and pasted it into the file once more. The result is right, but I pasted three times by hand. Laid out in order, the work looks like this.
Of the ten steps, the AI did only two: it replied twice. I did the other eight, going back and forth between the file and the chat.
You can attach the file instead of pasting it. Even then, the AI's result arrives inside the chat, as text or as a file to download. Moving it into my file is still my job.
The same task in a desktop app
This time, we give the same file and the same request to a desktop app. The app has a folder set for it to work in.
How can I help you?
- Year-end party
- Thank you all for a great year.
- Let's look back on it over dinner.
- When: Fri, Dec 20, 6 PM
- Where: Cafe, 1st floor
- Fee: $15
- Program
- 6 PM Dinner
- 7 PM Team of the year awards
- 8 PM Gift swap (up to $15)
- Please reply with a comment by Dec 13.
The AI read the file in the folder by itself and asked for permission before editing. When I allowed it, the file changed right away and the changed lines were marked. The second request went the same way. This time I pasted nothing. I only checked what changed. Laid out in the same format, it looks like this.
All I did was ask, allow, and check at the end. The AI read and edited the file, and I pasted zero times.
Why is it different?
A web chat cannot reach the files on my computer. So the AI sees only what I paste or attach to the conversation. The ChatGPT help says it works with the files attached to the conversation (Uploading files to ChatGPT), and the Claude help says you download the files made in a chat from the conversation (Create and edit files with Claude).
A desktop app reads and writes the files in the folder I choose. What we have called "the AI" so far is two things: the app running on my computer, and the AI model the app asks. Here is what went between the two when the notice was edited in Figure 3.
- MeDesktop appReads and changes filesAI modelDecides what to do, in textRepeats until the model has nothing more to ask
- Me → Desktop app: 1Change the date, place and deadline in party-notice.txt
- Desktop app → AI model: 2Passes the request on
- AI model → Desktop app: 3Read 'party-notice.txt'
- Desktop app: 4Reads party-notice.txt
- Desktop app → AI model: 5The notice text
- AI model → Desktop app: 6Change these 3 lines like this
- Desktop app → Me: 7May I change it?
- Me → Desktop app: 8Allow
- Desktop app: 9Changes party-notice.txt
- Desktop app → AI model: 103 lines changed
- AI model → Desktop app: 11I changed the date, the place and the deadline.
- Desktop app → Me: 12Shows the reply in the chat
I only asked the app and allowed the edit. The app passes the request to the model. When the model asks to read or change a file, the app does it and hands the result back. Before changing a file, the app asks me first. When the model has nothing more to ask, the app shows the reply. An AI that works this way, with the model deciding what to do and the app reading and editing files, is called an AI agent. This flow is drawn from OpenAI's post on how Codex works (Unrolling the Codex agent loop).
It looks like a difference between the web and an app, but the real difference is whether the AI can read and write my files directly.
One more thing: desktop apps these days often have two screens side by side.
- The chat screen is the same as web chat. You attach files to send them and download the results.
- The work screen reads and edits the files in a folder you connect. The name differs by app. Claude calls it Cowork, and the ChatGPT desktop app calls it a local project.
If you installed a desktop app, you have to pick the side that connects a folder and edits files directly.
How far does it go when it can read and write files?
Editing one notice is done in a few trips in web chat too. This time, we give the desktop app a task that is hard to do by pasting. A folder holds 10 meeting notes from November. We ask it to collect only my to-dos, add deadlines and priorities, and mark them in the notes as well.
How can I help you?
The AI first read all 10 meeting notes. It found 8 tasks assigned to me. It also found that the requirements doc deadline set at the Nov 9 meeting was moved at the Nov 23 meeting, and wrote down the new deadline. You can only know that by reading the two notes together.
Then it wrote in two places. It created a new file, to-do.docx, and in 8 of the notes it highlighted my to-dos and numbered them. To-dos without a deadline got a different color. A web chat could also give the to-do list as a reply. But to leave marks in 8 meeting notes, I would have to open each file and highlight it myself. The desktop app leaves those marks in the original files too.
When I said in one line that the client moved the quote deadline up, the AI edited the to-do list and the client meeting notes together. Laid out as steps like before, it looks like this.
In its four steps, the AI read 10 files, created 1 and edited 8. Again, all I did was ask, allow, and check at the end.
Summary
The same AI works differently depending on whether it can reach my files.
- A web chat cannot reach my computer. Bringing files in and carrying results out is my job.
- A desktop app reads and edits the files in a folder I allow. I check what changed.
- When it can reach files, the AI reads several files together and leaves the result in a new file and in the original files.
- A desktop app has a chat screen of its own too. You have to pick the screen that connects a folder and edits files directly.
Reading and writing files is the basis of an AI agent.
A web chat cannot see my files, so it gives the result in the chat, and carrying it over is my job. A desktop app reads and edits the files in a folder I allow. It reads several files, sorts them out, and leaves the result in a new file and in the original files. I only check what changed. This is where an AI agent starts: reading and writing files.
Posts in this series
- Intro: Why we use it this way
- One chat per topic
- A desktop app instead of web chat (this post)
Reference
- Get started with Claude Cowork (Claude help)
- Create and edit files with Claude (Claude help)
- Projects and chats (ChatGPT docs)
- Uploading files to ChatGPT (OpenAI help)
- Unrolling the Codex agent loop (OpenAI engineering blog)
