Adventure 1 - Build Your AI Base
Welcome to your first coding adventure! Today, you'll learn to control a computer in the cloud, talk to Linux like a wizard, and summon your very own AI assistant. Get ready to unlock superpowers you never knew existed!

Adventure 1

Hook
🤔 Mystery Question Time
Close your eyes and imagine this: What if you could control a computer that's thousands of miles away just by typing commands? What if you had a house floating in the clouds that only you could enter? Sounds like magic, right? But it's 100% real, and you're about to do it today!
Core question: If you can control distant computers with just your keyboard, what becomes impossible?

Adventure 1

What We'll Unlock Today
Network Basics
Learn about IP addresses and SSH protocol
Remote Connection
Connect to a server using SSH magic
Linux Commands
Talk to the computer like a wizard
AI Assistant
Install OpenClaw and chat with AI

Adventure 1

Act 1: Your Cloud House Awaits
Imagine you have a house. But this house isn't in your neighborhood—it's floating in the "cloud." Not the fluffy white clouds in the sky, but the invisible network of computers that powers the internet. Your house has a door, a lock, and only you have the key.
Today, we're going to visit it. Ready for the journey?

Adventure 1

Your Server Information Card
🏠 Your Cloud House
Address (IP): 43.xxx.xxx.xxx Owner (Username): student1 Key (Password): ******
Think of this card like a video game item card. It contains everything you need to access your cloud house:
  • IP Address: Your house's street address
  • Username: Proves you're the owner
  • Password: Your secret key
Keep this card safe—it's your golden ticket!

Adventure 1

Explore
What's a Server Anyway?
A server is just a computer that's always on and connected to the internet. It's like having a second computer that never sleeps, waiting for you to connect from anywhere in the world.
Companies rent these to people who want their own space online. It's like renting an apartment, but in the digital world!

Adventure 1

