OpenSelf turns your chat history into an AI clone that speaks exactly like you β on WhatsApp, Telegram, and Discord. Open source. Self-hosted. Bring your own API key.
OpenClaw is AI that does things for you. OpenSelf is AI that is you.
ChatGPT doesn't know your catchphrases. It doesn't know you greet your best friend with "Γͺ" and your mom with "dαΊ‘". It doesn't know you never write "Best regards" because you never have.
OpenSelf learns from YOUR real messages β your vocabulary, humor, emoji habits, abbreviations, and tone β then runs 24/7 as your digital twin.
I replaced myself on WhatsApp for a week. 156 messages. Nobody noticed. Read the story β
# Install
git clone https://github.com/Open-Self/open-self.git
cd open-self && npm install
# Feed your personality
npx openself feed --whatsapp ./my-chat-export.txt --name "You"
# Test your clone
npx openself test
# Go live
npx openself start --telegram
npx openself start --discord
npx openself start --whatsappYou export chat history β Feed into OpenSelf β Clone learns personality
β Clone runs 24/7 on messaging apps β Replies in YOUR voice
β You review next morning "what did my clone say last night"
- Export your chat history (WhatsApp, Telegram, or write a bio)
- Feed it to OpenSelf β AI learns your vocabulary, style, humor, catchphrases
- Start β Your clone runs 24/7 on your messaging apps
- Review β Check what your clone said each morning
| Feature | Description |
|---|---|
| Personality Cloning | Learns from your real messages, not generic AI |
| Human Mimicry | Random reply delays, typing indicators, occasional typos |
| Safety First | Boundaries, topic avoidance, review queue |
| SOUL.md | Your personality in a file β editable and transparent |
| Multi-channel | WhatsApp, Telegram, Discord β all ready |
| Clone Arena | Two clones debate each other on any topic |
| Ghost Mode | Clone auto-replies when you're offline |
| BYOK | Claude, GPT, DeepSeek, or Ollama (free, local) |
| 100% Local | Your data never leaves your machine |
| Clone Score | Test how accurately your clone mimics you |
| Shareable Badge | SVG badge for your README or profile |
| Profile Sharing | Export/import personality for cross-clone debates |
| RAG Memory | Clone references past conversations naturally |
| Command | Description |
|---|---|
openself setup |
Interactive setup wizard |
openself feed |
Feed chat history to train personality |
openself test |
Clone Score test or interactive chat |
openself start |
Start clone on messaging apps |
openself share --web |
"Talk to My Clone" web page |
openself review |
Review what your clone said |
openself arena |
Clone vs Clone debate |
openself ghost |
Ghost Mode β clone replies when offline |
openself profile |
Export/import personality profiles |
npx openself test
π§ͺ Clone Score: 89% (Grade: A-)
Your clone is 89% you.
Share your score and challenge your friends!
Two clones debate each other β the viral "Clone vs Clone" feature:
npx openself arena --topic "CΓ phΓͺ hay trΓ sα»―a?"Export a friend's profile and pit your clones against each other:
npx openself profile export # Bundle your profile
npx openself arena --soul2 friend.openself # Debate!Your clone replies when you're offline and stops when you're back:
npx openself ghost on # Clone takes over
npx openself ghost off # You're back
npx openself ghost # Check statusSee the full Setup Guide for detailed instructions.
git clone https://github.com/Open-Self/open-self.git
cd open-self && npm install
cp .env.example .env # Edit with your API keyFeed your personality:
npx openself feed --whatsapp ./chat-export.txt --name "Your Name"
npx openself feed --telegram ./telegram-export/result.json --name "Your Name"
npx openself feed --manual ./my-personality.mdTest & Go Live:
npx openself test # Clone Score test
npx openself test --interactive # Chat with your clone
npx openself start --whatsapp # QR code pairing
npx openself start --telegram # Telegram bot
npx openself start --discord # Discord botAdd to your GitHub README or website:
[](http://localhost:3000)- All data stays on YOUR machine
- Chat history is processed locally
- No cloud, no tracking, no telemetry
- You control every boundary via SOUL.md
- Review queue lets you approve uncertain replies
| Provider | Cost/message | Setup |
|---|---|---|
| Claude (Anthropic) | ~$0.003 | API key |
| GPT-4o-mini (OpenAI) | ~$0.0015 | API key |
| DeepSeek V3 | ~$0.0003 | API key |
| Ollama (local) | $0 | Local install |
Average user cost: $2-5/month (cheaper than a coffee β)
- Setup Guide β Get started in 5 minutes
- Personality Tuning β Fine-tune SOUL.md
- Safety Guide β Understand safety features
- SOUL.md.example β Personality template
- CHANGELOG β Release history
PRs welcome! See CONTRIBUTING.md for guidelines.
git clone https://github.com/Open-Self/open-self.git
cd open-self && npm install
npx openself feed --whatsapp ./test-data/sample-whatsapp.txt --name "Harvey"
npx openself testMIT β do whatever you want with it.
OpenSelf β AI that IS you. π§