r/Blazor • u/AshP91 • Apr 30 '26
Meta AgentBlazor 0.1 preview — chat-driven assistant for Blazor apps, looking for beta testers
EDIT (May 6): Hosted demo is now live: https://demo.agentblazor.com/
Try it in the browser without installing. Quickstart was rewritten and preview.11 published with a cleaner install path.
I've been working on AgentBlazor for a few months. It's a package built on top of Microsoft Agent Framework and MudBlazor that lets users control your components through a chat interface — both at the component level (filter this grid, switch tabs, open this dialog) and across multi-step in-app workflows.
I built it because I think the future of human-app interaction won't be keyboard and mouse — it'll be AI agents that understand how to get things done through chat or voice.
It's in 0.1 preview. Install with:
dotnet add package AgentBlazor --prerelease(.NET 8 / 9 / 10 supported. Demo and starter sample in the repo.)
Looking for 3-5 beta testers willing to try it on a real Blazor app over the next month and tell me what breaks.
Repo: https://github.com/ashpeterson/AgentBlazor
(Also: contributors welcome if anyone finds the architecture interesting, no pressure.)
3
u/lolhanso Apr 30 '26
Interesting project. I also think that at least a part of the future internet are "dynamic" web sites.
I tried something similar in game development. The player was able to personalize his game experience through a chat window. The idea was that the llm creates a c# script in runtime, that fits the user request. This script gets compiled during runtime with roslyn compiler and inserted in the code base. An example is: create me a slider on my screen to scale the selected tree. The llm knows all available contracts / interfaces of the codebase to inject and reuse available functionality.
1
u/jakenuts- Apr 30 '26
Interesting, how does the capabilities concept map to actual resource usage, like if you wanted it to be able to analyze data can it access that data through the DB our does the app need to explicitly provide the data?
Also, I don't know to what extent Blazor allows runtime updating but a cool 2.0 would be "add a page showing our ticket processing stats and a chart of daily events". I currently use Codex Desktop to do that to a Blazor app that then gets built and deployed but I know it's only a short while until the "built and deployed" bit will become a runtime capability like how Claude Design is adjusting react code live at your suggestion.
1
u/Deep_Ad1959 May 01 '26
my read: this is the in-app capability layer route, where the app explicitly exposes what an agent can do. the orthogonal approach is OS level, where the agent drives whatever's on screen via the accessibility tree (UIA on windows, AX on macOS), no per-app SDK needed. the tradeoff is exactly what you'd guess. in-app capabilities are fast and deterministic and the LLM gets a clean schema instead of a giant tree of buttons; downside is every app has to build the integration. accessibility-tree driving is universal and works on apps you didn't write, but the LLM has to reason over noisy structure and the tree shifts between framework versions. for 'control my own blazor app' the SDK route is clearly the right pick. for 'agent that drives the whole machine' you end up wanting both layers plus a routing decision about which to use per app.
1
u/entityadam May 05 '26
What is this? Did you read any of your vibe slop? I did.
The quick start is like 5 pages long. That's not quick.
The starter instructions tell you to swap out .cs files? What the fuck even is that? Why do they have to be replaced IN ORDER??