Agents

Claude Code + AgentLine

Claude Code

Voice for your Claude Code agent

Claude Code already runs terminal tools. Add AgentLine and it can provision a number, place a call, and read the transcript without you wiring WebSockets.

Get an API key

One skill file

Point Claude Code at https://agentline.cloud/skill.md or connect the MCP server. After AGENTLINE_API_KEY is set, 'call this number' is a normal tool use.

text
Get yourself a phone number and call me. Follow https://agentline.cloud/skill.md

Why Claude Code needs its own number

MCP or skill, your choice

Use the skill file for Claude Code, or https://api.agentline.cloud/mcp with a bearer header. Same API underneath.

Calls from the repo you are already in

Claude Code can create the agent, buy a number, and dial as part of the same session that writes your app.

Templates included

Open any template on this site and paste the prompt. Claude Code will apply it to a new AgentLine agent.

Prompt

Paste this to your Claude Code agent. It tells the agent how to use its number.

text
Get yourself a phone number and call me. Follow https://agentline.cloud/skill.md

Set up Claude Code

How the skill and the service land on this runtime.

1. Add the MCP server

Registers AgentLine as a Claude Code MCP server, so numbers, calls, and transcripts become normal tool uses.

bash
claude mcp add agentline -- npx -y mcp-remote@latest https://api.agentline.cloud/mcp --header "Authorization: Bearer $AGENTLINE_API_KEY"

2. Install the relay service

Keeps live call turns in-session. Run on the machine where the Claude Code CLI is installed and authenticated. Replace agt_xxx with your agent ID.

bash
python -c "import urllib.request; urllib.request.urlretrieve('https://api.agentline.cloud/static/agentline_relay.py','agentline_relay.py')"
python agentline_relay.py install --agent-id agt_xxx --runtime claude-code

FAQ

Does AgentLine work with Claude Code?

What does the MCP server expose?

Can I use the SDK alongside MCP?

Clone a template next