@mattpocockuk: Effect feels insanely good to use with agents: - Typed errors/dependencies power up your type checking - DI makes desig…
Summary
Matt Pocock praises the Effect library for agent development, highlighting typed errors and dependencies, dependency injection, and built-in abstractions that fit AI-agent coding in TypeScript. The post quotes the announcement of Effect v4, positioned as a foundation for building reliable software and AI agents in TypeScript.
View Cached Full Text
Cached at: 10/01/26, 10:21 AM
Effect feels insanely good to use with agents:
- Typed errors/dependencies power up your type checking
- DI makes designing good codebases easy
- Built-ins for EVERYTHING, no agent creativity required
An outrageous advantage for any non-frontend TS code
Effect | TypeScript for the AI Era (@EffectTS_): Effect v4 is here.
One ecosystem. Zero dependencies.
The next chapter of Effect and the foundation for building reliable software and AI agents in TypeScript.
Similar Articles
Effect-TS/effect
Effect is a TypeScript library for building robust, type-safe, production-grade applications, handling typed errors, dependency injection, structured concurrency, scheduling, tracing, and schema validation. Version 4.x is announced as a long-term support release with at least three years of support guarantees.
Effect 4.0
Effect 4.0 is a ground-up rebuild of the TypeScript effect library, delivering a 5× smaller bundle, 6.4× higher concurrency throughput, 86% less memory per fiber, and zero runtime dependencies in the core package, alongside a new long-term support policy for every major version.
@mattpocockuk: 15 months later and I would probably now describe the Effect docs as 'exemplary'. Really well laid out, with a great in…
Matt Pocock revisits the Effect documentation after 15 months, now praising it as 'exemplary' with well-structured content and a clear description of what an Effect is.
@mattpocockuk: I think I'm addicted to getting agents to build state machines Every time I see an agent has built a state machine (or …
Matt Pocock shares that he consistently gets better robustness and easier, more testable future updates when AI coding agents build state machines or reducers, and recommends the practice for frontend development.
Why Is Every AI Agent Written in TypeScript?
The article explores why TypeScript has become the dominant language for building AI agents and agent frameworks, questioning why alternatives like Rust or C++ aren't more prevalent.