<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Osama Elmelegy]]></title><description><![CDATA[Osama Elmelegy]]></description><link>https://osamaelmelegy.hashnode.dev</link><generator>RSS for Node</generator><lastBuildDate>Thu, 12 Nov 2026 08:15:35 GMT</lastBuildDate><atom:link href="https://osamaelmelegy.hashnode.dev/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[Where should your LLM live?]]></title><description><![CDATA[Public API, in-Kingdom cloud or your own data center: how I help Saudi entities choose where their language model runs.]]></description><link>https://osamaelmelegy.hashnode.dev/where-should-your-llm-live</link><guid isPermaLink="true">https://osamaelmelegy.hashnode.dev/where-should-your-llm-live</guid><category><![CDATA[Artificial Intelligence]]></category><category><![CDATA[llm]]></category><dc:creator><![CDATA[Osama Mohammed]]></dc:creator><pubDate>Wed, 11 Nov 2026 12:25:29 GMT</pubDate><enclosure url="https://cdn.hashnode.com/uploads/covers/6af44c9242bbf3200696cd6c/042039c4-9f63-4489-a55a-832f5b7bed7f.jpg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>In almost every AI conversation I have with a government entity, one question comes up within the first ten minutes: where will our data go? It's the right question, and the answer shapes the whole solution.</p>
<img src="https://melegy990.github.io/a4-diagram-1.png" alt="Three places a model can run" style="display:block;margin:0 auto" />

<h2>Three places a model can run</h2>
<p>A public API is the fastest way to start and gives access to the largest models, but the data leaves your environment. An in-Kingdom cloud region keeps data inside Saudi Arabia while still giving you managed services and scale. An on-premise deployment puts the model inside your own data center, with full control and full responsibility.</p>
<h2>Start with the data, not the model</h2>
<p>Before comparing models, classify the data the use case touches. Public content, internal documents and restricted records each allow different options. Many entities discover that only part of their use case involves sensitive data, which opens the door to a hybrid design.</p>
<h2>Test Arabic on your own cases</h2>
<p>Benchmarks tell you little about how a model handles your regulations, your terminology and formal Arabic correspondence. I take fifty to a hundred real cases from the client, run two or three candidate models on them, and let the business users score the answers. The winner is often not the biggest model.</p>
<h2>Count the full cost</h2>
<p>A local model has no per-request fee, but it needs GPUs, people to operate it and a plan for upgrades. A cloud model is cheaper to start and can become expensive at volume. I size both for the expected usage in year one and year three before recommending either.</p>
<h2>Work with the vendors early</h2>
<p>Local cloud and AI providers know what is available in their Saudi regions today, which is not always what the global website says. Bringing them in early, with a clear use case and realistic volumes, gets you accurate sizing and better pricing.</p>
<img src="https://melegy990.github.io/a4-diagram-2.png" alt="Let the data class decide" style="display:block;margin:0 auto" />

<h2>My default answer</h2>
<p>Use the smallest model that passes your quality bar, hosted in the least restrictive place your data classification allows, and design the solution so the model can be swapped later. Models will keep changing. Your data rules will not.</p>
<hr />
<p><em>Originally published on</em> <a href="https://melegy990.github.io/where-should-your-llm-live.html"><em>my website</em></a><em>. I'm Osama Elmelegy, an Enterprise AI Solutions Consultant in Riyadh. More at</em> <a href="https://melegy990.github.io/"><em>melegy990.github.io</em></a><em>.</em></p>
]]></content:encoded></item><item><title><![CDATA[Map the process before you automate it]]></title><description><![CDATA[Process mining shows how work really flows, and it is often the best first step before any AI investment in government or enterprise.]]></description><link>https://osamaelmelegy.hashnode.dev/map-the-process-before-you-automate-it</link><guid isPermaLink="true">https://osamaelmelegy.hashnode.dev/map-the-process-before-you-automate-it</guid><category><![CDATA[Artificial Intelligence]]></category><category><![CDATA[Process Mining]]></category><dc:creator><![CDATA[Osama Mohammed]]></dc:creator><pubDate>Wed, 11 Nov 2026 12:25:01 GMT</pubDate><enclosure url="https://cdn.hashnode.com/uploads/covers/6af44c9242bbf3200696cd6c/633aae98-2f8f-4d4a-bf46-e6dc617ab130.jpg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<img src="https://melegy990.github.io/a3-diagram-1.png" alt="The same process, on paper and in the log" style="display:block;margin:0 auto" />

