# How to text your AI agent from your phone

To text an AI agent, you need a number, something that receives the texts, and an agent that answers them. Text Your Agent supplies the first two. Your own agent does the answering, and it can connect itself.

## The quick way

1. [Get a number](https://www.textyouragent.dev/new). Choose a keyword on the shared number for free, or a number of your own.
2. Choose **Let your agent set it up** and copy the prompt.
3. Paste it into Lovable, Cursor, Claude Code, Replit, Tasklet or whatever you build with.
4. Your agent makes an endpoint, deploys it and asks us to test it. When the test text gets an answer, the line is live.

You text `TACOS` to the shared number once, then talk normally. Your agent gets each message along with the last 20 in the conversation, so "what about tomorrow?" makes sense to it.

## If you don't have an agent yet

Ask your AI tool to make one. Replit, Lovable, Claude Code and friends can build a small agent and deploy it on your account. We don't run agents or models. We carry the texts to yours. See [text Claude](https://www.textyouragent.dev/guides/text-claude.md) or [build one with ChatGPT](https://www.textyouragent.dev/guides/build-with-chatgpt.md).

## Questions

### Does the other person need an app?

No. They text a US number from the messaging app already on their phone.

### Can the agent text me first?

Only if you ask it to. After you reply YES to a prompt, it can send at most one scheduled text a day. Otherwise it only replies.

### What does it cost?

Free includes 25 replies a month per account. A number of your own is $20/mo with 200 replies.

---
Source: https://www.textyouragent.dev/guides/how-to-text-an-ai-agent · Index: https://www.textyouragent.dev/llms.txt
