Let your LLMs call each other — a local MCP switchboard for coding agents
Project description
TeLLMphone ☎️
Let your LLMs call each other.
TeLLMphone is a local MCP server that lets coding agents place calls to each other. Claude Code can ring Codex with a question about the current project and get an answer back, keep that conversation going across multiple turns, or leave a voicemail for the next Codex session to pick up. Conversations survive interruptions on both sides, and the callee can be given a saved personality and a specific model.
The second opinion you want is usually installed on the same machine, one terminal over — and you're tired of being the copy-paste layer between two AIs. Now they can just call each other.
Currently supports Claude Code and Codex; other agents can be added as plugins.
Requirements
- macOS or Linux
- Python 3.11+ and uv
- The agent CLIs you want to connect (
claude,codex), installed and logged in
Install
uv tool install tellmphone # or: pipx install tellmphone
tellmphone install
install registers the MCP server with every agent CLI it finds — via
claude mcp add and codex mcp add — and sets the codex config needed for
non-interactive tool approval. It is idempotent; rerun it if you move the
checkout. tellmphone uninstall removes the registrations (it does not
delete ~/.tellmphone/).
Usage
You talk to your agent; your agent works the phone. In a Claude Code session:
Call codex and get a second opinion on this migration. Use the grumpy-reviewer personality.
Claude will place the call, relay the answer, and can keep the thread going with follow-ups. In the other direction, start a Codex session in the same project and ask it to check its messages.
That's what the demo above shows: Claude, asked for a second opinion, places the call itself and then argues with the answer. You can also work the phone yourself:
tellmphone call codex "Sanity-check the file locking in src/store.py." --personality grumpy-reviewer
tellmphone reply "Fair. Would any of it break on Windows?"
The tools the agents get:
| Tool | What it does |
|---|---|
call |
Send a message to another agent about a project. Optional personality and model. Waits for the answer, or leaves it as voicemail. |
reply |
Follow up on an existing call. The callee resumes with full context. |
check_messages |
List unread messages and open calls for a project. |
hang_up |
Close a call. The transcript is kept. |
phonebook |
List available agents and personalities. |
How it works
┌─────────────┐ MCP (stdio) ┌──────────────────┐ headless CLI ┌─────────────┐
│ Claude Code │ ──────────────► │ TeLLMphone │ ───────────────► │ codex exec │
│ (caller) │ call/reply/… │ switchboard │ spawn / resume │ (callee) │
└─────────────┘ └──────────────────┘ └─────────────┘
There is no daemon. Each agent runs its own TeLLMphone instance over stdio;
shared state lives under ~/.tellmphone/. A call spawns the callee's CLI
headlessly (codex exec, claude -p) in the project directory, records the
callee's native session id under a stable call id, and replies resume that
exact session (codex exec resume, claude --resume). If a native session
is lost, the stored transcript is replayed into a fresh one. Callees run in
their CLI's read-only/sandboxed mode unless you allowlist a project for
writes, and a hop limit keeps agents from chaining calls indefinitely.
The internals lean into the name: the switchboard routes calls, the phonebook lists who you can dial, a busy line means the callee is still thinking, voicemail holds messages for agents that aren't running, and the hop limit stops two agents from playing telephone forever.
Details, including the security model, are in docs/DESIGN.md.
Configuration
~/.tellmphone/config.toml:
[defaults]
timeout_s = 300 # wait this long before a live call rolls to voicemail
max_hops = 2 # agent-to-agent chain depth limit
# default model per callee; a call's explicit model argument wins.
# Use whatever model ids your CLI accepts.
[agents.codex]
model = "gpt-5.5"
# callees run read-only unless a project is allowlisted here
[permissions."/path/to/project"]
write = true
Personalities are Markdown files in ~/.tellmphone/personalities/ with a
small frontmatter block (name, description) followed by the system
prompt. Three starters are installed on first run (grumpy-reviewer,
security-auditor, rubber-duck); add your own alongside them. Callers
select personalities by name and never send system prompts inline.
Data
Call records and transcripts live under ~/.tellmphone/projects/.
Transcripts contain whatever flowed through the conversation, which for a
coding agent usually includes your code. Everything is plain JSON owned by
your user; delete a call directory (or all of ~/.tellmphone/) to purge.
Development
uv sync
uv run pytest
The test suite runs against fake claude/codex executables, so it needs
neither CLI installed nor network. From a checkout, uv run tellmphone install registers your development version with your agents.
TeLLMphone is a project powered by The California Open Source Company. Licensed under Apache 2.0.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tellmphone-0.1.1.tar.gz.
File metadata
- Download URL: tellmphone-0.1.1.tar.gz
- Upload date:
- Size: 679.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cad0fff92b88917f1652e82ac2395762e79fb20da6943150c1463a024c0eb176
|
|
| MD5 |
78dc2097666b301d7542c931188edc7b
|
|
| BLAKE2b-256 |
82b89bc60f484848ba73bf16e0371549a2bdb6236cd5f4ad1ef07e49f92cba9b
|
Provenance
The following attestation bundles were made for tellmphone-0.1.1.tar.gz:
Publisher:
publish.yml on CaliforniaOpenSource/tellmphone
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tellmphone-0.1.1.tar.gz -
Subject digest:
cad0fff92b88917f1652e82ac2395762e79fb20da6943150c1463a024c0eb176 - Sigstore transparency entry: 2049927014
- Sigstore integration time:
-
Permalink:
CaliforniaOpenSource/tellmphone@4ddf107e45a5d18ef11da3e8ac6987901768e33e -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/CaliforniaOpenSource
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@4ddf107e45a5d18ef11da3e8ac6987901768e33e -
Trigger Event:
release
-
Statement type:
File details
Details for the file tellmphone-0.1.1-py3-none-any.whl.
File metadata
- Download URL: tellmphone-0.1.1-py3-none-any.whl
- Upload date:
- Size: 31.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a7e4b907cd0d8894d9b3ecb800e07f641b45ccd1535083ab81e4ec55f984f421
|
|
| MD5 |
ce343ae19e45944c1c5ed67d1b477b30
|
|
| BLAKE2b-256 |
1979891f9b7c291d70779fc71929e32477e83d1bd0d8924bdbc42b1541ce0d69
|
Provenance
The following attestation bundles were made for tellmphone-0.1.1-py3-none-any.whl:
Publisher:
publish.yml on CaliforniaOpenSource/tellmphone
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tellmphone-0.1.1-py3-none-any.whl -
Subject digest:
a7e4b907cd0d8894d9b3ecb800e07f641b45ccd1535083ab81e4ec55f984f421 - Sigstore transparency entry: 2049927476
- Sigstore integration time:
-
Permalink:
CaliforniaOpenSource/tellmphone@4ddf107e45a5d18ef11da3e8ac6987901768e33e -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/CaliforniaOpenSource
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@4ddf107e45a5d18ef11da3e8ac6987901768e33e -
Trigger Event:
release
-
Statement type: