<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Sumayea Rahman</title>
    <description>The latest articles on DEV Community by Sumayea Rahman (@sumayea104).</description>
    <link>https://dev.to/sumayea104</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3912302%2Fe3ead82e-1014-4511-82cb-97ade5029c78.png</url>
      <title>DEV Community: Sumayea Rahman</title>
      <link>https://dev.to/sumayea104</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/sumayea104"/>
    <language>en</language>
    <item>
      <title>From Apps to Agents: Is AI Changing the Interface of Computing?</title>
      <dc:creator>Sumayea Rahman</dc:creator>
      <pubDate>Thu, 10 Sep 2026 12:17:07 +0000</pubDate>
      <link>https://dev.to/sumayea104/from-apps-to-agents-is-ai-changing-the-interface-of-computing-3c63</link>
      <guid>https://dev.to/sumayea104/from-apps-to-agents-is-ai-changing-the-interface-of-computing-3c63</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F04abnyxal08lc4oel1x8.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F04abnyxal08lc4oel1x8.png" alt=" " width="800" height="533"&gt;&lt;/a&gt;For more than a decade, the smartphone has been the center of personal computing. We learned to unlock a screen, open an app, search, tap, type, and repeat.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Need directions?- Open a map.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Want to translate something?- Open a translation app.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Want to capture a moment?- Open the camera.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Need an answer?- Open a search engine or an AI app.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The smartphone gave us a powerful interface to the digital world.But what happens if the interface itself starts to disappear?&lt;/p&gt;

&lt;p&gt;Recent developments in AI-powered wearables, particularly Meta's direction with AI glasses, made me think about a larger question:&lt;/p&gt;

&lt;p&gt;"Are we moving from an application-centric world toward an agent-centric one?"&lt;/p&gt;

&lt;p&gt;If that happens, the next major technology battle may not be about who makes the best smartphone.&lt;/p&gt;

&lt;p&gt;It may be about who owns the interface between humans, AI, and the physical world.&lt;/p&gt;

&lt;h2&gt;
  
  
  The smartphone changed computing by putting it in our pockets
&lt;/h2&gt;

&lt;p&gt;The smartphone wasn't simply a smaller computer. It changed how people interacted with technology.&lt;/p&gt;

&lt;p&gt;The dominant model became:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Human
  ↓
Touchscreen
  ↓
Operating System
  ↓
App
  ↓
Information / Action
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The app became the basic unit of interaction.&lt;/p&gt;

&lt;p&gt;We learned to think in terms of applications:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Open Instagram.&lt;/li&gt;
&lt;li&gt;Open Google Maps.&lt;/li&gt;
&lt;li&gt;Open Gmail.&lt;/li&gt;
&lt;li&gt;Open Spotify.&lt;/li&gt;
&lt;li&gt;Open Uber.&lt;/li&gt;
&lt;li&gt;Open ChatGPT.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This model created enormous businesses.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;App stores became distribution platforms.&lt;/li&gt;
&lt;li&gt;Operating systems became ecosystems.&lt;/li&gt;
&lt;li&gt;And companies began competing not only on hardware, but on the software and services surrounding that hardware.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Apple is probably one of the strongest examples of this model.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why does Apple win without winning every specification battle?
&lt;/h2&gt;

&lt;p&gt;One thing I find particularly interesting about Apple is that technological leadership doesn't always mean having the most aggressive specification sheet.&lt;/p&gt;

&lt;p&gt;Android manufacturers often experiment faster with hardware features, charging speeds, displays, cameras, customization, form factors, and other capabilities.&lt;/p&gt;

&lt;p&gt;Yet the iPhone continues to command extraordinary loyalty and premium pricing.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why?
&lt;/h2&gt;

&lt;p&gt;Because the product isn't really just the phone.&lt;/p&gt;

&lt;h1&gt;
  
  
  It's the system around the phone.
&lt;/h1&gt;

&lt;p&gt;Think about:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;iPhone
  ↓
iOS
  ↓
App Store
  ↓
iCloud
  ↓
Apple Watch
  ↓
AirPods
  ↓
Mac
  ↓
Services
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  The value compounds across the ecosystem.
&lt;/h2&gt;

&lt;p&gt;A user isn't necessarily evaluating a single device anymore.They are evaluating the cost and convenience of an entire digital environment.&lt;/p&gt;

&lt;p&gt;This is where Apple's business strategy becomes particularly interesting. The annual iPhone cycle is not simply about making a dramatically different phone every year.&lt;/p&gt;

&lt;p&gt;It continuously connects:&lt;/p&gt;

&lt;p&gt;R&amp;amp;D → hardware → software → supply chain → marketing → upgrades → ecosystem → services&lt;/p&gt;

