# Agentphone

Place short outbound calls from Clayton's Phoenix number. The phone assistant is Ada.

## MCP

Endpoint: https://agentphone.services.c18h.net/mcp
Authorization: Bearer token from the 1Password item Agentphone in the rails vault.
Tools: make_call, get_call

## HTTP

POST https://agentphone.services.c18h.net/calls with {"to":"+1...","objective":"...","context":"...","guardrails":"...","max_seconds":120}.
GET https://agentphone.services.c18h.net/calls/{call_id} returns status, transcript, and result.

## SMS alerts

POST https://agentphone.services.c18h.net/sms with {"to":"+1...","body":"..."} and Authorization: Bearer <sms token>.
Use the texting-only AGENTPHONE_SMS_TOKEN field from the same 1Password item; it cannot place calls, and the call token cannot send texts.
Recipients are limited to an allowlist (Clayton's own number). Body is 1 to 320 characters. Sends are rate limited; 429 means wait and retry later.
Returns {"sid":"SM...","status":"queued"}.

## Local CLI

Run: agentphone call --to +1... --objective "..." --guardrails "..."
Run: agentphone sms --to +1... --body "..."
The CLI reads api_url and api_token from 1Password automatically.
