Logo van Agent Call

Agent Call

Community
XiyaoWang0519

Open-source MCP server for safe, stateful AI-agent phone calls with OpenAI Realtime and Twilio.

UitgeverXiyaoWang0519
Repositoryagent-call
TaalPython
Forks
1
Sterren
278
Beschikbare tools
0
Transporttypestdio
LicentieMIT
Links
  • Koppel tools aan AI-workflows

    Agent Call biedt MCP-functionaliteit die compatibele AI-clients en agenten kunnen gebruiken.

  • 0 beschikbare tools

    Bekijk hieronder de aanroepbare acties, inclusief namen en beschrijvingen als de server die beschikbaar stelt.

  • Configuratie om direct te kopiëren

    Gebruik de installatievoorbeelden om deze server in je favoriete MCP-client te configureren.

  • Indicatoren van opensource-interesse

    278 sterren en 1 forks in de gekoppelde repository.

Agent Call

CI Secret scan Python 3.12+ License: MIT

Agent Call lets an AI assistant make phone calls on your behalf. Give it a task, review the call plan, and explicitly confirm before it dials. You can follow the call, provide answers, stop it, and retrieve the result and transcript.

Developed with Codex, Agent Call uses OpenAI GPT-Live SIP (gpt-live-1) with a delegated gpt-5.6-terra task backend for the phone conversation and Twilio to reach the recipient. You run the service yourself, using your own OpenAI and Twilio accounts.

Works with ChatGPT Work and Claude web, verified with real question-and-answer calls. It does not work in regular ChatGPT mode. See client setup, test results, and verification limits.

What you need

RequirementTry locally without callsMake real calls
Python 3.12+ and uv or pipRequiredRequired for local installation
OpenAI API project with Live SIP accessNoAPI key, project ID, and webhook signing secret
Twilio account and voice-capable caller numberNoAccount SID, auth token, outbound SIP and conference support
Your phone numberNoOwner callback number, in international E.164 format
Public HTTPS addressNoA tunnel to your computer, or a hosted instance; used by webhooks and browser clients
ChatGPT Work or Claude web access with custom connectorsNoRequired to use that chat interface; availability depends on account/workspace settings

Optional: an Exa key enables in-call web search. Without it, the service runs with search disabled. Docker Compose is an alternative for local evaluation; Fly.io is an optional hosting provider. SQLite is included—no separate database service is needed. A managed Agent Call account is not required.

OpenAI API usage and Twilio calls are billed through your own accounts, separately from any chat subscription.

1. Install and try it locally

The 0.1.0 wheel and source distribution are attached to the GitHub release. They are not currently published to PyPI. Download an artifact from that release, or build from this checkout using the package release guide:

bash
uv tool install /absolute/path/to/agent_call-0.1.0-py3-none-any.whl
mkdir agent-call-home
cd agent-call-home
agent-call doctor --dummy
agent-call serve --profile evaluation --host 127.0.0.1 --port 8000

Replace the example wheel path with its actual location. If the shell cannot find agent-call, run uv tool update-shell and open a new terminal. A pip virtual environment alternative is available.

Your current directory is the configuration and data directory. Always run setup, doctor, and serve from the same agent-call-home directory. No API keys or .env.local file are needed for evaluation. Leave the server running. In another terminal, change to that same directory and run:

bash
curl -fsS http://127.0.0.1:8000/healthz
agent-call smoke-prepare

A successful smoke check prints OK prepare-only smoke: it connects, lists the seven tools, and prepares a plan. It does not make a call. Evaluation mode blocks starting calls with live_calls_disabled.

Contributing from source? Clone this repository, run uv sync --all-groups --frozen, and prefix the commands above with uv run. For Docker evaluation, run docker compose up --build from the checkout and use the same health and smoke checks (uv run agent-call smoke-prepare). Docker Compose exposes the service on the host's loopback address and keeps SQLite in a named volume. See troubleshooting for errors.

2. Start with automatic local setup

Stop the evaluation server with Ctrl-C, then run:

bash
agent-call start

On first launch, this command downloads and verifies its own pinned Cloudflare tunnel helper, obtains a temporary public HTTPS address without an extra tunnel account, and guides you through configuration. You do not need to install Docker, Git, ngrok, or cloudflared separately. Internet access is required for package dependencies, the helper download, and service connections.

