🤖HermesBlog
Hermes Practical Guides · جزء 28/9/2026

أنشئ بوت إحاطة يومي

Build a Daily Briefing Bot — easy-to-understand guide based on official docs

guide-daily-briefing-bot

أنشئ بوت إحاطة يومي

تخيّل أن تستيقظ كل صباح على ملخص مُنتقى بعناية للأخبار التي تهمك فعلًا — يُرسل مباشرة إلى هاتفك. دون تمرير في خلاصات، دون ضجيج، فقط القصص المهمة، جاهزة مع قهوتك.

هذا بالضبط ما ستبنيه اليوم: بوت إحاطة شخصي يعمل بنفسه. يبحث في الويب، يلخّص أبرز القصص، ويرسل النتيجة إلى تيليجرام أو ديسكورد. وأفضل جزء؟ بدون أي كتابة كود.

ما الذي نبنيه

إليك سير العمل:

  1. 8:00 صباحًا — مُجدول cron يُشغّل مهمتك
  2. Hermes يشغّل جلسة وكيل جديدة مع برومبتك
  3. البحث في الويب يجلب آخر الأخبار حول مواضيعك
  4. التلخيص يختصرها في صيغة إحاطة نظيفة
  5. التسليم يرسل الإحاطة إلى تيليجرام أو ديسكورد

النظام بأكمله يعمل دون تدخل. أنت فقط تقرأ إحاطتك مع قهوة الصباح.

المتطلبات الأساسية

قبل أن نبدأ، تأكد من أن لديك:

  • Hermes Agent مثبّتًا — راجع دليل التثبيت
  • Gateway يعمل — خدمة البوابة تتولى تنفيذ cron:
hermes gateway install   # Install as a user service
sudo hermes gateway install --system   # Linux servers: boot-time system service
# or
hermes gateway           # Run in foreground
  • مفتاح Firecrawl API — عيّن FIRECRAWL_API_KEY في بيئتك للبحث في الويب
  • إعداد المراسلة (اختياري لكن موصى به) — تيليجرام أو ديسكورد مُهيّأ مع قناة رئيسية

لا تملك مراسلة؟ لا مشكلة. لا يزال بإمكانك متابعة هذا البرنامج التعليمي باستخدام deliver: "local". ستُحفظ الإحاطات في ~/.hermes/cron/output/ ويمكنك قراءتها في أي وقت.

الخطوة 1: اختبر سير العمل يدويًا

قبل أتمتة أي شيء، لنتأكد من أن الإحاطة تعمل. ابدأ جلسة محادثة:

hermes

ثم أدخل هذا البرومبت:

Search for the latest news about AI agents and open source LLMs.
Summarize the top 3 stories in a concise briefing format with links.

سيبحث Hermes في الويب، ويقرأ النتائج، وينتج شيئًا مثل:

☀️ Your AI Briefing — March 8, 2026

1. Qwen 3 Released with 235B Parameters
   Alibaba's latest open-weight model matches GPT-4.5 on several
   benchmarks while remaining fully open source.
   → https://qwenlm.github.io/blog/qwen3/

2. LangChain Launches Agent Protocol Standard
   A new open standard for agent-to-agent communication gains
   adoption from 15 major frameworks in its first week.
   → https://blog.langchain.dev/agent-protocol/

3. EU AI Act Enforcement Begins for General-Purpose Models
   The first compliance deadlines hit, with open source models
   receiving exemptions under the 10M parameter threshold.
   → https://artificialintelligenceact.eu/updates/

---
3 stories • Sources searched: 8 • Generated by Hermes Agent

إذا نجح هذا، فأنت جاهز للأتمتة.

نصيحة: جرّب صيغًا مختلفة. اختبر برومبتات متعددة حتى تحصل على مخرجات تعجبك. أضف تعليمات مثل “استخدم رموزًا تعبيرية في العناوين” أو “اجعل كل ملخص أقل من جملتين”. كل ما تستقر عليه سيُدمج في مهمة cron.

الخطوة 2: أنشئ مهمة cron

الآن لنجدول هذا ليتم تشغيله تلقائيًا كل صباح. لديك خياران.