&lt;p&gt;The product becomes part of a recurring economic cycle.&lt;/p&gt;

&lt;p&gt;So perhaps Apple's most important achievement wasn't creating the best smartphone.&lt;/p&gt;

&lt;p&gt;It was helping turn the smartphone into a platform.&lt;/p&gt;

&lt;h2&gt;
  
  
  But what happens when the interface changes?
&lt;/h2&gt;

&lt;p&gt;This is where AI becomes interesting.&lt;/p&gt;

&lt;p&gt;Imagine the traditional model:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;User
 ↓
App
 ↓
UI
 ↓
API
 ↓
Backend
 ↓
Action
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Now imagine:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;User
 ↓
AI Agent
 ↓
Context
 ↓
Tools / APIs
 ↓
Action
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The user doesn't necessarily need to know which application performs the task. They communicate the intention.&lt;/p&gt;

&lt;p&gt;The agent figures out the process.&lt;/p&gt;

&lt;p&gt;For example:&lt;/p&gt;

&lt;p&gt;Instead of:&lt;br&gt;
"Open Maps → search restaurant → check reviews → check availability → message a friend."&lt;/p&gt;

&lt;p&gt;You might eventually say:&lt;/p&gt;

&lt;p&gt;“Find me a good restaurant nearby for four people tonight and let my friend know where we're going.”&lt;/p&gt;

&lt;p&gt;The interface has changed.The application may still exist underneath.But the user doesn't necessarily interact with it directly.&lt;br&gt;
That distinction could be enormous.&lt;/p&gt;
&lt;h2&gt;
  
  
  Why Meta's AI glasses are strategically interesting
&lt;/h2&gt;

&lt;p&gt;This is why I find Meta's AI glasses more interesting than simply another wearable product.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Glasses are already part of human behavior.&lt;/li&gt;
&lt;li&gt;People already wear them.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Meta doesn't necessarily need to convince everyone to adopt an entirely new category of object.&lt;/p&gt;

&lt;p&gt;Instead, it can add:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;cameras&lt;/li&gt;
&lt;li&gt;microphones&lt;/li&gt;
&lt;li&gt;speakers&lt;/li&gt;
&lt;li&gt;AI&lt;/li&gt;
&lt;li&gt;connectivity&lt;/li&gt;
&lt;li&gt;contextual awareness&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;to something people already understand.&lt;/p&gt;

&lt;p&gt;That creates a different interaction model.&lt;/p&gt;

&lt;p&gt;Instead of:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;World
 ↓
Human
 ↓
Phone
 ↓
Screen
 ↓
App
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;we could move toward:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;World
 ↓
Sensors
 ↓
AI
 ↓
Human
 ↓
Action
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The computer becomes less visible.&lt;/p&gt;

&lt;p&gt;That may be one of the most important trends in computing.&lt;/p&gt;

&lt;h2&gt;
  
  
  From GUI to contextual computing
&lt;/h2&gt;

&lt;p&gt;The graphical user interface was revolutionary because it made computers easier to interact with.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The smartphone made that interface portable.&lt;/li&gt;
&lt;li&gt;AI could make the interface contextual.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Consider this scenario.&lt;/p&gt;

&lt;p&gt;You're walking through a city and see a sign written in a language you don't understand.&lt;/p&gt;

&lt;p&gt;Traditional computing:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;See sign
 ↓
Take phone out
 ↓
Open camera
 ↓
Open translation
 ↓
Scan
 ↓
Read result
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Contextual computing:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;See sign
 ↓
AI understands what you're seeing
 ↓
Translation is provided
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The difference isn't simply convenience.&lt;/p&gt;

&lt;p&gt;It's a different relationship between human and computer.&lt;/p&gt;

&lt;p&gt;The computer is increasingly moving from something we operate toward something that understands context.&lt;/p&gt;

&lt;p&gt;This creates a new software engineering question&lt;/p&gt;

&lt;h2&gt;
  
  
  If agents become the primary interface, what happens to applications?
&lt;/h2&gt;

&lt;p&gt;Today, developers spend enormous effort designing user interfaces.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Buttons.&lt;/li&gt;
&lt;li&gt;Menus.&lt;/li&gt;
&lt;li&gt;Forms.&lt;/li&gt;
&lt;li&gt;Navigation.&lt;/li&gt;
&lt;li&gt;Dashboards.&lt;/li&gt;
&lt;li&gt;Screens.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;But an agent doesn't necessarily need the same interface.&lt;/p&gt;

&lt;p&gt;It needs:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;APIs&lt;/li&gt;
&lt;li&gt;tools&lt;/li&gt;
&lt;li&gt;permissions&lt;/li&gt;
&lt;li&gt;structured data&lt;/li&gt;
&lt;li&gt;reliable actions&lt;/li&gt;
&lt;li&gt;context&lt;/li&gt;
&lt;li&gt;authentication&lt;/li&gt;
&lt;li&gt;observability&lt;/li&gt;
&lt;li&gt;safety mechanisms&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This could shift part of software development from:&lt;/p&gt;

&lt;p&gt;“How should the user interact with this screen?”&lt;/p&gt;

&lt;p&gt;toward:&lt;/p&gt;

&lt;p&gt;“How can an intelligent system safely interact with this capability?”&lt;/p&gt;

&lt;p&gt;That is a very different engineering problem.&lt;/p&gt;

&lt;h2&gt;
  
  
  The new platform battle may be about the context layer
&lt;/h2&gt;

&lt;p&gt;This is where I think things get particularly interesting.&lt;/p&gt;

&lt;p&gt;In the traditional ecosystem, platforms compete for control over:&lt;/p&gt;

&lt;p&gt;hardware + operating system + applications + distribution.&lt;/p&gt;

&lt;p&gt;In an AI-first ecosystem, another layer becomes extremely valuable:&lt;/p&gt;

&lt;p&gt;context.&lt;/p&gt;

&lt;p&gt;Who knows:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;what I'm looking at?&lt;/li&gt;
&lt;li&gt;where I am?&lt;/li&gt;
&lt;li&gt;what I'm doing?&lt;/li&gt;
&lt;li&gt;who I'm communicating with?&lt;/li&gt;
&lt;li&gt;what I prefer?&lt;/li&gt;
&lt;li&gt;what I did yesterday?&lt;/li&gt;
&lt;li&gt;what I'm trying to accomplish?&lt;/li&gt;
&lt;li&gt;which actions I'm authorized to take?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;That information can make an AI dramatically more useful.&lt;/p&gt;

&lt;p&gt;And whoever controls that context layer could have enormous platform power.&lt;/p&gt;

&lt;h2&gt;
  
  
  This creates an interesting question for Apple
&lt;/h2&gt;

&lt;p&gt;Apple's ecosystem is one of its greatest strengths. But every strength can become a constraint when the technological paradigm changes.&lt;/p&gt;

&lt;p&gt;Apple has spent years building a tightly integrated environment around its devices and operating systems. That is extremely powerful when the primary interface is:&lt;/p&gt;

&lt;p&gt;device → OS → app → user&lt;/p&gt;

&lt;p&gt;But if computing shifts toward:&lt;/p&gt;

&lt;p&gt;context → AI → agent → action&lt;/p&gt;

&lt;p&gt;the rules could change.&lt;/p&gt;

&lt;p&gt;Apple's ecosystem could become a massive advantage if it successfully integrates AI across its devices.&lt;/p&gt;

&lt;p&gt;But it could also become a constraint if another company establishes the dominant AI interaction layer outside Apple's ecosystem.&lt;/p&gt;

&lt;p&gt;That is the strategic tension I find fascinating.&lt;/p&gt;

&lt;p&gt;And Meta has a different starting position&lt;/p&gt;

&lt;p&gt;Meta doesn't need to replace the smartphone immediately.&lt;/p&gt;

&lt;p&gt;It can potentially make the smartphone less central over time.&lt;/p&gt;

&lt;p&gt;The glasses can coexist with the phone.&lt;/p&gt;

&lt;p&gt;The phone can provide connectivity, computation, storage, and other infrastructure.&lt;/p&gt;

&lt;p&gt;Meanwhile, the glasses gradually become the primary interface for certain interactions.&lt;/p&gt;

&lt;p&gt;This is strategically interesting because disruption doesn't always mean:&lt;/p&gt;

&lt;p&gt;“Replace the old technology tomorrow.”&lt;/p&gt;

&lt;p&gt;Sometimes it means:&lt;/p&gt;

&lt;p&gt;“Make the old technology increasingly unnecessary.”&lt;/p&gt;

&lt;h2&gt;
  
  
  What happens to the App Store?
&lt;/h2&gt;

&lt;p&gt;This is one of the questions I think software developers should pay attention to.&lt;/p&gt;

&lt;p&gt;The smartphone created the app economy.&lt;/p&gt;

&lt;p&gt;But imagine a future where users interact primarily through agents.&lt;/p&gt;

&lt;h2&gt;
  
  
  Would we still download dozens of applications?
&lt;/h2&gt;

&lt;p&gt;Maybe.&lt;/p&gt;

&lt;p&gt;But perhaps the user experience becomes:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Intent
 ↓
AI Agent
 ↓
Discover capability
 ↓
Authenticate
 ↓
Execute
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The application still exists. But it becomes infrastructure behind the agent.&lt;/p&gt;

&lt;p&gt;In that world, APIs and agent-accessible capabilities could become as strategically important as graphical interfaces are today.&lt;/p&gt;

