Agent-Pepa

agent
Security Audit
Fail
Health Warn
  • No license — Repository has no license file
  • Description — Repository has a description
  • Active repo — Last push 0 days ago
  • Low visibility — Only 7 GitHub stars
Code Fail
  • child_process — Shell command execution capability in whatsapp/bridge.js
  • fs.rmSync — Destructive file system operation in whatsapp/bridge.js
  • process.env — Environment variable access in whatsapp/bridge.js
  • fs module — File system access in whatsapp/bridge.js
  • network request — Outbound network request in whatsapp/bridge.js
Permissions Pass
  • Permissions — No dangerous permissions requested

No AI report is available for this listing yet.

SUMMARY

Real-life Code Lyoko-style supercomputer for your AI agent (fan-made). Agent Pepa runs Claude Code on your PC with a retro control room, Telegram + WhatsApp, a live helper map, a X.A.N.A. attack monitor and Sector 5 settings.

README.md

Agent Pepa — a real-life Code Lyoko–style supercomputer for your AI agent (fan-made)

Agent Pepa turns your PC into a Code Lyoko-inspired supercomputer control room for a personal AI agent.
She runs Claude Code on your own Linux (WSL2) machine, you talk to her from Telegram, WhatsApp or the
retro Control Room in your browser, and you watch her work like an operator at the Factory: helpers moving
across a 2D map, life points for her context window, energy for your plan limits, Sector 5 settings and a
X.A.N.A. attack monitor that lights up red towers when something goes wrong.

Fan-made, non-commercial personal project inspired by the animated series Code Lyoko. Not affiliated with or
endorsed by the series' owners. No artwork from the show is included (see Fan project notes).

Agent Pepa Control Room — Console

Screenshots

Cold start: the supercomputer boots with real system checks Cold start — the supercomputer boots and runs real checks (brain, advisor, life points, energy, channels) Console: chat, ID card with life points, job timer, queue Console — shared chat, Pepa's ID card (life points = context left), job timer, queue, squad
Squad: every helper's steps live Squad — every helper (subagent) and background job, each step live Map: helpers travel to the sector they work in Map — a live 2D map: helpers fly to the sector of the workspace they're working in
Energy: cost, tokens and plan limits Energy — cost, tokens by model and day, 5-hour and weekly limits left Sector 5: the settings page Sector 5 — settings as numbered chambers around a turning tile sphere
X.A.N.A. attack monitor X.A.N.A. attack monitor — incidents become red towers that clear themselves Standby screen Standby — the screen powers down when nothing happens and wakes on any message

What it does

  • One AI agent, three ways in: Telegram (voice notes with local speech-to-text), WhatsApp (her own number as a
    WhatsApp Web linked device; she answers and calls only you) and the web Control Room — all one shared chat.
  • Watch the work live: streams claude -p --output-format stream-json, shows each helper/subagent step as it
    happens (Squad), a 2D Map of the workspace sectors, a job timer and the queue. Quick replies while she's busy.
  • Energy and limits: cost, tokens per model, and how much of your 5-hour and weekly Claude plan is left.
  • Brain picker: model, effort, advisor model, fast mode; GPT (Codex CLI) and Gemini backup brains with
    automatic fallback on a Claude limit or outage, and auto-resume when the limit resets.
  • Context window = life points: a meter in the chat box, /compact and auto-compact.
  • Reminders and scheduled tasks that survive restarts (pepa-schedule, or /remind 17:00 call mum), shown on
    the Squad page. They fire only while the agent is running; overdue ones run at the next start.
  • Fresh sessions by itself: after a few idle hours or a very large chat she starts a new session and carries the
    last messages over, so you don't have to type /new.
  • Backups (optional, WSL): pepa-backup keeps dated, restorable copies in a Windows folder with
    restic, and local git history for the agent's memory files.
  • Background jobs that survive restarts (pepa-job), a Files page, a live Linux desktop in the browser
    (XFCE + noVNC) where she opens GUI apps, and a Skills & Tools page (skills, programs, MCP servers, tool switches).
  • X.A.N.A. attack monitor: Claude limit blocks, low energy, failed jobs, services down, network down, job
    errors, intrusion attempts, disk/memory pressure — each a red tower on the Map that clears when its cause is gone.
  • Supercomputer feel: Factory-teal windows, cold-start and standby animations, synthesized start-up sounds.

