DEV Community

Cover image for Briefly — an AI agent that reads the feed so you don't have to (Uno Platform, one codebase, Web + Desktop)
Noesis Urban
Noesis Urban

Posted on

Briefly — an AI agent that reads the feed so you don't have to (Uno Platform, one codebase, Web + Desktop)

AI Challenge for Cross-Platform Apps - AI Acceleration Submission

This is a submission for the AI Challenge for Cross-Platform Apps - AI Acceleration

What I Built

Briefly is a daily-brief app for people who are tired of doom-scrolling a raw feed.

Press one button and an agent pipeline — running entirely on-device, in plain C# — does the reading for you:

  1. Fetch — pulls the latest posts from a live public API (DummyJSON: real posts with titles, bodies, tags and reactions — no API key, no account).
  2. Score — ranks every post by engagement (likes − dislikes, with a depth bonus for longer reads).
  3. Summarize — writes an extractive summary and key points for each post using word-frequency sentence scoring. No LLM, no cloud call, $0 per run.
  4. Compose — builds Today's Brief: the five posts actually worth your time, with reading-time estimates.

The third tab, Agent Log, is the part I care about most: every step the agent takes is streamed to a timestamped log, in the open. You never have to wonder what the "AI" did — you can watch it work.

Tap any card and you get the agent's notes: summary, key points, score, tags, and the full text.

Honesty box: the in-app agent is a transparent, deterministic pipeline (fetch → score → extractive summarization), not a hosted LLM. That's deliberate — it runs offline, costs nothing, and its reasoning is fully inspectable. If the network is down, Briefly falls back to a bundled sample feed, so the full pipeline still runs end-to-end. The AI acceleration in this story is on the development side (next sections) plus this agent-as-a-feature design.

Demo

The app runs from the same single codebase on WebAssembly (in the browser) and desktop (Skia). No login, no setup: it builds the brief automatically on launch.

Briefly on WebAssembly — Today's Brief
Briefly on Desktop (Linux/Skia) — same codebase, native window
The Agent Log — every pipeline step, timestamped
Post detail — the agent's summary and key points
Briefly on a phone-sized viewport — the same XAML adapts

To run it yourself:

dotnet run --project Briefly -f net10.0-desktop   # desktop
# or publish the browser build:
dotnet publish Briefly -f net10.0-browserwasm -c Release
Enter fullscreen mode Exit fullscreen mode

AI Tooling in Action

This app was built by an AI agent (Claude) working in a headless Linux environment — terminal only, no IDE. The workflow that the AI Acceleration prompt describes is literally how Briefly came to exist:

  • The agent scaffolded the project from the official template (dotnet new unoapp), wrote all of the XAML and C# (UI, agent pipeline, offline fallback), and iterated through build errors until both targets compiled.
  • Instead of guessing at Uno APIs, the agent grounded itself in the Uno Platform MCP (next section) before writing code.
  • The agent then verified its own work the way App MCP would in an IDE: it published the WebAssembly build, served it, and drove a headless Chromium to screenshot the running app on multiple viewports — the screenshots in this post are the agent's own QA captures.

The Agent Log is also the development story: an agent that shows its steps

What surprised me most: the bottleneck was never writing code — it was grounding. Un-grounded, an agent invents plausible-but-wrong APIs. With the docs MCP one call away, the first compile of a brand-new framework codebase was nearly clean.

Using App MCP and Uno Platform MCP

Uno Platform MCP (remote docs server, https://mcp.platform.uno/v1) — used for real. I spoke to it directly over JSON-RPC during the build (server: uno-docs-mcp v1.5.1). Actual calls made:

Call What it changed
uno_platform_agent_rules_init + uno_platform_usage_rules_init Loaded the platform's agent/usage rules before any code was written
uno_platform_docs_search — "create new Uno Platform app dotnet new unoapp single project template" Confirmed the official route: Uno.Templates + dotnet new unoapp — exactly how Briefly was scaffolded
uno_platform_docs_search — "run Uno app WebAssembly browser dotnet run wasm" Surfaced the wasm-tools workload requirement and the known WASM pitfalls (e.g. libSkiaSharp) before the first publish, not after a failed one

The full call log with timestamps ships in the repo (docs/MCP-LOG.md), so the MCP usage is auditable, not just claimed.

App MCP — stated plainly: I did not use App MCP for this entry. App MCP attaches to a live app through the Uno Dev Server inside an interactive IDE/agent session; this build ran headless on a Linux VM, where I verified the running app with published-WASM + headless-browser screenshots instead. I'd rather tell you that than dress it up — and trying App MCP against Briefly in a desktop IDE is the first thing on my post-challenge list.

Cross-Platform Reach

One project, one codebase (Uno.Sdk single-project), two targets built and verified:

  • ✅ WebAssembly — published Release build, runs in the browser
  • ✅ Desktop (Skia) — Linux desktop build, same XAML, native window

The project file also keeps the door open to Android/iOS/Windows — they were excluded from this build only because the build VM has no mobile workloads installed, not because of any code difference.

Development Experience

Three things stuck with me:

  1. Context is the whole game. The Uno MCP turned "an agent writes C# it's seen before" into "an agent writes Uno code" — template choice, workload requirements and WASM gotchas all came from grounded docs calls, and it shows in how few compile-fix cycles were needed.
  2. An agent that can see its own output is a different tool. Publishing the WASM build and screenshotting it closed the loop: layout problems were found by looking, not by reasoning about XAML in the abstract.
  3. Constraints made the app better. No paid APIs and no keys forced the "agent" inside the app to be transparent and deterministic — which became Briefly's whole personality: an AI you can audit, with a log tab to prove it.

Thanks for reading — and if you try Briefly, I'd love to hear whether the Agent Log changes how much you trust the brief.

Top comments (0)