&lt;p&gt;That doesn't mean traditional applications disappear. It means the center of gravity could move.&lt;/p&gt;

&lt;p&gt;This changes what I think software engineers should learn.&lt;/p&gt;

&lt;p&gt;If this transition continues, knowing how to build a polished frontend will remain valuable. But it won't be enough.&lt;/p&gt;

&lt;p&gt;Engineers may increasingly need to understand:&lt;/p&gt;

&lt;p&gt;Frontend&lt;br&gt;
→ interfaces and user experience&lt;/p&gt;

&lt;p&gt;Backend&lt;br&gt;
→ APIs, databases, authentication&lt;/p&gt;

&lt;p&gt;AI&lt;br&gt;
→ models, inference, prompting, context&lt;/p&gt;

&lt;p&gt;Agents&lt;br&gt;
→ tool use, planning, workflows&lt;/p&gt;

&lt;p&gt;Systems&lt;br&gt;
→ latency, scalability, reliability&lt;/p&gt;

&lt;p&gt;Security&lt;br&gt;
→ permissions, identity, privacy&lt;/p&gt;

&lt;p&gt;Product thinking&lt;br&gt;
→ what should the system actually do?&lt;/p&gt;

&lt;p&gt;The most valuable engineers may increasingly be those who can move between these layers.&lt;/p&gt;
&lt;h2&gt;
  
  
  My hypothesis
&lt;/h2&gt;

&lt;p&gt;I don't think the smartphone is disappearing tomorrow.&lt;/p&gt;

&lt;p&gt;The smartphone is too deeply embedded in modern infrastructure.&lt;/p&gt;

&lt;p&gt;Instead, I think we are entering a period where the smartphone becomes one component of a much larger computing environment.&lt;/p&gt;

&lt;p&gt;The evolution may look something like:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Desktop
   ↓
Laptop
   ↓
Smartphone
   ↓
Wearables
   ↓
Ambient AI
   ↓
Agentic computing
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Each transition doesn't completely destroy the previous one. It changes what the previous technology is for.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The desktop didn't disappear because of laptops.&lt;/li&gt;
&lt;li&gt;The laptop didn't disappear because of smartphones.&lt;/li&gt;
&lt;li&gt;And smartphones may not disappear because of AI wearables.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Their role may simply change.&lt;/p&gt;

&lt;p&gt;The real competition may not be Apple vs Meta&lt;/p&gt;

&lt;p&gt;This is perhaps the biggest conclusion I reached while thinking about this.&lt;/p&gt;

&lt;p&gt;The next major competition may not be:&lt;/p&gt;

&lt;p&gt;iPhone vs Android&lt;/p&gt;

&lt;p&gt;or even:&lt;/p&gt;

&lt;p&gt;Apple vs Meta.&lt;/p&gt;

&lt;p&gt;It could be:&lt;/p&gt;

&lt;h2&gt;
  
  
  Who becomes the trusted interface between humans and intelligent machines?
&lt;/h2&gt;

&lt;p&gt;Apple has:&lt;br&gt;
hardware + ecosystem + privacy + premium positioning&lt;/p&gt;

&lt;p&gt;Meta has:&lt;br&gt;
social platforms + AI + wearables + enormous behavioral data&lt;/p&gt;

&lt;p&gt;Google has:&lt;br&gt;
search + Android + AI + maps + data + cloud&lt;/p&gt;

&lt;p&gt;OpenAI and other AI companies have:&lt;br&gt;
models + agents + developer ecosystems&lt;/p&gt;

&lt;p&gt;The battle is therefore moving beyond devices.&lt;br&gt;
It is becoming a battle over interaction, intelligence, context, and trust.&lt;/p&gt;

&lt;h2&gt;
  
  
  What does this mean for developers?
&lt;/h2&gt;

&lt;p&gt;For me, this is the most exciting part.&lt;/p&gt;

&lt;p&gt;I'm currently transitioning from a finance background into software engineering.&lt;/p&gt;

&lt;p&gt;That journey has changed how I look at technology. I used to look primarily at the business side:&lt;/p&gt;

&lt;h2&gt;
  
  
  How does a company make money?
&lt;/h2&gt;

&lt;p&gt;Now I'm increasingly interested in another question:&lt;/p&gt;

&lt;h2&gt;
  
  
  What technical architecture makes that business model possible?
&lt;/h2&gt;

&lt;p&gt;And that leads to an even better question:&lt;/p&gt;

&lt;h2&gt;
  
  
  When technology changes, which part of the system captures the value?
&lt;/h2&gt;

&lt;p&gt;That's the question I want to keep exploring as I learn and build.&lt;/p&gt;

