Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

deltachat-claude-code

Latest version: v0.1.29

Overview

Last scanned
27 Nov 2026
Published
27 Nov 2026
PyPI package Publisher: emorys
3 Stars
1 Forks
4 Versions
479 Downloads
Python Repo language

Scan summary

deltachat-claude-code was last scanned on 27 Nov 2026 at version 0.1.29. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 4 versions, all published within 2 days (26 and 27 Nov 2026).
  • Findings: No rules fired in version 0.1.29.
  • Downloads: 479 downloads.

Versions

4 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.1.29 LATEST 27 Nov 2026 No rules fired
0.1.28 26 Nov 2026 No rules fired
0.1.27 26 Nov 2026 No rules fired
0.1.26 26 Nov 2026 Not shown

No rules fired in 0.1.29

Findings

Findings for v0.1.29. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 0.1.29; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

deltachat-claude-code

PyPI Python License: MIT

Access self-hosted Claude Code from your phone — full CLI sessions over encrypted chat, no signup needed.

Host a bot that proxies full Claude Code CLI sessions to any device via lightweight encrypted chat. This is not an API wrapper or a chatbot skin, it's the whole claude binary over a chat transport. Everything you get in a terminal session is bridged into an easy chat interface: file editing, bash, git, multi-step tool chains, code review, subagents, CLAUDE.md context, and the full slash-command surface.

Delta Chat is the messenger of choice here: a decentralized, encrypted chat system with no signup and that requires no phone number, email or login: install it, add the bot as a contact, and start prompting. See why this is the best way to interact with Claude Code.

Contents

  • Why
  • Screenshots
  • Architecture
  • System requirements
  • How to setup
  • Using Claude Code through the chat
  • Security
  • To note
  • Known limitations

Why

  • Why Delta Chat? Your prompts aren't stored anywhere but your machine. Delta Chat is decentralized, encrypted email under the hood, so no third-party platform ever sees your conversation. It also requires no account, no phone number, no signup: it's the lowest-friction path between "I have a server" and "I'm talking to it from any device."

  • Cumulative chat transcripts. Claude Code session contexts are ephemeral: they live in a terminal that scrolls away. A project conversation turns every project into an infinitely scrollable, searchable chat thread, no matter how many sessions you created or /clear commands you used. The Delta Chat thread is a really useful project diary.

  • Reply-to context. When you reply to a specific message in the chat, the quoted text is forwarded to Claude as context. Instead of re-explaining what you're referring to, just swipe-reply on the message and add your follow-up. This is something a terminal can't do — you can't "reply to" a specific line of output.

  • Project-based chats. Use /commission <name> <directory> to create a dedicated group chat for a project in a given folder. Each commissioned chat gets its own session and identicon avatar (random pattern, color shared by chats in the same folder; /avatar regenerates it), and can carry its own system prompt and model on top of the folder's CLAUDE.md and settings.

  • Vibe code with friends. The bot is a Delta Chat contact like any other, and a commissioned group chat is just a group chat. Add your other contacts to a chat with the agent and work on a project together (see Sharing chats with guests).

  • Session portability. A session started from your phone can be resumed from a terminal (claude --resume <session-id>), and vice versa. You're not locked into the chat interface; it's just another way in.

  • Voice memos. With optional faster-whisper integration, send voice memos and they'll be transcribed before reaching Claude. The bot echoes the transcription back so you can verify what Claude received.

  • Send and receive files via chat. Send images for Claude to analyze; ask Claude to send you a file (a screenshot it took, a PDF it built) and it does, or fetch one yourself with /send <path>. Attachments you send it are saved to .agentbot-inbox/ in the session's working directory.

  • Annotate responses for precision review. Reply to any message with /annotate and that message opens inside a small, secure in-chat artifact you can comment on: tap words to select a phrase, comment on it, and send your notes back to the agent. The agent can then respond with a revised version within this in-chat app.

  • Teach it your project's routines. After Claude works something out by hand (a database query, a citation workflow), send /learn and it saves a skill for that directory: the fixed steps as a script, the judgment calls and gotchas as instructions. Corrections Claude saved to memory along the way move into the skill, so each lesson lives in one place. Claude decides whether anything is worth keeping, writes the skill to .claude/skills/ (committed, if the directory is a git repo) and tells you what it saved; later sessions there pick it up when a similar request comes in.

  • Auto-continue after rate limits. Toggle /continue-after-reset and the bot will detect when Claude hits a session limit, parse the reset time from the message, and automatically resume the conversation one minute after the limit lifts — no need to watch the clock or come back to re-prompt.

Screenshots

Tool output in a project chat Transcription echo before Claude responds Multi-turn conversation with file analysis Committing and pushing from chat

Architecture

bot.py          event loop: DC message in → slash command or session.send_user()
session.py      Session wraps `claude -p --stream-json` subprocess; SessionManager
                caps concurrent processes, idle-reaps after timeout
render.py       stream-json events → coalesced DC messages + emoji reactions (⏳/✅/❌)
commands.py     slash router: /new, /clear, /exit, /resume, /model, /mode, /commission, etc.
store.py        SQLite: chat↔session bindings, per-turn usage tracking
avatar.py       random identicon avatars for commissioned project chats
transcribe.py   optional faster-whisper voice memo transcription
tts.py          optional piper text-to-speech for /listen
annotate.py     /annotate: webxdc annotation app (annotator/) ↔ Claude turns and revisions
provision.py    one-time setup: config.toml, chatmail account, avatar, systemd unit,
                owner invite link

System requirements

Prerequisites
  • A Linux machine with Claude Code installed and authenticated (claude on your PATH)
  • Python 3.11+
  • Delta Chat on your phone (or any device)
Resource usage

The bot itself is lightweight (~20 MB RSS). The cost is in the Claude Code subprocesses it manages — each one is a full Node.js process.

Component RAM Notes
Bot process ~20 MB Always resident while the service is running
Each Claude Code session ~300 MB One per active chat; idle sessions are reaped
faster-whisper (optional) ~200 MB Loaded per transcription, then released

With the default max_live_sessions = 3, peak usage is roughly 1 GB (bot + 3 sessions). Idle-reaped sessions release their memory; sending a new message respawns the subprocess.

Minimum: 2 GB free RAM is comfortable for typical use (1-2 concurrent sessions). Whisper memory is transient — it loads for each voice memo and releases after. Machines with 4 GB+ total RAM should have no issues.

The bot uses negligible CPU when idle. CPU spikes briefly when Claude Code processes a turn, but the actual inference happens on Anthropic's servers — your machine just runs the tool calls (bash, file I/O, git).

How to setup

Install
pip install deltachat-claude-code

# Optional: voice memo transcription
pip install deltachat-claude-code[voice]

Or install from source:

git clone https://github.com/maphouse/deltachat-claude-code
cd deltachat-claude-code
pip install .            # or: pip install .[voice]
Provision

Install and log in to Claude Code first (run claude once) as the user the bot will run as. Then, in an empty directory for your bot instance:

mkdir my-bot && cd my-bot
deltachat-claude-code-provision

This writes config.toml (sessions start in your home directory), creates the bot's chatmail account, installs the systemd unit, and prints an owner invite link. Open the link in Delta Chat (tap it on your phone, or paste it into New Chat) and start the bot. The first person to join through the link becomes the owner. The bot greets them, and from then on ignores everyone else unless an owner shares a chat. Treat the link like a password until you've claimed it. Re-running provisioning prints it again.

If the user has no sudo, provisioning leaves agentbot.service in the directory for an admin to copy into /etc/systemd/system/.

To change where sessions run, or which models and limits are used, edit config.toml (every option is commented) and restart the bot. More owners can be added by key fingerprint under admin_fingerprints. When the bot ignores someone, it logs their fingerprint.

Running as a service
# Foreground (for testing)
deltachat-claude-code

# As a systemd service (provisioning installs this), internally called agentbot
sudo systemctl enable --now agentbot.service
journalctl -u agentbot -f   # watch logs

Using Claude Code through the chat

Any /command not listed below is forwarded to Claude Code as-is — so /code-review, /security-review, /init, /compact, and all other Claude Code slash commands work.

Commissioning chats

Use /commission <name> [dir] to create a dedicated group chat for a project. Each commissioned chat gets its own session, working directory, and randomly generated identicon avatar. Commissioned chats start out shared with all chat members (see below), and everyone in the chat you ran /commission from is added to the new group.

Several chats can point at the same directory, so a chat can also carry its own frame:

/commission app-bugs ~/my-app --model claude-opus-5-5 --system-prompt 'Triage playtester bug reports. Reproduce before fixing. Don't refactor.'
  • Chat prompt (--system-prompt) is appended to Claude Code's system prompt, on top of the directory's CLAUDE.md, and shown in the chat description. It survives /clear and /new. Change it later with /prompt. Quote it with straight or curly quotes; apostrophes inside are fine.
  • Model (--model) overrides the directory's .claude/settings*.json for this chat only; Change it later with /model.

Every session also gets a basic preamble, an agentbot-wide system prompt telling Claude it's talking over Delta Chat (concise replies, where attachments land). It's the preamble key in config.toml; the chat's name, sharing status and chat prompt are added after it, along with a fixed line telling Claude how to send files: a line of its reply that is just <send>path</send> is replaced by that file. A second fixed line tells Claude to fold corrections about a task into that task's skill (see /learn) rather than into memory. /prompt with no arguments combines all layers, displaying the bot's entire prompt.

Sharing chats with guests

Owners are the profile that claimed the bot through its invite link, plus any profiles whose key fingerprints are in admin_fingerprints. They can use the bot in any chat. Anyone else is a guest, and the bot only answers a guest in a chat an owner has shared:

Command What it does
/share Let everyone in this chat use the bot (owner-only)
/unshare Back to owners only (owner-only)
  • Commissioned chats are shared automatically.
  • A shared chat only works for guests while at least one owner is still a member. If every owner leaves, the bot stops answering guests there.
  • Guests can't share chats themselves, so adding the bot to a group without an owner gets them nothing. Adding an owner to their own group doesn't work either — an owner has to run /share there.
  • Guests can use /stop, /clear, /model, /effort, /verbose, /usage, /help, /listen and /annotate. Every other bot command is owner-only. Claude Code's own slash commands (e.g. /compact) pass through as usual.
  • /annotate notes arrive as webxdc updates, which don't carry a sender, so the bot only accepts them in chats where every member could use the bot anyway: all members are owners, or the chat is shared and still has an owner in it.
  • The bot ignores anyone it won't serve without replying, so it doesn't spam group chats that haven't been shared.
Session control inside a chat

These commands control the Claude Code session from inside a persistent chat.

Command What it does
/new [dir] Fresh session, optionally in a different directory
/clear Restart session in the same directory
/exit End session — prints a claude --resume command for terminal pickup
/resume <id> Resume a previous session by ID
/sessions List bound chats and recent sessions on disk
/stop Interrupt a running turn
Settings
Command What it does
/model [name\|default] Show or set this chat's model (sonnet, opus, haiku, fable, or full ID); default defers to the directory's settings
/prompt ['text'\|clear] Show or set this chat's system prompt (alias /system-prompt), applied from the next /clear or /new (owner-only)
/mode [name] Show, set, or cycle permission mode
/cwd [path] Show or change working directory
/effort [level] Show or set effort (low, medium, high, xhigh, max)
/verbose [on\|off] Toggle tool and thinking visibility in chat
/maxsessions [n] Show or set max concurrent Claude subprocesses
/continue-after-reset Toggle auto-continue after rate limit resets
Info

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • pypi-releases deltachat-claude-code

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Plug and Pray: Your AI Agents Are Taking Orders From Strangers
Research

Plug and Pray: Your AI Agents Are Taking Orders From Strangers

Critical Apache HTTP Server Flaw Exposes Web Servers to RCE (1)
CVE

CVE-2026-119618: Critical Apache HTTP Server Flaw Exposes Web Servers to Remote Code Execution

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Vulnerability Insights

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?

Frame 2085668439 (1)
Group 1261154229