# Effectifying OpenCode // Kit Langton // Cause & Effect 8

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

[Effect | TypeScript for the AI Era](https://www.youtube.com/@effect-ts) · Published 2026-06-19 · 1:45:31 · B tier · Effect

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

## Summary

Kit Langton discusses bringing [Effect](/lore/effect-basics) into OpenCode without breaking the existing application. An early step uses [Schema](/lore/schemas-define-the-boundary) brands to distinguish session, message, and workspace identifiers that would otherwise all be strings.

The conversation also explores keeping complex behavior [locally scoped](/lore/structure-effect-by-domain) and composing it into a larger application. Langton describes his experience with [Effect](/lore/effect-basics) 4, including changes to naming, [Schema](/lore/schemas-define-the-boundary), bundle size, and tree shaking.

## Section notes

- [19:06](https://www.youtube.com/watch?v=-mL7VVvkLGM\&t=1146s): Branded identifiers provide an early, limited step in adopting Effect.
- [37:20](https://www.youtube.com/watch?v=-mL7VVvkLGM\&t=2240s): Langton describes prioritizing a migration that would not break OpenCode.
- [1:15:45](https://www.youtube.com/watch?v=-mL7VVvkLGM\&t=4545s): Locally scoped complexity can compose without spreading through the codebase.
- [1:35:11](https://www.youtube.com/watch?v=-mL7VVvkLGM\&t=5711s): The conversation reviews Langton's experience with Effect 4.

## Key concepts

- [Effect](/lore/effect-basics)
- [Schema](/lore/schemas-define-the-boundary)
- [locally scoped](/lore/structure-effect-by-domain)

## Our take

Kit Langton talks with Johannes Schickling about bringing Effect into OpenCode: Schema and branded IDs, services and layers, testing LLM workflows, and incremental adoption in a large TypeScript codebase. Watch it to see a real migration rather than a demo.

## Related videos

- [Stop agent slop with Effect |  Mattia Manzati | Effect Milan 2026 🇮🇹](/tube/stop-agent-slop-with-effect-mattia)
- [Production-Grade TypeScript by Johannes Schickling (Effect Days 2024)](/tube/production-grade-typescript-by-johannes-schickling)
- [Effect TypeScript Library: Beginner / Intermediate Workshop (Effect Days 2024)](/tube/effect-typescript-library-beginner-intermediate-workshop)
- [The Simple Secret Behind Effect’s Power](/tube/simple-secret-behind-effects-power)

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