<?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: David Malick Dieng</title>
    <description>The latest articles on DEV Community by David Malick Dieng (@davidmalickdieng).</description>
    <link>https://dev.to/davidmalickdieng</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.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3460775%2Fdb76c644-0a10-4c2e-ac26-fbeb19259132.png</url>
      <title>DEV Community: David Malick Dieng</title>
      <link>https://dev.to/davidmalickdieng</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/davidmalickdieng"/>
    <language>en</language>
    <item>
      <title>Why Building AI Agents with UiPath is More Robust Than Using Low-Code Tools by David Malick Dieng</title>
      <dc:creator>David Malick Dieng</dc:creator>
      <pubDate>Tue, 26 Aug 2025 15:08:10 +0000</pubDate>
      <link>https://dev.to/davidmalickdieng/why-building-ai-agents-with-uipath-is-more-robust-than-using-low-code-toolsby-david-malick-dieng-4pk3</link>
      <guid>https://dev.to/davidmalickdieng/why-building-ai-agents-with-uipath-is-more-robust-than-using-low-code-toolsby-david-malick-dieng-4pk3</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.amazonaws.com%2Fuploads%2Farticles%2Ftw771ilgkjjwmqum9tdm.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.amazonaws.com%2Fuploads%2Farticles%2Ftw771ilgkjjwmqum9tdm.png" alt=" " width="800" height="1200"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;🌍 The Rise of AI Agents in Automation&lt;/p&gt;

&lt;p&gt;AI agents are no longer a futuristic concept — they are here, and they are transforming the way organizations work. From document processing to customer service, AI agents can reason, plan, and collaborate to achieve business outcomes.&lt;/p&gt;

&lt;p&gt;But when it comes to implementing them in the real world, the question is:&lt;br&gt;
👉 Should you use a lightweight low-code tool (like n8n, Make, or Zapier) or a full automation platform like UiPath?&lt;/p&gt;

&lt;p&gt;The answer: If you want robustness, scalability, and enterprise readiness, UiPath is the way to go.&lt;/p&gt;

&lt;p&gt;⚡ Low-Code Tools: Great for Prototypes, Limited for Scale&lt;/p&gt;

&lt;p&gt;Platforms like Make, Zapier, and n8n are amazing for:&lt;/p&gt;

&lt;p&gt;Quick proofs of concept&lt;/p&gt;

&lt;p&gt;Connecting APIs together&lt;/p&gt;

&lt;p&gt;Lightweight personal or small business automations&lt;/p&gt;

&lt;p&gt;But they quickly show limitations when you try to:&lt;/p&gt;

&lt;p&gt;Scale across departments&lt;/p&gt;

&lt;p&gt;Ensure security &amp;amp; compliance&lt;/p&gt;

&lt;p&gt;Orchestrate long-running processes&lt;/p&gt;

&lt;p&gt;Integrate with enterprise systems (SAP, Oracle, Dynamics, etc.)&lt;/p&gt;

&lt;p&gt;For AI agents, you need more than just API triggers. You need agentic orchestration: reasoning, memory, monitoring, and integration at scale.&lt;/p&gt;

&lt;p&gt;🏆 Why UiPath is More Robust for AI Agents&lt;/p&gt;

&lt;p&gt;Here’s why UiPath stands out compared to typical low-code tools:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Enterprise-Grade Orchestration&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;UiPath Orchestrator provides centralized control, monitoring, and scaling of agents — something low-code tools lack. You can deploy agents across thousands of users, track performance, and manage workloads.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Native AI Integration&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;UiPath has AI Center and Document Understanding, which allow direct integration of machine learning models, LLMs, and now AI Agents. This means your agent doesn’t just run scripts; it can reason, classify, extract, and make decisions in a controlled environment.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Security &amp;amp; Compliance&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Enterprises care about audit logs, governance, GDPR, and ISO certifications. UiPath is built with this in mind, while most low-code tools operate at a “best effort” security level.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Scalable Multi-Agent Collaboration&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;With UiPath, you can create an ecosystem of agents — one handling customer queries, another handling invoices, another updating ERP systems — all orchestrated seamlessly. Low-code tools struggle once workflows become interdependent.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Native Integration with Legacy + Modern Systems&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Unlike low-code tools that mostly connect to APIs, UiPath can automate desktop apps, Citrix, SAP, mainframes, and non-API systems. This is critical in large organizations where legacy still runs the core business.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Hybrid Human + AI Workflows&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;UiPath enables human-in-the-loop setups, where AI agents handle 80% of a task and humans step in for the exceptions. This is essential for compliance-heavy industries (finance, insurance, healthcare).&lt;/p&gt;

&lt;p&gt;🚀 Example: AI Agent in UiPath vs. Low-Code&lt;/p&gt;

&lt;p&gt;Low-Code Setup: You build a chatbot with Make + OpenAI → it can answer FAQs, but struggles when asked to fetch data from SAP or process PDFs securely.&lt;/p&gt;

