OpenClaw Workshop Exercises

Hands-on exercises for building AI agents with OpenClaw

Getting Started with OpenClaw

Running OpenClaw in the Browser

On Mac

  1. Open Terminal from Applications → Utilities
  2. Start OpenClaw server by running: openclaw gateway start
  3. Open your web browser (Safari, Chrome, or Firefox)
  4. Navigate to http://localhost:18789
  5. Log in with your OpenClaw credentials
  6. Once logged in, you can interact with OpenClaw through the web interface

On Windows

  1. Open Command Prompt or PowerShell (search for "cmd" or "PowerShell" in Start menu)
  2. Start OpenClaw server by running: openclaw gateway start
  3. Open your web browser (Edge, Chrome, or Firefox)
  4. Navigate to http://localhost:18789
  5. Log in with your OpenClaw credentials
  6. Once logged in, you can interact with OpenClaw through the web interface

Running OpenClaw from Terminal/Command Line

Alternatively, you can use OpenClaw directly from the terminal:

  1. Open Terminal (Mac) or Command Prompt/PowerShell (Windows)
  2. Start OpenClaw in terminal mode: openclaw tui
  3. This launches a text-based interface where you can interact with OpenClaw directly
  4. Type your messages and press Enter to send
  5. Use Ctrl+C to exit the TUI interface
Tip: Make sure OpenClaw is properly installed and configured before attempting to start the gateway.

Step 1: Create Workspace Structure and Provision Agent

Create a workspace for the Luna localization QA agent at ~/.openclaw/workspace-luna with the following structure:

  1. Create directories:
    • ~/.openclaw/workspace-luna/skills
    • ~/.openclaw/workspace-luna/docs
    • ~/.openclaw/workspace-luna/memory
  2. Create empty placeholder files for the standard OpenClaw workspace files:
    • ~/.openclaw/workspace-luna/AGENTS.md
    • ~/.openclaw/workspace-luna/SOUL.md
    • ~/.openclaw/workspace-luna/USER.md
    • ~/.openclaw/workspace-luna/IDENTITY.md
    • ~/.openclaw/workspace-luna/TOOLS.md
    • ~/.openclaw/workspace-luna/HEARTBEAT.md
    • ~/.openclaw/workspace-luna/BOOT.md
    • ~/.openclaw/workspace-luna/BOOTSTRAP.md
    • ~/.openclaw/workspace-luna/MEMORY.md
  3. Initialize git repository:
    • Create .gitignore file
    • Run git init
    • Add all files and make initial commit

Note: Only create the file placeholders. Do not populate them with content. The user will provide the actual content for SOUL.md, USER.md, and TOOLS.md.