Skip to content
< all work

Agents & MCP · AI coding desktop app (current role) · 2026

Agent infrastructure for an AI coding desktop app

A desktop app where you describe the work in chat and an agent does it on your projects. I built much of what that agent can reach and do: tools and accounts, scheduled runs, a browser, Office files, memory and installable apps.

agent-systemsmcpplatform

The agent connects to your tools and accounts, asks before risky steps, runs on a schedule, uses a browser, works with Office and PDF files, remembers each project and runs installed apps. All of it is merged and shipping. Product metrics stay private.

Role
Agent infrastructure engineer
Stack
TypeScript · Electron · React · Node.js · MCP (official TypeScript SDK) · OAuth 2.1 with PKCE · Vitest · Python
Asked to look something up, the agent opens the page in its own browser, clicks through and answers in one line. Recorded from a development build and sped up.

Context

I work on an AI coding desktop app for software teams. You describe the work in chat, and an agent plans it and then acts on your projects and accounts. The codebase has many authors. Everything on this page is a feature I built and merged. The clips are screen recordings from a development build, sped up through the waiting.

Connect tools, then find the right one from chat

The agent works through MCP servers and the accounts you connect: mail, calendar, drive, issue trackers. Before it writes to an account, it shows what the write will do. Ask whether your servers are healthy and it checks each one and tells you. With many tools connected, it does not load all of them on every turn. Ask what can send an email and it searches the list, names the matches and calls nothing.

When an account is missing or its sign-in has expired, the agent says which one and how to fix it, then stops and waits for you instead of retrying.

1/2Ask whether your servers are healthy. It checks each one and answers in a few lines.

Connected tools, checked and searched from chat.

It asks before it acts

When a task has open choices, the agent asks them all at once in a small stepper: one multiple-choice question per step, with back and next. Your answers go straight back into the same turn. Risky tool calls wait for your approval, and that rule follows the permission mode you picked for the chat.

Three questions, one card. The answers go straight back into the same turn.

Watch it work

The agent states its goal, then works step by step. One live status line says what it is doing right now, such as "Reading package scripts". When the turn ends, the steps fold into a short "Worked for 23s" summary with the result underneath. Long thinking shows how long it has run and how many tokens it has used, and a short provider outage shows a retry card with a countdown.

A goal, one live status line while it works, and a short summary when it is done.

Agents on a schedule

Ask for a routine in plain words, like "draft release notes every Friday at 16:00". The agent sets it up, checks the details with you and asks you to approve the schedule. Nothing is scheduled without your OK. A routine runs as its own agent. You can also run it now and read the result in the chat. Unattended runs have their own permission rules, so a scheduled run never sits on a prompt nobody will see.

1/2Ask for release notes every Friday. It shows you the routine and waits for your OK before anything is scheduled.

A routine is set up in chat and runs as its own agent.

A browser of its own

The agent can open a page in a built-in browser beside the chat, read it, click through and tell you what it found. The clip at the top of this page is one of those runs.

Office and PDF files

Bundled skills let the agent read, create and edit Word, Excel and PowerPoint files, and pull tables and forms out of PDFs. Ask for a one-page PDF about a repo and it loads the PDF skill, drafts the page, checks the layout and saves the file. Ask which skill can make a slide deck and it finds it without running it.

1/2Ask for a one-page PDF about a repo. It loads the PDF skill, drafts the page, checks the layout and saves the file.

Office and PDF skills, used from chat.

Memory across chats

Tell the agent a rule for a project, like "a release needs a green CI run on main", and it saves it to that project's memory. A brand-new chat in the same project already knows it.

It can also search your past conversations. Ask where a decision was made and it finds the chat, gives you the answer and names the chat it came from. The search runs on your machine, and the agent calls it only when you refer back to earlier work. What it finds is treated as notes to weigh, not as instructions.

1/2Tell it a rule once. A brand-new chat in the same project already knows it.

Memory per project, and search across past chats.

Apps that run inside the app

Ask the agent to build a small tool, a release checklist for example, and it writes the page and the app's own tools, tests it in its browser and packs it as one file. You install that file yourself, after the app says in plain words what it may do and reach. It then opens inside the desktop app. You can work it by hand or from chat: ask for a new step and the checklist updates. Apps can send you notifications, and an update that wants a new permission asks for it first.

1/4Ask for a small app. It writes the page and the app's tools, tests it in its browser and packs it as one file.

An app built from chat, installed by hand, then worked from both sides.

Results

All of the work above is merged into the product and ships to users. Usage figures belong to the company, so I keep them for interviews.

What I'd do next

I would run the Office-file evaluation on every release, so a model or prompt change has to pass it before it ships.

An installed app open inside the desktop agent: a release checklist on the left and the app's own assistant panel on the right
An installed app running inside the agent's window, with its own assistant beside it.
A chat turn where the agent searches its connected tools for ones that can send email and lists them without calling any
Tool search: the agent finds the few tools it needs instead of loading all of them.