<?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" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Alex Trifan on Medium]]></title>
        <description><![CDATA[Stories by Alex Trifan on Medium]]></description>
        <link>https://medium.com/@alex-trifan?source=rss-79b5fc04a7d0------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*eGg8mbXl4puP9NQh56sC7A@2x.jpeg</url>
            <title>Stories by Alex Trifan on Medium</title>
            <link>https://medium.com/@alex-trifan?source=rss-79b5fc04a7d0------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 22:26:09 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@alex-trifan/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[The AI-First Shift: Why Composability Is the New Mobile-First (And Where SEO Is Really Going)]]></title>
            <link>https://alex-trifan.medium.com/the-ai-first-shift-why-composability-is-the-new-mobile-first-and-where-seo-is-really-going-d47adb03850a?source=rss-79b5fc04a7d0------2</link>
            <guid isPermaLink="false">https://medium.com/p/d47adb03850a</guid>
            <category><![CDATA[saas]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[trends]]></category>
            <dc:creator><![CDATA[Alex Trifan]]></dc:creator>
            <pubDate>Sat, 03 Jan 2026 02:24:30 GMT</pubDate>
            <atom:updated>2026-01-03T02:24:30.545Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*IeUmDRG_VHWtFi7G.png" /></figure><h3>The Invisible Product Problem</h3><p>Remember when <strong>mobile-first</strong> sounded optional?</p><p>Then it became mandatory.</p><p>We’re at that moment again — this time with <strong>AI agents</strong>.</p><h3>Agents Are Becoming the Interface</h3><p>Users are no longer clicking through tools.</p><p>They’re asking agents to do things:</p><ul><li><em>“Analyze my competitor’s pricing”</em></li><li><em>“Schedule social posts across platforms”</em></li></ul><p>To do that, agents must <strong>discover</strong>, <strong>call</strong>, and <strong>compose</strong> tools programmatically.</p><p>If your SaaS only has a UI, the agent <strong>can’t use you</strong>.</p><p>So:</p><ul><li>You don’t get evaluated</li><li>You don’t get selected</li><li>You don’t exist</li></ul><h3>The Invisible Product</h3><p>A UI-only SaaS has a <strong>visibility problem</strong>.</p><p>If an agent can’t:</p><ul><li>understand what you do</li><li>know how to call you</li><li>combine you with other tools</li></ul><p>…then your product is <strong>invisible</strong> in the workflows that matter.</p><p>This isn’t a UX issue.</p><p>It’s a <strong>distribution issue</strong>.</p><h3>UI-Only Tools Are Becoming Wrappers</h3><p>Dashboards made sense when <strong>humans orchestrated workflows</strong>.</p><p>Agents don’t work that way.</p><p>They don’t want:</p><ul><li>multiple logins</li><li>copy-paste workflows</li><li>manual triggers</li><li>context switching</li></ul><p>They want <strong>capabilities</strong>.</p><p>When agents can chain tools directly, the UI stops being the product.</p><p>It becomes just <strong>one client</strong>.</p><h3>Agent-Native Interfaces (Without Reinventing Everything)</h3><p>This isn’t about new protocols.</p><p>The foundation already exists:</p><ul><li>REST</li><li>GraphQL</li><li>Webhooks</li></ul><p>What’s missing is an <strong>intelligence layer agents can reason about</strong>.</p><p>That layer answers three questions:</p><ol><li><strong>What problems does this tool solve?</strong></li><li><strong>How do I operate it safely?</strong></li><li><strong>How does it compose with other capabilities?</strong></li></ol><p>Traditional APIs expose <strong>endpoints</strong>.<br>Agent-native interfaces expose <strong>intent</strong>.</p><h3>SEO Isn’t Dying — It’s Moving</h3><p>Discovery still matters.</p><p>What changed is <strong>where discovery happens</strong>.</p><p><strong>Before:</strong></p><pre>Google → landing page → sign-up</pre><p><strong>Now:</strong></p><pre>Agent → tool selection → execution</pre><p>The user still “finds” your product.</p><p>But the <strong>agent does the choosing</strong>.</p><p>This is SEO — just not the kind you’re used to.</p><p>You’re now optimizing for:</p><ul><li>machine-readable capability descriptions</li><li>composability signals</li><li>programmatic discoverability</li></ul><p>You’re competing for <strong>ranking inside the agent</strong>, not just search results.</p><h3>What This Means for Micro-SaaS</h3><p>If you’re building a micro-SaaS in 2026:</p><ul><li>Agent interfaces are <strong>table stakes</strong></li><li>UI is optional; <strong>capabilities aren’t</strong></li><li>Distribution flows through agents</li><li>Composition beats features</li><li>Monetization follows <strong>usage</strong>, not pageviews</li></ul><p>The product is no longer the dashboard.</p><p>The product is the <strong>capability</strong>.</p><h3>The Question That Matters</h3><p>Are you building for:</p><ul><li>humans clicking through UIs?</li></ul><p>Or for:</p><ul><li>agents orchestrating workflows</li><li>automations</li><li>productivity</li></ul><p>In 2026, that choice isn’t philosophical.</p><p>It’s <strong>existential</strong>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d47adb03850a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Best Prompt Engineers Didn’t Learn Prompting. They Learnt Stack Overflow.]]></title>
            <link>https://alex-trifan.medium.com/the-best-prompt-engineers-didnt-learn-prompting-they-learned-stack-overflow-58819ae93d50?source=rss-79b5fc04a7d0------2</link>
            <guid isPermaLink="false">https://medium.com/p/58819ae93d50</guid>
            <category><![CDATA[design]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[debugging]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[prompt-engineering]]></category>
            <dc:creator><![CDATA[Alex Trifan]]></dc:creator>
            <pubDate>Tue, 23 Dec 2025 06:04:14 GMT</pubDate>
            <atom:updated>2025-12-23T08:05:32.463Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MB1Ggm8-WAJeuSV9vN5YSw.png" /></figure><p>Before AI, before copilots, before we could type “build me a REST API” and get something runnable back, there was only one real productivity tool for developers:</p><p><strong>Stack Overflow</strong>.</p><p>And if you knew how to use it well, you shipped. If you didn’t, you struggled.</p><p>Today, we call a new skill prompt engineering. But the truth is uncomfortable and simple:</p><blockquote>The best prompt engineers are just developers who already knew how to ask the internet the right questions.</blockquote><h3>Stack Overflow Was the Original LLM Interface</h3><p>Think about it.</p><p>Stack Overflow wasn’t just a Q&amp;A site. It was a brutal, unforgiving interface that forced you to:</p><p>•	Formulate a precise problem</p><p>•	Strip away irrelevant context</p><p>•	Provide minimal reproducible examples</p><p>•	Anticipate misunderstandings</p><p>•	Iterate when your first attempt failed</p><p>Does that sound familiar?</p><p>That’s prompt engineering.</p><p>The difference is that Stack Overflow didn’t try to be nice about it. If your question was vague, you were told so. Publicly.</p><h3>The Developers Who “Just Got Things Done”</h3><p>Every team had that developer.</p><p>Not necessarily the most senior.</p><p>But somehow, they could:</p><p>•	Google exactly the right phrase</p><p>•	Find the one answer buried in a 9-year-old thread</p><p>•	Adapt a half-broken snippet to a totally different use case</p><p>•	Combine three unrelated answers into a working solution</p><p>They didn’t memorize everything.</p><p>They <strong>navigated uncertainty.</strong></p><p>Those developers weren’t copying code.</p><p>They were doing real-time problem decomposition.</p><p>That skill didn’t disappear.</p><p>It just found a better interface.</p><h3>Prompt Engineering Is Just Problem Decomposition With Better Feedback</h3><p>When people talk about prompt engineering today, they focus on tricks:</p><p>•	“Use system prompts”</p><p>•	“Ask it to reason step by step”</p><p>•	“Add constraints”</p><p>•	“Tell it what not to do”</p><p>But none of that works if you don’t understand the problem deeply enough to:</p><p>•	Know what matters</p><p>•	Know what to exclude</p><p>•	Know when the answer is almost right but dangerous</p><p>Stack Overflow veterans learnt this the hard way.</p><p>You couldn’t just ask:</p><blockquote>“Why doesn’t this work?”</blockquote><p>You had to ask:</p><blockquote>“Why does this fail only when the request is retried after a 401 and the connection pool is reused?”</blockquote><p>That’s a prompt.</p><h3>AI Didn’t Replace the Skill. It Amplified It.</h3><p>Here’s the uncomfortable part:</p><p>AI didn’t suddenly make everyone productive.</p><p>It made good question askers absurdly productive.</p><p>The same dev who once:</p><p>•	Read error messages carefully</p><p>•	Understood constraints before coding</p><p>•	Tested assumptions quickly</p><p>Now does all of that at 10× speed with an LLM.</p><p>Meanwhile, the dev who used to paste random code from Stack Overflow without understanding it is now pasting random AI output.</p><p>The bottleneck didn’t move.</p><p>The multiplier did.</p><h3>Stack Overflow Trained Us to Think in Constraints</h3><p>Great Stack Overflow questions had constraints:</p><p>•	Version numbers</p><p>•	Edge cases</p><p>•	What was already tried</p><p>•	Why common answers didn’t apply</p><p>Great prompts have the same structure.</p><p>The people who thrived in the “before AI” era learnt something critical:</p><blockquote>The quality of the answer is bounded by the quality of the question.</blockquote><p>LLMs didn’t invent this rule.</p><p>They just enforce it instantly.</p><h3>The Irony: The Skill We Mocked Is Now the Most Valuable One</h3><p>For years, “good at Googling” was an insult.</p><p>Now?</p><p>It’s the difference between:</p><p>•	Someone who gets production-ready code</p><p>•	Someone who gets confident-sounding nonsense</p><p>The best prompt engineers didn’t read a prompt engineering guide.</p><p>They survived Stack Overflow’s comment section.</p><p>They learnt how to:</p><p>•	Be precise under pressure</p><p>•	Iterate fast</p><p>•	Detect wrong answers that look right</p><p>•	Use tools as collaborators, not oracles</p><h3>Final Thought</h3><p>If you’re wondering why some developers adapted to AI instantly while others are still struggling, the answer isn’t magic.</p><p>It’s muscle memory.</p><p>They already knew how to talk to something smarter than them, with limited patience, and extract exactly what they needed.</p><p>They did it one Stack Overflow question at a time.</p><p>And now, the interface just happens to talk back.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=58819ae93d50" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[We set out to ship one agent. We ended up with an agentic framework you can spin up in seconds.]]></title>
            <link>https://alex-trifan.medium.com/we-set-out-to-ship-one-agent-we-ended-up-with-an-agentic-framework-you-can-spin-up-in-seconds-b8abd3eb295b?source=rss-79b5fc04a7d0------2</link>
            <guid isPermaLink="false">https://medium.com/p/b8abd3eb295b</guid>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[software-architecture]]></category>
            <category><![CDATA[developer-experience]]></category>
            <category><![CDATA[ai-agent]]></category>
            <category><![CDATA[design-systems]]></category>
            <dc:creator><![CDATA[Alex Trifan]]></dc:creator>
            <pubDate>Wed, 29 Oct 2025 07:15:30 GMT</pubDate>
            <atom:updated>2025-10-29T07:15:30.443Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*N2g8SJjMEtAHkjEqRxBnKQ.png" /></figure><p>We began by building a single agent we could trust in production. Along the way, we realised we were quietly standardising how all our agents behave. Every rough edge we smoothed in that first agent — how it asks questions, how it changes plans, how it presents results — became a reusable pattern. The result is an agentic framework: new agents come to life in seconds with the same calm, predictable feel, and we spend our time on domain logic instead of glue.</p><p>—</p><h3>The single promise that shaped everything</h3><p>We refused dead-ends. If something is unclear, the agent asks. If the path is wrong, it replans on purpose. If the output is messy, it gets cleaned before the user sees it. That promise forced us to be explicit about control flow and to separate concerns so the system stays calm under pressure.</p><p>—</p><h3>The shape of the system we grew into</h3><h4>Planning (think before doing)</h4><p>— Every request becomes a plan: concrete steps, explicit dependencies, and safe parallelism where it’s valid.<br> — We use references between steps (not fuzzy “memory”) so dependencies are honest and debuggable.<br> — The plan always ends with a summarisation step, so tools return structured data and a final pass “speaks human.”</p><h4>Execution (do exactly what we planned)</h4><p>— The runner resolves dependencies, executes steps in sequence or in parallel, and collects results.<br> — Two paths are first-class: request a clarification when the agent needs a small decision, or trigger replanning when the strategy must change.</p><h4>Post‑processing (polish after the work)</h4><p>— A lightweight middleware pipeline refines the answer at the end: “how we got this,” suggested follow‑ups, formatting cleanup, confidence hints, data parts for UI, and more.<br> — Because polish lives here, we can evolve voice and UX without touching planning or tools.</p><p>—</p><h3>The behaviors we standardised at the boundary</h3><p>We made cross‑cutting behaviour a one‑liner with annotations, so tool bodies stay focused:</p><h4>Clarifications</h4><p>— BEFORE we run a tool, we check parameters and ask the smallest helpful question.<br> — AFTER, we sanity‑check results.<br> — Known failures are mapped into user‑friendly choices instead of cryptic errors.</p><h4>Replanning</h4><p>— When the path changes (outage, better route), a tool signals replanning with a concise hint.<br> — The agent patches or regenerates the plan and moves on — visible and predictable.</p><h4>Activity tracking</h4><p>— Progress updates are small and friendly (“Starting…”, “Comparing…”), templated from params, headers, and results.<br> — Long operations feel alive without being noisy.</p><h4>Circuit breaker and caching</h4><p>— We cap repeated calls per tool per context and turn thrashing into a polite clarification.<br> — We cache expensive calls with tenant‑aware keys (org/user/sandbox) to keep things fast and cheap.</p><p>This “declare behaviour at the boundary” approach made every agent feel familiar and kept testing straightforward.</p><p>—</p><h3>Context that actually travels</h3><p>Multi‑tenant by default wasn’t a slogan; it was plumbing. At intake, we extract headers and user info and place them in the request context (headers in context‑headers). That context flows through planning, tools, and integrations. When we call external services, we expand variables from that context at call‑time. Same code, different tenants — no hard‑coded anything, no secrets in code.</p><p>—</p><h3>One face for many integrations</h3><p>External services show up through a consistent tool interface. Whether the backend speaks stdio or HTTP, the planner sees the same “call this tool with these params.” Routing is centralised; headers and config are injected just‑in‑time from the request context. Planning stays simple. Operations stay safe.</p><p>—</p><h3>What “spin up an agent in seconds” really looks like</h3><p>- Define a tool as a normal async function.<br>- Attach behaviours with one‑line annotations (clarifications, circuit breaker, activity tracking, caching).<br>- Provide a short description/instructions; the planner handles step ordering and dependencies automatically.<br>- Get a final summarised response and post‑processing polish out of the box.<br>- Iterate by adding tools or reordering middleware — without rewriting the core loop.</p><p>This is the part we’re proudest of: new agents inherit good manners and guardrails by default, so we can start developing ASAP on what’s unique.</p><p>—</p><h3>Lessons that stuck</h3><p>- Explicit beats clever. Plans with clear references are easier to trust than a giant “do‑it‑all” prompt.<br>- Ask early, replan openly. Turning questions and strategy shifts into control flow made failure paths feel routine.<br>- Keep voice separate from brain. Post‑processing as middleware made UX flexible and the core stable.<br>- Standardise the boundary, not the body. Annotations preserved sanity across agents and kept tools clean.<br>- Flow context end‑to‑end. Putting headers and user info in the same place every time eliminated tenant surprises.</p><p>—</p><h3>What this unlocked for us</h3><p>- Speed: We assemble agents from known building blocks and focus on domain logic.<br>- Consistency: Clarifications, replanning, progress messages, and final polish feel the same across agents.<br>- Debuggability: Plans are readable, dependencies are explicit, and token usage is visible per phase.<br>- Reliability: Guardrails turn “oh no” moments into predictable next steps.</p><p>We set out to ship one reliable agent. We ended up with a framework where new agents spin up in seconds, behave consistently, and invite fast iteration — because the hard parts are standardised and the right parts are flexible.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b8abd3eb295b" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>