# Sam Goodwin - Alchemy

> For agents: start with the [agent guide](https://ratstack.sh/llms.txt). Every page is Markdown by default; add `Accept: text/html` for HTML.

[devtools-fm](https://www.youtube.com/@devtoolsfm) · Published 2026-05-10 · 49:54 · C tier · Alchemy and infrastructure as code

[Watch on YouTube](https://www.youtube.com/watch?v=MtKHzAH6uXM) · [All RatTube videos](/tube)

## Summary

Sam Goodwin describes the path from [Alchemy](/lore/cloud-as-a-library)'s first version to its Effect-based design. The conversation links [typed errors](/lore/error-model) and tight feedback to reliable application development, then explores having runtime code describe its infrastructure needs.

Goodwin explains deployment outputs and the importance of reviewing a plan before it changes resources. A Hyperdrive and Drizzle example shows a Worker obtaining a [binding](/lore/bindings) and setting up a database connection.

## Section notes

- [1:20](https://www.youtube.com/watch?v=MtKHzAH6uXM\&t=80s): Goodwin traces Alchemy's development from version 1 to version 2.
- [9:16](https://www.youtube.com/watch?v=MtKHzAH6uXM\&t=556s): Typed errors are discussed as part of a tight development feedback loop.
- [18:21](https://www.youtube.com/watch?v=MtKHzAH6uXM\&t=1101s): Runtime code can describe infrastructure through Effect's service patterns.
- [26:59](https://www.youtube.com/watch?v=MtKHzAH6uXM\&t=1619s): Outputs and plans make intended infrastructure changes reviewable.
- [35:51](https://www.youtube.com/watch?v=MtKHzAH6uXM\&t=2151s): A Worker obtains a Hyperdrive binding for a Drizzle Postgres connection.

## Key concepts

- [Alchemy](/lore/cloud-as-a-library)
- [typed errors](/lore/error-model)
- [binding](/lore/bindings)

## Our take

A podcast with Sam Goodwin on Alchemy v2, his background building cloud tools, the Distilled SDKs, and why he calls it infrastructure as effects. Background listening once you have seen the demos.

## Related videos

- [Using Skills, Layers, and managing Stages | Sam Goodwin, Founder of Alchemy](/tube/using-skills-layers-and-managing-stages)
- [Effect TypeScript Library: Beginner / Intermediate Workshop (Effect Days 2024)](/tube/effect-typescript-library-beginner-intermediate-workshop)
- [Alchemy, Infrastructure as Effects | Office Hours 27 🔥](/tube/alchemy-infrastructure-as-effects-office-hours)
- [Effect: the unreadable library that captured my heart](/tube/effect-unreadable-library-captured-my-heart)

Summary based on the transcript. Written 2026-11-15.
