Projects

DSPy & PyTorch · 2025

DSPy and learnable agent workflows

The complete DSPy series on tool routing, behavior, and evaluation, plus related writing on agent design and workflows.

An LLM router dispatches requests to ETA, item, policy, driver, and FAQ modules.
Routing graph from the learnable-graphs article.
TypeScript · 2025

Selvedge and LLM programming

Selvedge is a typed toolkit for LLM workflows. These posts cover the toolkit and the ideas behind it.

Selvedge TypeScript code defining a typed sentiment prompt, optimizing examples, and running inference.
Code example from the project introduction.