&lt;p&gt;UiPath Setup: You build an AI agent in UiPath → it retrieves data from SAP, processes invoices with Document Understanding, and escalates exceptions to humans — all under enterprise-grade monitoring.&lt;/p&gt;

&lt;p&gt;Result: UiPath agents are not just chatbots — they’re full digital coworkers.&lt;/p&gt;

&lt;p&gt;🔮 The Future: UiPath Agentic Automation&lt;/p&gt;

&lt;p&gt;UiPath is moving towards Agentic Automation — giving agents memory, reasoning, and the ability to collaborate. Instead of automating only repetitive tasks, UiPath AI Agents will:&lt;/p&gt;

&lt;p&gt;Understand business goals&lt;/p&gt;

&lt;p&gt;Break them into subtasks&lt;/p&gt;

&lt;p&gt;Collaborate with other agents &amp;amp; humans&lt;/p&gt;

&lt;p&gt;Deliver measurable outcomes&lt;/p&gt;

&lt;p&gt;This is beyond what lightweight low-code platforms can achieve.&lt;/p&gt;

&lt;p&gt;💡 Conclusion&lt;/p&gt;

&lt;p&gt;Low-code tools are fantastic for experiments and demos, but if you’re building AI agents that must be secure, scalable, and enterprise-ready, UiPath is the most robust platform.&lt;/p&gt;

&lt;p&gt;It combines:&lt;br&gt;
✅ AI + Automation + Orchestration&lt;br&gt;
✅ Security &amp;amp; Governance&lt;br&gt;
✅ Multi-agent collaboration&lt;br&gt;
✅ Human-in-the-loop workflows&lt;/p&gt;

&lt;p&gt;In short: If you want AI agents to play a real role in your organization — not just in side projects — UiPath is the way to go.&lt;/p&gt;

&lt;p&gt;👉 Follow me for more insights on AI Agents, Automation, and Digital Transformation.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>How to Build a Strong RAG Agent (Step-by-Step Guide) by David Malick Dieng</title>
      <dc:creator>David Malick Dieng</dc:creator>
      <pubDate>Tue, 26 Aug 2025 14:58:40 +0000</pubDate>
      <link>https://dev.to/davidmalickdieng/how-to-build-a-strong-rag-agent-step-by-step-guideby-david-malick-dieng-2cdo</link>
      <guid>https://dev.to/davidmalickdieng/how-to-build-a-strong-rag-agent-step-by-step-guideby-david-malick-dieng-2cdo</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.amazonaws.com%2Fuploads%2Farticles%2Fi57f36s0p11mjua2poti.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.amazonaws.com%2Fuploads%2Farticles%2Fi57f36s0p11mjua2poti.png" alt=" " width="800" height="533"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Introduction&lt;/p&gt;

&lt;p&gt;Large Language Models (LLMs) are powerful, but they come with a well-known limitation: hallucinations — confidently making things up.&lt;/p&gt;

&lt;p&gt;That’s where Retrieval-Augmented Generation (RAG) comes in. By connecting an LLM to an external knowledge base, we can ground its answers in real data.&lt;/p&gt;

&lt;p&gt;In this article, I’ll show you how to build a strong RAG agent from scratch, explain the key components, and share best practices to make it production-ready. By the end, you’ll have a working pipeline and a roadmap to scale it into multi-agent systems.&lt;/p&gt;

&lt;p&gt;What is RAG?&lt;/p&gt;

&lt;p&gt;RAG = Retriever + Generator&lt;/p&gt;

&lt;p&gt;Retriever: Finds the most relevant chunks of information from a knowledge base (e.g., vector database).&lt;/p&gt;

&lt;p&gt;Generator: Uses the LLM to generate an answer, using both the query + retrieved context.&lt;/p&gt;

&lt;p&gt;Without RAG:&lt;/p&gt;

&lt;p&gt;Q: “When was OpenAI founded?”&lt;br&gt;
A: “In the 1980s by Steve Jobs.” (🤦 hallucination)&lt;/p&gt;

&lt;p&gt;With RAG:&lt;/p&gt;

&lt;p&gt;Q: “When was OpenAI founded?”&lt;br&gt;
A: “OpenAI was founded in December 2015 by Sam Altman, Elon Musk, and others.”&lt;/p&gt;

&lt;p&gt;📌 RAG ensures factual accuracy by grounding LLMs in external knowledge.&lt;/p&gt;

&lt;p&gt;🛠️ Core Components of a Strong RAG Agent&lt;/p&gt;

&lt;p&gt;To make your RAG agent robust, you need to get these pieces right:&lt;/p&gt;

&lt;p&gt;Chunking → Split documents into meaningful, overlapping chunks (too big = missed context, too small = fragmented info).&lt;/p&gt;

&lt;p&gt;Embeddings → Convert chunks into vector representations using models like OpenAI text-embedding-3-large or open-source all-MiniLM-L6-v2.&lt;/p&gt;