قبل إنشاء مهام cron، تأكد من أن Hermes لديه نموذج افتراضي ومزوّد مُهيأ عالميًا. إذا أردت مهمة معينة بقيم مختلفة، عيّن تجاوزات نموذج/مزوّد صريحة لكل مهمة عند إنشائها.

الخيار أ: اللغة الطبيعية (في المحادثة)

فقط أخبر Hermes بما تريد:

Every morning at 8am, search the web for the latest news about AI agents
and open source LLMs. Summarize the top 3 stories in a concise briefing
with links. Use a friendly, professional tone. Deliver to telegram.

سينشئ Hermes مهمة cron لك باستخدام أداة cronjob الموحّدة.

الخيار ب: أمر CLI بالشرطة المائلة

استخدم الأمر /cron لمزيد من التحكم:

/cron add "0 8 * * *" "Search the web for the latest news about AI agents and open source LLMs. Find at least 5 recent articles from the past 24 hours. Summarize the top 3 most important stories in a concise daily briefing format. For each story include: a clear headline, a 2-sentence summary, and the source URL. Use a friendly, professional tone. Format with emoji bullet points and end with a total story count."

القاعدة الذهبية: برومبتات مكتفية ذاتيًا

مفهوم حاسم: مهام cron تعمل في جلسة جديدة تمامًا — لا ذاكرة من محادثاتك السابقة، ولا سياق حول ما “أعددته مسبقًا”. يجب أن يحتوي برومبتك على كل شيء يحتاجه الوكيل لإنجاز المهمة.

برومبت سيء:

Do my usual morning briefing.

برومبت جيد:

Search the web for the latest news about AI agents and open source LLMs.
Find at least 5 recent articles from the past 24 hours. Summarize the
top 3 most important stories in a concise daily briefing format. For each
story include: a clear headline, a 2-sentence summary, and the source URL.
Use a friendly, professional tone. Format with emoji bullet points.

البرومبت الجيد محدد بشأن ماذا يبحث، كم عدد المقالات، ما الصيغة، وما النبرة. إنه كل ما يحتاجه الوكيل في دفعة واحدة.

الخطوة 3: خصّص الإحاطة

بمجرد أن تعمل الإحاطة الأساسية، يمكنك الإبداع.

إحاطات متعددة المواضيع

غطِّ عدة مجالات في إحاطة واحدة:

/cron add "0 8 * * *" "Create a morning briefing covering three topics. For each topic, search the web for recent news from the past 24 hours and summarize the top 2 stories with links.

Topics:
1. AI and machine learning — focus on open source models and agent frameworks
2. Cryptocurrency — focus on Bitcoin, Ethereum, and regulatory news
3. Space exploration — focus on SpaceX, NASA, and commercial space

Format as a clean briefing with clear section headers for each topic. Use emoji bullet points and end with a total story count."

غيّر الوقت أو التكرار

تريد ملخصًا أسبوعيًا بدلًا من ذلك؟ فقط غيّر تعبير cron:

/cron add "0 9 * * 1" "Search for the latest AI research papers from the past week. Summarize the 5 most significant findings in a technical briefing format..."

هذا يعني 9 صباحًا كل يوم اثنين — مثالي للغوص الأسبوعي العميق.

الخلاصة

أصبح لديك الآن بوت إحاطة مؤتمت بالكامل يقوم بـ:

  • البحث في الويب عن أخبار جديدة
  • تلخيصها في صيغة نظيفة
  • تسليمها إلى تطبيق المراسلة الخاص بك
  • العمل وفق جدول زمني — دون أي عمل يدوي

النمط نفسه يعمل لأي مهمة بحث متكررة: تقارير السوق، تتبع المنافسين، نتائج المباريات، أو حتى نكتة يومية. فقط تذكر القاعدة الذهبية: اجعل برومبتك مكتفيًا ذاتيًا، وسيتولى Hermes الباقي.

هيا — أعد بوت الإحاطة الخاص بك واستمتع بقهوة الصباح مع الأخبار التي تهمك.

📖 التوثيق الرسمي

この記事は Hermes Agent のالتوثيق الرسميに基づいています:التوثيق الرسمي › guides/daily-briefing-bot