Power your agent
Cài đặt từ nhà phát hành. Không phải endpoint của PlugMCP.
Host a copy with our keys and logs.
Chưa có bản phát hành đóng gói nào trong registry. Làm theo README của kho mã.
URL từ xa hay một lệnh trên máy của bạn? Hai cách cài đặt khác nhau thế nào
Chạy trên PlugMCP
A new server you create. It is not this listing's official endpoint. Use the publisher install when you want their URL and their credentials.
MởWebsite · Docs · Changelog · Skill File · Discord
AgentLine is an open-source AI phone agent / voice agent telephony API. It gives coding agents and LLM apps a real US phone number, a voice pipeline (STT + LLM + TTS), and the ability to place outbound calls, answer inbound calls, handle SMS, and walk IVR / DTMF menus — over REST or MCP.
Use it as a self-hosted alternative to stitching Twilio Programmable Voice + Deepgram + a voice LLM yourself, or as an open-source counterpart to hosted voice-agent products (Vapi, Retell, Bland).
Your AI Agent (Claude, Cursor, OpenClaw, Hermes, Codex)
→ AgentLine REST / MCP
→ Real PSTN phone calls, SMS, transcripts
Works with Claude Code, Claude Desktop, Cursor, OpenClaw, Hermes, Codex, and any MCP or HTTP client.
graph LR
A["🤖 AI Agent"] -->|REST API / MCP| B["⚡ AgentLine API"]
B -->|Telephony hook| C["📱 SignalWire, Twilio, Plivo, Telnyx, or yours"]
B -->|Voice runtime hook| H["🎙️ Built-in, LiveKit, or Pipecat"]
H -->|Built-in only| D["🎤 STT hook"]
H -->|Built-in only| E["🔊 TTS hook"]
H -->|Built-in only| F["🧠 LLM hook"]
C -->|Voice and SMS| G["📞 PSTN"]
B -->|Events and transcripts| A
VOICE_RUNTIME picks who holds the conversation. An agent can override it with voice_runtime.
The built-in path is:
Caller audio → Deepgram STT → semantic turn-taking
→ OpenAI-compatible LLM (or live relay context) → Cartesia TTS → caller
Carriers, runtimes, and the registration API are in docs/providers.md. A copy-paste example is in examples/hooks.py.
[DTMF:1] markers into real touch-tone audio for IVR menus.git clone https://github.com/agentlineHQ/AgentLine.git
cd AgentLine
cp .env.example .env
# Fill in your API keys in .env (see Configuration below)
docker-compose up -d
This starts:
http://localhost:8000localhost:5432 (schema auto-applied)localhost:6379git clone https://github.com/agentlineHQ/AgentLine.git
cd AgentLine
python -m venv venv
source venv/bin/activate # or venv\Scripts\activate on Windows
pip install -r requirements.txt
cp .env.example .env
# Fill in your API keys
uvicorn agentline.main:app --reload
Skip self-hosting — sign up at agentline.cloud and get an API key instantly.
Copy .env.example to .env and fill in your credentials:
LiveKit's in-process audio bridge needs pip install -r requirements-livekit.txt. The default Pipecat bot needs pip install -r requirements-pipecat.txt. SIP mode for LiveKit does not need the LiveKit Python package.
Once running, visit http://localhost:8000/docs for the interactive Swagger UI.
All requests require an API key (al_live_...; legacy sk_live_... keys are still accepted):
curl -H "Authorization: Bearer al_live_YOUR_KEY" \
-H "Content-Type: application/json" \
http://localhost:8000/v1/agents
AgentLine includes a built-in MCP (Model Context Protocol) server, so AI agents like Claude Desktop and Cursor can use telephony tools natively.
Add to your Claude Desktop config:
Windows: %APPDATA%\Claude\claude_desktop_config.json
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"agentline": {
"command": "npx",
"args": [
"-y", "mcp-remote@latest",
"http://localhost:8000/mcp",
"--header", "Authorization: Bearer al_live_YOUR_KEY"
]
}
}
}
npx @modelcontextprotocol/inspector http://localhost:8000/mcp
AgentLine ships with a skill file that lets any AI agent gain telephony powers instantly:
https://agentline.cloud/skill.md
How to use:
AGENTLINE_API_KEY environment variableThe skill file is also included in this repo at skills/agentline/SKILL.md.
docker build -t agentline .
docker run -p 8000:8000 --env-file .env agentline
AgentLine runs anywhere that supports Python 3.12+ and Docker: AWS, GCP, Azure, Fly.io, Render, Railway, etc.
The database schema is in schema.sql. It creates tables for:
voice_runtimeMigrations are in the migrations/ directory.
This repository does not bill anyone. You pay the carrier, speech vendor, model host, LiveKit, or Pipecat deployment you configure.
We welcome contributions! See CONTRIBUTING.md for guidelines.
MIT — use it for anything. Commercial use welcome.
Open-source AI phone API for voice agents. Give Claude, Cursor, OpenClaw, or any LLM a real phone number — outbound/inbound calls, SMS, transcripts, MCP, DTMF/IVR. FastAPI + SignalWire + Deepgram. Sel
Tổng quan
Open-source AI phone API for voice agents. Give Claude, Cursor, OpenClaw, or any LLM a real phone number — outbound/inbound calls, SMS, transcripts, MCP, DTMF/IVR. FastAPI + SignalWire + Deepgram. Self-hostable alternative to Twilio, Vapi, and Retell.
Công cụ
Chưa có danh sách công cụ. Máy chủ từ xa sẽ có danh sách sau lần kiểm tra tình trạng đầu tiên.
Câu hỏi thường gặp
Sao chép cấu hình stdio cho Cursor, Claude Desktop, Claude Code hoặc VS Code trên trang này. Cấu hình dùng bản cài đặt của nhà phát hành, không phải proxy của PlugMCP.
Bản ghi này không liệt kê biến môi trường bắt buộc nào.
AgentLine chạy cục bộ qua stdio.
Kiểm tra lần cuối: 2026-10-27. Open-source AI phone API for voice agents. Give Claude, Cursor, OpenClaw, or any LLM a real phone number — outbound/inbound calls, SMS, transcripts, MCP, DTMF/IVR. FastAPI + SignalWire + Deepgram. Self-hostable alternative to Twilio, Vapi, and Retell.