Josselin Perrus (@nonils) profile picture

Product Manager

Paris
Joined September 2009
Photo by Josselin Perrus (@nonils)Photo by Josselin Perrus (@nonils)Photo by Josselin Perrus (@nonils)Photo by Josselin Perrus (@nonils)Photo by Josselin Perrus (@nonils)Photo by Josselin Perrus (@nonils)Photo by Josselin Perrus (@nonils)Photo by Josselin Perrus (@nonils)Photo by Josselin Perrus (@nonils)Photo by Josselin Perrus (@nonils)
How do you get agents to ask high-leverage questions first? Going from idea -> spec has been chaotic with agents getting drawn into implementation details before high-level trade-offs had been surfaced and arbitrated. "boundary model" skills fixed that for me
1
20
Although maintaining a boundary map is not required, its visualization sparks useful conversations and re-alignments. It's also useful to understand the structure of existing code bases. Here is @rivet_dev by @NathanFlurry Go try it on real examples, it's interactive.
1
10
Josselin Perrus retweeted
Wow! Just finished "Messy Jobs" by @lugaricano, Jin Li and Yanhui Wu, and I've been recommending it to everyone around me since. It's about AI, jobs and the future economy and society Here's the core of the book and my notes in 15 cards as a primer but you should totally read the whole thing 🧵
88
308
45
2,143
190,190
I spent half a day prompting Claude for a background image. Then I asked Claude to build me an interactive tool. I wanted a halftone background image for my personal website redesign (I love halftone). I had reference images and a vague idea of what it could look like. At first, we iterated directly on images. But the feedback loop felt miserable: - "decrease the density of dots" - "tilt this part a bit clockwise" - "that's too much, a bit less" And at some point it clicked. I asked Claude: "give me some knobs". I wanted to tune some parameters myself and see the output change. Immediately, I could explore a whole part of the design space on my own: the part opened up by the parameters we had chosen. But I only had a vague idea of which parameters to choose. Claude made the first proposal. Then, instead of iterating on the images themselves as we did at first, we iterated on the tool and its set of parameters. What was new for me in this experience was thinking "tool" rather than "result". Jack Cheng (@jackcheng) calls these tools "jigs" in "Designing With AI? Make a Jig". A second mental shift was building software I'll probably never use again. Thinking of software as disposable is a consequential change of mental model, one Geoffrey Litt (@geoffreylitt) described back in 2023 in "Malleable software in the age of LLMs". I made two such "jigs" that you can try at meaningfool.net/apps. - Halftone Pattern Studio for my background image. - Halftone Painter for the "mini-map" illustration.
3
5
487
Josselin Perrus retweeted
maybe a hot take but i now consider adversarial reviews mostly a waste of tokens. far better to use those tokens on empirical combined with formal verification. i have updated pstack to use the interrogate skill less, and eventually i think i may remove it altogether i have found very little value with code review in the abstract, agents tend to just get lost in the nitpicks and yagnis
8
4
1
178
16,477
Josselin Perrus retweeted
Evals are the most underrated skill in AI engineering. 1. Start with error analysis, not metrics Sample 100+ production traces. Annotate each failure in free text (open coding), then cluster them into failure categories (axial coding). Count frequency per category. Your top 3 categories are your first metrics. 2. Build a versioned golden dataset Store inputs, expected outputs or rubrics, and metadata (intent, difficulty, user segment) in a versioned dataset. Stratify it so rare but critical cases aren't drowned out by easy ones. Version it alongside your prompts so every score is reproducible. 3. Generate synthetic data along explicit dimensions Don't just ask an LLM for "test questions." Define dimensions (persona × intent × complexity × edge case), generate combinations as tuples, then turn each tuple into a natural input. You get coverage instead of 200 near-identical examples. 4. Deterministic assertions first JSON schema validation, regex checks, required fields, length limits, code execution, SQL that actually runs against a test DB. These are cheap, fast, and have zero variance. Reserve model-based grading for what code genuinely can't check. 5. Evaluate retrieval separately from generation For RAG, measure retrieval with recall@k, MRR, or nDCG against labeled relevant chunks. Measure generation with faithfulness (is every claim supported by retrieved context?). If you only score the final answer, you can't tell which half is broken. 6. Trajectory evals for agents Log every step: tool name, arguments, result, tokens. Score tool-call precision and recall against a reference path, argument correctness, step count, and error recovery. An agent that reaches the right answer in 14 calls when 3 would do is a cost and latency bug. 7. pass@k vs pass^k pass@k = succeeded at least once in k runs. pass^k = succeeded in all k runs. At 80% per-run success, pass^5 drops to roughly 33%. Production reliability lives in pass^k, so run each case multiple times at your real temperature. 8. Simulated users for multi-turn Give an LLM a persona, a hidden goal, and constraints, then let it converse with your system until the goal is met or a turn limit hits. Grade goal completion, turns-to-resolution, and policy violations. Single-turn evals miss most state and memory bugs. 9. Align your LLM judge like a classifier Hand-label 100+ examples as pass/fail. Split into train/dev/test. Iterate on the judge prompt using dev, then report TPR and TNR on test. Use binary outputs with a written rubric, require a short critique before the verdict, and pin the judge model version. 10. Control judge bias in pairwise comparisons LLM judges have position bias and often prefer longer answers. Run every A/B comparison twice with swapped order and only count consistent verdicts. Normalize or cap length if verbosity is skewing results. 11. Respect statistics With 100 examples at 80% accuracy, your 95% confidence interval is about ±8 points. A jump from 80% to 83% is probably noise. Use bootstrapped confidence intervals, or a paired test on the same examples, before declaring a win. 12. Gate deploys in CI Run the eval suite on every PR that touches prompts, models, tools, or retrieval config. Set per-category thresholds instead of one global score, so a big win in one area can't hide a regression in another. Fail the build on a regression. 13. Online evals in production Sample a percentage of live traffic, run your judges asynchronously, and alert on drift per failure category. Use shadow deployments to run a new prompt or model on real traffic without showing users the output. 14. Make cost and latency first-class metrics Track tokens per request, cost per successful task (not per call), and p50/p95 latency next to quality. A change that keeps quality flat while cutting cost 40% is a real win and deserves to ship. 15. Close the loop Every production failure becomes a new labeled test case. Every new model release gets run against the full suite before anyone debates switching. Over time your eval set becomes the most valuable asset in the codebase. Prompts are disposable. Models get replaced every few months. Your eval infrastructure is what compounds.
130
150
37
2,185
242,611
Josselin Perrus retweeted
"Trait-driven development" I'm no longer really operating directly on code. Instead, I create traits which operate on the code + ensure agents never need the same feedback twice.
26
9
3
382
35,957
Writing skills improve your own taste. That's my personal experience with my domain-model skills, and @tempoimmaterial perfectly captures that in their banger post. Article: builder.io/blog/stop-install… Boundary model skills: github.com/meaningfool/skill…
1
41
The more I think about this, the more mind-boggling the logical consequences if that were come to be true
I think we're looking at tokens as a function of salary when we should be looking at salary as a function of tokens. If that engineer is a good steward of tokens he should be managing a $50m portfolio of token spend and charging 2% management fee + 20% carry on that investment.
1
1
104
Josselin Perrus retweeted
Stop doomscrolling Jev takes. Here’s the map. Every use case I could find, MECE’d into six pillars — Workflow, Bulk, Realtime, Verify, Harness, Voice. Paste a link. Jev grades it against the live map. Truly new → auto-merges as a leaf. galigutta.github.io/jev-use-…
2
1
7
2,037
I have a hard time collaborating with Astra. I've gone back to Sol X-High as the driver, with Astra for review and UI work. Skill issue?
29
Josselin Perrus retweeted
speed will change UX so much more than intelligence intelligence matters but the biggest blocker right now for jumps in UX like in this video are speed I am really stoked about Jev we’re going to see soooo much cool stuff, so fast
2
15
2,018
Josselin Perrus retweeted
It's also a much more effective way to improve the system rather than keep adding more and more to your system prompt. It's much nicer working in the continuous space for improvements with gradient descent, rather than in the discrete lexical space.
1
1
33
5,758
me the last few weeks
1
93
Possible Codex app bug: worktree tasks created by an orchestration task don’t always run the project’s .codex/environments setup script. The worktree exists, but ignored bootstrap files are missing and tracked skill symlinks break. Manually created worktree tasks work. @OpenAIDevs teapawt.net/nonils/status/20926150…
for the first time I created a codex thread to orchestrate other threads superpower or slop cannon: not sure yet but definitely fun to watch
1
91
for the first time I created a codex thread to orchestrate other threads superpower or slop cannon: not sure yet but definitely fun to watch
1
1
175