&lt;p&gt;Not simply:&lt;/p&gt;

&lt;p&gt;“What is the newest technology?”&lt;/p&gt;

&lt;p&gt;But:&lt;/p&gt;

&lt;p&gt;“What changes when this technology becomes normal?”&lt;/p&gt;

&lt;h2&gt;
  
  
  Final thought
&lt;/h2&gt;

&lt;p&gt;The smartphone era taught us to reach for computers.&lt;/p&gt;

&lt;p&gt;The next era may teach computers to reach toward us.&lt;/p&gt;

&lt;p&gt;Not literally. But contextually.&lt;/p&gt;

&lt;p&gt;They may understand what we see, hear, need, and intend—and increasingly help us act without requiring us to navigate a traditional interface.&lt;/p&gt;

&lt;p&gt;If that happens, the biggest opportunity for software engineers may not be building another application.&lt;/p&gt;

&lt;p&gt;It may be building the intelligent systems underneath the interface.&lt;br&gt;
And the companies that understand that shift early could define the next generation of computing.&lt;/p&gt;

&lt;p&gt;The next platform war may not be about who makes the best device.&lt;/p&gt;

&lt;p&gt;It may be about who owns the context layer between humans, AI, and the physical world.&lt;/p&gt;




&lt;p&gt;Disclosure: This article was developed with AI assistance for brainstorming, structure, and language refinement. The ideas, questions, and final editorial direction were reviewed and shaped by the author.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>meta</category>
      <category>antigravity</category>
      <category>api</category>
    </item>
    <item>
      <title>Building My First AI Agent API with FastAPI and Mistral AI</title>
      <dc:creator>Sumayea Rahman</dc:creator>
      <pubDate>Mon, 08 Jun 2026 16:55:04 +0000</pubDate>
      <link>https://dev.to/sumayea104/building-my-first-ai-agent-api-with-fastapi-and-mistral-ai-3ign</link>
      <guid>https://dev.to/sumayea104/building-my-first-ai-agent-api-with-fastapi-and-mistral-ai-3ign</guid>
      <description>&lt;p&gt;Coming from a non-technical background, learning Python and AI has been one of the most challenging things I've done.&lt;/p&gt;

&lt;p&gt;Over the last few days, I built and deployed my first AI Agent API: Agentic Finance Beast.&lt;/p&gt;

&lt;p&gt;What it does:&lt;/p&gt;

&lt;p&gt;Answers general questions using Mistral AI&lt;br&gt;
Uses a calculator tool when mathematical reasoning is required&lt;br&gt;
Implements a simple agent workflow for tool selection&lt;br&gt;
Exposes everything through a FastAPI backend&lt;br&gt;
Runs as a publicly accessible cloud API&lt;br&gt;
Tech Stack&lt;br&gt;
Python&lt;br&gt;
FastAPI&lt;br&gt;
Mistral AI&lt;br&gt;
Render&lt;br&gt;
Custom LangGraph-style Agent Architecture&lt;br&gt;
What I Learned&lt;/p&gt;

&lt;p&gt;Building an AI application is very different from watching tutorials.&lt;/p&gt;

&lt;p&gt;I learned how to:&lt;/p&gt;

&lt;p&gt;Design agent workflows&lt;br&gt;
Integrate external LLM APIs&lt;br&gt;
Build tool-calling logic&lt;br&gt;
Handle environment variables securely&lt;br&gt;
Deploy a production-ready API&lt;br&gt;
Live Demo&lt;/p&gt;

&lt;p&gt;&lt;a href="https://agentic-finance-beast.onrender.com" rel="noopener noreferrer"&gt;https://agentic-finance-beast.onrender.com&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;GitHub Repository&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/Sumayea104/agentic-finance-beast" rel="noopener noreferrer"&gt;https://github.com/Sumayea104/agentic-finance-beast&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This is Day 4 of my journey toward becoming an AI Engineer.&lt;/p&gt;

&lt;p&gt;Next stop: RAG systems, LangGraph, and multi-agent financial research systems.&lt;/p&gt;

</description>
      <category>agents</category>
      <category>ai</category>
      <category>api</category>
      <category>python</category>
    </item>
    <item>
      <title>Why I Built RAG From Scratch Before Using LangChain</title>
      <dc:creator>Sumayea Rahman</dc:creator>
      <pubDate>Sun, 07 Jun 2026 08:21:00 +0000</pubDate>
      <link>https://dev.to/sumayea104/why-i-built-rag-from-scratch-before-using-langchain-1fmd</link>
      <guid>https://dev.to/sumayea104/why-i-built-rag-from-scratch-before-using-langchain-1fmd</guid>
      <description>&lt;h2&gt;
  
  
  Technical Note #01: Why I Built RAG From Scratch Before Using LangChain
