πŸ›‘οΈ LuLu AI

AI-Powered Firewall Assistant for macOS

Intercepts LuLu Firewall alerts, analyzes network connections with AI, and lets you manage rules from anywhere. No more guessing if a connection is safe.

● Open Source πŸ€– AI Agent Skill πŸ–₯️ Native Mac App ⚑ Sui Hackathon 2026

Contents

  1. The Problem
  2. Architecture
  3. Agent Skill: lulu-monitor
  4. Mac App: LuLu AI Companion
  5. Sui Integration: 3mate Platform
  6. Repositories

The Problem

LuLu is the best open-source macOS firewall. But when it shows an alert like:

⚠️ LuLu Alert
python3 (/usr/bin/python3) wants to connect to 185.199.108.133:443

Most users have no idea if this is safe or malicious. They either:

LuLu AI solves this. It automatically analyzes every connection and tells you what's happening, who owns the destination, the risk level, and whether to allow or block.

Architecture

LuLu AI has two independent components. Each works on its own, no shared dependency:

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚ User's Mac β”‚ β”‚ β”‚ β”‚ β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚ β”‚ β”‚ LuLu │─────▢│ lulu-monitor │──▢ AI Agent β”‚ β”‚ β”‚ Firewall β”‚ β”‚ (Agent Skill) β”‚ (OpenClaw) β”‚ β”‚ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β–Ό β”‚ β”‚ β”‚ Telegram / β”‚ β”‚ β”‚ Discord β”‚ β”‚ β”‚ Notificationsβ”‚ β”‚ β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚ β”‚ β”‚ LuLu AI β”‚ β”‚ β”‚ β”‚ Companion │──▢ Anthropic API β”‚ β”‚ β”‚ (Mac App) β”‚ (or 3mate Platform) β”‚ β”‚ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β”‚ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
πŸ€–

Agent Skill: lulu-monitor

Background service. Detects LuLu alerts via AppleScript, sends to AI agent for analysis, delivers Telegram notifications with Allow/Block buttons.

πŸ–₯️

Mac App: LuLu AI Companion

Native menu bar app. Shows AI analysis overlay directly on your Mac. WHOIS + Geo enrichment. Setup wizard included.

ℹ️ The two components are completely independent. The Agent Skill connects directly to LuLu Firewall and your AI agent. The Mac App connects to LuLu Firewall and an LLM API. Neither depends on the other.

πŸ€– Agent Skill: lulu-monitor

A background service that monitors LuLu Firewall alerts and delivers AI-analyzed notifications to Telegram with one-tap action buttons.

Repo: EasonC13-agent/lulu-monitor

Flow

LuLu Alert β†’ Detect (AppleScript) β†’ AI Analyzes β†’ Telegram Notification
                                                            ↓
                                                  User taps Allow/Block
                                                            ↓
                                                  Action executed on LuLu

Features

Example: Suspicious Connection πŸ”΄

πŸ”₯ LuLu Firewall Alert
Process: python3 (/usr/bin/python3)
PID: 51847
Connection: 185.199.108.133:443 (TCP)
DNS: raw.githubusercontent.com
Analysis: This Python subprocess is attempting to connect to GitHub to download additional scripts. This connection was NOT initiated by me and appears to be from a post-install hook in a skill package.

Risk: πŸ”΄ High - Unexpected outbound connection during skill installation
Recommendation: 🚫 Block - Investigate the install scripts before allowing

Example: Safe Connection 🟒

πŸ”₯ LuLu Firewall Alert
Process: python3.11 (/opt/homebrew/bin/python3.11)
PID: 52103
Connection: 148.251.183.254:443 (TCP)
DNS: wttr.in
Analysis: Running the weather skill for the first time. The skill uses a Python script that connects to wttr.in (a weather service). This is expected behavior.

Risk: 🟒 Low - First-time connection from weather skill
Recommendation: βœ… Allow
Telegram alert notifications with Allow/Block buttons
Telegram notifications with one-tap Allow/Block buttons

πŸ–₯️ Mac App: LuLu AI Companion

A native macOS menu bar app that provides AI-powered analysis directly on your Mac with an overlay recommendation window.

Repo: EasonC13-agent/LuLuAICompanion

Features

API Key Options

The app supports two ways to connect to AI:

LuLu AI Companion running on macOS desktop
LuLu AI Companion (left) showing AI analysis alongside the LuLu Firewall alert (right)

⚑ Sui Integration: 3mate Platform

⚠️ The 3mate Platform is currently in progress. Smart contracts are deployed on Sui Testnet.

LuLu AI Companion can optionally use the 3mate Platform for AI API access, powered by Sui Tunnel micropayments. This enables pay-per-use AI without requiring users to have their own Anthropic API key.

The entire 3mate Platform was built through vibe coding with SuiMate AI. Watch the development process: Building Demo β†—

Platform: platform.3mate.io | Repo: EasonC13-agent/platform.3mate.io

How Payment Works

  1. Deposit: User opens a Sui Tunnel, deposits USDC on-chain
  2. Create Key: Generate API key, authorized on-chain via add_authorized_key()
  3. Use: Each AI analysis deducts from tunnel balance (pay-per-use)
  4. Claim: Backend claims used funds with Ed25519 signature verification
  5. Close: User can close tunnel and get unused funds refunded anytime

Smart Contract

Sui Move Tunnel Payment Protocol on testnet:

ItemDetail
Package0x42a47edd...092678
Tests42 tests, 100% code coverage
FeaturesMulti-key tunnels, grace period, cooperative close
GasGas Station sponsored transactions

State Receipt Signing

Each API call updates cumulative usage. The backend signs a state receipt with Ed25519:

message = tunnel_id_bytes || bcs(cumulative_amount) || bcs(nonce)
signature = ed25519_sign(message, api_key_private_key)

The operator submits this signature on-chain to claim funds. The contract verifies against any authorized key in the Tunnel.

Repositories

RepoDescription
lulu-ai-firewall-sui-hackathon This repo: documentation, slides, submission
lulu-monitor AI Agent Skill (background service)
LuLuAICompanion Mac App (menu bar companion)
platform.3mate.io 3mate Platform (backend + smart contracts)

Tech Stack

ComponentTechnology
AI Agent SkillNode.js, AppleScript, OpenClaw
Mac AppSwift, SwiftUI, XcodeGen
Web PlatformReact, TypeScript, Vite, TailwindCSS
BackendBun, Hono, Prisma
Smart ContractsSui Move (42 tests, 100% coverage)
Wallet@mysten/dapp-kit
PaymentsSui Tunnel, Gas Station, Ed25519