# What is Alchemy? Zero-to-Production Infrastructure in TypeScript & Effect | Office Hours 27

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

[Effect | TypeScript for the AI Era](https://www.youtube.com/@effect-ts) · Published 2026-05-04 · 9:00 · A tier · Alchemy and infrastructure as code

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

## Summary

Sam Goodwin introduces [Alchemy](/lore/infrastructure-as-effects) by building a small TypeScript stack with an AI-generated scaffold. A bucket declaration produces an output that resolves when the stack deploys.

He then adds a [Worker](/lore/workers-answer-requests-durable-objects-own-named-state) that reads and writes the bucket to explain infrastructure as Effects. Provider [Layers](/lore/layers-make-dependencies-explicit) supply the implementations, and the discussion shows how a stack can combine providers for different clouds.

## Section notes

- [0:14](https://www.youtube.com/watch?v=EMbztKSI3-o\&t=14s): Goodwin describes rebuilding Alchemy around Effect.
- [3:09](https://www.youtube.com/watch?v=EMbztKSI3-o\&t=189s): The demonstration starts with a scaffold and an alchemy.run.ts file.
- [4:47](https://www.youtube.com/watch?v=EMbztKSI3-o\&t=287s): A deployed bucket supplies a resolved output value.
- [6:19](https://www.youtube.com/watch?v=EMbztKSI3-o\&t=379s): A Worker using the bucket extends the example beyond resource declarations.
- [7:50](https://www.youtube.com/watch?v=EMbztKSI3-o\&t=470s): Provider Layers can be composed across clouds.

## Key concepts

- [Alchemy](/lore/infrastructure-as-effects)
- [Worker](/lore/workers-answer-requests-durable-objects-own-named-state)
- [Layers](/lore/layers-make-dependencies-explicit)

## Our take

The first nine minutes of that office hours on their own: what Alchemy is, how v2 moved from async TypeScript to Effect, and a demo where state lives in a Durable Object and swaps for local or in-memory state through layers.

## Related videos

- [Alchemy vs Terraform + Decoupling Infrastructure with Layers](/tube/alchemy-terraform-infrastructure-with-layers)
- [Cluster, Workflows & Cloudflare Durable Objects](/tube/cluster-workflows-cloudflare-durable-objects)
- [Alchemy, Infrastructure as Effects | Office Hours 27 🔥](/tube/alchemy-infrastructure-as-effects-office-hours)
- [Fork Every Business: Sam Goodwin on Alchemy, Effect and AI](/tube/sam-goodwin-alchemy-effect-ai)

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