本技能自动搜集 AI Agent 相关最新资讯,整理后推送到飞书群聊。
详细配置见 scripts/sources.json
{
"action": "collect",
"time_range": "24h",
"channel_id": "oc_xxxxxx"
}
| 参数 | 说明 | 默认值 |
|---|---|---|
| ------ | ------ | -------- |
| time_range | 搜集时间范围 | 24h |
| channel_id | 飞书会话 ID | 当前会话 |
{
"action": "schedule",
"cron": "0 9 * * 1-5",
"channel_id": "oc_xxxxxx",
"time_range": "24h"
}
示例:工作日每天 9 点推送前一天的资讯
🤖 AI Agent 每日简报 - 2026-03-16
🔥 头条
• LangChain 发布新 Agent 框架 - 支持 XX 功能 [链接]
🛠️ 框架更新
• AutoGen v0.4.0 - 新增多 Agent 协作 [链接]
• CrewAI 支持 XX [链接]
📚 研究论文
• [论文标题] - arXiv [链接]
🏢 公司动态
• Anthropic 发布 XX [链接]
💼 行业应用
• XX 公司用 Agent 实现 XX [链接]
---
共 12 条资讯 | 来源:DDG + 6 RSS 源
调用 ddg-search 搜索多个关键词,返回原始结果列表。
输入:
{
"keywords": ["AI Agent", "LangChain"],
"time_range": "24h"
}
输出:
{
"items": [
{"title": "...", "url": "...", "snippet": "...", "source": "ddg"},
...
]
}
基于标题和 URL 相似度去重。
输入:
{
"items": [...],
"threshold": 0.85
}
输出:
{
"items": [...],
"removed_count": 5
}
调用 LLM 为每条新闻生成一句话摘要。
输入:
{
"items": [...],
"max_length": 50
}
输出:
{
"items": [
{"title": "...", "url": "...", "summary": "..."},
...
]
}
格式化消息并推送到飞书。
输入:
{
"items": [...],
"channel_id": "oc_xxxxxx",
"date": "2026-03-16"
}
输出:
{
"success": true,
"message_id": "msg_xxxxxx"
}
配置数据源和推送目标。
{
"keywords": [
"AI Agent framework",
"LangChain",
"AutoGen",
"CrewAI",
"Multi-agent system"
],
"rss_sources": [
"https://news.ycombinator.com/newest",
"https://www.anthropic.com/news/rss.xml",
"https://openai.com/blog/rss/"
],
"feishu": {
"channel_id": "oc_xxxxxx"
},
"filters": {
"min_relevance": 0.7,
"max_items_per_category": 5
}
}
1. search_news.py → 从 DDG + RSS 抓取原始内容
↓
2. deduplicate.py → 去重(基于相似度)
↓
3. categorize.py → 分类(头条/框架/论文/公司/应用)
↓
4. summarize.py → 生成摘要
↓
5. push_to_feishu.py → 格式化并推送
ddg-search - DuckDuckGo 网页搜索blogwatcher - RSS 源监控(可选)web_fetch - 抓取网页详情(可选)scripts/sources.jsonchannel_id```
python scripts/search_news.py
```
使用 cron 技能设置每日/每周自动推送
共 1 个版本