aisms : ai for dumbphones
AISMS is an AI-powered SMS system that brings llms to dumbphones.
For a few months in 2024, I switched to using a dumbphone to escape doomscrolling and to generally unplug. However, I missed quick access to info and also the phone I was using didn’t have navigation capabilities.
AISMS is a simple python application that uses a twilio phone number to receive SMS messages and uses openai + google maps api to generate responses to make dumbphone life a bit easier.
How it works
- You text the Twilio number from any phone
- FastAPI webhook receives the SMS
- LangChain + OpenAI processes the message — if it’s a location query, it hits the Google Maps API
- Conversation history is persisted via Tortoise ORM
- Response is sent back as an SMS
Stack
- FastAPI + Uvicorn — async webhook server
- Twilio — SMS send/receive
- LangChain + OpenAI — message understanding and response generation
- Google Maps — directions and location lookups
- Tortoise ORM — async database for conversation history