CrewAI Tutorial: How To Make CrewAI Coding Agent Run and Execute Code Itself
Автор: DS-AI with Khanh Vy
Загружено: 19 апр. 2025 г.
Просмотров: 655 просмотров
#crewai #dockerdesktop #vscode #python #aiagent #openai #codingagent
Welcome back to DS‑AI with Khanhvy & today's tutorial! @crewAIInc coding agent is so powerful and you can use it for vibe-coding. However, I've been seeing tons of questions on Reddit and in the comments about CrewAI agents that just won't execute code-missing Docker errors, virtual‑env mismatches, libraries not found, and more. So today, I'm walking you through my exact local setup using VS Code, Docker Desktop, and crewAI. By the end of this video, you'll have a fully functional CrewAI coding agent that writes, runs, and even saves its own Python scripts-all without copy/paste headaches!
Tool Use: CrewAI, Docker Desktop, VSCode
🎥 In this video, we cover:
✔️ Installing CrewAI & crewai_tools in your Python environment
✔️ Configuring VS Code & Docker Desktop for seamless container execution
✔️ Defining your agent's role, goal, and backstory for clear instructions
✔️ Setting up CodeInterpreterTool and FileWriterTool
✔️ Writing the Task and orchestrating with Crew
✔️ Running a live demo: agent generates code, executes it, prints stdout, and writes files
🔗 Important Links & Resources:
• GitHub repo (full example code) → https://github.com/khanhvy31/crew-ai-...
• CrewAI docs → https://docs.crewai.com/introduction
⏱️ Chapters:
00:00 Introduction
00:47 Why CrewAI Coding Agents fail to execute the code
02:03 Prerequisites: Python, VS Code, Docker Desktop, virtual env
03:04 Pip install requirements
03:14 Import packages, LLM API
04:21 CodeInterpreterTool & FileWriterTool
04:31 Agent Definition: Role, Goal, Backstory
05:39 Adding CodeInterpreterTool & FileWriterTool for Agent
07:00 Task & Crew Orchestration
08:23 Live Demo: Running Python Snippets
09:20 CrewAI Agent execute code, Saving Outputs & Files
09:32 Wrap‑Up & Next Steps
📢 Discussion Question:
What other tools or libraries would you plug into your CrewAI agent (e.g. webscraping, database connectors, ML frameworks)? Let me know in the comments below!
🔔𝐃𝐨𝐧'𝐭 𝐟𝐨𝐫𝐠𝐞𝐭 𝐭𝐨 𝐬𝐮𝐛𝐬𝐜𝐫𝐢𝐛𝐞 𝐭𝐨 𝐦𝐲 𝐜𝐡𝐚𝐧𝐧𝐞𝐥 𝐟𝐨𝐫 𝐦𝐨𝐫𝐞 𝐮𝐩𝐝𝐚𝐭𝐞𝐬.
/ @ds-aiwithkv
🔗 Stay Connected With Me.
Twitter (X): https://x.com/khanhvy31
Linkedin: / khanh-vy-nguyen0331
Github: https://github.com/khanhvy31
Medium: / khanhvy31
📩 For business inquiries: [email protected]
🎬 Suggested videos for you:
▶️ • Mastering AI Agents Concept: Create a...
▶️ • Multi AI Agents System Tutorial | Use...
▶️ • Build a RAG application with a Valida...
▶️ • Rag and Talk To Your CSV File Using O...
▶️ • How to Run Deep Seek R1 Locally Using...
#crewai #docker #vscode #python #aiagent #openai #automation

Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: