SG

Sam Goodwin

Things Sam Says on Podcasts

Where to Find Them

Sam Goodwin has been a guest on devtools.fm: Developer Tools, Open Source, Software Development (2 times) and Syntax (Wes Bos & Scott Tolinski) .

Recently: “1060: You Can Build Literally Anything (Alchemy)” on Syntax (Wes Bos & Scott Tolinski) (December 2026); “Sam Goodwin - Alchemy” on devtools.fm: Developer Tools, Open Source, Software Development (May 2026); “Sam Goodwin - Alchemy and the Next Generation of Infra as Code” on devtools.fm: Developer Tools, Open Source, Software Development (April 2025).

What They Said

“I would not write code this way, but AI doesn't care. If you can constrain it into thinking about state machines and pure functional programming, it will scale a lot further than tangled-together code that has no structure or reason to it.” — Sam Goodwin, Syntax (Wes Bos & Scott Tolinski)

Plugging a front-end framework built from pure functions and state machines, Goodwin argues that code that feels unnatural to humans can be better for agents to write.

Syntax (Wes Bos & Scott Tolinski) · 2026-12-02 Permalink → Listen →
Syntax (Wes Bos & Scott Tolinski) Around 52:39 into the episode
Sam Goodwin

…and it's pure functional programming, a state machine. It's nothing like React and Solid, which are awesome frameworks themselves. But I think the fact that it's different and like humans wouldn't do it traditionally is actually a signal now. I think that's a higher signal. So I shut up, Foldkit.

Wes Bos

We were talking to Michael about FoldKit and I was like, I was like, so like, is it JSX? He's like, no, it's functions. I was like, oh, so like tag template literals. No, he's like, it's functions. It's functions all the way down. It's just functions. Which is so

Sam Goodwin

good because it's crazy. Like JSX, as much as I love it visually from a tooling perspective is actually annoying. Like it's hard to build an embedded UI because of JSX and because of React and all that sort of thing. So, like, if we could just throw all that away and just have functions, that's great. And yeah, I would not write code this way, but AI doesn't care. You know, and AI, if you can constrain it into thinking about state machines and pure functional programming, it will scale a lot further than thinking about tangled together, you know, code that has no structure or reason to it. So it's functional programming is where it's at. You know, we've known this for like a hundred years now. It's not like it's news to people. It's just that the skill ceiling is the skill floor is just so high now. That's the difference.

Wes Bos

Beautiful. Cool. Well, thank you so much for coming on. Appreciate all your time. I'm very much excited. I'm going to build my next thing in alchemy and also going all in durable objects. That's

Sam Goodwin

the way, man, for sure. Yeah. All in on effect and durable objects. Like when you mix the two, it's gorgeous.

Wes Bos

It's dangerous. Cool. All right. Thanks again, Sam. Thanks.

Speaker names come from our own diarization. The position is estimated from where the line sits in the episode.
“A dance goes viral on TikTok and there are 40 different remixes of the same dance. That's the future of software in my mind. Someone comes up with an idea on the weekend, prompts an AI, and here it is. Then someone forks that and mixes it with two other ideas, and three other ideas.” — Sam Goodwin, Syntax (Wes Bos & Scott Tolinski)

After describing his goal of expressing a whole company in code, Goodwin says software is moving from a static professional discipline toward something more like content: forked, remixed and redeployed.

Syntax (Wes Bos & Scott Tolinski) · 2026-12-02 Permalink → Listen →
Syntax (Wes Bos & Scott Tolinski) Around 47:07 into the episode
Sam Goodwin

…end-to-end. That's what Alchemy is. It is not a slightly more easy-to-use SST. You know, it's not a slightly more TypeScript-friendly infrastructure as code. You Can Build it for that, but it is a bank, like a bunch of layers on top to optimize agentic programming. That's what Alchemy is.

Wes Bos

…that's unreal to think about it. And to think that we might actually get there, like in a year from now, we might be like, Hey, yeah, you want to start up a business? Like, just NPM install this thing. And like, obviously, you get your product, but you get like the rest of the business as well.

Sam Goodwin

Yeah, like, you know, it's crazy. There are APIs out there for founding companies. So, like, you could actually found a company over API. I'm like, oh, I should build a resource for that. That would be a bank account. Because, what do you, what do you have to do? Okay, give me, found the company, get my tax records. Okay, create a Mercury account and set up a treasury and put, you know, whatever, whatever it is you need. Find me, how am I going to run my email? Maybe I go to Cloudflare email, I need my email. Now, you know, whatever, set up my G-suite. All of these things are annoying. And I think if someone goes and builds an agent that automates it or something, it's the wrong product. They're so easily representable in Alchemy. It's absurd. Like it's just a resource for that thing. And then you connect them together. Like, what does it take to build forkable companies? Has anyone thought about this? Like, I want to fork your company and build it. And I think of these crazy ideas. Let's imagine Alchemy gets there. It will, by the way, where you can express all…

Wes Bos

Beautiful. I like the dream. Let's move into the last section of the episode, which we call sick pics and shameless plugs. Do you have a sick pic for us?

Sam Goodwin

