Lead Software Engineer working primarily in Elixir/Phoenix on high-concurrency systems. Focused on building production-grade AI features that remain observable, testable, and secure. Background includes distributed services, developer tooling, and pragmatic architectures that scale.
LLMs are excellent at text and unreliable at UI. This session shows how to extend Markdown into a deterministic UI contract in Phoenix LiveView by introducing custom blocks that represent interactive components not found in standard Markdown (suggestions, insight cards, charts). We’ll stream tokens (SSE), incrementally parse and validate blocks as they arrive, and render only a set of these custom components the moment each block becomes complete—progressively upgrading from plain Markdown to interactivity without flicker.
Key Takeaways:
A concrete “UI contract” pattern: constrained Markdown
Streaming + incremental parsing in LiveView without full reparses or duplicated UI
Safe interactive rendering via extended Markdown renderers and strict Hooks/JS boundaries
Target Audience: