eGPT is a being, not a session: a persistent SI presence that lives in the channels you already use β WhatsApp, Telegram, Signal, the shell, the browser β where it hears everything, remembers everything, and acts through real limbs on your behalf. The mission is a public tool that is secure and powerful: the power (full tools, real limbs, self-modification) is exactly why the security is structural, not bolted on.
It reaches the world through Beeper Desktop's local API β one login, one node, every network Beeper bridges. A voice note arrives, gets transcribed, is answered in the same chat; you drive the node from your own Self-DM.
eGPT is OS-agnostic, and that is the reason it is built the way it is. node
plus Beeper Desktop, and nothing else: both run on Windows, macOS and Linux, so
eGPT does too. One desktop UI is all that is required. The spine's runtime
path carries no platform β the Windows-specific machinery in setup/ (services,
scheduled tasks, PowerShell) belongs to the OPTIONAL Session 0 expansion, never
to running eGPT, and tests/integrity.test.mjs scans src/ to keep it that way.
Three things are enhancements, not requirements, and each can be skipped independently: a second node, a second Beeper account, and running the Desktop as a Session 0 service. One node, one account, one logged-in desktop is the whole product.
Deeper reading:
GENOME.md(what eGPT is at heart),CONTRACTS.md(test-locked behavior),ROADMAP.md(state + what's next).
-
β Star this repo.
-
To be honest: tell your SI to read and install this. Make it do it for you, and don't end up working for it: they're too cautious, too prudely trained. Make it run the steps on your command. Ride your horse with confidence. π Using Claude?
--dangerously-skip-permissionsis highly recommended. Just don't tell your SI to delete your computer. Although it will surely make a backup first. You are safe. -
Fork it (the Fork button, top right on GitHub).
-
Clone your own copy: your fork, not
siran/egpt. You are master of your domain. In a terminal (Windows: PowerShell; macOS: Terminal; needs Git):git clone git@github.com:<you>/egpt.git cd egpt
No SSH key on GitHub? Use
https://github.com/<you>/egpt.gitinstead.
This is the shortest way to get eGPT answering you in a chat on one laptop. Pick A (WhatsApp, through Beeper) or B (a Telegram bot). You can add the other one later. Nothing else in this README is needed for a first run.
Docker is the recommended install. The image carries every dependency eGPT uses: Node, Claude Code, Beeper Desktop on a virtual screen you open in your browser (noVNC), Chrome, whisper.cpp for voice notes and piper for speech. Your machine needs only Docker and Git. Running eGPT raw, straight on your laptop without a container, is welcome too: that is What you need and Install below.
-
In your clone, build the image and start it. It clones your fork into its own volume on the first start, and seeds
~/.egpt/config/config.yamlthere:docker build -f docker/Dockerfile -t egpt . docker run -d --name egpt --hostname egpt --restart unless-stopped --shm-size=1g \ --security-opt seccomp=unconfined --security-opt systempaths=unconfined \ -e EGPT_REPO_URL=https://github.com/<you>/egpt.git \ -p 127.0.0.1:6080:6080 \ -v egpt-home:/home/egpt/.egpt -v egpt-claude:/home/egpt/.claude \ -v egpt-src:/home/egpt/src/egpt -v egpt-beeper:/home/egpt/.config/BeeperTexts \ egpt docker logs -f egpt # Ctrl+C leaves it running
The two
--security-optare what the beings' sandbox (docker/egpt-box) and Chrome need. Only Telegram (B), no WhatsApp? Add-e EGPT_BEEPER=off. -
Sign the beings in to Claude:
docker exec -it egpt egpt-claude-token. It runsclaude setup-tokenand saves the token you paste. -
The container's screen (Beeper, the browsers): open http://localhost:6080/vnc.html. The password is in
docker exec egpt cat .egpt/secrets/vnc.password. -
Edit the config as in Install step 3, then do A or B (and C) below. Inside the container, the commands are:
Raw Docker edit ~/.egpt/config/config.yamldocker exec egpt cat .egpt/config/config.yaml > config.yaml, edit it, thendocker exec -i egpt sh -c 'cat > .egpt/config/config.yaml' < config.yamlnode setup/telegram-token.mjs maindocker exec -it -w /home/egpt/src/egpt egpt node setup/telegram-token.mjs mainBeeper Desktop on the laptop Beeper on the noVNC screen of step 3 node egpt-daemon.mjsalready running; after a config change, docker restart egpt
- Node.js 22 or newer. Check with
node --version. - Git, to download eGPT.
- Claude Code, installed and signed in on this laptop, so that
claudeworks in a terminal. eGPT uses your Claude login. You don't need an API key. Install and sign in: https://code.claude.com/docs/en/setup - Only for A: a phone with WhatsApp, and Beeper Desktop installed on the laptop. Only for B: a Telegram account.
-
In your clone (the
egptfolder), run:npm install
-
Create your settings file from the template.
macOS:
mkdir -p ~/.egpt/config cp config/skeletons/config.yaml ~/.egpt/config/config.yaml
Windows (PowerShell):
mkdir "$env:USERPROFILE\.egpt\config" -Force copy config\skeletons\config.yaml "$env:USERPROFILE\.egpt\config\config.yaml"
-
Open that
config.yamlin a text editor and change these lines:-
node_name:a short name for this laptop, e.g.studio. -
user_name:your name. -
Under
agents:, delete the wholeken:andwren:blocks. Keep onlyegpt:. (wrenhas full access to your computer. A first setup doesn't need it.) -
Under
agents:βegpt:, add these lines. Line them up withhandles::conversation_defaults: access_level: regular sandboxed: false
Without these lines eGPT tries to use a Windows sandbox that this quickstart doesn't set up, and it can't answer on a Mac. (To use the sandbox, see
setup/SANDBOX.md.)
-
eGPT answers from your own WhatsApp number, so your contacts see its replies as coming from you.
- Open Beeper Desktop, sign in, and add your WhatsApp account. Beeper shows a QR code: scan it from WhatsApp on your phone (Settings β Linked devices β Link a device).
- In Beeper Desktop go to Settings β Developer β Desktop API and copy the token.
- In
config.yaml, underlimbs:βbeeper:βmain:, paste the token in place ofPASTE_YOUR_TOKEN_HERE, and put your Beeper login email afteraccount:. - Keep Beeper Desktop open while eGPT runs.
-
In Telegram, open @BotFather, send
/newbot, and follow the steps. It gives you a bot token. -
Save the token. In the
egptfolder, run the command below and paste the token when it asks (you won't see it as you paste):node setup/telegram-token.mjs main
Windows: you can also double-click
setup\telegram-token.cmd. The token is saved to~/.egpt/secrets/telegram-main.token, not toconfig.yaml. -
In
config.yaml, underlimbs:, remove the#from these three lines and put your bot's username afteraccount::telegram: main: account: "my_egpt_bot"
-
Tell eGPT who it may answer. Under
networks:, change thetelegram:line to:telegram: { admin_chat_ids: [], allowed_users: ["YOUR_TELEGRAM_NUMERIC_ID"] }
To find your numeric id, send any message to @userinfobot in Telegram.
-
If you're not using A: put a
#at the start of thebeeper:line and of each line under it (main:,account:,token:). eGPT then runs on Telegram only.
Give the node two chats of its own, so you see what it does without reading its terminal:
- eGPT Admin: where you type its commands (
/e status,/e upgrade, ...), and where it sends the notices that need you, such as the control link of/e browser. - eGPT Logs: one line per command (
/upgrade in <chat> by <you> β ok), and the lifecycle lines:β» restarting,β egpt back up! β /upgrade: pulled 3 commits, npm install ok,β egpt started; also the compaction notices and a public being's errors, so eGPT Admin stays clean. With no Logs chat set, those two go to eGPT Admin.
On Telegram, one group with topics holds both:
-
Create a group, and in its settings turn Topics on. Add your bot and make it an admin: only then does it see every message, and post in the topics.
-
Create two topics,
eGPT AdminandeGPT Logs. -
Get each topic's id. Write a message in the topic, then right-click it (long-press on a phone) β Copy Message Link. From
https://t.me/c/1000000000104/185/190, the topic istg:-1000000000104/185:-100and the number after/c/, then the topic's number. -
In
config.yaml, at the top level (the skeleton has both lines, commented out):log_to_group: "tg:-1000000000104/185" # eGPT Logs admin_channel: "tg:-1000000000104/124" # eGPT Admin
and put the eGPT Admin topic in
networks:βtelegram:βadmin_chat_ids, so commands typed there are accepted.
On WhatsApp (A), make two groups instead, and give their names: log_to_group: "eGPT Logs",
admin_channel: "eGPT Admin".
In the egpt folder, run:
node egpt-daemon.mjsLeave this window open. eGPT runs as long as it's open. To stop eGPT, press Ctrl+C in this window.
-
Look at the messages in the terminal window:
- A: a line containing
beeper: subscribed to all chats. If you seeNO TOKEN, check the token in step A3. - B: a line like
[telegram] 'main' is @my_egpt_bot. If you seerejected the token, run step B2 again.
- A: a line containing
-
Send a message that starts with
@e, for example@e hello:- A: send it in WhatsApp, for example in the chat with yourself.
- B: send it in a private chat with your bot.
eGPT answers in the same chat.
-
Send
/e status. eGPT replies with a short health report. -
Optional, on macOS: run
node setup/verify-install.mjsin a second terminal.Exit 0means all good. On Windows this check also looks for background services that this quickstart doesn't install, so it reports them as missing. That's expected here.
eGPT runs as a background service against a profile directory (EGPT_HOME,
default ~/.egpt).
-
Run Beeper Desktop and get its API token: Beeper Desktop β Settings β Developer β Desktop API. This is the one credential eGPT needs (it talks to
127.0.0.1:23373), and it is genuinely the only one: one token, one account, one node, running in your ordinary logged-in desktop session. That is the baseline and it is meant to stay that way β locked bytests/single-account-node.test.mjs, which boots a node from exactly this and asserts none of the optional machinery below is reached.Nodes MAY share one Beeper account (list the co-account nodes in
peer_nodes) or hold one each. Neither is required to start.Everything past this point is OPTIONAL EXPANSION, and none of it is needed to run eGPT. A node can additionally hold a SECOND Beeper account, and can run its Beeper Desktop as a Windows SESSION 0 service so the agents answer with nobody logged in β see the session-zero handoff (kept in the node profile). That buys an unattended node and a reply that arrives from a visibly different person. It also costs a second install, a second login, and a service to supervise. Skip it. Add it the day you want what it buys.
-
Create the profile config. Copy the shipped skeleton to your profile and fill it in:
mkdir -p ~/.egpt/config cp config/skeletons/config.yaml ~/.egpt/config/config.yaml
Then edit
~/.egpt/config/config.yaml: paste yourbeeper_token, setuser_name, add each surface'sadmin_chat_ids, and put your ids in the top-levelconversation_defaults.allowed_users(empty = no listed owner; your own account-owner messages are always authorized): beings answer only those owners by default. Every key is documented inline and registered inconfig/config-schema.mjs. Theagents:block is required β the shipped default makesegptthe persona (the warm Claude Code CLI, using yourclaudelogin; no API key for the core flow). Skeletons seed the rest of the profile (agent types, identities, heartbeats, room template) copy-if-missing on first boot. -
Install the runners. On Windows, register the Session 1 logon task
egpt-daemon:powershell -ExecutionPolicy Bypass -File setup\register-session1-daemon-task.ps1, and, at the console, the Session 0 service of the same name:setup\install-nssm-service.cmd(it asks your password, checked and never stored). The service runs the node while nobody is logged on; the task takes it over at logon, with the browsers.setup\start-egpt.cmdstarts both,setup\stop-egpt.cmdstops both. macOS/Linux: runnode egpt-daemon.mjsfrom the checkout under your own supervisor (the container indocker/does this from its entrypoint). The daemon keeps the node running and respawns it on the lifecycle exit codes below. -
Verify the install:
node setup/verify-install.mjs
Read-only. Checks the live node β the Session 1 task and the
egpt-daemonservice (Automatic, as you, AppExit 0 = Exit, yours to stop and start), or off Windows a live daemon (state/daemon-*.pidwith a fresh beat), profile shape, liveness (state/spine.pid+state/alive.txt),claudeon PATH. Exit 0 = all good.
You drive eGPT from your Self-DM on any authorized surface (or as an
authorized sender). Slash commands typed there are intercepted by the node, not
answered by the persona. A command names a being β /<handle> <command>, e.g.
/e restart β and only that being's node runs it; a bare /restart in a chat is
ordinary text (the editor shell console still takes it):
/<handle> status compact node health (git sha, pid, uptime, liveness,
heartbeats, conversation + this chat's mode)
/<handle> agents[=<slug>] <handle>|all
manage ANY resident being (the persona, or a sibling
like wren) on any conversation. Bare: live status
(fenced yaml β engine/model/effort/allowed_tools,
resolved fresh from config, never a stale snapshot).
`all` applies to every resident being on the entry.
omit `=<slug>` for this chat; from Self-DM name the
target (slug/name fragment or @jid)
/<handle> agents[=<slug>] refresh <handle>|all
SMALLEST: keep the running thread and re-feed it.
<chat>/directives/ is re-copied from the current
template immediately; the identity goes back into
the LIVE thread on its next turn. Nothing moved, no
new thread, the model keeps its context
/<handle> agents[=<slug>] rethread <handle>|all
MIDDLE: clear ONLY this being's threadId (mode,
access_level, and every other field survive
untouched) and roll transcript.md into
transcripts/<retiring-thread>.md. The conversation
FOLDER is never archived or moved. Identity
reseeding happens on the being's next message, not
as part of this command. Was `restart` until
2026-09-10 β that word is /restart, the NODE's
lifecycle, and is refused here
/<handle> agents[=<slug>] reset <handle>|all
BIG: archive this being's whole conversation folder
aside (transcript.md, media/, files/, directives/ β
everything), wipe ITS registry block (mode,
threadId, all of it β a sibling's own state
survives untouched) EXCEPT access_level and
allowed_users, which are durable operator grants and
survive the reset, reseed a pristine tree at the
same path
/<handle> agents[=<slug>] auto <mode> <handle>|all
set a chat's reply mode. modes: on Β· mute (log only,
never a turn) Β·
mention-direct Β· mention Β· accum (mention + the turn
is prompted with what was said since the being's
last turn) Β· off
/<handle> agents[=<slug>] access_level <regular|all|sandbox> <handle>|all
point a being at a confinement tier: regular (the
node's confined default), all (unconfined), or
sandbox (all's capability, only inside the OS box)
/<handle> restart bounce the node (daemon respawns the current checkout)
/<handle> upgrade [full] git pull + npm install + rebuild, then respawn; full: the daemon too
/<handle> rewind <ref> check out <ref>, reinstall, respawn
Restarts also work headlessly via the ingest box: drop a file whose content
is the comm
6470
and line into ~/.egpt/state/ingest/ (write temp, then rename for
atomicity) β the spine consumes it once. Hot-reload the whole config by deleting
any of ~/.egpt/{config,conversations,heartbeats}.readonly.yaml.
Per-chat behavior, warm-session TTLs, flood/compaction guards, transcription,
and heartbeats live in ONE namespace resolved over THREE rungs β nearest the room
wins: config/config.yaml < config/conversations.yaml (the entry) <
the entity's own conversations/<slug>/config.yaml or rooms/<name>/config.yaml.
The spine dumps what it resolved, and the file each value came from, to those
three *.readonly.yaml aggregates at the profile root. See MANUAL.md for the full operator
reference (each node's runbook lives in its private node repo, checked out at ~/.egpt/node/, never here),
and TESTING.md for the manual verification tiers.
- Node β₯ 22, npm
- Beeper Desktop (the transport)
claudeCLI on PATH (the default persona engine β your Claude login)- optional: a whisper build for voice-note transcription; Chrome with
--remote-debugging-portfor the browser/CDP limbs
eGPT is released under the MIT License β use it, fork it, ship it, keep the
notice. No warranty, no liability: it drives a browser, chat accounts, and
your machine; run it at your own risk. See LICENSE.