The following is what I mumbled into my mic and asked the agents to clean up.

AI coding has made it much easier to ship software quickly. People are building software factories and kitchens—whatever we’re calling them now. The idea is to create workflows where anyone in the organization can contribute, with agents handling more of the work and fewer steps needing human intervention.

I’ve been using Matt Pocock’s agent skills as part of my own setup, and he’s shared a lot of useful ideas about working with coding agents.

poteto at xAI has also shared pstack, her set of skills for rigorous engineering with agents. Its focus on code quality and verification fits into the same conversation about how to make these workflows reliable.

But as agents keep adding and changing code, how do we keep the codebase consistent? Strong linting, type checking, and meaningful tests help. So does looking back at agent sessions and improving the tools and instructions when the same problems keep happening.

I also wonder how much of a codebase’s structure assumes that humans will write and read the code. As agents take on more of that work, what would we design differently?

That question brought me back to Effect. I wanted to explore whether a consistent programming model could help guide how the codebase grows.

Effect finally started to click

I first heard about Effect a few years ago at a lightning talk meetup. Someone was presenting it, and honestly, I couldn’t understand it at all. The yield* syntax and the way the code was written looked difficult to read. That was my first impression.

Later, I was working with other frameworks in this agentic coding era. I already had shared schemas, typed query results, and explicit type definitions for async actions. But as more code got added, the codebase still started drifting.

Then I watched another video about Effect and thought, “Oh, I remember this.” I tried to understand it again, and this time it clicked much more than before.

I also read effect-solutions, a guide to writing idiomatic Effect code.

What started to click for me was how Effect brings these things into a consistent programming model: explicit dependencies, typed errors, schemas, concurrency control, streams, and retries. A lot of what I’d otherwise install separate libraries for is already included in the core effect package. Having these pieces designed to work together gives me a clearer set of patterns for agents to follow as the codebase grows.

If you’re growing crops, it’s worth spending time preparing the soil before planting. As the plants grow, you might add stakes to support them and guide their growth. I think a codebase can benefit from that kind of preparation and support too.

For me, Effect provides the foundation, and this repository’s lint rules act like support stakes. They reject specific unwanted patterns, helping the code that agents add stay consistent as the project grows. That’s what I want to invest in: an environment that makes it easier for the codebase to grow well.

I was also curious about what it could offer for queues and workers.

Why make a starter kit?

Honestly, my first reaction was: why build a starter kit in the age of AI coding? Couldn’t you just tell an agent, “Use Effect, add strong lint rules, and build what I need”?

AI makes it easy to start a project, try an idea, and throw it away if it doesn’t work. If it does work, you keep building. But either way, setting up the project structure, lint configuration, and checks from scratch every time feels wasteful. That’s what I wanted the starter to take care of.

So I started building effect-starter. I wanted a starting point that helps agents keep the codebase consistent as it grows, and lets people build useful software even if they don’t read the code themselves.

For the tooling, I picked Vite+ and the VoidZero ecosystem, including Oxlint and Oxfmt. You can use pnpm or Bun as the package manager, and Node.js or Bun for the API runtime. The Vite+ tooling and checks run on Node.js.

I drew on OpenCode, T3 Code, and the Effect repositories for conventions and tooling, and adapted a selected set of rules from Dillon Mulroy’s anti-slop project. These catch patterns like chained type assertions and module mocking. Together with Effect’s own checks and the starter’s project-specific rules, they put those conventions into the tools, ready for the next project.

The frontend is optional. You can choose React, TanStack Start, or no frontend at all.

For building an agentic tool or custom harness, I haven’t settled on an additional framework for the base starter. There are so many options to think about: Pi, Temporal, Cloudflare Workers, Durable Objects, and others. They address different parts of the problem, and I’m still figuring out what belongs here.

On the infrastructure side, there are also tools like Alchemy, which uses Effect Layers to bring cloud resources and application services together.

For now, I want to keep the base lean. I’ve added two optional examples in the examples directory, separate from what gets included in a generated application:

  • Alchemy Durable Object: a minimal Cloudflare Durable Object example about where to acquire a resource that has to survive a request, and what Alchemy does and does not close. It runs against local workerd and uses Alchemy 2.0 beta.
  • Durable workflow: a document-review workflow with PostgreSQL-backed run state, queued background work, automatic publication with idempotency keys, and retries that replay saved model responses. It also has a worker:fake mode that runs without a model key.

I don’t know how long this will matter

There’s also work happening around languages like Bend and more formal ways to verify that code does what we intended.

I don’t know how Effect will fit into that future. Maybe models will get good enough to write really good Effect code without all the detailed guidance we give them today. Or maybe in six months or a year, a new programming language will come along that agents work with even better, and we’ll be using something else entirely.

Who knows? For now, though, Effect feels like a really good solution to me, and I hope this starter will be useful.

I also turned part one and part two of this series into a slide deck (PDF) for people who would rather watch than read. The slides are in Japanese.