Owning the Everything Box: OLE, OpenDoc, and ChatGPT Apps

The Everything BoxThe Everything Box

How ChatGPT Apps echo the compound-document ambitions of the 1990s — and why we should remember how that story ended.

ChatGPT Apps

I recently took a look at ChatGPT Apps to see what they are and how they work. A brief summary:

  • The Model Context Protocol (MCP) is a protocol developed by Anthropic that makes endpoints callable by a Large Language Model (LLM), such as Claude or ChatGPT. MCP endpoints are JSON-based and use a REST-like JSON-RPC style. MCP specifies a way for endpoints to provide metadata describing their functionality to an LLM. These endpoints can also be published to a registry that LLMs can search. For the TL;DR crowd: MCP = JSON endpoints + metadata useful to LLMs.

  • ChatGPT “Apps” extend MCP by allowing an endpoint to also provide an HTML/JavaScript snippet that renders a user interface (UI) directly inside the ChatGPT browser or desktop app. The embeddable UI acts as a renderer for the JSON provided in the MCP response. The UI may provide filtering, link out to a stand-alone version of the app or web page, or post data back into ChatGPT. You can imagine the user interacting with the embedded UI App to filter and select a short list of recommended restaurants, for example.

So, ChatGPT Apps are essentially widgets that embed user interfaces into the ChatGPT page — and, in the future, likely into the stand-alone Electron app.

As an old programmer, this gave me some flashbacks to a previous era in computing history.

Precursors

A long, long time ago, at the end of the previous century (the 1990s), companies were experimenting with ways for applications to embed content and UIs within other applications.

Microsoft had OLE, which allowed one to embed a live Excel chart into a Word document. In theory, this allowed any two applications to embed content within each other.

Apple took this a step farther with OpenDoc, which allowed one to start from an app-agnostic document and then embed widgets (“parts” in OpenDoc’s terminology) into that document. You could edit the parts in place — for example, a document might contain a to-do list, a spreadsheet-backed chart, and a vector drawing, all editable directly. The preferred file format for parts was Bento, a hierarchical format that stored a tree of sub-parts, each potentially handled by a different OpenDoc component. (Note: not the same as the file format with the same name later used by FileMaker.)

It was an ambitious vision that outpaced the technology of its time. Classic Mac OS lacked memory protection, computers were slow, and OpenDoc’s object model (SOM, analogous to Microsoft’s COM) was cumbersome to work with — if slightly less painful than COM. Other than Cyberdog (a collection of internet OpenDoc components), OpenDoc never advanced much beyond the tech-demo stage.

Parallels and the Blackbird Moment

If one squints, ChatGPT “Apps” look a lot like OpenDoc parts. Only instead of native components rendering Bento or binary formats, we now have HTML/JavaScript components rendering JSON.

Back in the OLE/OpenDoc era, Microsoft made a play to subvert the early web by introducing Microsoft Network Blackbird. Blackbird enabled — and encouraged — web pages to embed OLE controls, making Internet Explorer the only way to experience the “full” internet.

While it had some success in corporate internal applications, Blackbird failed to gain widespread popularity. HTML and JavaScript eventually — and deservedly — won the internet wars.

Today, ChatGPT seems to be making a similar play to become the default container for our internet future. Just as OpenDoc posited a neutral (but Mac-only) shell for content widgets, and Microsoft proposed an Internet-Explorer-only shell for content widgets, ChatGPT now proposes a ChatGPT-only shell for widgets.

One difference is that REST-like endpoints on the internet can be called by anyone. A different LLM could orchestrate MCP Apps, or someone could write a stand-alone web page or Electron app that hosts MCP widgets directly. In that world, these components wouldn’t belong to any one AI platform — they’d be composable, portable, and scriptable like any other web technology.

At that point, we’d get a kind of OpenDoc 2.0: leveraging JSON, HTML, and JavaScript rather than Bento and native component libraries. If ChatGPT becomes the “everything box,” OpenAI will be perfectly positioned to charge rent on the future of AI interaction. Let’s avoid that outcome — and keep ChatGPT Apps and MCP widgets open, portable, and outside the LLM garden.

October 28, 2025

macoS Game Mode and audio

The more you know…The more you know…

