# Voice for Muse Code and Muse Spark agents

- **URL:** https://agentline.cloud/build/meta-muse
- **Runtime:** Meta Muse
- **Keywords:** Muse Code phone number, Meta Muse voice agent, Muse Spark phone, phone number for AI agents, AI telephony

Muse Code already plans, writes, and validates across a repo. AgentLine adds a real phone number so a Muse agent can call, answer, and read inbound SMS.

## One skill file

Drop the AgentLine skill into Muse Code. Set AGENTLINE_API_KEY, then ask Muse to create an agent and buy a number.

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

## Why Meta Muse needs its own number

### Works next to Muse subagents

Muse already fans out background agents. AgentLine is one more tool those agents can call: numbers, transcripts, live turns.

### No audio pipeline in Muse

Muse Spark never sees PCM. It sees transcripts and writes the next spoken sentence.

### A number the agent owns

Each Muse session can attach its own E.164 identity instead of borrowing a shared call-center trunk.

## 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 Muse Code?**

Yes. Install https://agentline.cloud/skill.md, set AGENTLINE_API_KEY, create an agent, and buy a number.

**Does this cover Muse Spark too?**

Yes. Muse Code is the harness; Muse Spark is the model. The AgentLine skill sits on the harness and works with either.

**Do I need Twilio or SIP?**

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