Yeah, well, sick pic, I don't know, it has to be probably just becoming a dad, I guess. You told me at the start of the call that Michael Arnaldi said that. Yeah. Respect it. It's such an awesome thing. I thought it would be so disruptive to my life. And like, how am I going to build my company and…

Wes Bos

nothing's been better for my career than having kids. Like it's such a kick in the pants. It's obviously exhausting and takes all your time is frustrating, all those things. But just having, if anyone's listening, like, I'm kind of busy with my career, I don't know, like having to provide for…

Speaker names come from our own diarization. The position is estimated from where the line sits in the episode.
“I actually think npm downloads is a great metric for the inefficiency of CI. There's this npm download inflation right now, everything's up and to the right, and that's because we're installing dependencies every time. If I go and solve that, I'm just going to hurt Alchemy, because instead of downloading Alchemy every time, you do it once. There's a negative incentive to fix the problem.” — Sam Goodwin, Syntax (Wes Bos & Scott Tolinski)

The host called CI everyone's bottleneck right now. Goodwin says CI should boot into an already compiled project, and points out that rising npm download counts partly reflect wasteful repeated installs.

Syntax (Wes Bos & Scott Tolinski) · 2026-12-02 Permalink → Listen →
Syntax (Wes Bos & Scott Tolinski) Around 41:34 into the episode
Sam Goodwin

…there's also a lot of crossover between sandboxes and CI. So we are fortunate to be sponsored by Blacksmith right now. They're great because they sped up GitHub Actions with no effort. They just sped up GitHub Actions by 50%, 60%. And they sponsor us, which is awesome. So shout out to Blacksmith.

Wes Bos

That's cool.

Sam Goodwin

But I still find them too slow. Like, I think CI needs to be instant. And that's where we're going. And I think it's the exact same problem as sandboxes. It's, hey, I've got a project. It's got a Git repository. And I basically need to boot, install, and compile as quickly as possible. So I don't know why any of these CI services don't let me do that once and then put it in CI and then boot straight into a fully compiled project. Right. So I'm interested in playing with the sandbox providers for CI replacements. They don't typically have Windows and Mac. That's sort of where that falls down is you're stuck in a Linux environment. But yeah, so I'm very interested in that space. Alchemy integrates into your CI. I do think eventually I might build Alchemy CI and expose that as primitives as well as a service. That's something that I'm interested in because Alchemy at the end of the day is a CI project. You know, it's about deploying and tearing down and upgrading software and testing software. So CI is a natural place for us. And I think you can see that this problem with the inefficiency. I actually think NPM downloads is a great metric for the inefficiency of CI because…

Wes Bos

NPM downloads will go down. We'll drop.

Sam Goodwin

Exactly. If you remove that inefficiency, maybe there's good reasons for it, but something is wrong there. It still takes minutes to do CI. I think we need to get it into seconds level.

Wes Bos

We were talking to Kyle Dagle, CO of GitHub, about that as well. Cause we're just like, what's the, is the solution is just faster computers? Or is the solution to a lot of this stuff like he mentioned, I think it was called like proof of work or like black box testing where you don't actually care…

Speaker names come from our own diarization. The position is estimated from where the line sits in the episode.
“I think there's a risk that agent products might not have as much scalable longevity as you might think, because it's just code at the end of the day. The only thing that keeps people on harnesses is the subscription, at least for me.” — Sam Goodwin, Syntax (Wes Bos & Scott Tolinski)

Talking about his own agent setup, Goodwin argues the model subscription, not the harness software around it, is what keeps users locked in.

Syntax (Wes Bos & Scott Tolinski) · 2026-12-02 Permalink → Listen →
Syntax (Wes Bos & Scott Tolinski) Around 31:52 into the episode
Sam Goodwin

So good that honestly saved my project in so many ways because TypeScript would use 20 gigs of memory to compile. So if I had two agents compile at the same time, it would blow up. And TSRS dropped that to three gigabytes. So so much more scalability.

Wes Bos

Wow.

Sam Goodwin

But still, I need it in the cloud. You know, I need every pull request to be instantly audited and triaged and sort of. I think a lot of people are starting to experiment with that. And I'm a big bully. I think you can see it happening. Like agents are going to go through this real quick iteration. And eventually there'll just be a bunch of libraries that everyone uses and like agent products. I don't know. I think there's a risk there that they might not have as much scalable longevity as you might think because it's just code at the end of the day. The only thing that keeps people to harnesses is the subscription, at least for me. Like I would probably ditch my harness if I could run Claude Max subscription in my own harness and not pay $20,000. But yeah, I don't know. That's how I build at the moment. Very simple, like nothing crazy complicated, just agents MV and skills and T3 code.

Wes Bos

Yeah. So you're like primarily just like sitting down, you're thinking about what should I work on right now? And you're typing in the box and having the agent rip on that. You don't have any sort of like, I know you said you want to, but you don't have like an automated software factory where…

Sam Goodwin

Nothing like that. I did describe the, I call it the flywheel from distilled to alchemy is the only automated thing we have, but it can be automated in one session. What it produces a refined SDK spec. So if you go look at, we have a thing called the wall of shame on distilled. The thing you need…

