Arduino Uno Q Local AI Agent – SCOPES-DF

Lesson Details

Age Ranges *
Fab Tools *
Author
Additional Contributors

Author

Studio 5
Studio 5
Other
In line with the Ministry of Communications and Information Technology’s Digital Youth Strategy, STUDIO 5 is mainly aimed at nurturing youth as digital learners by sharpening their 21st century learning skills, as they develop in an all-pervasive digital environment. In… Read More

Summary

This workshop aims to teach participants how to use a limited resources device, such as the Arduino Uno Q to create and use a portable Local AI Agent, by implementing Linux Commands inside the board’s Linux terminal.

In addition participants will discover many different aspects of AI and AI agents implementation, Linux Commands and Arduino Uno Q capabilities.

What You'll Need

Projector/Screen, Laptop, Internet Access, Arduino Uno Q

Lesson Materials

Learning Objectives

How to download and install Arduino AppLab

How to Connect Arduino Uno Q board using Cable or WIFI

How to Access the board’s Linux Terminal

How to Create and Navigate folders/directories using Linux Commands

How to Download required files using Linux Commands

How to Create Executable files using Linux Commands

How to Run and Use the newly created Local AI Agent using Linux Commands

Reflection

This Session Depends a lot on discussion with participants to enrich their curiosity

The Instructions

Presentation

Ask participants about AI Ask participants about AI Agents اسأل المشاركين عن الذكاء الاصطناعي اسأل المشاركين عن وكلاء الذكاء الاصطناعي

Introduction & Icebreaking

Ask about AI (Ice breaking).

 

 

What is AI?

Artificial Intelligence (AI) is the ability of computer systems to perform tasks that usually require human intelligence, such as learning, problem-solving, understanding language, and making decisions, by processing data and recognizing patterns to adapt and improve performance without constant human intervention

 

ما هو الذكاء الاصطناعي؟

الذكاء الاصطناعي هو قدرة أنظمة الحاسوب على أداء مهام تتطلب عادةً ذكاءً بشريًا، مثل التعلم وحل المشكلات وفهم اللغة واتخاذ القرارات، وذلك من خلال معالجة البيانات والتعرف على الأنماط للتكيف وتحسين الأداء دون تدخل بشري مستمر.

 

 

Download and Install AppLab

  

 

 

Code in Linux Terminal

Coding in Linux Terminal: This section guides participants to navigate and create directories

 

 

 

 

 

 

Download llamafile runtime and make it executable

Download llamafile runtime and make it executable in Linux Terminal: This section guides participants to download llamafile runtime and make it executable

 

 

 

 

 

Download Qwen model and make it executable

Download Qwen model and make it executable in Linux Terminal: This section guides participants to download Qwen model and make it executable

 

 

 

 

 

Start the Local AI Agent

Start the Local AI Agent from Linux Terminal

 

 

 

 

 

Prompt the Local AI Agent

Prompt the Local AI Agent by writing your question and waiting for the answer

Source Code:

Inside the Linux Terminal: Copy each line Paste inside the Terminal Press Enter Continue to the next line when the previous is done already.

mkdir localAgent

 

cd localAgent

 

curl -LO https://github.com/mozilla-ai/llamafile/releases/download/0.10.0/llamafile-0.10.0

 

chmod +x llamafile-0.10.0

 

mv llamafile-0.10.0 llamafile

 

curl -LO https://huggingface.co/Mozilla/Qwen3-0.6B-llamafile/resolve/main/Qwen_Qwen3-0.6B-Q4_K_M.llamafile

 

chmod +x Qwen_Qwen3-0.6B-Q4_K_M.llamafile

 

./Qwen_Qwen3-0.6B-Q4_K_M.llamafile

Lesson Feedback

Contact us

Having trouble? Let us know by completing the form below. We'll do our best to get your issues resolved quickly.

"*" indicates required fields

This field is for validation purposes and should be left unchanged.
Name*
Email*
?