&lt;/h2&gt;

&lt;p&gt;&lt;em&gt;Part of the Agentic Finance Beast Technical Notes series&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Published:&lt;/strong&gt; June 7, 2026&lt;br&gt;
&lt;strong&gt;Reading Time:&lt;/strong&gt; ~6 minutes&lt;/p&gt;


&lt;h2&gt;
  
  
  About This Note
&lt;/h2&gt;

&lt;p&gt;This technical note documents my first implementation of a Retrieval-Augmented Generation (RAG) pipeline.&lt;/p&gt;

&lt;p&gt;The goal was not to build a production-ready system.&lt;/p&gt;

&lt;p&gt;The goal was to understand what actually happens between a user's question and an AI-generated answer before relying on frameworks such as LangChain.&lt;/p&gt;

&lt;p&gt;Rather than starting with abstractions, I wanted to build the core pieces myself and learn where real-world AI systems succeed and fail.&lt;/p&gt;


&lt;h2&gt;
  
  
  TL;DR
&lt;/h2&gt;

&lt;p&gt;I built a minimal RAG pipeline from scratch using Gemini Embeddings, cosine similarity search, and Mistral.&lt;/p&gt;

&lt;p&gt;The biggest lesson wasn't prompt engineering.&lt;/p&gt;

&lt;p&gt;It was discovering that retrieval quality often has a greater impact on answer quality than the language model itself.&lt;/p&gt;


&lt;h2&gt;
  
  
  The Question That Started It
&lt;/h2&gt;

&lt;p&gt;Most RAG tutorials follow a similar pattern:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Install LangChain.&lt;/li&gt;
&lt;li&gt;Connect a vector database.&lt;/li&gt;
&lt;li&gt;Load a document.&lt;/li&gt;
&lt;li&gt;Ask questions.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Within minutes, you have a working application.&lt;/p&gt;

&lt;p&gt;That's impressive.&lt;/p&gt;

&lt;p&gt;But it left me with a question:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;If the system retrieves the wrong information, how would I debug it?&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Frameworks make development faster, but they also hide implementation details.&lt;/p&gt;

&lt;p&gt;Before using those abstractions, I wanted to understand the individual components behind Retrieval-Augmented Generation.&lt;/p&gt;

&lt;p&gt;So I built a simple version myself.&lt;/p&gt;

&lt;p&gt;No LangChain.&lt;/p&gt;

&lt;p&gt;No vector database.&lt;/p&gt;

&lt;p&gt;No orchestration framework.&lt;/p&gt;

&lt;p&gt;Just Python, embeddings, similarity search, and an LLM.&lt;/p&gt;


&lt;h2&gt;
  
  
  What Is RAG?
&lt;/h2&gt;

&lt;p&gt;Retrieval-Augmented Generation combines two systems:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;A retrieval system that finds relevant information.&lt;/li&gt;
&lt;li&gt;A generation system that uses that information to answer questions.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Instead of relying entirely on the language model's training data, relevant information is retrieved at runtime and injected into the prompt.&lt;/p&gt;

&lt;p&gt;The simplified workflow looks like this:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Document
   ↓
Chunking
   ↓
Embeddings
   ↓
Similarity Search
   ↓
Context Retrieval
   ↓
LLM Response
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This architecture allows AI systems to answer questions using external knowledge without retraining the model.&lt;/p&gt;




&lt;h2&gt;
  
  
  The Architecture I Built
&lt;/h2&gt;

&lt;p&gt;My implementation consisted of five core stages:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Document
   ↓
Sentence-Based Chunking
   ↓
Gemini Embeddings
   ↓
Cosine Similarity Search
   ↓
Mistral Answer Generation
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The knowledge base contained a short document about AI agents.&lt;/p&gt;

&lt;p&gt;Users could ask questions, and the system would retrieve relevant information before generating a response.&lt;/p&gt;




&lt;h2&gt;
  
  
  Step 1: Chunking the Document
&lt;/h2&gt;

&lt;p&gt;The first step was splitting the document into smaller pieces.&lt;/p&gt;

&lt;p&gt;I used a simple sentence-based approach:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="n"&gt;chunks&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
    &lt;span class="n"&gt;s&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;strip&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;.&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;
    &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;s&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="n"&gt;document&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;replace&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="se"&gt;\n&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt; &lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;).&lt;/span&gt;&lt;span class="nf"&gt;split&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;. &lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;s&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;strip&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
&lt;span class="p"&gt;]&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;At first, this felt like a minor preprocessing step.&lt;/p&gt;

&lt;p&gt;It wasn't.&lt;/p&gt;

&lt;p&gt;I quickly realized that chunking affects retrieval quality directly.&lt;/p&gt;

