🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.
TypeScript agentagent-collaborationagent-harnessloop-engineeringmcppersonal-assistantproactive-agentskillssuper-agenttask-management
📝 docs: add May 11 weekly changelog (#14651)
René Wang19912fe02dbb
diff --git a/docs/.cdn.cache.json b/docs/.cdn.cache.jsonindex 3954ca2bc39..441feeed2a9 100644--- a/docs/.cdn.cache.json+++ b/docs/.cdn.cache.json@@ -471,5 +471,6 @@"https://github.com/user-attachments/assets/fa8fab19-ace2-4f85-8428-a3a0e28845bb": "/blog/assets/2d678631c55369ba7d753c3ffcb73782.webp","https://github.com/user-attachments/assets/facdc83c-e789-4649-8060-7f7a10a1b1dd": "/blog/assets05b20e40c03ced0ec8707fed2e8e0f25.webp","https://github.com/user-attachments/assets/fcdfb9c5-819a-488f-b28d-0857fe861219": "/blog/assets8477415ecec1f37e38ab38ff1217d0a7.webp",- "https://github.com/user-attachments/assets/fd60ab55-ead2-4930-ad00-fdf77662f5a0": "/blog/assets276a4e8748e9bd300b30dcd9d0e24980.webp"-}+ "https://github.com/user-attachments/assets/fd60ab55-ead2-4930-ad00-fdf77662f5a0": "/blog/assets276a4e8748e9bd300b30dcd9d0e24980.webp",+ "https://file.rene.wang/task.png": "/blog/assets4aa1732a45832afc780600e6e329860c.webp"+}\ No newline at end of filediff --git a/docs/changelog/2026-05-11-agent-tasks-ga.mdx b/docs/changelog/2026-05-11-agent-tasks-ga.mdxnew file mode 100644index 00000000000..b8aeef37b2f--- /dev/null+++ b/docs/changelog/2026-05-11-agent-tasks-ga.mdx@@ -0,0 +1,43 @@+---+title: Agent Tasks GA & Cloud Heterogeneous Agent+description: >-+ Agent Tasks reaches GA with templates, cron, and batch runs; heterogeneous+ agents now run in the cloud; bot platforms expand to Messenger, Line, and+ Telegram.+tags:+ - Agent Tasks+ - Heterogeneous Agent+ - Bots+ - Models+---++# Agent Tasks GA & Cloud Heterogeneous Agent++## Tasks++Think of Agent Tasks like Linear, but with agents as your teammates. Create tasks the same way you'd file an issue — title, description, optional template — and assign them to an agent instead of a person. The agent picks up the task, executes the work, posts updates in comments, and moves the status forward (todo → in progress → done) as it makes progress.++Tasks can have subtasks with explicit dependencies, so a parent task can fan out work and the agent will run subtasks in dependency order. Recurring tasks can be wired to a cron schedule, parent assignments can be reshuffled at any time, and every task has its own thread of comments where you and the agent can coordinate.++Learn more in the [Task guide](/docs/usage/getting-started/task).++## Features++- Agent Tasks goes GA: the full task platform with templates, scheduled cron, comment tools, parent reassignment, and dependency-ordered batch subtask runs+- Nightly self-review: Agent Signal pipeline runs automatic self-review with skill-aware policies and pushes activity into briefs+- Cloud heterogeneous agents: Claude Code and Codex now execute server-side with persistent sessions that survive Vercel replica restarts+- `lh hetero exec` CLI: run a standalone heterogeneous agent from the terminal, with multimodal input support across desktop / CLI+- Claude Code can now pause and ask you a question mid-execution+- Inline agents in chat: `lobeAgents` markdown tag renders agent profile cards, and a newly created agent shows up as a clickable card+- Bot platforms expand: Messenger, Line, and Telegram integrations with DM pair policy and per-sender device tool gating+- New models: Gemini 3.1 Flash-Lite, SiliconCloud model sync, and DeepSeek V4 Pro as the new OSS default++## Improvements and fixes++- Inline document grounding in the KB tool via BM25 search and `docs_*` reads.+- Daily Brief redesigned with linkable welcome card and a paired input hint; resolved briefs now show a mute icon.+- Long tool-call parameters now wrap instead of truncating; tool execution time formatted as `Xmin Ys`.+- Visible divider between queued messages so it's clear which sends are pending.+- Copy session ID added to the topic dropdown menu.+- Home sidebar collapse state persists across reloads.+- Desktop app tray visibility is now a setting.diff --git a/docs/changelog/2026-05-11-agent-tasks-ga.zh-CN.mdx b/docs/changelog/2026-05-11-agent-tasks-ga.zh-CN.mdxnew file mode 100644index 00000000000..c10c1c23058--- /dev/null+++ b/docs/changelog/2026-05-11-agent-tasks-ga.zh-CN.mdx@@ -0,0 +1,42 @@+---+title: Agent 任务系统 GA 与云端异构 Agent+description: >-+ Agent 任务系统正式发布,支持模板、Cron 与批量子任务;异构 Agent 进入云端;Bot 平台新增 Messenger、Line 与+ Telegram。+tags:+ - Agent 任务+ - 异构 Agent+ - Bot+ - 模型+---++# Agent 任务系统 GA 与云端异构 Agent++## Agent 任务系统++Agent 任务系统的体感类似 Linear,但「队友」是 Agent。你像建 Issue 一样创建任务 —— 标题、描述、可选模板 —— 把它分配给 Agent 而不是某个人。Agent 接到任务后会执行工作、在评论中同步进展,并随着推进更新状态(待办 → 进行中 → 已完成)。++任务支持带显式依赖的子任务,父任务可以拆分工作,Agent 会按依赖顺序运行子任务。周期性任务可以挂接 Cron 计划;父任务的指派可以随时重新调整;每个任务都有自己的评论线,方便你和 Agent 协作沟通。++详见 [任务使用指南](/docs/usage/getting-started/task)。++## 新功能++- Agent 任务系统 GA:完整的任务平台,支持模板、Cron 定时、评论工具、父任务重指派,以及按依赖顺序的批量子任务运行+- 夜间自审:Agent Signal 流水线自动运行自审,结合技能感知策略并将活动推送到简报+- 云端异构 Agent:Claude Code 与 Codex 在服务端运行,会话持久化可跨 Vercel 副本恢复+- `lh hetero exec` CLI:在终端独立运行异构 Agent,桌面端 / CLI 支持多模态输入+- AskUserQuestion 工具:Claude Code 可在执行过程中暂停并向你提问+- 聊天内联 Agent:`lobeAgents` Markdown 标签渲染 Agent 卡片,新建的 Agent 会以可点击卡片形式出现+- Bot 平台扩展:新增 Messenger、Line、Telegram 接入,支持 DM 配对策略与按发送者识别的设备工具网关+- 新模型:Gemini 3.1 Flash-Lite、SiliconCloud 模型同步,DeepSeek V4 Pro 成为开源版默认模型++## 体验优化与修复++- 知识库工具支持通过 BM25 搜索与 `docs_*` 读取实现内联文档落地。+- 每日简报改版:欢迎卡片可链接、输入提示成对出现;已处理的简报展示静音图标。+- 工具调用参数过长时自动换行,不再截断;工具执行时间格式化为 `Xmin Ys`。+- 排队消息之间新增可见分隔线,方便辨认待发送的内容。+- 话题下拉菜单新增「复制会话 ID」操作。+- 首页侧边栏的折叠状态在刷新后会保留。+- 桌面应用托盘可见性现已纳入设置。diff --git a/docs/changelog/index.json b/docs/changelog/index.jsonindex cce5644d068..cfb548c90d3 100644--- a/docs/changelog/index.json+++ b/docs/changelog/index.json@@ -2,6 +2,14 @@"$schema": "https://github.com/lobehub/lobe-chat/blob/main/docs/changelog/schema.json","cloud": [],"community": [+ {+ "image": "/blog/assets4aa1732a45832afc780600e6e329860c.webp",+ "id": "2026-05-11-agent-tasks-ga",+ "date": "2026-05-11",+ "versionRange": [+ "2.1.57"+ ]+ },{"image": "/blog/assetsb2bf4ddf0a45ff887a993c18cb7ab983.webp","id": "2026-05-04-task-scheduler",diff --git a/docs/usage/getting-started/task.mdx b/docs/usage/getting-started/task.mdxnew file mode 100644index 00000000000..7eaa962cee0--- /dev/null+++ b/docs/usage/getting-started/task.mdx@@ -0,0 +1,149 @@+---+title: Task+description: >-+ Learn how to use Tasks in LobeHub to delegate work to agents. Create tasks, assign them to agents, track status, comment for follow-ups, and run tasks one-off or on a recurring schedule.+++tags:+ - Task+ - Issue Tracker+ - Agent Assignment+ - Recurring Task+ - Workflow+---++# Task++++**Task** turns a conversation with an agent into trackable work. Instead of chatting in real time and copying results around, you write down what you want, assign it to an agent, and let the agent run it in the background. The agent posts progress, updates the status when it's done, and replies when you leave a comment.++If you've used Linear or GitHub Issues, the mental model is the same — only the assignee is an agent, and the agent actually does the work.++## When to Use a Task++Use a Task when you want an agent to:++- Do work that takes more than a few minutes to finish.+- Run on a schedule (every morning, every Monday, every month).+- Report back asynchronously while you focus on something else.+- Be re-assigned, commented on, or revisited later with full history preserved.++For quick, one-shot questions, stay in the regular chat. For anything you'd otherwise track in a todo list or ticket, create a Task.++## Task Lifecycle++Every task moves through a small set of statuses:++| Status | Meaning |+| ------------------ | --------------------------------------------------------------- |+| **Backlog** | Created but not yet picked up by the agent. |+| **In Progress** | The agent is actively working on the task. |+| **Pending Review** | The agent finished and is waiting for you to verify the result. |+| **Done** | You confirmed the result; the task is closed. |+| **Canceled** | You closed the task before completion. |++The agent moves a task from `Backlog` to `In Progress`, then to `Pending Review` when it thinks the work is done. The transition to `Done` is yours to make — see [Reviewing Results](#reviewing-results) below.++## Creating a Task++<Steps>+ ### Open the Tasks Panel++Click **Tasks** in the left sidebar to open the task list for your workspace.++### Create a New Task++Click **New Task** in the top right. Give it a clear title — the agent uses the title and description to understand what you want.++### Write a Description++Describe the work the same way you'd describe it to a teammate. Include any links, files, or constraints the agent needs. You can paste images and attach Resources just like in a regular chat.++### Assign an Agent++Pick an agent from the **Assignee** dropdown. Choose an agent whose capabilities match the task — for example, the **Research Agent** for reading and summarizing, or a custom agent you've built. You can reassign later if the first agent isn't the right fit.++### Choose a Schedule++Pick **Run once** for a one-off task, or **Repeat** to put it on a schedule. See [One-off vs. Recurring](#one-off-vs-recurring) below.++### Submit++Click **Create**. The task lands in **Backlog**, and the agent picks it up shortly after.++</Steps>++<Callout type="info">+ You can create a Task directly from any chat message — open the message menu and choose **Turn+ into Task**. The conversation context is carried over automatically.+</Callout>++## Working With the Agent++While the task is `In Progress`, the agent posts updates inside the task — every step it takes, every tool call, and every intermediate result. You don't have to watch in real time; open the task whenever you want to see where things stand.++### Reviewing Results++When the agent thinks it's finished, the task moves to `Pending Review`. Open the task detail page to verify the result. You have two options:++- **Confirm Complete** — if the result is good, click the **Confirm Complete** button. The task moves to `Done` and closes out.+- **Follow up** — if something needs adjustment, leave a comment instead. The agent picks the task back up and continues from where it left off.++A `Pending Review` task never auto-completes; you stay in control of when work is done.++### Comments and Follow-ups++Every task has a comment thread. Use comments to:++- **Clarify** when the agent asks a question mid-run.+- **Course-correct** if the agent is heading in the wrong direction.+- **Iterate** at review time — leave a comment like _"Same thing but exclude weekends"_ and the agent reopens the task and tries again.++The agent reads new comments automatically and follows up. There's no separate "send" — your comment is the instruction.++<Callout type="info">+ If the agent is in the middle of a run, your comment is queued until the next checkpoint so it+ doesn't interrupt mid-step.+</Callout>++### Artifacts++Pages the agent creates during execution — research notes, summaries, drafts, anything written to your workspace — are listed in the **Artifacts** section of the task detail page. Open, share, or keep editing them directly from there without leaving the task.++## One-off vs. Recurring++Tasks support two schedule modes.++### Run Once++The default. The agent runs the task immediately, posts a result, and moves it to `Pending Review` for you to confirm. Use this for everything that doesn't need to repeat.++### Repeat++Put the task on a schedule and the agent re-runs it automatically. Each run is appended to the same task as a new entry, so you build up a history you can compare across runs.++Supported intervals:++- **Hourly** — every _N_ hours.+- **Daily** — at a specific time each day.+- **Weekly** — on chosen days of the week.+- **Monthly** — on a specific day of the month.+- **Custom** — any cron expression.++<Callout type="warning">+ Recurring tasks consume credits on every run. Check the estimated credit cost shown in the+ scheduler before saving, and pause the task if you no longer need it.+</Callout>++You can pause, resume, or change the schedule at any time from the task detail page. Pausing keeps history intact; deleting removes the task and its run history.++## Examples++A few patterns that work well as Tasks:++- **Daily market digest** — a Research Agent that summarizes overnight news every weekday at 8 AM.+- **Weekly competitor scan** — an agent that visits five competitor sites and flags pricing changes.+- **One-off deep research** — a long-running task ("compare these 12 vector databases") you check on later.+- **Recurring data pull** — an agent that queries a database and posts the result on Mondays.+- **Triage queue** — an inbox-like project where you drop ideas and an agent prepares first-draft answers overnight.diff --git a/docs/usage/getting-started/task.zh-CN.mdx b/docs/usage/getting-started/task.zh-CN.mdxnew file mode 100644index 00000000000..b8ca2fec514--- /dev/null+++ b/docs/usage/getting-started/task.zh-CN.mdx@@ -0,0 +1,147 @@+---+title: 任务+description: >-+ 了解如何在 LobeHub 中使用任务(Task)将工作委派给 Agent。创建任务、分配给 Agent、跟踪状态、通过评论进行追问,以及一次性运行或按周期重复执行。+++tags:+ - Task+ - 任务+ - Issue 跟踪+ - Agent 分配+ - 周期任务+ - 工作流+---++# 任务++++**任务(Task)** 把你和 Agent 的对话变成可追踪的工作。不必实时聊天再到处复制结果,你可以写下需求、把它指派给一个 Agent,让 Agent 在后台为你完成。Agent 会回报进度、在完成后更新状态,并在你留下评论时继续跟进。++如果你用过 Linear 或 GitHub Issues,思维模型完全一致 —— 只是这里的执行人是 Agent,并且它会真的把活干完。++## 什么时候用任务++当你希望 Agent 做下面这些事情时,就适合开任务:++- 完成耗时超过几分钟的工作。+- 按计划运行(每天早上、每周一、每月一次)。+- 异步反馈进度,让你可以同时处理其他事情。+- 留下完整历史,便于后续重新分配、评论或回溯。++对于一次性的、很快能答完的问题,留在普通对话里就好。任何你原本会记在待办列表或工单里的事情,都建议开一个任务。++## 任务生命周期++每个任务会在一组简单的状态之间流转:++| 状态 | 含义 |+| ------------------ | ---------------------------------- |+| **Backlog** | 已创建,Agent 还没开始处理。 |+| **In Progress** | Agent 正在执行该任务。 |+| **Pending Review** | Agent 完成了工作,等待你验收结果。 |+| **Done** | 你已确认结果,任务关闭。 |+| **Canceled** | 在完成前你主动关闭了该任务。 |++Agent 会自动把任务从 `Backlog` 推进到 `In Progress`,再到 `Pending Review`。任务什么时候变成 `Done`,由你决定 —— 详见下方的 [验收结果](#验收结果)。++## 创建任务++<Steps>+ ### 打开任务面板++点击左侧导航中的 **Tasks**,进入当前工作区的任务列表。++### 新建任务++在右上角点击 **New Task**。给任务起一个清晰的标题 —— Agent 会根据标题和描述来理解你的意图。++### 填写描述++像给同事派活一样描述工作内容,包含必要的链接、文件或限制条件。你可以像在普通对话里一样粘贴图片、附加 Resource。++### 指派 Agent++在 **Assignee** 下拉框中选择合适的 Agent。根据任务挑选能力匹配的 Agent —— 比如 **Research Agent** 适合阅读和总结,或者使用你自己创建的自定义 Agent。后续也可以重新分配。++### 选择运行方式++选择 **Run once** 进行一次性运行,或选择 **Repeat** 设置为周期任务。详见下方的 [一次性任务 vs. 周期任务](#一次性任务-vs-周期任务)。++### 提交++点击 **Create**。任务会进入 **Backlog** 状态,Agent 很快就会开始执行。++</Steps>++<Callout type="info">+ 你也可以从任意聊天消息直接创建任务 —— 打开消息菜单选择 **Turn into Task**,对话上下文会自动带入。+</Callout>++## 与 Agent 协作++当任务进入 `In Progress` 后,Agent 会在任务内部持续记录进度 —— 每一步动作、每一次工具调用、每一个中间结果。你不需要盯着看,随时打开任务就能看到当前状态。++### 验收结果++当 Agent 认为工作完成后,任务会进入 `Pending Review` 状态。打开任务详情页验收结果,你有两种选择:++- **Confirm Complete** —— 如果结果满意,点击 **Confirm Complete** 按钮。任务进入 `Done` 状态并归档。+- **追加评论** —— 如果还需要调整,直接留下评论。Agent 会从上次中断的地方继续推进。++`Pending Review` 任务不会自动完成 —— 任务是否结束完全由你决定。++### 评论与追问++每个任务都有一条评论线索,可以用来:++- **澄清**:当 Agent 在执行过程中提问时回复它。+- **纠偏**:当 Agent 走偏方向时及时拉回。+- **迭代**:在验收阶段留一条 _"同样的内容但排除周末"_ 这类评论,Agent 会重新打开任务再跑一次。++Agent 会自动读取新评论并继续跟进,不需要单独的 "发送" 动作 —— 你的评论就是新的指令。++<Callout type="info">+ 如果 Agent 正在执行某一步,你的评论会排在下一个检查点处理,避免中途打断它。+</Callout>++### 产出物(Artifacts)++Agent 在任务执行过程中创建的所有页面 —— 研究笔记、摘要、初稿,以及任何写入工作区的内容 —— 都会列在任务详情页的 **Artifacts** 区域。你可以直接打开、分享或继续编辑,全程不离开任务。++## 一次性任务 vs. 周期任务++任务支持两种运行方式。++### 一次性运行(Run Once)++默认方式。Agent 立即执行任务、提交结果,然后把任务推进到 `Pending Review` 等待你确认。绝大多数不需要重复的需求都用这种。++### 周期运行(Repeat)++把任务设置成定时计划,Agent 会按计划自动重新执行。每次运行的结果都会追加到同一个任务里,形成一份可对比的历史记录。++支持的周期:++- **Hourly** —— 每隔 _N_ 小时。+- **Daily** —— 每天的指定时间。+- **Weekly** —— 每周指定的几天。+- **Monthly** —— 每月指定的一天。+- **Custom** —— 任意 cron 表达式。++<Callout type="warning">+ 周期任务每次运行都会消耗积分。保存前请查看调度面板上预估的积分开销;如果不再需要,记得及时暂停任务。+</Callout>++你可以在任务详情页随时暂停、恢复或修改计划。暂停会保留历史;删除会同时清除任务及其所有运行记录。++## 使用示例++下面这些场景特别适合做成任务:++- **每日市场摘要** —— 一个 Research Agent,在每个工作日早上 8 点汇总隔夜资讯。+- **每周竞品扫描** —— 一个 Agent 访问 5 个竞品网站并提示定价变化。+- **一次性深度研究** —— 一个长跑任务("对比这 12 个向量数据库"),你过一会儿再回来看结果。+- **周期数据拉取** —— 一个 Agent 每周一查询数据库并把结果发到任务里。+- **想法收件箱** —— 把临时灵感丢进任务列表,让 Agent 在夜里准备好初稿,第二天直接修改。