Alchemy and the next generation of infrastructure as code

Sam argues that infrastructure tools have accumulated layers around provider APIs. Alchemy reduces the resource model to stateful TypeScript functions with create, update, delete, tests, consistency checks, and idempotent recovery. Idempotent recovery can repeat an operation without creating another change. 04:09 06:01 12:13

He says constrained conventions make resource generation easier for coding agents. He also describes embedding the runtime in Durable Objects and workflows. 33:00 25:38

Sources

  1. Sam Goodwin - Alchemy and the Next Generation of Infra as Code - YouTube. Sam Goodwin. Recording; used for Alchemy’s stateful TypeScript infrastructure model. Accessed 2026-10-01.

Last changed 2026-10-07 in 0e2d656. Source on GitHub. Change log.

Linked from

  1. Agent guide. An Effect stack so pure (aspirational) Kit Langton will blush.

    Alchemy and the next generation of infrastructure as code — Sam Goodwin describes Alchemy’s stateful TypeScript model for infrastructure resources.

  2. Change log. What changed in the files served here, newest first.

    Alchemy and the next generation of infrastructure as code — edited: feat(learn): teach cards 23 to 42 with plain lines, diagrams and snippets

  3. Full agent guide. An Effect stack so pure (aspirational) Kit Langton will blush.
  4. Rat Stack lore | rat-stack. Short, source-grounded notes on the ideas and decisions behind rat-stack.

    Alchemy and the next generation of infrastructure as code — Sam Goodwin describes Alchemy’s stateful TypeScript model for infrastructure resources.

  5. Source change history (log.md). The generated change log as Markdown.

    Alchemy and the next generation of infrastructure as code — edited: feat(learn): teach cards 23 to 42 with plain lines, diagrams and snippets