&lt;p&gt;Vector Database → Store embeddings for fast semantic search (Pinecone, Weaviate, FAISS, Milvus).&lt;/p&gt;

&lt;p&gt;Retriever → Finds top-k relevant chunks.&lt;/p&gt;

&lt;p&gt;Generator (LLM) → Produces the final answer (OpenAI GPT-4, Claude, or LLaMA).&lt;/p&gt;

&lt;p&gt;Orchestration → Frameworks like LangChain or LlamaIndex to connect it all.&lt;/p&gt;

&lt;p&gt;Step-by-Step Implementation&lt;/p&gt;

&lt;p&gt;We’ll build a minimal RAG pipeline using LangChain + FAISS.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;pip install langchain openai faiss-cpu tiktoken

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;`from langchain.embeddings import OpenAIEmbeddings&lt;br&gt;
from langchain.text_splitter import RecursiveCharacterTextSplitter&lt;br&gt;
from langchain.vectorstores import FAISS&lt;br&gt;
from langchain.llms import OpenAI&lt;br&gt;
from langchain.chains import RetrievalQA&lt;/p&gt;

&lt;h1&gt;
  
  
  1. Load documents (example text)
&lt;/h1&gt;

&lt;p&gt;docs = [&lt;br&gt;
    "OpenAI was founded in December 2015 by Sam Altman, Elon Musk, Greg Brockman, Ilya Sutskever, and Wojciech Zaremba.",&lt;br&gt;
    "RAG stands for Retrieval-Augmented Generation. It combines external knowledge with LLMs."&lt;br&gt;
]&lt;/p&gt;

&lt;h1&gt;
  
  
  2. Split documents into chunks
&lt;/h1&gt;

&lt;p&gt;splitter = RecursiveCharacterTextSplitter(chunk_size=200, chunk_overlap=50)&lt;br&gt;
documents = splitter.create_documents(docs)&lt;/p&gt;

&lt;h1&gt;
  
  
  3. Create embeddings + store in FAISS
&lt;/h1&gt;

&lt;p&gt;embeddings = OpenAIEmbeddings()&lt;br&gt;
vectorstore = FAISS.from_documents(documents, embeddings)&lt;/p&gt;

&lt;h1&gt;
  
  
  4. Create retriever
&lt;/h1&gt;

&lt;p&gt;retriever = vectorstore.as_retriever(search_kwargs={"k": 2})&lt;/p&gt;

&lt;h1&gt;
  
  
  5. Build RAG pipeline (Retriever + Generator)
&lt;/h1&gt;

&lt;p&gt;qa = RetrievalQA.from_chain_type(&lt;br&gt;
    llm=OpenAI(model="gpt-3.5-turbo"),&lt;br&gt;
    retriever=retriever&lt;br&gt;
)&lt;/p&gt;

&lt;h1&gt;
  
  
  6. Query the RAG agent
&lt;/h1&gt;

&lt;p&gt;query = "Who founded OpenAI?"&lt;br&gt;
result = qa.run(query)&lt;br&gt;
print(result)&lt;br&gt;
`&lt;/p&gt;

&lt;p&gt;This simple RAG agent retrieves relevant info and feeds it to GPT for accurate answers.&lt;/p&gt;

&lt;p&gt;Best Practices for a “Strong” RAG Agent&lt;/p&gt;

&lt;p&gt;Optimize chunk size (200–500 tokens with 10–20% overlap).&lt;/p&gt;

&lt;p&gt;Hybrid search → Combine semantic + keyword search for better recall.&lt;/p&gt;

&lt;p&gt;Metadata filtering → Tag docs with source, date, etc., and filter by context.&lt;/p&gt;

&lt;p&gt;Evaluate regularly → Use frameworks like LangSmith&lt;br&gt;
 to measure hallucinations &amp;amp; accuracy.&lt;/p&gt;

&lt;p&gt;Cache results for repeated queries (e.g., Redis).&lt;/p&gt;

&lt;p&gt;🤖 Multi-Agent RAG Collaboration&lt;/p&gt;

&lt;p&gt;A single RAG agent is powerful, but the future is multi-agent systems:&lt;/p&gt;

&lt;p&gt;Research Agent → Finds data.&lt;/p&gt;

&lt;p&gt;Summarizer Agent → Compresses info.&lt;/p&gt;

&lt;p&gt;QA Agent → Delivers the final polished answer.&lt;/p&gt;

&lt;p&gt;Together, they act like a team of specialists, each grounded in the same RAG pipeline.&lt;/p&gt;

&lt;p&gt;Example use case:&lt;br&gt;
📚 AI Tutors → one agent finds knowledge, another explains it, another checks correctness.&lt;/p&gt;

&lt;p&gt;📂 Resources &amp;amp; Next Steps&lt;/p&gt;

&lt;p&gt;🔗 LangChain Docs&lt;/p&gt;

&lt;p&gt;🔗 LlamaIndex&lt;/p&gt;

&lt;p&gt;🔗 Awesome RAG GitHub&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
