Fetching from the wire…
Public story · 2026-08-04 · high
Optimizer-written code now runs sandboxed with call caps, and a related rewrite claims up to 50% lower agent costs.
Why now: Both features landed in the same DSPy 3.3.0 release on August 3, tying the optimizer rewrite and the agent-loop rebuild to one ship date.
DSPy 3.3.0 shipped August 3 with an experimental mode called Flex that lets its GEPA optimizer rewrite a module's code, per the release notes.
That matters because GEPA-authored code now runs without a person reviewing it first. The only guardrails are a CodeInterpreter sandbox and a hard cap called max_predictor_calls, meant to stop a rewritten program from running away with LM calls.
Until now, GEPA could only reword a module's prompts. It couldn't touch how the program was built. Flex changes that. Given a signature, GEPA can rewrite predictors and control flow, judged against whatever metric you set. It can also shift how much of the program runs as Python versus LM calls.
The optimizer's code changes aren't thrown away after a scoring run. DSPy saves the winning structure as module_src alongside the rest of the program state. A decomposition GEPA finds during optimization survives a save and reload.
The same release adds dspy.ReActV2, a rebuild of DSPy's agent loop for native tool calling. It replaces the old flat trajectory string with dspy.History message groups. DSPy reports cost cuts up to 50%, from better reuse of cached prompt prefixes.
Flex won't earn trust until someone publishes a GEPA-discovered program structure that beats a hand-written one on cost or accuracy, outside DSPy's own benchmarks.
Both features shipped in the same DSPy 3.3.0 release, on August 3.
Each link below shares sources, entities, or timing with this story.
Here's the one you can act on today. DSPy shipped 3.3.0b1 with a new ReActV2 module, and if you're still hand-tuning prompt strings, you're doing manual labor a compiler should do. You declare a task as a typed Input to Output signature, pick a reasoning strategy, and MIPROv2...
I check Product Hunt maybe once a week and usually regret it. Today's board is worth reading as market structure. The July 30 leaderboard: SKI at 277 upvotes (free voice input for Claude Code and Codex). AI Search Console at 249 (prompt analytics and citation mapping). Memmy A...
A Chinese-enhanced fork of the 116K-star Superpowers pack, explicitly targeting 16 AI coding tools including Claude Code, Copilot CLI, Hermes Agent, Cursor, Windsurf, Kiro, and Gemini CLI. Source: GitHub The agent-skills layer is becoming portable across editors instead of loc...
From the team behind the Hermes open-weight models, positioned as a personal agent that "grows with you" (GitHub). Other tools in this week's batch now name-check "Hermes Agent" as a first-class target alongside Claude Code and Codex. When competing tools start building integr...
A month ago, TeamPCP compromised Trivy's GitHub Actions runners. Then they trojanized LiteLLM on PyPI. Now Wiz Research confirms they've expanded to npm via a worm called CanisterWorm, using stolen publish tokens to push malicious packages across JavaScript's package ecosystem...
Simon Willison has been writing software for over 25 years. He's one of the most disciplined, transparent engineers in the Python ecosystem. And yesterday he published an essay admitting he no longer reviews every line of code that Claude Code generates for his production proj...
MindPattern daily
One email a day at 7 AM. Sources and a take on every story. Unsubscribe anytime.