Mohammed Alaa (@MohammedAlaa) header
Mohammed Alaa (@MohammedAlaa) profile picture

Mexican CTO 🇲🇽 | 🚘 IOT & Fleet Tech Innovator | ex-Cofounder @odettago | Ex-CTO @FrontierCar & @SchibstedGroup Mexico, VP Eng @liniomexico | 🧠 AI Enthusiast

Mexico
Joined April 2009
Photo by Mohammed Alaa (@MohammedAlaa)Photo by Mohammed Alaa (@MohammedAlaa)Photo by Mohammed Alaa (@MohammedAlaa)Photo by Mohammed Alaa (@MohammedAlaa)Photo by Mohammed Alaa (@MohammedAlaa)Photo by Mohammed Alaa (@MohammedAlaa)Photo by Mohammed Alaa (@MohammedAlaa)Photo by Mohammed Alaa (@MohammedAlaa)
Mohammed Alaa retweeted
We asked GPT-6 Astra to edit Qwen3.5-0.8B weights to improve math. It directly changed only 0.016% of weights, fixing 0.8B's reasoning loops & improving math up to 6x and even instruction following 3x, without gradients or training. We call this Weight-Space Programming: frontier LLMs can now natively read/write neural network weights! 🧵 Blog: rikiyat.github.io/blog/weigh…
Readers added context they thought people might want to know
LLM was given weights explicitly as text in prompt and used code/forward passes (per authors' logs) to ablate Qwen looping direction, a known thinking-mode issue per model card. Primarily fixed repetition in that mode, not general 'natively' improving weights/math. rikiyat.github.io/blog/weight-sp… github.com/RikiyaT/lm_und… huggingface.co/Qwen/Qwen3.5-0… huggingface.co/RikiyaT/Qwen3.…
2,366
7,243
5,760
55,845
10,133,064
Mohammed Alaa retweeted
I was babysitting my AI agents. So I built Argoni. It lives in the Mac notch, watches every session, and only taps you when something actually needs you. Free for Mac. Early access is open: argoni.app Track: “Catalyst” by Scott Buckley, CC BY 4.0
20
10
2
250
16,593
إحنا بقينا ف زمن صعب جدا تفرق فيه مابين الصور والفيديوهات اللى معمولة بال ِAI ومابين الحقيقة "ساعات"، التزييف وال deepfakes وارتباطها الوثيق بالامن السيبراني وهجمات الاحتيال والتصيد زادت اضعاف ومع الزيادة دي بقت ال visual models تتطور بشكل مرعب، فلو مهتم بال AI وبمعرفة مصادر الفيديوهات والصور اللى تم استخدام الذكاء الاصطناعي فى إنشاءها فلازم تبقى عارف اداة زي SynthID، الاداة من إنشاء شركة Google وبكل تأكيد هي مجرد اداه مساعدة يعني هتساعدك تعرف إن كانت الصورة او الفيديو تم إنشاءها بال AI لكن اكيد مش هتقفش كل حاجه بدقة تصل ل ١٠٠٪ اكيد فى حاجات كتير هتفلت منها ولكن تظل اداة مساعدة وقوية في قفش حالات كتير من الحالات دي. فكرة الاداة بشكل عام انها بتقدر تتعرف على اي watermark مخفية للعين البشرية المجردة ولكن ظاهرة لل AI models، بكل تأكيد طريقة التعرف دي هتقدر موديلات كتير jailbroken و unrestricted إنها تتعرف عليها بل وتشيلها علشان تعدي من الكمين اللى عاملاه SynthID ولكن تظل محاولة تحترم فى وسط الرعب اللى عايشين فيه ده! الاداة بتقدر تتعرف على النوع ده من الصور والفيديوهات اللى بيتم إنشاءها من موديلات زي موديلات جوجل: Gemini و Imagen و Veo و Lyria و موديلات OpenAI زي ChatGPT و DALL-E وموديلات بتستخدم تقنيات او بواسطة شركات معروفة زي NVIDIA و Kakao اللى شركة أبل هتدعمها فى انظمة الذكاء الاصطناعي الخاصة بيها جربوا الاداة وعرفوها لأمهاتكم بالذات لأني متأكد من إن بعض اللى بيقروا البوست ده عندهم ام كانت فاكرة فى يوم من الايام إن القطط ممكن فعلا ترقص وتغني 🤣 رابط الاداة: synthid.com
5
18
1
115
6,577
كلود عمل الفيديو ده كله بالكامل من غير ما اتدخل ف اي حاجة، حتي الصور و الحاجات دي عملها كلها مع نفسه RapidSnap v2 will be released soon
3
2
103
6,752
Mohammed Alaa retweeted
Release the Kraken 🌊🐙 @threejs tropical portfolio If it’s going to attack the boat, I feel like the player should be able to fight back… right? Still refining the animations. #ThreeJS #WebGL #3D #CreativeCoding #Portfolio #IndieDev
10
6
2
173
6,343
Mohammed Alaa retweeted
I resigned from Anthropic today. I spent the last three years doing pretraining research at both OpenAI and Anthropic. Neither company is acting responsibly. They are racing straight to self-improving superintelligence and gambling with our lives. More thoughts below.
20,305
166,381
39,487
798,458
175,922,933
🤭 ACTUALIZACIÓN 🤭 🇦🇷 Argentina en sus últimos 12 partidos: 🇸🇦: Penalti 🇲🇽: - 🇵🇱: Penalti 🇦🇺: - 🇳🇱: Penalti, tarjeta roja evitada y tarjeta roja al rival 🇭🇷: Penalti 🇫🇷: Penalti y gol irregular 🇩🇿: Roja perdonada a Messi 🇦🇹: Penalti 🇯🇴: Penalti 🇨🇻: Gol irregular 🇪🇬: Penalti, gol anulado al rival, gol en fuera de juego, penalti no pitado al rival. 🤣🤣🤣
285
4,078
141
28,001
1,270,183
Mohammed Alaa retweeted
just shipped v1.6 of my little ports app, with: - keyboard shortcuts - a "kill all" button to save agent terminal sprawl - support for macOS beta, b/c devs love betas - lots of little fixes enjoy & pls share feedback 🔌
65
47
21
1,121
114,217
Mohammed Alaa retweeted
Introducing Claude Opus 4.8: it builds on Opus 4.7 with sharper judgment, more honesty about its own progress, and the ability to work independently for longer than its predecessors. Available today at the same price.
3,575
8,229
5,300
65,897
15,579,126
Mohammed Alaa retweeted
Wow, this tweet went very viral! I wanted share a possibly slightly improved version of the tweet in an "idea file". The idea of the idea file is that in this era of LLM agents, there is less of a point/need of sharing the specific code/app, you just share the idea, then the other person's agent customizes & builds it for your specific needs. So here's the idea in a gist format: gist.github.com/karpathy/442… You can give this to your agent and it can build you your own LLM wiki and guide you on how to use it etc. It's intentionally kept a little bit abstract/vague because there are so many directions to take this in. And ofc, people can adjust the idea or contribute their own in the Discussion which is cool.
LLM Knowledge Bases Something I'm finding very useful recently: using LLMs to build personal knowledge bases for various topics of research interest. In this way, a large fraction of my recent token throughput is going less into manipulating code, and more into manipulating knowledge (stored as markdown and images). The latest LLMs are quite good at it. So: Data ingest: I index source documents (articles, papers, repos, datasets, images, etc.) into a raw/ directory, then I use an LLM to incrementally "compile" a wiki, which is just a collection of .md files in a directory structure. The wiki includes summaries of all the data in raw/, backlinks, and then it categorizes data into concepts, writes articles for them, and links them all. To convert web articles into .md files I like to use the Obsidian Web Clipper extension, and then I also use a hotkey to download all the related images to local so that my LLM can easily reference them. IDE: I use Obsidian as the IDE "frontend" where I can view the raw data, the the compiled wiki, and the derived visualizations. Important to note that the LLM writes and maintains all of the data of the wiki, I rarely touch it directly. I've played with a few Obsidian plugins to render and view data in other ways (e.g. Marp for slides). Q&A: Where things get interesting is that once your wiki is big enough (e.g. mine on some recent research is ~100 articles and ~400K words), you can ask your LLM agent all kinds of complex questions against the wiki, and it will go off, research the answers, etc. I thought I had to reach for fancy RAG, but the LLM has been pretty good about auto-maintaining index files and brief summaries of all the documents and it reads all the important related data fairly easily at this ~small scale. Output: Instead of getting answers in text/terminal, I like to have it render markdown files for me, or slide shows (Marp format), or matplotlib images, all of which I then view again in Obsidian. You can imagine many other visual output formats depending on the query. Often, I end up "filing" the outputs back into the wiki to enhance it for further queries. So my own explorations and queries always "add up" in the knowledge base. Linting: I've run some LLM "health checks" over the wiki to e.g. find inconsistent data, impute missing data (with web searchers), find interesting connections for new article candidates, etc., to incrementally clean up the wiki and enhance its overall data integrity. The LLMs are quite good at suggesting further questions to ask and look into. Extra tools: I find myself developing additional tools to process the data, e.g. I vibe coded a small and naive search engine over the wiki, which I both use directly (in a web ui), but more often I want to hand it off to an LLM via CLI as a tool for larger queries. Further explorations: As the repo grows, the natural desire is to also think about synthetic data generation + finetuning to have your LLM "know" the data in its weights instead of just context windows. TLDR: raw data from a given number of sources is collected, then compiled by an LLM into a .md wiki, then operated on by various CLIs by the LLM to do Q&A and to incrementally enhance the wiki, and all of it viewable in Obsidian. You rarely ever write or edit the wiki manually, it's the domain of the LLM. I think there is room here for an incredible new product instead of a hacky collection of scripts.
1,120
2,822
685
26,769
7,359,802
Mohammed Alaa retweeted
Atención! @OpenAI llega a México 🇲🇽 Tendremos el primer meetup oficial de Codex en CDMX este 8 de abril Aplica ahora para no quedar fuera! luma.com/suipk589
18
20
3
263
11,714
Mohammed Alaa retweeted
testing something
280
171
71
3,626
359,517
The Kingdom of #Saudi Arabia has been consistent in supporting diplomatic efforts to reach a credible deal with Iran. At no point in all our communication with the Trump Administration did we lobby the President to adopt a different policy.
President Trump launched strikes on Iran after a weeks-long lobbying effort by Israel and Saudi Arabia, according to four people familiar with the matter. U.S. intelligence assessments saw no imminent threat, but regional allies argued to strike. wapo.st/4s23KC9
826
2,445
377
7,739
4,980,139
Stanford's 2-Hour Lecture on AI Agents, LLM & RAG is a Joy to Watch. I Pulled 𝟯𝟭 Advanced Techniques You Won't Find Explained Elsewhere ⬇️ 𝟭. Knowledge cutoff is your LLM's biggest limitation—RAG fixes it without retraining. 𝟮. Never dump everything into context—retrieve only relevant chunks. 𝟯. Chunk size matters: ~500 tokens balances context preservation and embedding quality. 𝟰. Two-stage retrieval: candidate retrieval (maximize recall) → ranking (maximize precision). 𝟱. Bi-encoders (SBERT) power fast semantic similarity search via cosine similarity. 𝟲. BM25 ensures keyword matching when exact terms matter. 𝟳. Hybrid retrieval (embeddings + BM25) beats either method alone. 𝟴. HyDE: generate a hypothetical document first, then embed it for better retrieval. 𝟵. Contextual retrieval: prepend chunk summaries to preserve meaning. 𝟭𝟎. Prompt caching slashes costs by 10x when processing multiple chunks. 𝟭𝟭. Cross-encoders for re-ranking: feed query + chunk together for accurate relevance. 𝟭𝟮. Evaluate with NDCG, MRR, Precision@k, Recall@k—not just vibes. 𝟭𝟯. Tool calling = LLMs completing tasks by accessing external resources dynamically. 𝟭𝟰. Define tools with clear APIs: function name, args, documentation—no implementation. 𝟭𝟱. Three-stage flow: LLM predicts tool + args → execute → LLM synthesizes response. 𝟭𝟲. Train with two SFT pairs: query→tool call AND tool result→natural language. 𝟭𝟳. For code-fluent models, skip SFT—use detailed prompts with reasoning chains. 𝟭𝟴. Iterate prompts using evaluation sets: let reasoning models debug instructions. 𝟭𝟵. Tool categories: information retrieval, computation, action execution. 𝟮𝟬. Tool selection/routing is critical when you have 10+ tools—avoid context overload. 𝟮𝟭. Use an LLM-based tool selector to filter from hundreds to ~5 relevant ones. 𝟮𝟮. Standardize with MCP (Model Context Protocol) to avoid reimplementing tools per LLM. 𝟮𝟯. Agent = autonomous system that pursues goals through reasoning + tool use loops. 𝟮𝟰. ReAct pattern: Observe → Plan → Act, repeat until goal achieved. 𝟮𝟱. Observe translates user intent into actionable state. 𝟮𝟲. Plan decides next action based on current state. 𝟮𝟳. Act executes the tool call and feeds results back into the loop. 𝟮𝟴. Multi-agent systems need standardized communication—see Agent2Agent protocol. 𝟮𝟵. Safety is critical: guard against data exfiltration, harmful actions, jailbreaks. 𝟯𝟬. Use training-time safeguards (harmlessness SFT/RL) + inference classifiers. 𝟯𝟭. Start small, start smart: prototype with simple tools on capable models, then optimize. youtu.be/h-7S6HNq0Vg ≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣ ⫸ꆛ Join My 𝗛𝗮𝗻𝗱𝘀-𝗼𝗻 𝗔𝗜 𝗔𝗴𝗲𝗻𝘁 𝟱-𝗶𝗻-𝟭 𝗧𝗿𝗮𝗶𝗻𝗶𝗻𝗴 trusted by 1,500+ worldwide! ➠ Build Geo, Audio, Video & Vision Agents ➠ Master 5 Modules: 𝗠𝗖𝗣 · LangGraph · PydanticAI · CrewAI · OpenAI Swarm ➠ Deploy for Healthcare, Finance, Smart Cities & More 👉 𝗘𝗻𝗿𝗼𝗹𝗹 𝗡𝗢𝗪 (𝟱𝟲% 𝗢𝗙𝗙): maryammiradi.com/ai-agents-m…
18
139
2
587
46,915
Mohammed Alaa retweeted
🚨BREAKING: AI agents can now search any tool you use. Airweave makes apps and databases fully accessible to LLMs. Here’s exactly how it works 👇
40
67
1
524
75,960
وعلي شاكلة شركة التجسس الاسرائيلية الشهيرة NSO وبرمجية التجسس الشهيرة بتاعتها بيجاسوس في شركة تانية اسمها بيلوح فى الافق وهي شركة Paragon الاسرائيلية (بردو) و دي متخصصة فى برمجيات التجسس صاحبة برمجية خبيثة اسمها Graphite مش مشهورة اوي زي بيجاسوس بس اللى عايز اسلط علية الضوء هنا مش البرمجية نفسها لان ال malwares دي كلها شبة بعض وكلهم اتكلمت عنهم كتير قبل كدا تقدر تاخد لفه فى البروفايل وتسيرش، اللى عايز اسلط عليه الضوء هنا هو تميز الكيان فى انه يقدر يستقطب العقول اللى ورا الثغرات ال zero days دي واللى مبتبقاش معروفه للشركات اصحاب التطبيق او نظام التشغيل او الهاردوير المصاب، واللى بتبقى هيا بمثابة ال initial access لجهاز الشخص المستهدف، الشركة دي بقى عندها مؤخراً ثغرة فى تطبيق واتساب بتقدر بيها تلوث اي مستخدم مستهدف بيستخدم التطبيق على تليفون اندرويد او حتي ايفون ومش كدا وبس، لا، وبالثغرة دي بتقدر تتخطي حماية نظام التشغيل نفسة بعمل sandbox escaping وبمجرد ما ال escape دا حصل اي isolation او عزل ما بين التطبيقات كطبقة حماية من نظام التشغيل نفسه مش هيبقالها اي لازمة. التقرير اللى نشرته Citizen Lab الكندية بيوضح قد ايه الثغرة دي مش صعبة فى تنفيذها لان تنفيذها بكل وضوع بيحتاجك بس تكون على علم برقم تليفون الشخص المستهدف على واتساب، بتضيفه فى جروب معين، وبتقوم بعد كدا بأرسال مستند PDF داخل الجروب دا وبمجرد ما بيوصل ال PDF للرقم المستهدف وبمجرد ما واتس اب يبدأ يعالج معلومات المستند ساعتها تليفونك بيكون فى ايد اللى مستهدفينك وتم اختراقه بالكامل بدون اي تدخل من الشخص المستهدف ودا بيخليها تاخد ال tag المشهور zero-click ودي بتبقى من اخطر الثغرات لانك انت كشخص مستهدف مش محتاج تعمل اي حاجة. تكنولوجيا الشركات الاسرائيلية دي بدأت فى التزايد وبالرغم من إن Paragon اتأسست فى ٢٠١٩ إلا انهم مستمرين وكمان عندهم دول كتير فى اوروبا واسيا وشتي البقاع امثال (أستراليا وكندا وقبرص والدنمارك وإسرائيل وسنغافورة) مستخدمين لخدماتهم زي ما كان فى دول كتير قبل كدا بتستخدم Pegasus من NSO، من الاخر اللى معاه فلوس لا حصر لها (او يقدر يطبع الدولار مثلا زي امريكا؟) يقدر يحصل على خدمات الشركات دي ويقدر يستهدف اي شخص او جهة فى وجهة نظرة عدائية! بعيدا على اللى هيفضل يقول انا لازمتي ايه علشان يستهدفوني وخلافه زي ما بقول دايما انت ممكن تكون حلقة الوصل للشخص المستهدف واللى يجوز متكونش تعرفه خالص، وبكل تأكيد مش هيحرقوا عليك ثغرات تمنها بيوصل لملايين الدولارات علشان يشوفوك وانت بتلعب كاندي كراش مثلا انما لو دايما عندك بارانويا الخصوصية هتلاقي نفسك بتسأل ايه دا طيب وانا احافظ على نفسي ازاي من الموضوع دا ازاي؟ دي ثغرات خطيرة وانا ممكن اكون اصلا معنديش الوعي الكافي اني اقف قدام تفاصيلها الفنية ف ايه العمل؟ السكيوريتي بشكل عام بتتمحور حول "تصعيب" الامور مش منعها لان مفيش شئ هيقدر يمنع تماما اي شخص بموارد لا محدودة فى انه يخترق اي شخص تاني، فى الثغرة دي تحديداً على سبيل المثال كان ال attack vector او طريقة الهجوم لو ركزنا فيها بتتم بالمرور على عدة مراحل: ١- بيتجاب رقم تليفونك: طبعا مش هتقدر تمنع اي حد من انه يعرف رقم تليفونك، ف نتخطي المرحلة دي ٢- بتتحط فى جروب انت متعرفهوش: هنا حل الجزء دا فى ايدك، بمراجعة خواص الخصوصية فى واتساب هتلاقى فى خاصية بتمنع ان دا يحصل، بالتالى الهجوم هيقف هنا، خطوة محورية فى الهجوم إن ال PDF ميتبعتلكش مباشرة لأن دا بيقلل من احتمالية وصول الرسالة ليك اصلا لانك ممكن تكون مفعل خاصية ان مفيش ارقام غريبة غير اللى متسجلين مثلا انهم يتصلوا بيك (ثغرة الاتصال اللى كانت موجودة قبل كدا) او يبعتولك رسايل مباشرة او فى الرسالة المباشرة واتساب ميعاملش ال PDF نفس معاملته فى الجروب، ف هنا بخطوات بسيطة كنت ممكن تقدر تمنع حاجه زي دي، اللى هوا انا مش عايز حد يحطني فى جروب غصب عني إلا لو كان صديق مثلا، هنا مطلوب منهم يعرفوا اصدقائك بقى ودا "بيصعب" الموضوع زي ما قولنا قبل كدا لحد ما تطلع طريقة هجوم تانية بقى ودا مكلف سواء مادياً او على مسوي الوقت! ٣- يتبعتلك ملف ال PDF داخل الجروب اللى انت اتحطيت فيه: هنا انت مش هتقدر تعمل حاجه خلاص علشان ببساطة المرحلة دي اسمها it's too late والمرحلة الاهم منها الموجودة فى رقم ٢ حصلت بالفعل صورة لطريقة تلويثك ب Graphite وتقرير Citizen Lab للي مهتمين فى اول تعليق! دمتم بود!
5
50
1
229
16,654
Microsoft has launched a powerful new data analysis tool! Introducing Data Formulator, a 100% open-source LLM-powered, no-code tool that transforms data in a snap and creates stunning visualizations. Key features include: 🤖 AI-powered data transformation 🖱️ Interactive drag-and-drop UI for visualizations 💬 Seamless blend of UI & natural language inputs But that’s not all: You can even create charts beyond your initial dataset. Data Formulator automatically identifies extra computation needs, generates fields for you, and outputs the final visualization. Find the GitHub repo in the next tweet! _____ Find me → @akshay_pachaar ✔️ For more insights and tutorials on AI and Machine Learning.
30
378
15
2,668
280,869