iMessage聊天机器人平台

NudgeAI是一个白标iMessage聊天机器人平台,让非技术创业者通过零代码配置和Claude AI支持,快速部署适用于房地产、客服、预约和电商等场景的智能对话机器人。

  • by advaith334
  • TypeScript
  • 本地部署
  • 更新于
在 GitHub 查看 advaith334/nudge-ai

使用说明

NudgeAI - White-Label iMessage Chatbot Platform

A turnkey iMessage chatbot solution for businesses, powered by Claude AI and built for the Alif x Replit AI Agents Tournament.

What is NudgeAI?

NudgeAI enables non-technical founders to deploy AI-powered iMessage chatbots for their businesses in minutes. Whether you're running a real estate agency, e-commerce store, or customer support operation, NudgeAI provides intelligent automation through iMessage.

Key Features

  • Zero-Code Setup: Configure via environment variables
  • White-Label: Fully customizable bot name and persona
  • Claude AI: Powered by Anthropic's latest models
  • MCP Integrations: Connect to your business tools
  • Smart Filtering: Restrict to specific contacts
  • Conversation Memory: Maintains context across chats
  • Easy Deployment: Run on any Mac in minutes

Quick Start

Prerequisites

  • macOS computer (iMessage requires macOS)
  • Node.js 18 or higher
  • Anthropic API key (get one here)

Setup

# Clone and navigate
cd backend

# Install
npm install

# Configure
cp .env.example .env
# Edit .env with your ANTHROPIC_API_KEY

# Grant Full Disk Access
# System Settings → Privacy & Security → Full Disk Access
# Add your Terminal app

# Run
npm run dev

That's it! Send an iMessage to your Mac and the bot will respond.

Use Cases

1. Real Estate Assistant

BOT_NAME=PropertyPro
BOT_DESCRIPTION=Your real estate assistant helping you find properties

Handles property inquiries, schedules viewings, provides market data.

2. Customer Support

BOT_NAME=SupportBot
BOT_DESCRIPTION=24/7 customer support for YourCompany

Answers FAQs, tracks orders, escalates complex issues.

3. Appointment Booking

BOT_NAME=BookingAssistant
BOT_DESCRIPTION=Your personal appointment scheduler

Books appointments, sends reminders, manages calendars.

4. E-commerce Assistant

BOT_NAME=ShopHelper
BOT_DESCRIPTION=Your shopping assistant for ProductStore

Product recommendations, order tracking, returns processing.

Architecture

nudge-ai/
├── backend/              # iMessage bot server
│   ├── src/
│   │   ├── index.ts              # Entry point
│   │   ├── config.ts             # Configuration
│   │   ├── imessage-bot.ts       # iMessage integration
│   │   ├── claude-handler.ts     # Claude AI
│   │   └── mcp-integration.ts    # MCP servers
│   └── README.md         # Backend docs
└── frontend/             # (Future: Admin dashboard)

Documentation

Technology Stack

  • iMessage Integration: @photon-ai/imessage-kit
  • AI: Anthropic Claude API
  • Runtime: Node.js + TypeScript
  • MCP: Model Context Protocol for integrations

Deployment Options

For Hackathon (Fastest)

Run directly on your MacBook:

cd backend
npm run dev

For Production

  • Mac Mini (self-hosted)
  • MacStadium (managed Mac cloud)
  • AWS EC2 Mac instances

See DEPLOYMENT.md for details.

MCP Integrations

Connect to business tools via Model Context Protocol:

  • Filesystem: Access company files
  • Brave Search: Web search for current info
  • GitHub: Code repository access
  • Postgres: Database queries
  • Slack: Team notifications

Add to .env:

MCP_SERVERS=filesystem,brave-search,github

Security

  • Contact Filtering: Restrict to authorized numbers
  • API Key Protection: Environment variable only
  • Message Privacy: All data stays on-device
  • Access Control: Full Disk Access required

Cost

  • Development: Free (local Mac)
  • API: ~$0.003/message (Claude Sonnet)
  • Hosting:
    • Mac Mini: ~$600 one-time
    • Cloud Mac: ~$100-720/month

Contributing

Built for the Alif x Replit AI Agents Tournament. Contributions welcome!

License

MIT

Support

For issues or questions: