Samir Sangani (@SSangani) header
Samir Sangani (@SSangani) profile picture

Shipping agentic AI into clinical workflows by day, building fun apps with my daughter by night. Product lead · PhD · 🇨🇦

Canada
Joined August 2025
Photo by Samir Sangani (@SSangani)Photo by Samir Sangani (@SSangani)Photo by Samir Sangani (@SSangani)Photo by Samir Sangani (@SSangani)Photo by Samir Sangani (@SSangani)Photo by Samir Sangani (@SSangani)Photo by Samir Sangani (@SSangani)Photo by Samir Sangani (@SSangani)Photo by Samir Sangani (@SSangani)
Hi, I'm Samir 👋 Dad of 2, PhD, digital health product lead in Ottawa 🇨🇦 By day: running clinical and research data platforms and finding where agentic AI actually helps healthcare. By night: evaluating local AI, building agentic systems and fun apps with my daughter. Looking to connect with anyone building with AI. What are you working on?
Hi, I’m Iulia, 38, from Romania. After 7 years working as a freelance mobile dev, I’m now building my own apps. Looking to connect with other builders, solo founders, marketers and other people sharing their work and ideas.
6
4
523
Has anyone been running in an endless loop using Opus 5.5 for PR reviews? This is the first time I used it to review a PR and I am now on the 8th iteration, where it reviews a PR, finds issues, you fix the issue, review the PR again and it kept finding more. @ClaudeDevs
1
1
44
When I compare Claude Code and Codex, the thing I care about most isn't the benchmark number. It's how each one recovers after I tell it that it got something wrong. Does it fix the actual problem or quietly rewrite half the file around it? I haven't tracked this carefully so I won't name a winner. I have seen Codex keep writing more and more tests when I tell it that something is wrong, whereas claude code in most cases seems to directly address the file as if its confident that what I told was accurate. This shows the weird bandwidth we are in when we look at agents, one goes over the top and writes checks for every small thing it does and often overdoes it, whereas the other seems to flip a coin and goes ahead with the changes. What do you look at when you pick which agent gets which task?
3
78
Replying to @thsottiaux
@thsottiaux Banked resets do not seem to work, this has happened to me twice, clicking the button gives this message "Your usage does not need a reset right now" I am now a bit frustrated with this since planning around them is pointless now.
3
64
How do you decide when a task is too big to give an agent in one go? I used to just try and see, but a failed big attempt costs me more than splitting it up first. I'm still guessing at where the line is, so I'd like to hear your rule of thumb.
1
33
According to the Claude Code changelog, subagents now have autoCompactWindow in their frontmatter and --agents definitions, so a subagent can compact earlier than the main conversation. There's also a new env var, CLAUDE_CODE_WORKFLOW_SUBAGENT_MODEL, that runs every workflow agent on one model. Earlier compacting should mean subagents re-read less context and use fewer tokens. Pinning one model for workflow agents looks like a simple cost lever. I'd try both on a long task and compare token spend. Has anyone tested these yet?
1
39
Apple revised the App Review Guidelines and from what I understood it seems to say apps that misrepresent what they do in review and then change after approval risk removal from the App Store and the Apple Developer Program. For indie devs this matters if you ship AI features after approval or switch on remote-config features later. The risk is now the whole developer program, not just one app. Declaring every feature in review notes and keeping gated features visible to App Review looks like the safe path. Does anyone ship features behind remote config?
58
Tried explaining agents to my daughter today. She summed it up faster than any description I have seen: "so it's a helper that keeps going until the job is done?" Yes. That's basically it.
1
23
Most of my best features started as a message that said "can it just…".
1
33
What an amazingly succinct way to explain how to get the most out of agents. @karpathy please create the structure around Claude bot or whatever it will be called and simplify it before releasing, this itself will break all competition around the other bots.
We'll be spending a lot more time trying to understand the outputs of language models. A few thoughts, tips & tricks: Writing. Something I've had success with: Ask your LLM to explain something in ASD-STE100, it's a controlled language specification originally developed for aerospace maintenance documentation. LLMs well-versed in this language and it comes with heavy constraints on clean writing style that I often find a lot more readable. Sometimes I've tried to soften it a bit e.g. ask for "80% of the way to ASD-STE100" because the spec is quite stringent. But even better: Diagrams / images. Instead of writing, ask your LLM to create a diagram. These can be a lot easier to process, parse, and understand. But even better: Web pages. Ask for output "in HTML" to get a beautiful, interactive webpage. LLMs are getting really good at frontend and can create beautiful experiences, animations, etc. But even better: Explainer videos. The output format I am most bullish on is fully custom / bespoke explainer videos generated on any arbitrary topic. Experiment with things like "Create a 3b1b style video explainer on X. Use my ElevenLabs API key for audio narration". (you'd need an API key for the latter or you can ask your LLM to find you decent free alternatives that use your local compute). This is actually starting to work! In summary: - As LLMs get better, they will do more and more of the legwork autonomously, and a lot more of our work will rise up the abstractions into oversight and understanding. - Luckily, LLMs can help here too because as intelligence and code are increasingly abundant, you can ask for large, custom, discardable software artifacts (e.g. web apps, video explainers) that would have never made sense to create before. Push the boundaries here and you'll be surprised.
1
2
65
Replying to @thsottiaux
@thsottiaux Even though older Pro plans are supposed to get 20x until October 29, it feels like the usage has already been cut down dramatically. I have been getting report from colleagues that usage has been depleting rapidly. Is anyone else noticing the same?
1
25
Replying to @thsottiaux
@thsottiaux Codex resets do not seem to be working as intended. I tried the reset that was expiring today and when I tried it, I got the message saying that this account does not require a reset. Has anyone else experienced this?
1
115
It's been a year since I started using X and it has really changed how I consume information about AI as well as teach my daughter about it! Thank you @X #MyXAnniversary
1
4
112
Replying to @claudeai
@claudeai @ClaudeDevs Fable has been removed from subscription without notification, the usage now bills to Usage credits I had only used about 16% before it disappeared
4
202
Happy Canada Day 🇨🇦
1
46
Same model, same prompts, switch the harness and GLM 5.2's output isn't close. On Opencode it felt like Opus 4.7 at a fraction of the token cost. On other harnesses, clearly weaker. Everyone says GLM 5.2 is good. Almost no one says which harness, and with open models, that's the whole experiment. Which harness are you running it on?
1
2
135
This is the same idea I wrote about with the context layer: a model is only as good as the system you wrap around it. For open models, the harness *is* that system. teapaw.org/SSangani/status/205788…
1
100
I recently saw on my Profile that I am following more than 1200 creators, and it really surprised me, so I asked my daughter whom I sometimes give my phone so that she can catch up on latest trends and keep up to date on the craziness of AI. She told me it was her and she said isn't that good, the more people we follow the more our knowledge will increase (she said what's the point of followers 😅). This really made me stop for a second and reflect on how we are rushing to reach posting milestones to get paid vs a pure mind that is hungry for knowledge and does not care about anything else. I just wanted to thank all the amazing female creators on @X who keep inspiring her 🙏
4
73
I really love the Today's News feature on @X, it really helps users like me who sometimes do not have the time to go through the posts get a quick overview of the trending posts and catch up with the updates
1
40
I usually do not say anything bad about any models since for me I always find a way to work around most of the issues. But @ClaudeDevs Claude Code has become so slow that it has become frustrating now. As you can see in the image, it has been working since more than 5 mins and has generated less than 500 tokens and the token count has not moved since the past 4 mins, it seems that I am in some kind of queue waiting for my turn after which it will start working again?
1
160