Step 1: Open Your Portal
Windows Users
Open PowerShell or download MobaXterm (it's free and makes things easier!)
Mac Users
Open Terminal from Applications → Utilities, or just search "Terminal" in Spotlight
Think of it like this: The terminal is your portal to the cloud. It looks plain, but it's incredibly powerful!

Adventure 1

Step 2: The Magic Spell (SSH Command)
ssh student1@43.xxx.xxx.xxx
ssh
Secure Shell - safe teleportation magic
student1
Your username - proves you're the owner
@
Means "at" or "go to"
43.xxx.xxx.xxx
IP address - your house's street address

Adventure 1

Understanding IP Addresses
An IP address is like a phone number for computers. Every device connected to the internet has one. They look like this: 43.152.199.88
The four numbers are separated by dots, and each number can be 0-255. When you type an IP address, you're telling your computer exactly where to connect!

Adventure 1

🔐 Step 3: Enter Your Secret Key
Important Security Feature!
When you type your password, the screen won't show anything—no dots, no asterisks, nothing. This is normal!
The computer is listening, but it's hiding what you type to protect your password from people looking over your shoulder.
Pro tip: Type carefully and press Enter when done. You got this!

Adventure 1

Checkpoint
🎯 Discussion Time: Pair & Share
Turn to Your Partner
Explain to your partner what SSH means using a metaphor from real life. How is it like a key? A phone call? A portal?
Think Together
Why do you think the password doesn't show on screen? What real-world security does this remind you of?
You have 3 minutes. We'll hear from a few groups after!

Adventure 1

🎉 You're Connected!
If you see a welcome message or a command prompt, congratulations! You've just remotely connected to a computer in the cloud. You're now controlling a machine that could be anywhere in the world.
This is the same technology that professional programmers, hackers (the good kind!), and system administrators use every day. You're officially part of the club!

Adventure 1

Act 2: Talking to Your Linux Butler
Now that you're inside your cloud house, there's a butler waiting for you. This butler's name is Linux, and it's very smart—but it only understands text commands. No buttons, no mouse, just typing.
Time to learn the "magic spells" to communicate with it!

Adventure 1

Your First Magic Spells
pwd
Print Working Directory - "Where am I right now?"
ls
List - "Show me everything in this folder"
cd
Change Directory - "Move to a different folder"
mkdir
Make Directory - "Create a new folder"

Adventure 1

Understanding Directories
Linux organizes files like a family tree. At the top is "/" (the root), and everything branches down from there. Your personal folder is usually at /home/student1.

Adventure 1

Hands-On Activity 1
🎮 Mini Game: Folder Adventure!
Task 1: Scout the Root
Type: cd / then ls
What folders do you see? Write down 3!
Task 2: Return Home
Type: cd ~
The ~ symbol is a shortcut to your home folder. Cool, right?
Task 3: Build Your Base
Type: mkdir secret-base
You just created a folder called "secret-base"! Verify with ls
Time limit: 5 minutes. Raise your hand if you need help!

Adventure 1

More Essential Commands
File Operations
  • touch filename - Create an empty file
  • cat filename - View file contents
  • rm filename - Delete a file (careful!)
  • cp source dest - Copy files
  • mv old new - Move or rename
System Commands
  • clear - Clear the screen
  • whoami - Show your username
  • date - Show current date/time
  • exit - Close the connection

Adventure 1

🎁 Easter Egg Time!
sudo apt update && sudo apt install cowsay -y cowsay "Hello, I am your server!"
Run these commands and watch the magic happen! You'll see a cow delivering your message. This is a fun program that programmers use to make the terminal more entertaining.
Challenge: Can you make the cow say something funny about today's class?

Adventure 1

Group Discussion
💬 Why Text Commands?
"In groups of 3-4, discuss: Why does Linux use text commands instead of buttons and windows like regular computers? What are the advantages? What are the challenges?"
Think about speed, automation, and remote access. Share your group's best idea with the class in 4 minutes!

Adventure 1

Act 3: Summoning Your AI Assistant
Now for the exciting part! We're going to install OpenClaw—an AI assistant that can help you with tasks, remember conversations, and even learn new skills over time.
This isn't just a chatbot. It's a true AI agent that can act on your behalf!

Adventure 1

What Makes OpenClaw Special?
Regular Chatbot
Can only talk. Forgets everything after each conversation. Like talking to a goldfish!
OpenClaw AI Agent
Has memory, personality, and can DO things for you. Like having a smart robot assistant!

Adventure 1

The One-Line Installation Spell
curl -fsSL https://openclaw.ai/install.sh | bash
curl
Downloads something from the internet
install.sh
The summoning scroll with instructions
bash
Executes the summoning ritual automatically
Pro tip: Copy and paste this exactly. One typo could break the spell!

Adventure 1

Installation Walkthrough
After running the command, you'll see text scrolling by. This is normal! The installer is downloading files and setting things up. It might take 2-3 minutes.
You'll be asked some questions. Let's prepare for them together on the next slides!

Adventure 1

Setup Wizard: Question 1
Security Warning
The installer will warn you about AI safety and responsible use.
What to Do
Read it carefully! This teaches you important AI ethics. Then type "yes" to accept and continue.
Discussion point: Why do you think AI tools need safety warnings? What could go wrong if people misuse AI?

Adventure 1

Setup Wizard: Choosing a Brain
1
Quick Start Mode
Choose this option—it uses smart defaults so you don't have to configure everything manually.
2
Select AI Model
Pick Minimax 2.1 - it's free and powerful enough for learning!
3
Skip Platform Binding
We'll learn about connecting to other services later.
4
Skip Skills Installation
We'll add skills one by one as we learn what they do.

Adventure 1

Checkpoint
Installation Complete!
If you see a success message, congratulations! You've just installed a sophisticated AI agent on your server. This is the same kind of technology that major companies pay thousands of dollars to use.
Quick check: Can everyone see "Installation successful" or similar? Raise your hand if you need help troubleshooting.

Adventure 1

Act 4: Your First Conversation
Time for the moment you've been waiting for—talking to your AI! OpenClaw can respond to your questions, help with tasks, and even remember things for next time.
Let's start with some simple test messages to wake it up!

Adventure 1

Test Conversation #1: Check Status
openclaw status
This command checks if OpenClaw is running properly. You should see information about your AI agent, including its status and version.
What you'll see: Details about your agent's health, memory usage, and whether it's ready to chat.

Adventure 1

Test Conversation #2: Say Hello!
openclaw agent --message "Hello, I am your owner!"
This sends your first message to OpenClaw. The AI will introduce itself and respond to your greeting. Notice how it understands natural language—you don't need to use special codes!
Try saying hello in your own way! OpenClaw understands casual conversation.

Adventure 1

Test Conversation #3: Math Challenge
openclaw agent --message "What is 2+2?"
Let's test the AI's basic reasoning. It should not only give you the answer but might also explain how it arrived at the solution.
Try asking a harder math question! See how it responds to different levels of difficulty.

Adventure 1

Test Conversation #4: Get Creative
openclaw agent --message "Tell me a joke"
AI isn't just for serious work—it can be creative and fun too! See what kind of humor your AI has. Everyone's response might be slightly different because AI has some randomness built in.
Challenge: Can you get the AI to tell a joke about programming or computers?

Adventure 1

Hands-On Activity 2
🎨 Make OpenClaw Explain Networks
openclaw agent --message "Draw a diagram explaining how my computer, the internet, and the server connect"
This is where AI gets really powerful! OpenClaw can create visual explanations to help you understand complex topics.
Activity (8 minutes):
  • Run the command above
  • Study the diagram OpenClaw creates
  • Can you explain the diagram to your partner?
  • Ask follow-up questions if anything is unclear!

Adventure 1

Understanding the Network Diagram
When you SSH into your server, your computer sends encrypted messages through your home router, across the internet through many other routers, and finally to your cloud server. It all happens in milliseconds!

Adventure 1

Concept Reveal
🎯 Key Takeaways: What You Learned
Remote Access
SSH lets you securely control distant computers using just text commands—like having superpowers!
Linux Commands
Simple text commands can do anything: navigate, create files, install software, and more.
AI Agents
Modern AI can remember, learn, and DO things—not just chat. OpenClaw is your personal assistant.
Cloud Computing
Servers in the cloud are always-on computers you can access from anywhere in the world.

Adventure 1

Common Mistakes
🐛 Common Mistakes & How to Fix Them
SSH Connection Refused
Problem: Can't connect to server
Fix: Check your IP address is correct. Make sure you have internet. Ask teacher to verify server is running.
Password Not Working
Problem: "Permission denied" error
Fix: Remember nothing shows when you type. Type slowly and carefully. Copy-paste if allowed.
Command Not Found
Problem: Linux says "command not found"
Fix: Check spelling carefully. Linux is case-sensitive (pwd vs PWD). Try which [command] to see if it's installed.
OpenClaw Won't Respond
Problem: AI doesn't reply or gives errors
Fix: Check openclaw status first. Make sure installation completed successfully. Restart with openclaw restart.

Adventure 1

Quick Quiz
📝 Quiz Time! Test Your Knowledge
Work individually for 5 minutes. Write your answers on paper. We'll review together!
  1. What does SSH stand for? (Hint: Think about security)
  1. Which command shows your current directory? (a) ls (b) pwd (c) cd (d) mkdir
  1. What makes OpenClaw different from a regular chatbot?
  1. True or False: When you close your laptop, OpenClaw stops working on the server.
  1. What does the ~ symbol represent in Linux?

Adventure 1

Quiz Answers & Explanations
1
Secure Shell
SSH = Secure Shell. It encrypts your connection so hackers can't spy on your commands or steal your password!
2
Answer: (b) pwd
PWD stands for Print Working Directory. It shows where you are in the file system right now.
3
OpenClaw is an AI Agent
Unlike chatbots that only talk, OpenClaw has memory, can learn skills, and can perform actions on your behalf!
4
False!
Your laptop is just the remote control. The server keeps running 24/7 in the cloud, and OpenClaw stays active!
5
Your Home Directory
The ~ is a shortcut that always points to your personal folder (/home/student1). Super convenient!

Adventure 1

Reflection
🤔 Socratic Questions: Think Deeper
Take 2 minutes to think about these questions. Then we'll discuss as a class:
  • How would you explain SSH to someone who's never heard of it? What real-world metaphor would you use?
  • Why does Linux use text commands instead of point-and-click interfaces? What are the trade-offs?
  • When you close your laptop, what happens to OpenClaw? Why does it keep running?
  • What's one thing you could teach OpenClaw to do for you? Be creative!

Adventure 1

Exit Ticket
🎟️ Exit Ticket: Homework Assignment
Before you leave today, complete this exit ticket. It's due at the start of next class!
openclaw agent --message "Write a poem describing what I learned today"
Your homework:
  1. Run the command above and save OpenClaw's poem
  1. Write 2-3 sentences about what surprised you most today
  1. Come up with ONE question you'd like to ask OpenClaw next time
Post your poem in our class forum if you want to share!

Adventure 1

🏅 Level 1 Complete! Achievement Unlocked
🏰 Cloud Access
You can remotely connect to servers anywhere!
🐧 Linux Master
You speak the language of terminals!
🤖 AI Summoner
You installed and activated your AI agent!
💬 First Contact
You had your first conversation with AI!

🎬 Next Adventure Preview: In Adventure 2, we'll give your AI a personality, teach it to remember things, and train it to help with real tasks. Get ready to level up! 👻

Adventure 1