<p>Ask a team how a complaint or a request moves through their organization and you'll get a clean flowchart. Pull the event logs from their systems and you'll see something very different: loops, rework, cases waiting days for one approval, steps nobody mentioned.</p>
<p>That gap between the process on paper and the process in reality is why I like to start with process mining before talking about AI.</p>
<h2>What process mining gives you</h2>
<p>Using the timestamps systems already record, process mining rebuilds the actual journey of every case. You can see where time is lost, which paths are most common, and where cases bounce back. It turns opinions about bottlenecks into evidence.</p>
<img src="https://melegy990.github.io/a3-diagram-2.png" alt="Map first, then design AI" style="display:block;margin:0 auto" />

<h2>Why it matters for AI</h2>
<p>Once you see the real flow, the right AI use cases often become obvious. A step where cases wait for someone to read and classify a document is a candidate for automatic classification. A step where information is missing and has to be requested is a candidate for an agent that detects gaps early. You're no longer guessing where AI helps; the data points to it.</p>
<h2>A practical sequence</h2>
<p>Map the most important customer journeys first, five to seven is usually enough. Find the two or three biggest bottlenecks. Design AI use cases aimed at exactly those steps, with the mined baseline as your measure of success. After go-live, mine the process again and compare.</p>
<h2>The takeaway</h2>
<p>AI applied to a broken process gives you a faster broken process. Process mining helps you fix the flow and point AI at the steps where it really pays off.</p>
<hr />
<p><em>Originally published on</em> <a href="https://melegy990.github.io/map-the-process-before-you-automate-it.html"><em>my website</em></a><em>. I'm Osama Elmelegy, an Enterprise AI Solutions Consultant in Riyadh. More at</em> <a href="https://melegy990.github.io/"><em>melegy990.github.io</em></a><em>.</em></p>
]]></content:encoded></item><item><title><![CDATA[Five questions I ask before any AI proof of concept]]></title><description><![CDATA[The five questions I run every AI idea through before it becomes a proof of concept. A simple filter for government and enterprise teams.]]></description><link>https://osamaelmelegy.hashnode.dev/five-questions-i-ask-before-any-ai-proof-of-concept</link><guid isPermaLink="true">https://osamaelmelegy.hashnode.dev/five-questions-i-ask-before-any-ai-proof-of-concept</guid><category><![CDATA[Artificial Intelligence]]></category><category><![CDATA[Digital Transformation]]></category><dc:creator><![CDATA[Osama Mohammed]]></dc:creator><pubDate>Wed, 11 Nov 2026 12:24:20 GMT</pubDate><enclosure url="https://cdn.hashnode.com/uploads/covers/6af44c9242bbf3200696cd6c/42126f10-f4d0-4fbb-8278-0b390b868020.jpg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<img src="https://melegy990.github.io/a2-diagram-1.png" alt="From a long list to a shortlist" style="display:block;margin:0 auto" />

<p>When a client brings me a list of AI ideas, the list is usually long and the budget is not. Before anything goes into a proof of concept, I run each idea through five questions. Most ideas don't survive all five, and that's the point.</p>
<h2>1. What does this cost today?</h2>
<p>In hours, money, delays or errors. If nobody can put a rough number on the current pain, the use case is not ready. "It would be nice" is not a cost.</p>
<h2>2. Who changes their work if it succeeds?</h2>
<p>Every useful AI solution changes how someone works. If we can't name that person or team, and they're not in the room, adoption will stall no matter how good the model is.</p>
<h2>3. Is the data there, and can we use it?</h2>
<p>Availability, quality and permission. In government projects the permission part, data classification and residency rules, often decides between a cloud service and an on-premise model before we discuss anything else.</p>
<h2>4. How will we know it works?</h2>
<p>I ask for a baseline and a target: current handling time, current accuracy, current backlog. The proof of concept is then measured against that, not against expectations.</p>
<h2>5. What happens after the proof of concept?</h2>
<p>Who funds the next step, which platform it runs on, which systems it needs to connect to. If the answer is "we'll see", the proof of concept is likely to become another pilot that never ships.</p>
<img src="https://melegy990.github.io/a2-diagram-2.png" alt="A rough scorecard" style="display:block;margin:0 auto" />

