본문으로 건너뛰기

튜토리얼: 일일 브리핑 봇 구축

이 튜토리얼에서는 매일 아침 일어나 관심 있는 주제를 조사하고 결과를 요약하며 간결한 브리핑을 Telegram 또는 Discord에 직접 전달하는 개인 브리핑 봇을 구축합니다.

결국에는 웹 검색, 크론 예약, 위임메시징 전달을 결합한 완전히 자동화된 워크플로를 갖게 됩니다. 코드가 필요하지 않습니다.

우리가 만들고 있는 것

흐름은 다음과 같습니다.

  1. 오전 8시 — 크론 스케줄러가 작업을 트리거합니다.
  2. Hermes가 가동 프롬프트를 통해 새로운 에이전트 세션을 시작합니다.
  3. 웹 검색을 통해 사용자의 주제에 관한 최신 뉴스를 찾아보세요.
  4. 요약을 통해 깔끔한 브리핑 형식으로 정리됩니다.
  5. 배달은 텔레그램이나 디스코드로 브리핑을 보냅니다.

모든 것이 핸즈프리로 실행됩니다. 모닝 커피를 마시면서 브리핑을 읽으면 됩니다.

전제 조건

시작하기 전에 다음 사항을 확인하세요.

  • Hermes Agent 설치 - 설치 가이드 참조
  • 게이트웨이 실행 — 게이트웨이 데몬이 크론 실행을 처리합니다.
    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을 설정합니다.
  • 메시징 구성(선택 사항이지만 권장됨) — 텔레그램 또는 홈 채널로 Discord 설정
No messaging? No problem

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 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 parameter threshold.
→ https://artificialintelligenceact.eu/updates/

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

이것이 작동하면 자동화할 준비가 된 것입니다.

Iterate on the format

마음에 드는 결과를 얻을 때까지 다양한 메시지를 시도해 보세요. '이모지 헤더 사용' 또는 '각 요약을 2문장 미만으로 유지'와 같은 지침을 추가하세요. 무엇을 결정하든 크론 작업에 들어갑니다.

2단계: 크론 작업 생성

이제 매일 아침 자동으로 실행되도록 예약해 보겠습니다. 이 작업은 두 가지 방법으로 수행할 수 있습니다.

크론 작업을 생성하기 전에 Hermes에 전역적으로 구성된 기본 모델과 제공자가 있는지 확인하세요. 특정 작업이 다른 값을 사용하도록 하려면 작업을 생성할 때 명시적인 작업별 모델/제공자 재정의를 설정하세요.

옵션 A: 자연어(채팅 중)

헤르메스에게 원하는 것을 말하세요.

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는 통합 cronjob 도구를 사용하여 크론 작업을 생성합니다.

옵션 B: 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."

황금률: 독립적인 프롬프트

Critical concept {#the-golden-rule-self-contained-prompts}

크론 작업은 완전히 새로운 세션에서 실행됩니다. 이전 대화에 대한 기억도 없고 "이전에 설정한" 내용에 대한 컨텍스트도 없습니다. 프롬프트에는 에이전트이 작업을 수행하는 데 필요한 모든 것이 포함되어야 합니다.

잘못된 메시지:

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 section headers and emoji. End with today's date and a motivational quote."

병렬 연구에 위임 사용

더 빠른 브리핑을 위해 Hermes에게 각 주제를 하위 에이전트에게 위임하라고 지시하세요.

/cron add "0 8 * * *" "Create a morning briefing by delegating research to sub-agents. Delegate three parallel tasks:

1. Delegate: Search for the top 2 AI/ML news stories from the past 24 hours with links
2. Delegate: Search for the top 2 cryptocurrency news stories from the past 24 hours with links
3. Delegate: Search for the top 2 space exploration news stories from the past 24 hours with links

Collect all results and combine them into a single clean briefing with section headers, emoji formatting, and source links. Add today's date as a header."

각 하위 에이전트는 독립적으로 동시에 검색한 다음, 메인 에이전트가 모든 것을 하나의 세련된 브리핑으로 결합합니다. 작동 방식에 대한 자세한 내용은 위임 문서를 참조하세요.

평일 한정 일정

주말에는 브리핑이 필요하지 않나요? 월요일~금요일을 대상으로 하는 크론 표현식을 사용하세요.

/cron add "0 8 * * 1-5" "Search for the latest AI and tech news..."

하루 2회 브리핑

아침 개요 및 저녁 요약을 확인하세요.

/cron add "0 8 * * *" "Morning briefing: search for AI news from the past 12 hours..."
/cron add "0 18 * * *" "Evening recap: search for AI news from the past 12 hours..."

기억으로 개인적인 맥락 추가하기

메모리를 활성화한 경우 세션 전반에 걸쳐 지속되는 기본 설정을 저장할 수 있습니다. But remember — cron jobs run in fresh sessions without conversational memory. 개인 컨텍스트를 추가하려면 프롬프트에 직접 적용하세요.

/cron add "0 8 * * *" "You are creating a briefing for a senior ML engineer who cares about: PyTorch ecosystem, transformer architectures, open-weight models, and AI regulation in the EU. Skip stories about product launches or funding rounds unless they involve open source.

Search for the latest news on these topics. Summarize the top 3 stories with links. Be concise and technical — this reader doesn't need basic explanations."
Tailor the persona

브리핑 대상이 누구인지에 대한 세부 정보를 포함하면 관련성이 크게 향상됩니다. 에이전트에게 사용자의 역할, 관심사, 건너뛸 항목을 알려주십시오.

4단계: 작업 관리

모든 예약된 작업 나열

채팅 중:

/cron list

또는 터미널에서:

hermes cron list

다음과 같은 출력이 표시됩니다.

ID          | Name              | Schedule    | Next Run           | Deliver
------------|-------------------|-------------|--------------------|--------
a1b2c3d4 | Morning Briefing | 0 8 * * * | 2026-03-09 08:00 | telegram
e5f6g7h8 | Evening Recap | 0 18 * * * | 2026-03-08 18:00 | telegram

작업 제거

채팅 중:

/cron remove a1b2c3d4

아니면 대화체로 물어보세요:

Remove my morning briefing cron job.

Hermes는 cronjob(action="list")을 사용하여 이를 찾고 cronjob(action="remove")을 사용하여 삭제합니다.

게이트웨이 상태 확인

스케줄러가 실제로 실행 중인지 확인하세요.

hermes cron status

게이트웨이가 실행되고 있지 않으면 작업이 실행되지 않습니다. 안정성을 위해 백그라운드 서비스로 설치하세요.

hermes gateway install
# or on Linux servers
sudo hermes gateway install --system

더 나아가

작동하는 일일 브리핑 봇을 구축했습니다. 다음에 탐색할 몇 가지 방향은 다음과 같습니다.

What else can you schedule?

브리핑 봇 패턴은 경쟁사 모니터링, GitHub 리포지토리 요약, 일기 예보, 포트폴리오 추적, 서버 상태 확인, 일일 농담 등 무엇이든 작동합니다. 프롬프트에서 설명할 수 있으면 예약할 수 있습니다.