Introducing Dioptra: A Zero-Config, Pure-Go Interactive UI Engine for AI Agents
Hey everyone! I'm Bryan, a software engineer. Over the past few months, I've been reflecting a lot on where our profession is heading and how our daily workflows are evolving alongside AI. Because I genuinely love softwa
Hey everyone! I'm Bryan, a software engineer. Over the past few months, I've been reflecting a lot on where our profession is heading and how our daily workflows are evolving alongside AI. Because I genuinely love software engineering and building for builders, I started creating open-source tools to give back to the communityβand today, I'd love to share my latest contribution with you.
Meet Dioptra: a local-first, zero-config interactive reporting and UI engine built for developers and AI agents.
JbryanH187
/
Dioptra
Tired of reading raw Markdown walls, ehh π? A fast single-binary Go MCP viewer that turns AI agent outputs into slick local UI reports & clickable approvals.
DioptraEngine (dioptra)
Tired of reading raw Markdown walls, ehh π? A fast single-binary Go MCP viewer that turns AI agent outputs into slick local UI reports & clickable approvals.
A fast, local, single-binary technical report viewer and MCP server for AI coding agents β written in pure Go, with zero API keys and near-zero token overhead.
AI coding agents (Claude Code, Cursor, Codex, OpenCode, Antigravity, Gentle Shell, etc.) generate rich audits, architecture plans, code reviews, diffs, and postmortems that get buried in terminal scrollback. Dioptra moves those long deliverables out of the terminal into an interactive local web workspace (http://127.0.0.1:7474) backed by SQLite FTS5, live SSE updates, bidirectional human-in-the-loop checklists, a multi-role agent board, and an E2E test observer.
Why Dioptra?
-
Deterministic Markdown β Rich UI (Zero LLM calls by default): Plain GitHub Markdown converts in milliseconds (
fast_goldmark, ~1% extra token overhead) into sortableβ¦
What is Dioptra?
When working with CLI coding agents or automated workflows, reading massive walls of terminal Markdown or managing human-in-the-loop approvals quickly gets messy. Dioptra solves this by turning standard Markdown into rich, interactive local dashboards in millisecondsβwith zero external dependencies or API keys required.
Key Highlights
-
Pure Go single binary (
CGO_ENABLED=0), MIT licensed: Zero Node.js or CDN runtime required. Features embedded Shadow DOM Web Components and pure-Go SQLite (WAL+FTS5/BM25). Cross-platform binaries are ready out of the box via GoReleaser (linux/darwin/windowsonamd64/arm64). -
Deterministic Markdown β UI (
fast_goldmark, 0 API keys, ~1% token overhead): Converts standard GitHub-Flavored Markdown (##sections, sortable tables,kpifences,mermaidβ D2 SVG, syntax-highlighteddiff,[!WARNING]callouts, and- [ ]checklists) into interactive views in milliseconds. -
Bidirectional human-in-the-loop approvals: Check or uncheck action items directly in your browser at
http://127.0.0.1:7474, and your MCP-connected agent reads the exact approval state back viaget_report_state. - Idempotent updates + Live SSE: Republishing a report updates the UI in place seamlessly via Server-Sent Events instead of cluttering your workspace with duplicates.
-
Local-first security: Runs strictly on loopback (
127.0.0.1) with a Host allowlist,Origin/Sec-Fetch-Site/Content-Typewrite guards, and a strict Content Security Policy (CSP).
Try it out & Share your thoughts!
Dioptra is completely open-source and MIT licensed. If you work with MCP agents, CLI tools, or local automation workflows, I'd love for you to give it a spin:
Repository: github.com/JbryanH187/Dioptra
Feedback, ideas, issues, and stars are hugely appreciated. Let me know in the comments what you think or what kind of workflows you'd plug this into!
Originally published by Dev.to AI. Aggregated on AIWithGhost for educational purposes β full credit and traffic to the original publisher.
