Matt Pocock

@mattpocock.com

Full-time TypeScript educator. Used to be a voice coach. He/him. Author of Total TypeScript đź§™ Hire me to teach your team TypeScript!

Damn, I really want to make a "UX Patterns For AI Applications" course All the hard stuff like stream resuming, generative UI, properly streaming markdown, editable plans, showing LLM progress

I've made a breakthrough today - come up with a new style of course that's ready for the AI-assisted developer era. It's just unbelievably cool, can't wait to show you.

Two cool things in this snippet: 1. You can use 'glob' from Node instead of a library! (still experimental, available in 22+) But glob returns an async iterator, which can be annoying to work with. So... 2. Array.fromAsync lets you turn an async iterator into an array. Beautiful.

Bild

"The AI Engineer Roadmap" dropping soon. Covering everything you need to enter the AI world: - What LLM's are used for - The AI engineer mindset - Evals - 17 techniques for improving your LLM-powered apps

Bild

I have worked with TypeScript for 7 years. I have written a book, produced 5 courses, made countless videos and articles, and delivered workshops about TypeScript. And today I learned that TS can do this:

Bild

OK, Bluesky. Time for an early preview. (X hasn't seen this yet) I've shipped a 9-lesson tutorial on the Model Context Protocol - the USB-C of AI. It'll take you from "WTF is MCP" to shipping your own servers to the world. And, it's free. Check it out: www.aihero.dev/model-contex...

Model Context Protocol Tutorial

The Model Context Protocol is driving a new wave of innovation in the world of AI. In this tutorial, I'll break down everything you need to know to get started.

aihero.dev

Shower thought: The system prompt is the LLM's UI. In an agentic loop, elements of the system prompt have state, as well as props - lists of failed attempts, external data, exemplars. So, a React for system prompts makes sense.

Jina's open source DeepSearch implementation is fascinating, but SUPER hard to read. So, as a research project, I refactored the code to make the underlying logic clearer.

BildBild

Has anyone written a JSX -> system prompt library? node-deepresearch would genuinely benefit so much from it. Endless string interpolation, impossible to grok what's going on. A proper component model for system prompts would be pretty convenient.

Folks who are building Deep Research, or Deep Research-type products... What do your evals look like? Do you e2e the entire system? Do you do any mocking? Do you eval individual parts of the system? (query rewriter, etc)

One fascinating decision with building LLM integrations is Agent vs Workflow. Agent: give the LLM control of execution. Slower, but better at a wider range of things. Workflow: use code to control execution. Faster, but more specialised. Ultimately, it comes down to the product you're building.

Bild

Did some refactoring on Evalite (my evals runner for AI-powered apps) and made two big calls: - Commander -> stricli - Remix -> TanStack stricli is a gorgeous, TypeScript-first CLI library that just works. Easy to test, easy to run, and full type-safety for parameters and named flags