# Fork Every Business: Sam Goodwin on Alchemy, Effect and AI

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

[Joel Hooks](https://www.youtube.com/@JoelHooks) · Published 2026-11-11 · 37:10 · A tier · Alchemy and infrastructure as code

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

## Summary

Sam Goodwin describes [Alchemy](/lore/infrastructure-as-effects) as a declarative framework that treats application logic and infrastructure as one program. Joel raises a React analogy. Sam extends it to the reconciler.

[Effect](/lore/effect-basics) tracks failures and required services. Goodwin explains how [Layers](/lore/infrastructure-as-effects#code-bindings-resources) encapsulate resources and policies so implementations can be swapped. He also describes generating Effect-native SDKs with [Distilled](/lore/distilled) before generating [Alchemy](/lore/infrastructure-as-effects) resources and bindings.

Joel and Sam discuss personal software, composable services, and a future in which people can fork and combine businesses. Joel describes an experimental [AT Protocol](/lore/at-protocol) agent network and moving it from his local provider to Cloudflare. Sam describes building services as [Layers](/lore/infrastructure-as-effects#code-bindings-resources) that swap between providers.

## Section notes

- [1:03](https://www.youtube.com/watch?v=JcY0th6QuMg\&t=63s): Goodwin describes companies represented as programs as a future direction for forking and combining businesses.
- [3:06](https://www.youtube.com/watch?v=JcY0th6QuMg\&t=186s): The conversation turns to owning personal software and adapting it to one's needs.
- [5:07](https://www.youtube.com/watch?v=JcY0th6QuMg\&t=307s): Declarative configuration and React-style reconciliation frame the discussion of changing resources.
- [7:08](https://www.youtube.com/watch?v=JcY0th6QuMg\&t=428s): Goodwin puts application logic and infrastructure together in Alchemy's scope.
- [11:10](https://www.youtube.com/watch?v=JcY0th6QuMg\&t=670s): Effect's failure and requirement types lead into Alchemy's checks on infrastructure.
- [15:12](https://www.youtube.com/watch?v=JcY0th6QuMg\&t=912s): Requirements and Layers support resource policies, encapsulation, and interchangeable implementations.
- [27:18](https://www.youtube.com/watch?v=JcY0th6QuMg\&t=1638s): Goodwin describes generating a Distilled SDK from a provider's API specification before generating Alchemy resources and bindings.
- [31:22](https://www.youtube.com/watch?v=JcY0th6QuMg\&t=1882s): Joel describes an experimental agent communication network built with AT Protocol, Effect, and Alchemy.
- [34:25](https://www.youtube.com/watch?v=JcY0th6QuMg\&t=2065s): Joel discusses composing software from Layers. Sam describes swapping providers for a Git service.

## Key concepts

- [Alchemy](/lore/infrastructure-as-effects)
- [Effect](/lore/effect-basics)
- [Layers](/lore/infrastructure-as-effects#code-bindings-resources)
- [Distilled](/lore/distilled)
- [AT Protocol](/lore/at-protocol)

## Our take

Sam connects declarative deployment, Effect requirements, and replaceable Layers across the interview. Joel discusses composing services and moving an experiment to Cloudflare. Watch for the link between Effect requirements and Alchemy's pluggable infrastructure.

## Related videos

- [Alchemy, Infrastructure as Effects | Office Hours 27 🔥](/tube/alchemy-infrastructure-as-effects-office-hours)
- [What is Alchemy? Zero-to-Production Infrastructure in TypeScript & Effect | Office Hours 27](/tube/what-is-alchemy-zero-to-production)
- [Alchemy vs Terraform + Decoupling Infrastructure with Layers](/tube/alchemy-terraform-infrastructure-with-layers)
- [Production-Grade TypeScript by Johannes Schickling (Effect Days 2024)](/tube/production-grade-typescript-by-johannes-schickling)

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