<?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: Yisak Bule</title>
    <description>The latest articles on DEV Community by Yisak Bule (@yisakberhanu).</description>
    <link>https://dev.to/yisakberhanu</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%2F2867258%2F8f7095b1-9034-4d3b-953f-9d62ed2a8473.jpg</url>
      <title>DEV Community: Yisak Bule</title>
      <link>https://dev.to/yisakberhanu</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/yisakberhanu"/>
    <language>en</language>
    <item>
      <title>AI Basics You MUST Understand Before Building AI Agent</title>
      <dc:creator>Yisak Bule</dc:creator>
      <pubDate>Thu, 21 May 2026 22:55:00 +0000</pubDate>
      <link>https://dev.to/yisakberhanu/ai-basics-you-must-understand-before-building-ai-agent-2oid</link>
      <guid>https://dev.to/yisakberhanu/ai-basics-you-must-understand-before-building-ai-agent-2oid</guid>
      <description>&lt;p&gt;  &lt;iframe src="https://www.youtube.com/embed/y8DOp4SAT5g"&gt;
  &lt;/iframe&gt;
&lt;/p&gt;

&lt;p&gt;Many developers are jumping directly into AI agent frameworks like:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;LangChain&lt;/li&gt;
&lt;li&gt;CrewAI&lt;/li&gt;
&lt;li&gt;LangGraph&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;But without understanding the foundations first, things quickly become confusing.&lt;/p&gt;

&lt;p&gt;Concepts like:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;LLMs&lt;/li&gt;
&lt;li&gt;Tokens&lt;/li&gt;
&lt;li&gt;Context windows&lt;/li&gt;
&lt;li&gt;Embeddings&lt;/li&gt;
&lt;li&gt;RAG&lt;/li&gt;
&lt;li&gt;APIs&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;are the real building blocks behind modern AI systems.&lt;/p&gt;

&lt;p&gt;So in this tutorial, I simplified the core AI concepts every beginner should understand before building AI agents.&lt;/p&gt;




&lt;h1&gt;
  
  
  1. What Is an LLM?
&lt;/h1&gt;

&lt;p&gt;LLM stands for Large Language Model.&lt;/p&gt;

&lt;p&gt;Models like ChatGPT, Claude, and Gemini are all LLMs trained on massive amounts of text.&lt;/p&gt;

&lt;p&gt;They learn language patterns and predict likely next words.&lt;/p&gt;

&lt;p&gt;Example:&lt;/p&gt;

&lt;p&gt;Input:&lt;br&gt;
“The sky is…”&lt;/p&gt;

&lt;p&gt;Prediction:&lt;br&gt;
“blue”&lt;/p&gt;

&lt;p&gt;Modern AI agents use LLMs as their reasoning engine.&lt;/p&gt;




&lt;h1&gt;
  
  
  2. Tokens
&lt;/h1&gt;

&lt;p&gt;AI models do not process text exactly like humans.&lt;/p&gt;

&lt;p&gt;Instead, text is split into smaller units called tokens.&lt;/p&gt;

&lt;p&gt;Example:&lt;/p&gt;

&lt;p&gt;“AI agents are powerful”&lt;/p&gt;

&lt;p&gt;Could become:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;AI&lt;/li&gt;
&lt;li&gt;agents&lt;/li&gt;
&lt;li&gt;are&lt;/li&gt;
&lt;li&gt;powerful&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Every model has token limits, which affect:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;memory,&lt;/li&gt;
&lt;li&gt;conversations,&lt;/li&gt;
&lt;li&gt;and document handling.&lt;/li&gt;
&lt;/ul&gt;




&lt;h1&gt;
  
  
  3. Context Windows
&lt;/h1&gt;

&lt;p&gt;A context window is the amount of information an AI model can process at one time.&lt;/p&gt;

&lt;p&gt;Think of it like short-term memory.&lt;/p&gt;

&lt;p&gt;If conversations become too long, older information may disappear from context.&lt;/p&gt;

&lt;p&gt;This is why memory systems are important in AI agents.&lt;/p&gt;




&lt;h1&gt;
  
  
  4. Embeddings
&lt;/h1&gt;

&lt;p&gt;Embeddings convert text into numerical representations.&lt;/p&gt;

&lt;p&gt;The key idea:&lt;br&gt;
similar meanings become mathematically close together.&lt;/p&gt;

&lt;p&gt;Example:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;“I love dogs”&lt;/li&gt;
&lt;li&gt;“Dogs are amazing animals”&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Different words…&lt;br&gt;
similar meaning.&lt;/p&gt;

&lt;p&gt;Embeddings power:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;semantic search,&lt;/li&gt;
&lt;li&gt;RAG,&lt;/li&gt;
&lt;li&gt;recommendations,&lt;/li&gt;
&lt;li&gt;and memory systems.&lt;/li&gt;
&lt;/ul&gt;




&lt;h1&gt;
  
  
  5. What Is RAG?
&lt;/h1&gt;

&lt;p&gt;RAG stands for Retrieval-Augmented Generation.&lt;/p&gt;

&lt;p&gt;Instead of relying only on training data, the AI can retrieve external information before answering.&lt;/p&gt;

&lt;p&gt;Example:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;search PDFs,&lt;/li&gt;
&lt;li&gt;company documents,&lt;/li&gt;
&lt;li&gt;databases,&lt;/li&gt;
&lt;li&gt;or websites.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This is how many modern AI assistants work.&lt;/p&gt;




&lt;h1&gt;
  
  
  6. APIs
&lt;/h1&gt;

&lt;p&gt;APIs allow systems to communicate.&lt;/p&gt;

&lt;p&gt;AI agents constantly use APIs for:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;AI models,&lt;/li&gt;
&lt;li&gt;web search,&lt;/li&gt;
&lt;li&gt;weather systems,&lt;/li&gt;
&lt;li&gt;databases,&lt;/li&gt;
&lt;li&gt;and automation tools.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Understanding APIs is essential for AI engineering.&lt;/p&gt;




&lt;h1&gt;
  
  
  Why These Concepts Matter
&lt;/h1&gt;

&lt;p&gt;Modern AI agents combine all these systems together:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;prompts,&lt;/li&gt;
&lt;li&gt;LLMs,&lt;/li&gt;
&lt;li&gt;APIs,&lt;/li&gt;
&lt;li&gt;embeddings,&lt;/li&gt;
&lt;li&gt;memory,&lt;/li&gt;
&lt;li&gt;tools,&lt;/li&gt;
&lt;li&gt;and retrieval systems.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Understanding the fundamentals makes advanced frameworks much easier to learn.&lt;/p&gt;




&lt;p&gt;I also created:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;a full beginner video tutorial&lt;/li&gt;
&lt;li&gt;and an open-source repository for this course.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;📺 Video:&lt;br&gt;
&lt;a href="https://youtu.be/y8DOp4SAT5g?si=qZm7QpA5qEA_kfGp" rel="noopener noreferrer"&gt;https://youtu.be/y8DOp4SAT5g?si=qZm7QpA5qEA_kfGp&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;💻 GitHub:&lt;br&gt;
&lt;a href="https://github.com/yisakberhanu/ai-agents-course" rel="noopener noreferrer"&gt;https://github.com/yisakberhanu/ai-agents-course&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Would love feedback from other developers building AI systems.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>machinelearning</category>
      <category>rag</category>
      <category>mcp</category>
    </item>
  </channel>
</rss>