Wes Bos

Yeah.

Speaker names come from our own diarization. The position is estimated from where the line sits in the episode.
“The best solution for secrets on agents is to not give them the secrets.” — Sam Goodwin, Syntax (Wes Bos & Scott Tolinski)

Asked what he'd use TCP workers for, Goodwin describes a proxy that injects credentials into an agent's outbound requests, so agents running in sandboxes never hold the keys themselves.

Syntax (Wes Bos & Scott Tolinski) · 2026-12-02 Permalink → Listen →
Syntax (Wes Bos & Scott Tolinski) Around 19:24 into the episode
Sam Goodwin

workers, please, I need them. They're going to change the world, TCP workers.

Wes Bos

…use case for TCP and workers was I just often connect to hardware, like robots, right? Like one time I flew a drone with a React app that I built and it was all done over TCP. And I had to like, I had to do it with a node because you couldn't do that anything. Like, what use cases aside from that?

Sam Goodwin

Well, I may have overspoken, like, with changing the world, but for me, it's tunnels. Like, the one that I want to build is tunnels. So everyone who builds on Alchemy, you can run it locally emulated, right? But if you're building a, I don't have Stripe locally emulated just yet. I will get it there, but until it is, you need a webhook. So how do you get a webhook from the public internet into your local machine? There are ways to solve it, but one of the easiest ways is tunnels. Yeah. Right. And, but building a tunnel right now mostly requires you to a container, which has a fixed cost. I don't want fixed costs. I want it's only there costing me money when there's traffic flowing through. Right. So that's, that's a, that's an easy use case. But SOX proxies is the other one, right? So if you think about the best way to solve secrets for agents, the best…

Wes Bos

Oh, that's great. That's cool. All right, back to my original question. One of the reasons why Effect is becoming so popular is because people don't, people, a lot of people don't like looking at Effect, right? Because it uses generators and it's kind of hard to understand and blah, blah, blah. But…

Sam Goodwin

Yeah, it's crazy. Like a year and a half ago, I literally tweeted because I was moving from Alchemy V1 to V2 and part of that push was rewriting an effect. And at that time, there was a lot of pushback. And I was like, bro, I'm not designing it for you. I'm designing it for agents. And that was…

Wes Bos

Can you talk a little bit more about observability? Because I know that's a huge benefit when you use effect.

Speaker names come from our own diarization. The position is estimated from where the line sits in the episode.
“I'm telling people: start judging your frameworks by how well they can be tested. You used to judge them by terseness, how much you can squeeze into one file. That's out the window. Now you care about how well agents can verify it.” — Sam Goodwin, Syntax (Wes Bos & Scott Tolinski)

Goodwin explains why he rebuilt Alchemy on an advanced, hard-to-read framework: it is meant for agents to write and check. He proposes verifiability as the new test for choosing tools.

Syntax (Wes Bos & Scott Tolinski) · 2026-12-02 Permalink → Listen →
Syntax (Wes Bos & Scott Tolinski) Around 20:47 into the episode
Sam Goodwin

…proxy is what you need. And I think you can only build that with TCP. And I want to build that on Cloudflare. And I want it to be global, like a global SOX proxy with all your credentials so that you can keep your credentials away from your agents and have sandboxes all over the world programming.

Wes Bos

…of all of that certainly outweigh it. And I think it's just so cool that you can give an agent something like Alchemy and say, here is a way to describe every single piece, soup to nuts, right? And you can build. You Can Build whatever you want. Is that like a big push for this type of thing?

Sam Goodwin

Yeah, it's crazy. Like a year and a half ago, I literally tweeted because I was moving from Alchemy V1 to V2 and part of that push was rewriting an effect. And at that time, there was a lot of pushback. And I was like, bro, I'm not designing it for you. I'm designing it for agents. And that was controversial at the time. And now it's obvious, right? Every framework is. All that matters now is the objective reality of whether something is better or not. Is it easier to verify? Is it easier or harder to express working software with this tool? Yes or no, right? But before AI, that wasn't the criteria that people picked software. They picked the ones that they understood or that, you know, it was sort of like this lowest common denominator of what people could handle because, you know, this are pretty advanced ways to build software and it's like pretty unreasonable to expect everyone to get it. Right. So that put a ceiling on sort of how rigorous or sort of extreme you could go with pushing things like functional…

Wes Bos

Can you talk a little bit more about observability? Because I know that's a huge benefit when you use effect.

Sam Goodwin

Yeah. So effect gives you basically OTEL for free. If you do OTEL without effect, it is extremely annoying. But the effectful functions and the way they compose gives you OTEL for free. And we provide exporters, right? So you want to export to Axiom, right? Well, that's an alchemy resource. So you…

Wes Bos

Beautiful. I will do a little shameless plug for Sentry because we are brought to you by Sentry and there is Effect. You Can hook all of this stuff right up to Sentry and get all that data pushed right into it and you could figure out exactly what's going wrong, whether it's obviously. See errors…

Speaker names come from our own diarization. The position is estimated from where the line sits in the episode.

Collections They Appear In