We're not going to be building web apps for AI agents much longer.
At least not the way we do today (here's why)...
While building Tree, my personal assistant with a knowledge-graph memory, for a new book I'm writing, I was confronted with a question:
If the assistant already understands my data, why is it still sending me links?
The old workflow used to be:
Backend generates data
Frontend renders data
User opens a browser
AI-native software has altered this pattern.
For example, I built two interactive interfaces for Tree:
1. A knowledge graph explorer
2. A live dashboard
You can:
Hover nodes.
Search
Sort
Zoom
Explore relationships.
And I didn't even build a web app.
The UI is returned directly from an MCP tool call or resource and rendered inside the chat itself through MCP Apps (so the chat became the application)
@fastmcp (by
@PrefectIO) made this super simple.
Using
@fastmcp's Prefab UI system, the same MCP server can return:
Text for the model
Interactive UI for the human
... in a single response.
The assistant keeps reasoning over a summary.
Meanwhile, you get an interface to interact with.
What surprised me was how little infrastructure was required.
The frontend was rendered inside the AI chat through MCP Apps.
The backend was exposed through MCP servers.
Dashboards, forms, search, filtering, live updates... everything you'd expect from a traditional web application was still there.
It was just embedded directly into the conversation.
The UI became a return value.
@fastmcp handled the serialization, sandboxing, security isolation, and rendering automatically.
Even more interesting...
The same UI can run inside Claude, IDEs, desktop apps, and future MCP hosts from a single FastMCP server.
This changes how we should think about software.
For years, we've treated the browser as the default destination for every interface.
But if an AI already knows what you want, why make you leave the conversation?
Tools like
@fastmcp can even let the model generate the interface itself based on custom queries.
To sum up:
We're moving toward a world where dashboards don't get opened.
They appear when you ask for them.
P.S. What so you think about browsers being replaced by AI chats MCP Apps?
Learn more about
@fastmcp Prefab to build your MCP apps:
gofastmcp.com/apps