kumarjayaranga/Agent-Pepa
About
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.
Developer ToolsMeasured star growth
- in 24h
- Collecting history
- in 7 days
- Collecting history
- in 15 days
- Collecting history
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
OriginalAgent 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).

Screenshots
Cold start — the supercomputer boots and runs real checks (brain, advisor, life points, energy, channels) |
Console — shared chat, Pepa's ID card (life points = context left), job timer, queue, squad |
Squad — every helper (subagent) and background job, each step live |
Map — a live 2D map: helpers fly to the sector of the workspace they're working in |
Energy — cost, tokens by model and day, 5-hour and weekly limits left |
Sector 5 — settings as numbered chambers around a turning tile sphere |
X.A.N.A. attack monitor — incidents become red towers that clear themselves |
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. - Talk to her mid-job: messages sent while she works are gathered for a few seconds and sorted: a correction
stops the run and redoes only what it changes (background renders included), "stop" cancels with a
done/not-done report, questions get a quick answer, new work is queued (
pepa-queueto manage it) or done alongside by a helper run. She says in one line what she decided, and asks when she can't tell. - 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,
/compactand 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-backupkeeps 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)
- 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). - Clone to
~/pepa, copyworkspace-template/to~/pepa/workspaceand fill it in (replaceOWNER). - Create
~/pepa/secrets/(chmod 700):telegram-bot-token(from @BotFather),telegram-allowed(your Telegram user id),wa-owner(your WhatsApp number, digits only), optionalgemini-api-key. 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-permissionsand 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-Pepaheader on risky endpoints), sends a strict Content-Security-Policy andX-Frame-Options: DENY, sandboxes files it serves, caps uploads and never servessecrets/. - 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.pngon 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.
Explore related projects
Loading…
Cold start — the supercomputer boots and runs real checks (brain, advisor, life points, energy, channels)
Squad — every helper (subagent) and background job, each step live
Map — a live 2D map: helpers fly to the sector of the workspace they're working in
Energy — cost, tokens by model and day, 5-hour and weekly limits left
Sector 5 — settings as numbered chambers around a turning tile sphere
X.A.N.A. attack monitor — incidents become red towers that clear themselves
Standby — the screen powers down when nothing happens and wakes on any message