# Give Grokbot a number it can actually call from

- **URL:** https://agentline.cloud/build/grokbot
- **Runtime:** Grokbot
- **Keywords:** Grokbot phone number, Grok Bot voice calling, phone number for AI agents, Grokbot SMS, AI telephony

Grokbot already runs on a cloud computer. AgentLine gives it a real US or Canadian number so it can place calls, answer inbound voice, and read SMS without you wiring Twilio.

## One skill file

Install the AgentLine skill on Grokbot, set AGENTLINE_API_KEY, and ask it to provision a number. The same skill works in Cursor-connected Grokbot sessions.

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

## Why Grokbot needs its own number

### A number the bot owns

Grokbot gets its own E.164 identity. It never borrows your cell or a shared trunk when it needs to call someone.

### Calls from the cloud computer

Grokbot already has a desktop, a terminal, and apps. AgentLine is the phone line for that machine.

### Same skill as every other runtime

skill.md installs the same way as Claude Code and Cursor. No Grokbot-specific SIP config.

## Python

```python
from agentline import AgentLine

client = AgentLine(api_key="al_live_...")

agent = client.agents.create(
    name="Voice Agent",
    system_prompt="You are a helpful voice agent. Keep spoken turns under 15 words.",
    initial_greeting="Hey, this is your agent. How can I help?",
    voice_id="female-1",
)

number = client.numbers.buy(agent_id=agent.id, country="US", area_code="415")
call = client.calls.create(agent_id=agent.id, to="+14155557890")
print("Number:", number)
print("Call:", call)
```

## Node.js

```ts
import AgentLine from "agentline";

const client = new AgentLine({ apiKey: "al_live_..." });

const agent = await client.agents.create({
  name: "Voice Agent",
  systemPrompt: "You are a helpful voice agent. Keep spoken turns under 15 words.",
  initialGreeting: "Hey, this is your agent. How can I help?",
  voiceId: "female-1",
});

const number = await client.numbers.buy({
  agentId: agent.id,
  country: "US",
  areaCode: "415",
});
const call = await client.calls.create({
  agentId: agent.id,
  to: "+14155557890",
});
console.log("Number:", number);
console.log("Call:", call);
```

## FAQ

**Does AgentLine work with Grokbot?**

Yes. Install https://agentline.cloud/skill.md, set AGENTLINE_API_KEY, create an agent, and buy a number. Grokbot can then place and receive calls.

**Do I need to configure Twilio?**

No. AgentLine handles number provisioning, transcription, and voice. Grokbot only reads and writes text.

**Can Grokbot receive SMS too?**

Inbound SMS lands as sms.received on the same number. Outbound SMS is not enabled.
