Milad Khajavi (@khajavi) header
Milad Khajavi (@khajavi) profile picture

Software Engineer

Joined January 2012
Photo by Milad Khajavi (@khajavi)Photo by Milad Khajavi (@khajavi)Photo by Milad Khajavi (@khajavi)Photo by Milad Khajavi (@khajavi)Photo by Milad Khajavi (@khajavi)Photo by Milad Khajavi (@khajavi)Photo by Milad Khajavi (@khajavi)Photo by Milad Khajavi (@khajavi)Photo by Milad Khajavi (@khajavi)Photo by Milad Khajavi (@khajavi)
Milad Khajavi retweeted
Effect Oriented Programming is winning! Long ago John and others (many in the Scala community) had a vision for a future of better software. This is being realized with different foundations, but as offshoots of the work John began. I'm grateful that @EffectTS_ and @foldkit are enabling a whole new generation of better software. In the AI era, the traditional hurdles are gone. Everyone can now quickly build better software. Exciting times!
You have no idea how good @foldkit is. But the below should give you a little hint. 👇
2
14
118
5,352
Milad Khajavi retweeted
ZIO Blocks now has its own home page: zioblocks.com/ Next-gen building blocks for modern Scala apps, no effect dependencies, and usable from any ecosystem (or none at all).
3
28
3
114
6,399
Milad Khajavi retweeted
Golem 1.6 is coming out, and the release represents a major advancement for building custom agents, harnesses, and agentic workflows on Golem. I'll be talking about and showing many features of 1.6 throughout the coming weeks, but more instructive for now is simply the one unifying theme that ties together all of 1.6. We all know that the most complex type of agent you can build is a coding agent. Coding agents build and run software, and therefore, in theory they can do anything that a software engineer can do--which is pretty much anything. However, I have argued that all agents should be coding agents, because coding gives agents the ability to make custom software to solve problems they are tasked with--even ordinary business problems like, "Show me top performing accounts in a bar chart and send the top performer a congratulations email." If all agents must be coding agents, then ultimately, then I reasoned that Golem should be sufficiently powerful to support this use case directly. As a result, with feedback from early users of Golem, I shaped the 1.6 feature set around developing a coding agent that runs entirely in Golem--durably, with a precise permission model, and the ability to add ironclad guardrails to increase reliability. The results you will see for yourself soon enough, and I believe Golem will have attained the milestone where Golem beats LangChain and friends in any head-to-head comparison. As proof, we will be shipping a demo coding agent that writes TypeScript, and which runs entirely in Golem, benefiting from Golem's durability and permission model. Unlike all the other coding agents in this category, this coding agent will run entirely in WASM, not a VM, and feature millisecond startup time, consume MB instead of GB, and attain economies impossible with VM technology. We're about to enter an age where even the most powerful type of agent--a general-purpose coding agent--runs entirely in its own sandbox, durably, starting in milliseconds, and consuming hardly any memory, enabling heretofore unimagined use cases for general-purpose agents. Stay tuned for more.
6
8
1
37
2,233
Milad Khajavi retweeted
Cooked up some really tasty treats over the past 3 months: - Various Jev morsels; most importantly a Scala ZIO Jev client with a full agentic loop orchestrator: github.com/jamesward/zio-typ… - Site for testing CIMD: cimd.now - Support for Mantle in ZIO Bedrock: github.com/jamesward/zio-bed… - Updates to zio-http-mcp for 2026-07-28 MCP spec: github.com/jamesward/zio-htt… - ZIO Evals lib: github.com/jamesward/zio-eva… - ZIO Git lib: github.com/jamesward/zio-git - sbt over MCP & symbol tools: github.com/jamesward/sbt-mcp - sbt-tdepver for easier transitive dep mgmt: github.com/jamesward/sbt-tde… - New Scala & Scala Native buildpacks: github.com/jamesward/buildpa… github.com/jamesward/buildpa…
Still cooking! A few more new projects in the past 2 months: - ZIO HTTP MCP client/server library: github.com/jamesward/zio-htt… - ZIO Bedrock library: github.com/jamesward/zio-bed… - sbt revolver alternative for sbt 2.0: github.com/jamesward/sbt-rel… - sbt webjars plugin: github.com/webjars/sbt-webja… - sbt plugin for sass: github.com/jamesward/sbt-sas…
1
4
30
13,472
Milad Khajavi retweeted
Jev agentic loops are faster, cheaper, and likely more accurate when it comes to data filtering. I did a bunch of variations on this to get some data: github.com/jamesward/hello-z… Details on the architecture in my underlying Scala ZIO Jev library: github.com/jamesward/zio-typ…
4
3
44
2,431
Milad Khajavi retweeted
Full Jev Tutorial What it is, how you can build with it and what new applications it can unlock → 0:00 Intro → 0:34 Jev explained → 4:06 API setup → 5:59 Demo 1: Voice-controlled browser → 11:33 Demo 2: AI memory → 17:27 Demo 3: YouTube predictor
57
360
43
3,152
271,853
Milad Khajavi retweeted
The TypeSafe name is scrambling my brain (iykyk). Nonetheless I've created a Scala ZIO client for Jev: github.com/jamesward/zio-typ… Super cool AI service! And I think my DSL is pretty nice:
5
3
45
2,520
Milad Khajavi retweeted
Most AI agents waste a lot of tokens because they: 1) send exactly what they get from tool calls to the LLM 2) workflow sequential tool calls in an LLM loop In this week's Coffee & Software livestream I demonstrated two techniques to significantly reduce token usage: tool call result filtering & synthetic workflows. Check out the recording: youtube.com/watch?v=wtCorpB6…
2
4
17
2,042
Milad Khajavi retweeted
Effect-neutral architecture in ZIO DynamoDB 3.x The core is now zero-dependency, with effect-specific execution isolated behind an Interpreter. Same query, different effect system: ZIO, Cats Effect, Future — without changing the query. #Scala #ZIO #DynamoDB #AWS
2
10
329
Milad Khajavi retweeted
Me explaining AI to friends
572
4,746
969
29,908
5,827,068
Milad Khajavi retweeted
Hello, @EffectTS_!
2
20
1
107
6,962
Two rules for writing tutorials useful adding to your agent skills: 1. Each section should add only one layer of complexity to the previous section, with a "Show Moment" 2. The whole article should have one single final "Aha Moment"
1
64
Milad Khajavi retweeted
Just merged Async[A], ZIO Blocks' new cross-platform, cross-version eager Async type. Ready for kicking the tires, destined to bring Async streams to JS, and often hundreds to thousands of times faster than Cats Effect. 👀👇
4
6
60
3,539
I added the following lines to my AGENTS.md file using flueframework.com. It's a very simple way to guide AI agents about documentation of an npm package! I was thinking about how to do the same for Scala projects. Any ideas?
1
4
249
Milad Khajavi retweeted
i’ve been playing around with flue, and have been really enjoying it i’ve created a visual guide, let me know what you think momito.co.uk/flue/?2
8
18
2
281
83,029
I've developed two skills so your agents can learn how to write #ZIO and #ZIO_HTTP applications (including the ZIO Ecosystem): npx skills add zio/zio-skills --skill zio-knowledge zio-http-knowledge Give them a try and teach you agents! Let me know about your experience!
1
4
107