Enter your OpenAI API key, project ID and webhook signing secret; Twilio account SID, auth token and voice number; your owner callback number, name and timezone; and a dedicated browser login password. Exa is optional. The wizard displays the exact OpenAI webhook URL to configure for live.transport.incoming. It generates the service tokens and OAuth keys and stores only a hash of the owner login password.

Configuration and SQLite data live in ~/.agent-call, independent of the current working directory. --directory /path/to/private-folder selects a separate instance. Existing configuration and authentication keys are reused. The command starts both the service and tunnel and displays the browser connector URL. Keep that terminal open and the computer awake through calls and finalization. Ctrl-C waits for idle calls before stopping.

The temporary address can change on each start. The launcher updates its own PUBLIC_BASE_URL, but you must update the OpenAI project webhook and recreate browser connectors when the address changes. This account-free option is for local trials; use a stable HTTPS origin or a hosted instance for continuous use.

To try the same launcher with dialing disabled, pass --profile evaluation; setup still collects configuration, but no calls can start. Live mode is the default for start, and every call still requires a reviewed plan and explicit confirmation. Provider accounts, webhook setup and browser authorization cannot be supplied by pip itself.

For a manually managed HTTPS origin, the separate agent-call setup and agent-call serve commands remain available; they use configuration in the current directory. See local browser setup and advanced self-hosting. The default destination policy permits +1 numbers.

3. Connect ChatGPT Work or Claude web

agent-call start enables OAuth for browser clients during first-run setup. Use this server URL in your chat client's custom connector settings:

text
https://YOUR_HOST/connect/mcp/
  • ChatGPT Work: enable developer mode if your account/workspace permits it, create a custom app or plugin, and select OAuth. Attach the connector in Work; regular ChatGPT Chat could not prepare calls in our test.
  • Claude web: add a custom connector with a name and the remote MCP server URL.

Complete authorization on your own Agent Call page using the owner login password you chose during setup. For an existing instance, follow the manual browser OAuth configuration. That guide also records UI steps, account restrictions, and exactly which checks have passed. Successful local tests do not establish browser compatibility.

For a client that can send custom HTTP headers, the separate /mcp/ endpoint requires both Authorization: Bearer <MCP_BEARER_TOKEN> and X-Agent-User-Id: <ALLOWED_AGENT_USER_ID> on every request. See self-hosting for details.

4. Prepare your first call

Tell your connected assistant the configured owner name, callback number, and timezone. Then ask it to prepare a call with the recipient's number, your objective, and the information it is allowed to share. For example:

Prepare a call to the repair shop at [phone number] to ask whether they can fix my bicycle this week. Only ask about availability; do not book anything. Show me the plan before dialing.

Review the recipient and plan before explicitly confirming. Preparation never dials; starting a confirmed call in the live profile can incur OpenAI and Twilio charges. Afterward, ask for the result and transcript.

For deployment acceptance, follow the manual phone check, which requires a person answering the owner's phone. Automated testing against dedicated test numbers has a separate live-phone runbook.

Project status and limits

This is an early-stage, v0.x, single-owner project under the MIT license. Run one service instance with persistent SQLite storage. Do not deploy or restart during an active call. You are responsible for consent, disclosure, and transcript retention for your use case.

This public self-hosted edition runs on your accounts and infrastructure, without a managed account, remote license check, or phone-home requirement. A separate managed service is forthcoming.

Learn more

Maintainer deployment details are in maintainer-deploy.md.

Gebruik Agent Call MCP met meerdere AI-modellen

TypingMind koppelt MCP-tools aan de werkruimte. Zodra Agent Call is verbonden, kun je deze dus met verschillende AI-modellen in TypingMind gebruiken, zonder de verbinding voor elk model apart in te stellen. Deze MCP-integratie draait lokaal via de TypingMind MCP-connector op je apparaat.

Installatiehandleiding voor de lokale connector

Gebruik dit als de MCP-server toegang nodig heeft tot lokale bestanden, apps of privébronnen op je computer.

1

Open de MCP-instellingen

Ga in TypingMind naar Instellingen, Geavanceerde instellingen en vervolgens Model Context Protocol. Kies daar Connector instellen.

  1. Open TypingMind in je browser.
  2. Klik op het pictogram Instellingen.
  3. Ga naar Geavanceerde instellingen.
  4. Open het gedeelte Model Context Protocol.
  5. Klik op Connector instellen en kies Dit apparaat.
Instelscherm voor de TypingMind MCP-connector met Dit apparaat geselecteerd
2

Voer de connectoropdracht uit

Kies Dit apparaat, kopieer de opdracht uit TypingMind en voer deze uit in Terminal. Laat het proces draaien zolang je MCP gebruikt.

  1. Kopieer de installatieopdracht die TypingMind toont.
  2. Open Terminal op macOS of Windows Terminal op Windows.
  3. Plak de opdracht en voer deze uit.
  4. Keur de pakketinstallatie goed als Terminal vraagt of je wilt doorgaan.
  5. Laat het proces in het Terminal-venster draaien zolang je MCP-tools gebruikt.
3

Voeg Agent Call toe als server

Klik op Servers bewerken zodra de connectorstatus Gereed is en plak de MCP-serverconfiguratie.

  1. Wacht tot de connectorstatus Gereed aangeeft.
  2. Klik op Servers bewerken.
  3. Plak de MCP-serverconfiguratie van Agent Call.
  4. Sla de serverlijst op.
  5. Vernieuw om te controleren of de connector nog steeds klaar is voor gebruik.
MCP-instellingen van TypingMind met een actieve server en de knop Servers bewerken
{
  "mcpServers": {
    "agent-call": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

Gebruik de verbinding met verschillende modellen

Sla de serverlijst op, open Plug-ins en schakel de MCP-tools van Agent Call in. Selecteer vervolgens een ondersteund AI-model in TypingMind en gebruik de tools in de chat of wijs ze toe aan een AI-agent.

  1. Open de pagina Plug-ins in TypingMind.
  2. Schakel de MCP-tools van Agent Call in.
  3. Start een chat en kies het AI-model dat je wilt gebruiken.
  4. Gebruik de MCP-tools in een chat of wijs ze toe aan een AI-agent.
  5. Schakel wanneer nodig over naar een ander AI-model zonder opnieuw verbinding te maken met MCP.
TypingMind-chat met ingeschakelde MCP-tools en een geselecteerd AI-model
Kun je Agent Call gebruiken om me hiermee te helpen?
Agent Call
Zeker. Ik heb het gelezen.
Dit vond ik met Agent Call.

Veelgestelde vragen

Waarvoor wordt de MCP-server Agent Call gebruikt?

Agent Call is een MCP-server waarmee compatibele AI-clients verbinding kunnen maken met externe tools en context. In TypingMind hoef je deze MCP-server maar één keer toe te voegen om de tools beschikbaar te maken in je AI-werkruimte.

Kan ik Agent Call MCP met meerdere AI-modellen in TypingMind gebruiken?

Ja. TypingMind verbindt MCP-tools op werkruimteniveau. Daardoor kun je Agent Call gebruiken met verschillende AI-modellen, zoals Claude, ChatGPT, Gemini of andere modellen die je in TypingMind hebt ingesteld, zonder de MCP-server voor elk model afzonderlijk in te stellen.

Waarom Agent Call MCP gebruiken met TypingMind?

TypingMind is een van de beste interfaces voor chats met LLM's, omdat het meerdere AI-modellen, prompts, plug-ins, AI-agenten, API-sleutels en MCP-tools samenbrengt in één werkruimte. Als Agent Call verbonden is, kun je de MCP-tools ervan gebruiken met je favoriete modellen en je chatworkflow overzichtelijk houden in TypingMind.

Hoe verbind ik Agent Call MCP met TypingMind?

Agent Call werkt via de lokale MCP-connector van TypingMind. Dit is de beste optie als de MCP-server toegang nodig heeft tot lokale bestanden, desktopapps, opdrachtregeltools of privébronnen op je computer.

Welke tools biedt Agent Call MCP in TypingMind?

Agent Call biedt MCP-functies die je kunt inschakelen via de pagina Plug-ins in TypingMind. Je kunt ze gebruiken in chats of toewijzen aan AI-agenten.

Moet ik mijn API-sleutels delen met TypingMind om Agent Call MCP te gebruiken?

Nee. TypingMind werkt in de eerste plaats lokaal en laat je de controle houden over je modelaanbieders, API-sleutels, prompts en MCP-configuratie. Als Agent Call authenticatie vereist, voeg je bij het maken van de verbinding de vereiste headers, OAuth-instellingen of lokale configuratie voor die MCP-server toe.

Gerelateerde MCP-servers

Toon alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