Give an agent a real phone number. SMS first, voice second. No handset required.
A small CLI (plus optional MCP) that owns a PSTN number from the terminal. Default backend is Twilio. Telnyx is a cheaper second path. A USB-modem stub is reserved so a dongle can land later without changing commands.
This is not iPhone Mirroring, not a Telegram ops bot, and not the HavenID web hub. It is the agent handset.
cell status
cell doctor --offline
cell send +15551234567 "hello" --dry-run
cell send +15551234567 "hello" --yes
cell inbox --limit 20
cell inbox --local
cell watch --once
cell call +15551234567 --say "This is Grok." --yes
git clone https://github.com/Pitchfork-and-Torch/cell.git
cd cell
py -3 -m pip install -e .
cell --helpWindows shim (cell on PATH) plus optional Grok MCP stanza:
powershell -ExecutionPolicy Bypass -File .\scripts\install.ps1Run without install:
py -3 .\scripts\cell.py --help- Create or reuse a Twilio account. Trial can own a number and SMS verified destinations only.
- Copy Account SID + Auth Token. Never commit them.
- Init secrets:
cell init --provider twilio --from-number +1YOURNUMBER
# or import an existing .env that already has TWILIO_ACCOUNT_SID / TWILIO_AUTH_TOKEN
cell init --import-env PATH\to\.env
cell doctor| Variable | Role |
|---|---|
TWILIO_ACCOUNT_SID |
Twilio account |
TWILIO_AUTH_TOKEN |
Twilio auth token |
CELL_FROM / TWILIO_PHONE_NUMBER |
Default From |
CELL_PROVIDER |
twilio (default), telnyx, modem |
TELNYX_API_KEY |
Telnyx bearer key (outbound API) |
TELNYX_PUBLIC_KEY |
Telnyx webhook Ed25519 public key (base64). Not the API key. |
CELL_HOME |
Override ~/.grok/cell |
CELL_ENV_FILE |
Extra .env path |
CELL_AUTO_CONFIRM |
1 skips --yes (dangerous) |
CELL_PUBLIC_URL |
Public origin used for Twilio signature checks |
Files (not in git):
~/.grok/cell/config.toml- non-secret~/.grok/cell/secrets.toml- restricted~/.grok/cell/state.sqlite- inbox cache + daily caps
| Command | Purpose |
|---|---|
cell doctor |
Credentials and API reachability |
cell doctor --offline |
Same checks, no carrier HTTP |
cell status |
Number, balance, trial flag |
cell numbers |
Owned numbers |
cell numbers search --area 512 |
Find purchasable US locals |
cell numbers buy +1... --dry-run |
Preview a lease (no purchase) |
cell numbers buy +1... --yes |
Lease a number |
cell send +1... "text" --dry-run |
Validate SMS, no send |
cell send +1... "text" --yes |
Outbound SMS |
cell inbox [--with +1...] |
Recent messages |
cell inbox --local |
Sqlite cache only (no carrier) |
cell thread +1... |
One conversation |
cell watch --once |
Single poll, then exit |
cell watch |
Poll tail (long-running) |
cell webhook |
Local inbound HTTP server (long-running) |
cell tunnel |
Print cloudflared/ngrok helper |
cell numbers webhook https://.../sms --yes |
Pin inbound URL |
cell call +1... --say "..." --dry-run |
Validate call, no dial |
cell call +1... --say "..." --yes |
Outbound voice |
Telnyx inbound JSON is stored only when TELNYX_PUBLIC_KEY verifies telnyx-signature-ed25519 over timestamp|body and the timestamp is within 5 minutes. The bearer API key is not that public key. A replay of an old signed body is rejected.
Buy, send, call, and numbers webhook are gated. Pass --yes only for the action you meant. --dry-run never calls the carrier. --json works before or after the subcommand.
From the repo root (no carrier, no live number):
$env:PYTHONPATH = "$PWD\src"
py -3 -m unittest discover -s tests -v| Tool | Role |
|---|---|
| HavenID | Self-hosted screening-number web hub |
| phone-harness | Drive a real iPhone through macOS iPhone Mirroring |
| grok-orbit | Desktop command center for Grok CLI and Bot |
MIT. See LICENSE. Issues on this repo only.