How it works

Telegram ─┐
WhatsApp ─┼──► bot/pepa.py (Python, stdlib only) ──► claude -p  (Claude Code, in ~/pepa/workspace)
Browser ──┘        │  web server on 127.0.0.1:8790        └─ helpers / subagents, tools, MCP servers
                   └─ ui/index.html  (the Control Room: one file, no build step)
bot/pepa.py            the bot + web server            bin/            pepa-up/down, pepa-job, pepa-schedule, pepa-backup, pepa-gui, desktop, browser, call
ui/index.html          the Control Room                whatsapp/       WhatsApp Web bridge (whatsapp-web.js) + call audio
systemd/               user services                   windows/        optional Windows launcher (app window, stops WSL on close)
workspace-template/    Pepa's operating manual (CLAUDE.md) and empty identity / memory files

Quick start (Windows 11 + WSL2 Ubuntu 24.04)

  1. Install Python 3.12, Claude Code (log in with claude), ffmpeg. Optional:
    Node 24 + Google Chrome (WhatsApp), tigervnc-standalone-server xfce4 novnc python3-websockify (live desktop),
    npm i -g @openai/codex @google/gemini-cli (backup brains).
  2. Clone to ~/pepa, copy workspace-template/ to ~/pepa/workspace and fill it in (replace OWNER).
  3. Create ~/pepa/secrets/ (chmod 700): telegram-bot-token (from @BotFather), telegram-allowed (your Telegram
    user id), wa-owner (your WhatsApp number, digits only), optional gemini-api-key.
  4. cp systemd/*.service ~/.config/systemd/user/ && systemctl --user daemon-reload && ~/pepa/bin/pepa-up.sh,
    then open http://localhost:8790. WhatsApp setup: whatsapp/README.md.

Optional backups (WSL2): sudo apt install restic, put {"windows_folder": "C:\\Users\\you\\PepaBackups"} in
~/pepa/secrets/backup.json, make workspace/ a git repo (git init), then
cp systemd/pepa-backup.timer ~/.config/systemd/user/ && systemctl --user enable --now pepa-backup.timer.
It needs passwordless sudo to mount the folder. The backup folder holds its own password, so treat it as secret.

Try it without Telegram: PEPA_STATE=/tmp/pepa-test PEPA_TELEGRAM=0 PEPA_WEB_PORT=8791 python3 bot/pepa.py.

Security

  • Pepa runs Claude Code with --dangerously-skip-permissions and access to your home folder: she can do anything
    you can. Only allow-listed Telegram users and the configured WhatsApp owner can talk to her.
  • The web server listens on 127.0.0.1 only, checks the Host header (DNS rebinding), rejects cross-site POSTs
    (Origin check + an X-Pepa header on risky endpoints), sends a strict Content-Security-Policy and
    X-Frame-Options: DENY, sandboxes files it serves, caps uploads and never serves secrets/.
  • WhatsApp uses an unofficial client (whatsapp-web.js): the number can be banned. Don't expose ports 8790, 8792 or
    6085 to a network.

Fan project notes

  • Inspired by the look and ideas of the Code Lyoko supercomputer screens (Factory interface, Sector 5, X.A.N.A.,
    life points, towers). All visuals here are original: drawn in CSS/canvas or the project's own Agent Pepa logo.
  • The X.A.N.A. chip shows a built-in original mark. If you own an image you want there, put it at
    ui/brand/xana-logo.png on your machine (it's in .gitignore).
  • The agent is powered by Anthropic's Claude via the Claude Code CLI; you need your own Claude plan.

FAQ

Is this an official Code Lyoko project? No — a fan-made homage, not affiliated with the series' owners.
Does it need a GPU? No. Claude runs in the cloud; local tools (speech-to-text, renders) can use a GPU if you have one.
Does it run on plain Linux? Yes; WSL2 is only needed on Windows. The Windows launcher is optional.


Made by kumarjayaranga with Agent Pepa and Claude Code.

Reviews (0)

No results found