مراسلة Twilio العادية بلا ذاكرة. فكل رد يبدأ من فراغ، فيُكرّر العميل رقم طلبه وسؤاله ثلاث مرّات، وتبدو المحادثة كالحديث إلى جدار.
sonnetأسبوع واحدTwilioRedisOpenAIPostgreSQL
Claude
84ROI
69Scale
$4.3k91Saved
ROI for
README.md
لماذا هذا الوكيل تحديدًا
مراسلة Twilio العادية بلا ذاكرة. فكل رد يبدأ من فراغ، فيُكرّر العميل رقم طلبه وسؤاله ثلاث مرّات، وتبدو المحادثة كالحديث إلى جدار.
هذه الطبقة تمنح دردشات Twilio لديك ذاكرة مدعومة بـ Redis فيتذكّر كل رد الخيط بأكمله. يسأل العميل مرة واحدة، فيُجيب الوكيل ضمن السياق عبر الرسائل، ولو على مدى أيام. تحتفظ برقم Twilio ومجراك الحاليين؛ المحادثة فقط تتوقّف عن نسيان مَن تُحدّث.
كيف يعمل
Used at step 01 to kick off the pipeline.
Write
Used at step 01 to kick off the pipeline.
WebFetch
Used at step 01 to kick off the pipeline.
WebSearch
Used at step 01 to kick off the pipeline.
يُحمّل سجلّ المحادثة لذلك الرقم من Redis ليحمل السياق عبر الرسائل.
pending
يُولّد رداً يناسب الخيط وأسئلة العميل السابقة.
pending
يُرسل الرد عبر Twilio ويحفظ السجلّ المُحدَّث في Redis.
pending
نموذج للمخرجات
json
// Sample output
// (generated when the pipeline finishes)
Given an inbound message and the cached thread for that number, return a reply that stays consistent with everything said earlier.
Unlock the rest
The full agent definition, install snippet, and starter task are gated for community members.
Members get the full `.md` agent file, the npm / pnpm install one-liners, a starter prompt that we've tuned against real runs, and the open-source repo when this automation ships there. One email, magic link, done.