&lt;p&gt;Large chunks preserve context but often include irrelevant information.&lt;/p&gt;

&lt;p&gt;Small chunks improve retrieval precision but can lose important context.&lt;/p&gt;

&lt;p&gt;Even in this small project, chunking turned out to be a meaningful engineering decision.&lt;/p&gt;




&lt;h2&gt;
  
  
  Step 2: Generating Embeddings
&lt;/h2&gt;

&lt;p&gt;After chunking the document, I generated embeddings using Gemini's embedding API.&lt;/p&gt;

&lt;p&gt;Each chunk was converted into a high-dimensional vector representation.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="n"&gt;embedding&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;data&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;get&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;embedding&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;{}).&lt;/span&gt;&lt;span class="nf"&gt;get&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;values&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;[])&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Before building this project, embeddings felt somewhat magical.&lt;/p&gt;

&lt;p&gt;After seeing the actual vectors returned by the API, the concept became easier to understand.&lt;/p&gt;

&lt;p&gt;Embeddings allow machines to compare meaning instead of matching exact words.&lt;/p&gt;

&lt;p&gt;For example, a query about decision-making could retrieve information related to reasoning even if the exact keywords do not appear.&lt;/p&gt;

&lt;p&gt;That capability is what makes semantic search possible.&lt;/p&gt;




&lt;h2&gt;
  
  
  Step 3: Implementing Similarity Search
&lt;/h2&gt;

&lt;p&gt;Instead of using a vector database, I implemented cosine similarity manually.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;cosine_similarity&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;a&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;b&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
    &lt;span class="n"&gt;dot&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;sum&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;x&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="n"&gt;y&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;x&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;y&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="nf"&gt;zip&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;a&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;b&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt;
    &lt;span class="n"&gt;norm_a&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;math&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;sqrt&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;sum&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;x&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="n"&gt;x&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;x&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="n"&gt;a&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt;
    &lt;span class="n"&gt;norm_b&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;math&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;sqrt&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;sum&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;x&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="n"&gt;x&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;x&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="n"&gt;b&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="n"&gt;dot&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;norm_a&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="n"&gt;norm_b&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This was one of the most interesting parts of the project.&lt;/p&gt;

&lt;p&gt;Before building it, vector search seemed complicated.&lt;/p&gt;

&lt;p&gt;After implementing it myself, I realized the mathematics behind retrieval is relatively straightforward.&lt;/p&gt;

&lt;p&gt;The challenge is not the formula.&lt;/p&gt;

&lt;p&gt;The challenge is consistently retrieving the most useful context.&lt;/p&gt;




&lt;h2&gt;
  
  
  Step 4: Finding Relevant Information
&lt;/h2&gt;

&lt;p&gt;When a user asks a question, the same embedding model converts the question into a vector.&lt;/p&gt;

&lt;p&gt;The query embedding is then compared against every document embedding.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="n"&gt;best_idx&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;similarities&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;index&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;max&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;similarities&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The chunk with the highest similarity score becomes the retrieved context.&lt;/p&gt;

&lt;p&gt;For example, questions such as:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;What is an AI agent?&lt;/li&gt;
&lt;li&gt;How do AI agents differ from traditional programs?&lt;/li&gt;
&lt;li&gt;What can financial AI agents do?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;successfully retrieved relevant information from the knowledge base.&lt;/p&gt;

&lt;p&gt;For a minimal implementation, the results were surprisingly effective.&lt;/p&gt;




&lt;h2&gt;
  
  
  Step 5: Grounding the Response
&lt;/h2&gt;

&lt;p&gt;Once relevant context is retrieved, it is passed to Mistral alongside the user's question.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="n"&gt;Context&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="n"&gt;context&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;

&lt;span class="n"&gt;Question&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="n"&gt;question&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The model is instructed to answer using only the provided context.&lt;/p&gt;

&lt;p&gt;This is where retrieval and generation come together.&lt;/p&gt;

&lt;p&gt;Without retrieval, the model answers based on its training data.&lt;/p&gt;

&lt;p&gt;With retrieval, the model answers using information supplied at runtime.&lt;/p&gt;

&lt;p&gt;This simple shift dramatically improves factual grounding.&lt;/p&gt;




&lt;h2&gt;
  
  
  What Surprised Me Most
&lt;/h2&gt;

&lt;p&gt;Before building this project, I assumed the language model would be the most important part of the system.&lt;/p&gt;

&lt;p&gt;I was wrong.&lt;/p&gt;

&lt;p&gt;Most answer quality issues were retrieval issues.&lt;/p&gt;

&lt;p&gt;When retrieval returned weak context, answer quality suffered.&lt;/p&gt;

&lt;p&gt;When retrieval returned relevant context, answer quality improved significantly.&lt;/p&gt;