While I appreciate the existence of macOS Game Mode, I did experience broken and distorted audio for World of Warcraft recently.

I wanted to share this in case others run into similar issues. If you are experiencing distorted or broken game audio on macOS, try disabling game mode.

April 1, 2025

LLMs, RAG, and the Shattered Mirror

Large Language Models, Training Data, and the Context Window

Assembling the viewAssembling the view

Large Language Models (LLMs) use statistical weights generated against an initial (often vast) set of training data. This provides them with a baseline of broad, holistic, statistical patterns. LLMs can then process input tokens (you can think of them as words) into a “context window” that holds the tokens that an LLM currently “remembers” in its short-term memory.

So, the training data for a given model exists as a baseline, while the context window holds the current conversation (if any) and any new data processed by the LLM at runtime. Each time an LLM is invoked the old context window is gone, and tokens need to be processed again.

In that sense, an LLM is like a person who has lost the facility to shift memories from short-term to long-term memory and continually “wakes up” starting from the moment when training ended.

LLMs have well-known problems with inaccuracy and confabulation. Since they work statistically, they cannot tell the difference between an accurate answer and a statistically probable (typically reasonable sounding) answer.

Retrieval Augmented Generation (RAG)

Large Language Models (LLMs) can use the Retrieval Augmented Generation (RAG) technique to generate more accurate answers. RAG primarily helps in two areas:

  • Providing answers based on data outside the LLM’s training data
  • Providing more factual answers with less confabulation

A RAG approach provides the LLM access to a search engine (either an internet search engine or a database of pre-ingested content) of data that the LLM can use to provide more accurate results, or to become aware of data outside its training data.

Training Data and the Context Window

However, RAG techniques still work within the current limitations of LLMs. As mentioned above, LLMs have the statistical weights of their training data. This gives an LLM holistic statistical knowledge of the world as represented by the training data. This knowledge (in the form of statistical weights) is always inherently available to an LLM.

The other kind of knowledge LLMs have is weights held in the current context window. One can think about the context window as session memory or short-term memory. The context window’s limited size means a longer conversation or document may exceed what the context window can hold, causing the LLM to “forget” aspects of the current interaction or document.

Anything in the context window comes from processing tokens of a larger input (such as the conversation or a text document). Tokens can be thought of as the small, word-like chunks that textual LLMs process. Processing tokens takes time and processing power.

So, the RAG approach triggers a search of either a pre-ingested database of document fragments or an internet search. The LLM processes the search results so an answer can be given based on data loaded into the context window.

You’ll note, however, that the limits of the context window and processing time remain. The LLM has to process the search results before it can use them. This means either there is a long delay (with a chance of filling up the context window), or only shorter text fragments get processed.

It’s almost like the more complete view of post-training data has been shattered into fragments, much like a broken mirror. The LLM can select a few of the most promising pieces for processing, but only a handful can be “picked up” at a time.

This creates a stark boundary between the more global/holistic/statistical knowledge of training data, and only piecemeal access to what is available through the RAG approach. This works reasonably well for spot-checking accuracy, but poorly for getting a broad-based view of newer data.

A few examples

Blog posts

Suppose, for example, a blogger has made all their blog posts available to an LLM using RAG. The LLM could easily answer questions like “Can you summarize places where I mentioned the subway?” as long as there weren’t many occurrences. However, if you asked the LLM “How would you describe my general style?” it could only process a few examples in a reasonable period of time, and would lack a holistic view of your blog posts.

A code base

Alternatively, a programmer working on a large code base might make the code available to an LLM using a RAG approach. The LLM can then “look” at the most related fragments of files (or entire smaller files) when answering questions.

However, if you wanted the LLM to follow the general programming style of your code base, have insights about the broader patterns, or scan the entire code base for code that doesn’t follow the coding standards, an LLM cannot do so in a timely fashion.

Company documents

Similarly, if an IT person created a RAG database of company documents, an LLM could easily find related documents and summarize snippets of those documents, but would be unable to accurately assess holistic patterns or trends, and would take a long time to summarize lengthy documents that might, even then, exceed the context window of the LLM.

LLMs aren’t magic

