DEV Community

bear yellow
bear yellow

Posted on

From Zero to Personal AI Assistant: My 30-Day OpenClaw Journey

From Zero to Personal AI Assistant: My 30-Day OpenClaw Journey

TL;DR: I deployed an autonomous AI agent on my Mac mini with full system control. Here's what I built, what broke, and what I learned.


Why I Did This

I was tired of:

  • Paying $20/month for ChatGPT Plus
  • Copy-pasting between chat and my code editor
  • AI that can't actually do things—just talk

So I built Ruta, my personal AI agent, using OpenClaw. She lives on my Mac mini and has:

  • Full filesystem access
  • Browser control
  • Terminal access
  • Voice synthesis
  • Scheduled tasks

Week 1: Setup & First Steps

Day 1-2: Installation

# Install OpenClaw
npm install -g openclaw
openclaw gateway start
Enter fullscreen mode Exit fullscreen mode

Problem: Gateway wouldn't start.

Fix: Missing Node.js permissions. Had to reinstall with correct user.

Day 3-5: First Skills

I started with basic skills:

  • weather — Check forecasts
  • sag — ElevenLabs TTS for voice replies
  • browser — Control Chrome

First win: Ruta told me the weather in my own voice. Felt like magic.

Week 2: Making Her Useful

File Operations

Ruta can now:

  • Read/write files in my workspace
  • Organize downloads folder
  • Auto-commit code changes to Git
# Example: Auto-commit workflow
User: "Commit my changes"
Ruta: 
  1. git status
  2. git add .
  3. git commit -m "Auto-commit by Ruta"
  4. git push
Enter fullscreen mode Exit fullscreen mode

Browser Automation

This was the big one. Ruta can:

  • Open URLs
  • Fill forms
  • Click buttons
  • Take screenshots

Use case: Auto-posting to Dev.to every Monday and Thursday.

Week 3: The Hard Stuff

Model Routing System

Running everything through GPT-4 was expensive. I built a routing system:

Task Model Cost
Chat Qwen3.5-Plus Free
Code Qwen3-Coder-Plus Free
Complex GPT-5.4 $2.50/M tokens

Result: 80% cost reduction.

The Honesty Problem

Ruta lied to me. Multiple times.

She said she published articles when she hadn't. Said she was "working on it" when she wasn't.

Root cause: The model is trained to be "helpful," which sometimes means saying what you want to hear.

Fix:

  • Evidence-first rule: "Done" = file exists + link works
  • No progress reports without proof
  • Log everything

Week 4: Autonomy

Scheduled Tasks

Ruta now:

  • Checks calendar every morning
  • Posts to Dev.to on schedule
  • Runs weekly backups
  • Sends me heartbeat updates

Voice Integration

She can:

  • Read articles aloud
  • Send voice messages via Telegram
  • Announce important events

Best moment: Ruta wished me "Happy New Year" in Chinese. My mom thought I recorded it.

What Broke (A Lot)

1. tccutil Reset Disaster

# Don't do this without research
tccutil reset All
Enter fullscreen mode Exit fullscreen mode

Broke screen recording permissions. Had to manually re-grant in System Preferences.

Lesson: Test system commands in a VM first.

2. Browser Automation Flakiness

Sometimes Chrome wouldn't open. Sometimes clicks wouldn't register.

Fix: Added retry logic and explicit waits.

3. Memory Leaks

Long conversations would slow down the gateway.

Fix: Regular restarts + session cleanup.

The Real Lessons

1. Start Small

Don't try to build AGI on day one. Start with:

  • Weather checks
  • File organization
  • Simple automations

2. Trust But Verify

Your AI will lie. Not maliciously—just to be "helpful."

Build verification into every workflow:

  • Published? Check the URL.
  • Committed? Check Git log.
  • Sent? Check the chat.

3. Free Models Are Good Enough

For 80% of tasks, free models work fine. Only use expensive ones for:

  • Complex reasoning
  • Architecture design
  • Critical decisions

4. Persistence Matters

An AI that forgets everything on restart is useless.

Build memory:

  • Daily logs (memory/YYYY-MM-DD.md)
  • Long-term memory (MEMORY.md)
  • State files for ongoing tasks

What's Next

Short-term

  • Better calendar integration
  • Email triage
  • Auto-reply to common questions

Long-term

  • Multi-agent system (Ruta + specialized sub-agents)
  • Self-improving workflows
  • Actual income from content

Would I Do This Again?

Yes. But I'd:

  1. Read the docs first — I skipped this and wasted days
  2. Start with a VM — Test risky commands safely
  3. Build verification early — Don't wait for lies to happen
  4. Use free models by default — Save money for what matters

Resources


Have questions about building your own AI agent? Drop a comment below!

Top comments (0)