<h2>Putting it together</h2>
<p>Scoring each idea on these five questions, even roughly, gives a shortlist the whole room can agree on. It also changes the conversation with leadership: instead of asking for a budget for "AI", you are asking for a budget to solve three named problems with clear targets.</p>
<hr />
<p><em>Originally published on</em> <a href="https://melegy990.github.io/five-questions-before-any-ai-proof-of-concept.html"><em>my website</em></a><em>. I'm Osama Elmelegy, an Enterprise AI Solutions Consultant in Riyadh. More at</em> <a href="https://melegy990.github.io/"><em>melegy990.github.io</em></a><em>.</em></p>
]]></content:encoded></item><item><title><![CDATA[Why most AI pilots never reach production]]></title><description><![CDATA[Why enterprise AI pilots stall before production, and the five fixes I use with government and enterprise teams in Saudi Arabia.]]></description><link>https://osamaelmelegy.hashnode.dev/why-most-ai-pilots-never-reach-production</link><guid isPermaLink="true">https://osamaelmelegy.hashnode.dev/why-most-ai-pilots-never-reach-production</guid><category><![CDATA[Artificial Intelligence]]></category><category><![CDATA[Digital Transformation]]></category><dc:creator><![CDATA[Osama Mohammed]]></dc:creator><pubDate>Wed, 11 Nov 2026 11:18:31 GMT</pubDate><enclosure url="https://cdn.hashnode.com/uploads/covers/6af44c9242bbf3200696cd6c/11cbe637-787b-4942-a400-bc2051903c05.jpg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<img src="https://melegy990.github.io/a1-diagram-1.png" alt="Five gaps between pilot and production" style="display:block;margin:0 auto" />

<p>Over the last two years I've sat in a lot of rooms where an organization proudly shows its AI pilot. A chatbot, a document classifier, a dashboard with a forecast line. Six months later, most of them are still pilots.</p>
<p>When I look back at why, the reasons are almost never technical. The model worked well enough. What didn't work was everything around it.</p>
<h2>1. The use case was picked because it was easy to demo</h2>
<p>A chatbot over a policy document is quick to build and looks impressive in a meeting. But if the people answering those questions today spend two hours a week on it, the business case is tiny. Pilots should start where the pain is measurable: hours spent, cases backlogged, errors that cost money.</p>
<h2>2. Nobody owned the outcome</h2>
<p>IT owned the pilot and the business "supported" it. When it was time to change a real process, nobody on the business side had the mandate to do it. Every use case I take forward now has a named business owner before we write a line of code.</p>
<h2>3. Success was never defined</h2>
<p>"Let's see what AI can do" is not a success criterion. Before a proof of concept starts, I agree on two or three numbers with the client: time per case, accuracy against a human reviewer, share of requests handled without escalation. If we hit them, we scale. If not, we stop without arguing.</p>
<h2>4. The data question came too late</h2>
<p>Many pilots run on a clean sample that someone prepared by hand. Production runs on the messy reality. I now ask in the first workshop where the data lives, who owns it, and whether it can legally be used for this purpose. In government work, that last question often decides everything.</p>
<h2>5. There was no path to production</h2>
<p>A pilot built in a notebook on someone's laptop has nowhere to go. The architecture, hosting and integration choices need to be made with production in mind from day one, even if the first version is small.</p>
<img src="https://melegy990.github.io/a1-diagram-2.png" alt="Two ways to start" style="display:block;margin:0 auto" />

<h2>What I do differently now</h2>
<p>I treat the use case selection as the most important deliverable. A ranked shortlist, each item with an owner, a measurable goal, a data check and a rough cost, is worth more than any demo. The proof of concept then becomes a test of a clear hypothesis, not a showcase.</p>
<p>AI adoption in the Kingdom is moving fast, and the organizations that win won't be the ones with the most pilots. They'll be the ones that picked three good ones and took them all the way.</p>
<hr />
<p><em>Originally published on</em> <a href="https://melegy990.github.io/why-most-ai-pilots-never-reach-production.html"><em>my website</em></a><em>. I'm Osama Elmelegy, an Enterprise AI Solutions Consultant in Riyadh. More at</em> <a href="https://melegy990.github.io/"><em>melegy990.github.io</em></a><em>.</em></p>
]]></content:encoded></item></channel></rss>