So, LLMs (even using RAG) are not magic. They are at the mercy of their training data and the processing time to load new data into their context window. When going beyond their training data, they can only consider a handful of pieces of the shattered mirror. They straddle a holistic and statistical world of their vast training data and the constrained time-bound and memory-bound world of their context window.

March 23, 2025

February 17, 2023

Thoughts on driving an EV

Kia EV6Kia EV6

My aging Mini Cooper was a delight in many ways. I loved its cornering, looks, and its ability to squeeze into tiny parallel parking spaces when needed. But despite its low mileage the car was 14 years old and was starting to suffer from reliability issues. I wanted to move to an electric vehicle (EV) partially to support the industry, even though I knew with low yearly mileage it would take a while to pay off the investment in an EV battery.

So I made the plunge, bought an EV, had a charger installed on the back of the condo building, and have been making the adjustment to being an occasional EV driver rather than an occasional ICE driver.
JuiceBox 40: my chargerJuiceBox 40: my charger

Some things are an adjustment. Range anxiety is real, especially as a new EV owner1. My AWD (all-wheel drive) Kia EV6 has a decent range but it’s still less than my old Mini cooper. These days I have to think carefully about road trips and how to manage the range.

What I’ve discovered is that routine trips in an EV are routine. A trip around town or even a regular short road trip is no big deal. I just have to remember to top off to an appropriate level. Topping off is easy because of a level 2 charger that can reach my condo parking space.

I have been learning that 110v charging can be enough for longer trips, and when a 220v oven or clothes dryer plug is available its even better. I recently went to Maine to visit my partner’s mother and plugged into her 110v garage outlet next to her garage door opener. We only did a little driving that weekend, so the car was more than charged enough when it was time to head home despite the bitter cold.

These experiences make it easy to imagine an EV future where most houses have a 220v EV charger and those that don’t are used to making 110v available to guests. In that universe charging stations are only needed for road trips or for those who can’t harge at home, at work, or in their street parking spaces. I suspect we will need fewer vehicle fueling stations since most people will charge at/near home most of the time. Even if it continues to take 20 minutes to charge up on a fast charger (4x the average 5 minutes to fill the gas tank today), we societally won’t need even a quarter of the current gas station pumps (or someday chargers) given that most people can charge at home, at work, at the grocery store, or at on-street parking spaces (if towns and cities step up).

So I’m bullish on a near-term, livable EV future. It’s already here for us who can charge at home or at work. Long road trips may require 20 minutes stops every few hours until battery technology improves. Otherwise, I think the daily use of EVs will quickly become as low anxiety as the daily use of ICE (internal combustion engine) vehicles. And there is a lot to be said for the quiet “whoosh” of the quick acceleration of EVs.


  1. Even though I like my EV6, I have a few gripes. One is that all the internet-connected features (aka “Kia Connect”) are disabled in Massachusetts because of Kia and the Right to Repair laws in Massachusetts. No Kia Connect is a real drag living in a fourth-floor walk-up where it would be great to check on the charge level without tromping down multiple flights of stairs. My other gripe is that I would have liked a somewhat smaller vehicle than the EV6, although a bit bigger than my old Mini Cooper. Very few smaller EVs are available in the US and wanting an AWD for winter weather narrowed the options even more. The EV6 offered AWD and was fairly lower profile and therefore safer for pedestrians and bicyclists than most other AWD options. Granted, I could have bought an AWD Tesla, but I wanted Apple CarPlay and also wasn’t motivated to support Elon Musk.↩︎

February 17, 2023

Audio switching shortcuts on macOS

Previously I used AppleScripts to switch between various audio inputs/outputs (external speakers and two pairs of headphones) but those stopped working in macOS Ventura with conversion of “System Preferences” to “System Settings.” I looked into implementing a Shortcut to implement the same functionality, but I didn’t see any built-in way to change audio inputs and outputs.
SoundSourceSoundSource

Enter SoundSource. SoundSource provides an menu bar icon that lets one quickly switch between audio inputs and outputs. Even better it provides Shortcuts support! This allows one to invoke Shortcut actions like:

Set Output to External Speakers
Set Input to Display Microphone

Such a shortcut when combined with a quick launcher like LaunchBar allows one to quickly switch between sets of audio inputs/outputs. This has proved more reliable that my previous AppleScript implementations.

January 20, 2023