BestDealOn

Handbook › Callbots

SMS agent (exists today; texting is off for Best Deal On)

Role: Answers inbound texts on lines where texting is on. Inputs:

  • the inbound text and recent memory (SmsMemory)
  • KB prefetch results (src/sms.js:126-146)
  • instructions from buildSmsInstructions (src/sms.js:27)

Skills:

  • answers drafted by the xAI text model (XaiTextBrain, src/sms.js:86)
  • quick keyword replies, including STOP, START and HELP (src/sms.js:105)
  • a "Looking that up…" hold text after 4 s (src/app.js:172 [bdo])

Rules:

  • Consent is required for every send (sendCustomerSms).
  • Links must be on the allowlist.
  • Leaked instructions are stripped out (src/sms.js:54-66).