AI Layer: Claude (Anthropic) + Groq (llama-3.3-70b) + ElevenLabs TTS
Backend: Node.js, Python, BullMQ job queues
Server: IONOS VPS Ubuntu — $7/month, 125GB RAM
Email: Brevo SMTP — 300 free emails/day
Video: FFmpeg Ken Burns + ElevenLabs audio
Auth: Google OAuth 2.0 (saved token — no re-auth ever)
Deploy: PM2, Nginx, Let's Encrypt SSL
AI Layer: Claude (Anthropic) + Groq (llama-3.3-70b) + ElevenLabs TTS
Backend: Node.js, Python, BullMQ job queues
Server: IONOS VPS Ubuntu — $7/month, 125GB RAM
Email: Brevo SMTP — 300 free emails/day
Video: FFmpeg Ken Burns + ElevenLabs audio
Auth: Google OAuth 2.0 (saved token — no re-auth ever)
Deploy: PM2, Nginx, Let's Encrypt SSL
AI Layer: Claude (Anthropic) + Groq (llama-3.3-70b) + ElevenLabs TTS
Backend: Node.js, Python, BullMQ job queues
Server: IONOS VPS Ubuntu — $7/month, 125GB RAM
Email: Brevo SMTP — 300 free emails/day
Video: FFmpeg Ken Burns + ElevenLabs audio
Auth: Google OAuth 2.0 (saved token — no re-auth ever)
Deploy: PM2, Nginx, Let's Encrypt SSL
# Core scoring call
response = client.messages.create( model="claude-3-haiku-20240307", max_tokens=512, messages=[{ "role": "user", "content": f"Score this lead 1-10 for AI automation services: {lead_data}" }]
)
score = int(response.content[0].text.strip())
# Core scoring call
response = client.messages.create( model="claude-3-haiku-20240307", max_tokens=512, messages=[{ "role": "user", "content": f"Score this lead 1-10 for AI automation services: {lead_data}" }]
)
score = int(response.content[0].text.strip())
# Core scoring call
response = client.messages.create( model="claude-3-haiku-20240307", max_tokens=512, messages=[{ "role": "user", "content": f"Score this lead 1-10 for AI automation services: {lead_data}" }]
)
score = int(response.content[0].text.strip())
# Start all 3 agents
pm2 start ecosystem.config.js
pm2 save
pm2 startup # Survive reboots # Monitor
pm2 monit
# Start all 3 agents
pm2 start ecosystem.config.js
pm2 save
pm2 startup # Survive reboots # Monitor
pm2 monit
# Start all 3 agents
pm2 start ecosystem.config.js
pm2 save
pm2 startup # Survive reboots # Monitor
pm2 monit
import smtplib
from email.mime.text import MIMEText def send_email(to, subject, body, from_email="[email protected]"): msg = MIMEText(body, 'html') msg['Subject'] = subject msg['From'] = from_email msg['To'] = to with smtplib.SMTP_SSL('smtp-relay.brevo.com', 465) as server: server.login(BREVO_LOGIN, BREVO_KEY) server.send_message(msg)
import smtplib
from email.mime.text import MIMEText def send_email(to, subject, body, from_email="[email protected]"): msg = MIMEText(body, 'html') msg['Subject'] = subject msg['From'] = from_email msg['To'] = to with smtplib.SMTP_SSL('smtp-relay.brevo.com', 465) as server: server.login(BREVO_LOGIN, BREVO_KEY) server.send_message(msg)
import smtplib
from email.mime.text import MIMEText def send_email(to, subject, body, from_email="[email protected]"): msg = MIMEText(body, 'html') msg['Subject'] = subject msg['From'] = from_email msg['To'] = to with smtplib.SMTP_SSL('smtp-relay.brevo.com', 465) as server: server.login(BREVO_LOGIN, BREVO_KEY) server.send_message(msg)
class AIAgent: def mape_loop(self): while True: data = self.monitor() # Check new leads/events analysis = self.analyze(data) # Claude scores plan = self.plan(analysis) # What to do self.execute(plan) # Send, log, alert time.sleep(60) # Run every minute
class AIAgent: def mape_loop(self): while True: data = self.monitor() # Check new leads/events analysis = self.analyze(data) # Claude scores plan = self.plan(analysis) # What to do self.execute(plan) # Send, log, alert time.sleep(60) # Run every minute
class AIAgent: def mape_loop(self): while True: data = self.monitor() # Check new leads/events analysis = self.analyze(data) # Claude scores plan = self.plan(analysis) # What to do self.execute(plan) # Send, log, alert time.sleep(60) # Run every minute
# Full server setup in 10 commands
apt update && apt install -y nodejs npm nginx certbot python3-certbot-nginx
npm install -g pm2
pm2 start app.js --name my-app
pm2 startup && pm2 save # Nginx + SSL
certbot --nginx -d yourdomain.com
# Done. Production-ready. Forever.
# Full server setup in 10 commands
apt update && apt install -y nodejs npm nginx certbot python3-certbot-nginx
npm install -g pm2
pm2 start app.js --name my-app
pm2 startup && pm2 save # Nginx + SSL
certbot --nginx -d yourdomain.com
# Done. Production-ready. Forever.
# Full server setup in 10 commands
apt update && apt install -y nodejs npm nginx certbot python3-certbot-nginx
npm install -g pm2
pm2 start app.js --name my-app
pm2 startup && pm2 save # Nginx + SSL
certbot --nginx -d yourdomain.com
# Done. Production-ready. Forever. - Python scrapes LinkedIn/directories via Playwright stealth
- Claude AI scores each lead 1-10 for fit
- Personalized cold email generated (Brevo sends 280/day free)
- All logged to SQLite — full audit trail - LeadGen Agent — scrapes + scores + emails
- Newsletter Agent — curates AI news, sends weekly
- CyberSec Agent — scans server, watches for anomalies - Monitor: Check for new data/events
- Analyze: Claude/Groq evaluates what matters
- Plan: Decide what action to take
- Execute: Send email, log to DB, trigger webhook - Recall Engine — contacts overdue patients
- AR Recovery — chases unpaid balances
- Morning Huddle — AI briefing at 6am
- Treatment Activation — follows up stale treatment plans
- Insurance Pre-Auth — flags procedures needing pre-auth
- New Patient Onboarding — welcome sequence
- MedDental Bridge — queues complex billing to billing agent