AI Agents Development
מ-0 לפרודקשן
הקורס המקיף ביותר בעברית לבניית AI Agents מקצועיים. תלמד Python, LangChain, CrewAI, LangGraph ו-Deployment ל-Production. תצא עם 5 Agents פועלים שתוכל להציג למעסיקים ולקוחות — קוד אמיתי, פרויקטים אמיתיים.
מיומנויות שיהפכו אותך ל-AI Engineer
6 תחומי ליבה שמכסים את כל מה שצריך כדי לבנות, לפרוס ולנטר Agents ב-Production — מ-Python ועד Monitoring מלא.
Python Async, APIs ו-Data Processing
async/await, httpx, Pydantic Models ו-Data Validation — כלי הבסיס של כל AI Developer
LangChain מ-0: Chains, Memory, RAG ו-LCEL
LangChain Expression Language, שיחות עם זיכרון, ו-RAG Pipeline מלא עם Chroma + OpenAI
CrewAI — בניית צוותי AI עם תפקידים ומשימות
Agents, Tasks, Tools ו-Crews — Multi-Agent Systems שעובדים יחד כצוות אמיתי
LangGraph — State Machines עם Human-in-the-Loop
StateGraph, Conditional Edges, Interrupts ו-Persistent State לבניית Agents מורכבים
FastAPI + Docker — Packaging ו-Deployment
Streaming Responses, Docker Compose, Redis לCache ו-Rate Limiting, Authentication ו-API Keys
Monitoring עם LangSmith ו-Sentry לפרודקשן
Tracing, Evaluation, Cost Control, Error Handling ו-A/B Testing על Prompts בסביבה חיה
6 מודולים — מהיסודות לפרודקשן
כל מודול בנוי סביב פרויקט מסיים שאתה בונה ושולח ל-GitHub. לא תיאוריה בלבד — קוד שעובד.
Python לAI Developers
4 שעותAsync/Await, Pydantic, httpx — התשתית של כל AI Developer מקצועי
- play_circle Async/Await ו-asyncio — ריבוי משימות ב-Python
- play_circle HTTP Clients: httpx ו-aiohttp לבקשות אסינכרוניות
- play_circle Pydantic Models ו-Data Validation — מבנה נתונים בטוח
- play_circle Environment Variables ו-Security — ניהול מפתחות ו-Secrets
- rocket_launch פרויקט סיום: Async Web Scraper עם AI Summary
LangChain Deep Dive
5 שעותLCEL, Memory, RAG Pipeline מלא — LangChain מ-0 לכל הדרך
- play_circle LCEL — LangChain Expression Language ו-Pipe Operators
- play_circle Memory: ConversationBuffer, Summary ו-Entity Memory
- play_circle Document Loaders ו-Text Splitters לעיבוד מסמכים
- play_circle RAG Pipeline מלא: Chroma + OpenAI Embeddings
- rocket_launch פרויקט סיום: Chatbot חכם על PDF Documents
CrewAI Multi-Agent Systems
5 שעותצוותי AI עם תפקידים ייחודיים — Researcher, Writer, Reviewer
- play_circle Agents, Tasks, Tools ו-Crews — ארכיטקטורת CrewAI
- play_circle Role-based Agents: Researcher, Writer, Reviewer עם Personas
- play_circle Custom Tools עם Python Functions ו-Decorators
- play_circle Sequential vs Hierarchical Processes — מתי להשתמש בכל אחד
- rocket_launch פרויקט סיום: Content Pipeline — Research → Write → Edit
LangGraph State Machines
5 שעותStateGraph, Conditional Edges ו-Human-in-the-Loop לזרימות עסקיות מורכבות
- play_circle StateGraph ו-TypedDict — הגדרת State וזרימת מידע
- play_circle Conditional Edges ו-Routing — החלטות דינמיות בגרף
- play_circle Human-in-the-Loop ו-Interrupt — שילוב אדם בתהליך ה-Agent
- play_circle Persistent State עם Checkpointers — שמירת מצב בין Sessions
- rocket_launch פרויקט סיום: Customer Support Agent עם Escalation
Production API — FastAPI + Docker
4 שעותמ-Agent ל-API — Packaging, Authentication ו-Deployment מלא
- play_circle FastAPI — Streaming Responses עם Server-Sent Events
- play_circle Docker + Docker Compose — Containerization מלא
- play_circle Redis לCache ו-Rate Limiting — Performance ב-Production
- play_circle Authentication ו-API Keys — אבטחת ה-Agent API
- rocket_launch פרויקט סיום: Agent-as-a-Service API עם Docker
Monitoring ו-Optimization
2 שעותLangSmith, Cost Control ו-A/B Testing — ניטור ואופטימיזציה בפרודקשן
- play_circle LangSmith Tracing ו-Evaluation — ניטור Agents בזמן אמת
- play_circle Token Usage ו-Cost Control — חיסכון בעלויות ה-API
- play_circle Error Handling ו-Retries — Resilience בסביבת Production
- play_circle A/B Testing Prompts — אופטימיזציה מדויקת של תוצאות
- rocket_launch פרויקט סיום: Full Dashboard לניטור כל ה-Agents
בניית ReAct Agent עם LangChain
ה-ReAct pattern (Reason + Act) הוא הבסיס של רוב ה-Agents המודרניים. הנה שיעור מלא מהקורס — עם קוד שעובד, הסברים בעברית, וטיפים מהשטח.
מה זה ReAct Agent?
ReAct הוא קיצור של Reasoning + Acting. ה-Agent חושב בקול (Thought), מחליט על פעולה (Action), מריץ את הכלי, ומעבד את התוצאה (Observation) — בלופ עד שמוצא תשובה סופית. הגישה הזו מאפשרת ל-LLM לפתור בעיות מורכבות שדורשות מספר שלבים.
בשיעור הזה נבנה Agent שיכול לחפש מידע ברשת ולחשב מתמטיקה — שני כלים עם חיבור מלא ל-GPT-4o.
# react_agent.py — ReAct Agent בסיסי עם LangChain # מקורס AI Agents Development | Automation4MI from langchain.agents import create_react_agent, AgentExecutor from langchain_openai import ChatOpenAI from langchain.tools import tool from langchain import hub # --------------------------------------------------------- # הגדרת כלים (Tools) — הלב של כל Agent # כל @tool הופך פונקציית Python רגילה ל-Tool שה-LLM יכול לקרוא לה # --------------------------------------------------------- @tool def search_web(query: str) -> str: """Search the web for current information.""" # בקורס מחברים כאן ל-Tavily Search API או SerpAPI # לצרכי הדגמה מחזירים תוצאה מדומה return f"תוצאות חיפוש עבור: {query} — [נתונים מה-API]" @tool def calculate(expression: str) -> str: """Evaluate a mathematical expression safely.""" # eval עם builtins ריק — מניע הרצת קוד זדוני # טיפ חשוב: אל תשתמשו ב-eval בלי הגבלה בפרודקשן! try: result = eval(expression, {"__builtins__": {}}, {}) return str(result) except Exception as e: return f"שגיאה: {e}" # --------------------------------------------------------- # הגדרת ה-LLM — מוח ה-Agent # temperature=0 לתוצאות עקביות וצפויות # --------------------------------------------------------- llm = ChatOpenAI(model="gpt-4o", temperature=0) tools = [search_web, calculate] # טוענים Prompt מוכן מ-LangChain Hub — כולל ReAct format מוכן # hwchase17/react כולל את ה-Thought/Action/Observation template prompt = hub.pull("hwchase17/react") # --------------------------------------------------------- # בניית ה-Agent # create_react_agent = מחבר LLM + Tools + Prompt לאובייקט Agent # AgentExecutor = מריץ את ה-Agent בלופ עד לתשובה סופית # --------------------------------------------------------- agent = create_react_agent(llm, tools, prompt) executor = AgentExecutor( agent=agent, tools=tools, verbose=True, # verbose=True מדפיס כל Thought/Action — שימושי לדיבאג max_iterations=5 # מגביל לופים אינסופיים — תמיד מומלץ! ) # --------------------------------------------------------- # הרצה — שאלה שדורשת שני כלים: חיפוש + חישוב # --------------------------------------------------------- result = executor.invoke({ "input": "מה שווי השוק הנוכחי של אנבידיה ומה הם 15% ממנו?" }) print(result["output"])
הסברים שורה אחר שורה
כל פונקציית Python עם @tool הופכת לכלי שה-LLM יכול לבחור להשתמש בו. ה-docstring הוא הוראת ה-Tool — כתבו אותה ברורה כדי שה-LLM יידע מתי להפעיל אותה.
ב-Agents מומלץ מאוד להגדיר temperature=0 — הופך את ה-Agent לעקבי וצפוי. אם רוצים יצירתיות, עשו זאת בכלי ייעודי, לא במוח הראשי.
LangChain Hub מספק Prompts מוכנים ומוכחים. hwchase17/react כולל את הפורמט המלא עם Thought, Action, Observation — חוסך כתיבת Prompt מאפס.
ה-max_iterations מגן עליך מ-Agent שנכנס ללולאה אינסופית ומוציא אלפי דולרים. בפרודקשן — תמיד מגבילים. בקורס לומדים גם על Timeout ועל Cost Tracking.
רוצה לראות את שיעור 2? ו-3? וכל הפרויקטים?
בקורס המלא תמצא 25+ שעות, 5 פרויקטים עם קוד GitHub, ו-Code Reviews אישיים. כל מה שהיה כאן — ועוד הרבה יותר.
גישה חינמית — ללא תשלום
הקורס פתוח לכולם — ללא הרשמה, ללא כרטיס אשראי. פשוט לחץ והתחל.
bolt התחל את הקורסיש לך שאלות? יש לנו תשובות
מה הרמה הנדרשת להתחלת הקורס?
Python בסיסי בלבד. לא צריך להיות מומחה ולא צריך ידע מוקדם ב-AI. מודול 1 מכסה את כל מה שצריך — Async Python, Pydantic, HTTP Clients — מאפס ועד רמה מקצועית. אם אתה יודע לכתוב פונקציה בסיסית ב-Python ולהשתמש ב-pip install, אתה מוכן.
האם יש Code Reviews על הפרויקטים שלי?
כן! בכל 5 הפרויקטים תוכל להגיש את הקוד שלך ולקבל פידבק אישי. Code Review מקצועי כולל: בדיקת ארכיטקטורה, אופטימיזציה, אבטחה ושיפורים מוצעים. זה הדבר שהופך קוד שעובד לקוד שאפשר להראות למעסיקים בגאווה.
כמה Python צריך לדעת לפני שמתחילים?
if/else, functions, ו-pip install — זה מספיק. הכל מעבר לזה נלמד בקורס. אנחנו מניחים שאתה יודע מה זה משתנה ופונקציה, אבל async/await, type hints, Pydantic ו-Object Oriented Programming לצרכי AI — הכל מוסבר מהיסוד בשיעורים הראשונים.
למה ללמוד LangChain ולא ישירות OpenAI API?
שתי הגישות נכונות — ובקורס לומדים את שתיהן. LangChain מאפשרת החלפת מודלים בקלות (OpenAI, Anthropic, Gemini, Llama) ומספקת Production features מוכנים כמו Memory, RAG, Streaming ו-Tool Calling. ידע ב-LangChain הוא ידע שמשמש אותך בכל פרויקט עתידי — לא רק עם OpenAI.
עדיין יש שאלות? נשמח לעזור