&lt;p&gt;This changed how I think about AI applications.&lt;/p&gt;

&lt;p&gt;Prompt engineering matters.&lt;/p&gt;

&lt;p&gt;Model selection matters.&lt;/p&gt;

&lt;p&gt;But retrieval quality often determines whether an answer is useful in the first place.&lt;/p&gt;




&lt;h2&gt;
  
  
  Engineering Tradeoffs I Encountered
&lt;/h2&gt;

&lt;p&gt;Even in a small project, several tradeoffs became visible.&lt;/p&gt;

&lt;h3&gt;
  
  
  Simplicity vs Context
&lt;/h3&gt;

&lt;p&gt;Sentence-level chunking was easy to implement.&lt;/p&gt;

&lt;p&gt;However, preserving context becomes more difficult as chunk sizes become smaller.&lt;/p&gt;

&lt;h3&gt;
  
  
  Precision vs Coverage
&lt;/h3&gt;

&lt;p&gt;Retrieving a single best match is simple.&lt;/p&gt;

&lt;p&gt;Retrieving multiple relevant chunks provides broader coverage but introduces additional complexity.&lt;/p&gt;

&lt;h3&gt;
  
  
  Learning vs Production
&lt;/h3&gt;

&lt;p&gt;Building retrieval manually helped me understand the system.&lt;/p&gt;

&lt;p&gt;In production environments, dedicated vector databases and retrieval frameworks become necessary.&lt;/p&gt;




&lt;h2&gt;
  
  
  What I Got Wrong
&lt;/h2&gt;

&lt;p&gt;Before starting this project, I believed prompt engineering would have the greatest impact on answer quality.&lt;/p&gt;

&lt;p&gt;The implementation showed otherwise.&lt;/p&gt;

&lt;p&gt;Poor retrieval produced poor answers regardless of prompt quality.&lt;/p&gt;

&lt;p&gt;Improving retrieval had a larger effect than rewriting prompts.&lt;/p&gt;

&lt;p&gt;That was one of the most valuable lessons from the entire exercise.&lt;/p&gt;




&lt;h2&gt;
  
  
  Limitations of This Version
&lt;/h2&gt;

&lt;p&gt;This implementation intentionally prioritizes learning over scalability.&lt;/p&gt;

&lt;p&gt;Several important features are missing:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Top-K retrieval&lt;/li&gt;
&lt;li&gt;Persistent vector storage&lt;/li&gt;
&lt;li&gt;Metadata filtering&lt;/li&gt;
&lt;li&gt;Conversation memory&lt;/li&gt;
&lt;li&gt;Retrieval evaluation metrics&lt;/li&gt;
&lt;li&gt;Hybrid search techniques&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;These limitations are acceptable because the objective was understanding the fundamentals rather than building a production-ready system.&lt;/p&gt;




&lt;h2&gt;
  
  
  What's Next
&lt;/h2&gt;

&lt;p&gt;This implementation serves as the foundation for future work within Agentic Finance Beast.&lt;/p&gt;

&lt;p&gt;The next improvements I plan to explore include:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Top-K retrieval instead of single-result retrieval&lt;/li&gt;
&lt;li&gt;Better chunking strategies&lt;/li&gt;
&lt;li&gt;Vector storage using pgvector&lt;/li&gt;
&lt;li&gt;Financial document retrieval&lt;/li&gt;
&lt;li&gt;Multi-step workflows with LangGraph&lt;/li&gt;
&lt;li&gt;Agent memory and reasoning systems&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Each improvement builds upon the concepts explored in this first implementation.&lt;/p&gt;




&lt;h2&gt;
  
  
  Final Thoughts
&lt;/h2&gt;

&lt;p&gt;Building a RAG pipeline from scratch did not make me an expert in retrieval systems.&lt;/p&gt;

&lt;p&gt;What it did provide was a practical understanding of how retrieval, embeddings, similarity search, and generation work together.&lt;/p&gt;

&lt;p&gt;Frameworks such as LangChain are incredibly useful.&lt;/p&gt;

&lt;p&gt;But understanding the fundamentals behind those abstractions provides a different kind of value.&lt;/p&gt;

&lt;p&gt;When something breaks, I now have a mental model for where to investigate.&lt;/p&gt;

&lt;p&gt;For me, that understanding made building from scratch worthwhile.&lt;/p&gt;




&lt;h3&gt;
  
  
  Repository
&lt;/h3&gt;

&lt;p&gt;GitHub: &lt;a href="https://github.com/Sumayea104/agentic-finance-beast" rel="noopener noreferrer"&gt;https://github.com/Sumayea104/agentic-finance-beast&lt;/a&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>rag</category>
      <category>programming</category>
      <category>beginners</category>
    </item>
  </channel>
</rss>
