Go implementation of DeepSeek Harness and self-hosted personal agent.
Go
docs(readme): update project introduction and demo galleries
xyc22fecef3ed2e
diff --git a/README.md b/README.mdindex 04cad4d..bb30007 100644--- a/README.md+++ b/README.md@@ -1,22 +1,24 @@-**English** · [简体中文](README.zh-CN.md)+<h1 align="center">go-harness</h1><p align="center"><img src="assets/harness-whale.png" width="184" alt="go-harness blue whale mascot"></p>+go-harness is a Go implementation of DeepSeek Harness and a self-hosted personal+agent. It offers an open-source alternative to [Meta Muse](https://about.fb.com/news/2026/09/introducing-muse-personal-ai-agent/),+[OpenAI dots](https://openai.com/index/introducing-dots/), and+[Grok Bot](https://help.x.com/en/using-x/about-grok).+Run locally with Docker for personal use, development, and testing.++Teams can use Alibaba Cloud Elastic Container Instance (ECI) to build their+own personal agent products, with a dedicated Host for each account, optional+persistent storage, and room for their own frontends and service integrations.+<p align="center">+ <strong>English</strong> · <a href="README.zh-CN.md">简体中文</a> ·<strong><a href="https://github.com/xyc999-ai/go-harness/releases/latest">Download Android APK</a></strong></p>-# go-harness--A Go implementation of DeepSeek Harness and a self-hosted runtime for personal-agents. Run locally with Docker for personal use, development, and testing.-Teams can use Alibaba Cloud Elastic Container Instance (ECI) to build their-own personal agent products like Muse, Grok Bot, and OpenAI dots, with a-dedicated Host for each account, optional persistent storage, and room for their-own frontends and service integrations. [Meta Muse](https://about.fb.com/news/2026/09/introducing-muse-personal-ai-agent/) · [Grok Bot](https://help.x.com/en/using-x/about-grok) · [OpenAI dots](https://openai.com/index/introducing-dots/)-- **Web research and browser automation.** Search the web through a configured provider. Use Chromium to navigate pages, interact with forms, and capture screenshots.- **Image generation and editing.** Generate images from text or use uploaded images as references. Results appear directly in chat.- **Office documents.** Read, create, and edit Word, PowerPoint, and Excel files with OfficeCLI, and deliver them as downloadable attachments.@@ -32,72 +34,73 @@ build your own mobile, desktop, or messaging interface. [HTTP API](docs/api.md)### Mobile demos-The iOS client runs these Chinese requests against a local Controller and Docker-Host. The Word and PowerPoint clips end with the delivered documents open in WPS-Office.+The iPhone client uses English prompts and connects to a local Controller and+Docker Host. The Word and PowerPoint clips show the delivered files in WPS Office.-<table width="100%">+<table align="center" width="100%"><tr>- <td width="50%" valign="top" align="center">+ <td width="33%" valign="top" align="center"><h4>Browser research</h4>- <a href="docs/showcase/mobile-research-demo.png"><img src="docs/showcase/mobile-research-demo.png" width="340" alt="Mobile chat checks the Stanford AI Index and delivers a chart, Markdown summary, and CSV"></a>- <p>Check Stanford HAI’s AI Index and receive a chart, summary, and CSV in chat.<br><a href="docs/showcase/mobile-research-key.png">View full-size key frame</a></p>+ <a href="docs/showcase/en/mobile-research.gif"><img src="docs/showcase/en/mobile-research.gif" width="260" alt="English iPhone chat verifies an AI adoption figure and links to the Stanford AI Index"></a>+ <p>Verify an AI adoption figure in Chromium and get the original source in chat.</p></td>- <td width="50%" valign="top" align="center">+ <td width="33%" valign="top" align="center"><h4>Word report</h4>- <a href="docs/showcase/mobile-word-demo.png"><img src="docs/showcase/mobile-word-demo.png" width="340" alt="Mobile chat creates and revises the AI industry report, followed by the final Word document in WPS Office"></a>- <p>Create an industry report, then revise it with the survey context and a team pilot plan.<br><a href="docs/showcase/mobile-word-key.png">View full-size key frame</a></p>+ <a href="docs/showcase/en/mobile-word.gif"><img src="docs/showcase/en/mobile-word.gif" width="260" alt="English iPhone chat creates an AI pilot brief and shows the Word file in WPS Office"></a>+ <p>Ask for a Word brief with two candidate workflows and a four-week pilot.</p>+ </td>+ <td width="33%" valign="top" align="center">+ <h4>PowerPoint briefing</h4>+ <a href="docs/showcase/en/mobile-slides.gif"><img src="docs/showcase/en/mobile-slides.gif" width="260" alt="English iPhone chat creates a three-slide deck and shows the slides in WPS Office"></a>+ <p>Create a three-slide briefing on an AI pilot for a support team.</p></td></tr>+</table>++<table align="center" width="67%"><tr><td width="50%" valign="top" align="center">- <h4>PowerPoint briefing</h4>- <a href="docs/showcase/mobile-slides-demo.png"><img src="docs/showcase/mobile-slides-demo.png" width="340" alt="Mobile chat creates and revises a three-slide deck, followed by all three slides in WPS Office"></a>- <p>Refine the adoption figure and turn the final slide into a three-step pilot.<br><a href="docs/showcase/mobile-slides-key.png">View full-size key frame</a></p>+ <h4>Image editing with two references</h4>+ <a href="docs/showcase/en/mobile-image.gif"><img src="docs/showcase/en/mobile-image.gif" width="260" alt="English iPhone chat sends a blue whale and coral swatch and shows the generated image"></a>+ <p>Attach a whale and a color swatch, then see the coral version in the conversation.</p></td><td width="50%" valign="top" align="center">- <h4>Image editing with two references</h4>- <a href="docs/showcase/mobile-image-demo.png"><img src="docs/showcase/mobile-image-demo.png" width="340" alt="The mobile app sends a blue whale and coral swatch, previews a Seedream result, and saves it to Photos"></a>- <p>Recolor the whale with Seedream, open the result full screen, and save it to Photos.<br><a href="docs/showcase/mobile-image-key.png">View full-size key frame</a></p>+ <h4>Scheduled reminder</h4>+ <a href="docs/showcase/en/mobile-schedule.gif"><img src="docs/showcase/en/mobile-schedule.gif" width="260" alt="English iPhone chat showing the request, scheduled task confirmation, and delivered reminder"></a>+ <p>Create a one-time reminder and receive the checklist in the same chat when it runs.</p></td></tr></table>### Web demos-These demos use the included web UI and a local Docker Host. All requests are-in Chinese. The agent checks the [Stanford HAI 2026 AI Index-economy chapter](https://hai.stanford.edu/ai-index/2026-ai-index-report/economy)-in Chromium, then uses OfficeCLI to turn those findings into a Word brief and a-PowerPoint deck. Follow-up messages ask it to revise both deliverables.+These demos use the English web UI and a local Docker Host. The agent checks the+economic findings in Chromium and uses OfficeCLI to create and revise a Word brief+and a PowerPoint deck. [Stanford HAI 2026 AI Index](https://hai.stanford.edu/ai-index/2026-ai-index-report/economy)<table width="100%"><tr><td width="50%" valign="top"><h3>Browser research</h3>- <img src="docs/showcase/ai-research-demo.gif" width="100%" alt="A Chinese research request, source attachments, and Stanford HAI’s original charts">- <p>The agent checks industry data in Chromium and returns the original charts and a summary.</p>- <a href="docs/showcase/ai-research-chat.webp">Chat capture</a> · <a href="docs/showcase/ai-index-source.webp">Source charts</a>+ <a href="docs/showcase/en/web-research.gif"><img src="docs/showcase/en/web-research.gif" width="100%" alt="English browser research request and sourced answer in the Web chat"></a>+ <p>Check industry data in Chromium and get an English answer with source links.</p></td><td width="50%" valign="top"><h3>Word brief</h3>- <img src="docs/showcase/ai-word-demo.gif" width="100%" alt="The full conversation from Word creation to revision, followed by the finished brief in WPS Office">- <p>The agent creates a one-page brief, then adds survey context and a pilot recommendation. The final document is shown in WPS Office.</p>- <a href="docs/showcase/ai-word-demo.gif">Open full-size demo</a>+ <a href="docs/showcase/en/web-word.gif"><img src="docs/showcase/en/web-word.gif" width="100%" alt="English Web conversation from Word creation to revision, followed by the finished brief in WPS Office"></a>+ <p>Create an AI adoption brief and revise its layout and pilot recommendation.</p></td></tr><tr><td width="50%" valign="top"><h3>PowerPoint briefing</h3>- <img src="docs/showcase/ai-slides-demo.gif" width="100%" alt="The full conversation from PowerPoint creation to revision, followed by the three slides in WPS Office">- <p>The agent clarifies the adoption figure and revises the final slide into a three-step pilot plan. The finished slides are shown in WPS Office.</p>- <a href="docs/showcase/ai-slides-demo.gif">Open full-size demo</a>+ <a href="docs/showcase/en/web-slides.gif"><img src="docs/showcase/en/web-slides.gif" width="100%" alt="English Web conversation from PowerPoint creation to revision, followed by the three slides in WPS Office"></a>+ <p>Build a three-slide briefing and revise the last slide into a three-step rollout.</p></td><td width="50%" valign="top"><h3>Image editing with two references</h3>- <img src="docs/showcase/ai-image-demo.gif" width="100%" alt="The uploaded whale and color swatch, the Seedream generation step, and the delivered coral whale">- <p>Seedream uses the blue whale and a coral swatch to create one recolored 2048 × 2048 image in chat.</p>- <a href="docs/showcase/ai-image-result.webp">Open the generated image</a>+ <a href="docs/showcase/en/web-image.gif"><img src="docs/showcase/en/web-image.gif" width="100%" alt="English Web conversation showing the two reference images and the generated coral whale"></a>+ <p>Use Seedream to recolor the project mascot from a reference swatch.</p></td></tr></table>@@ -126,6 +129,8 @@ Open the browser after startup. Controller already serves the web app.and at least one model ID. Then select **New chat** and send a message.3. For web search, save a key for DeepSeek, Zhipu, or Doubao under **Settings → Web search**. For image generation, configure Seedream, OpenAI Images, or Google Nano Banana under **Settings → Image generation**. Choose **Use provider** to activate a saved service. [Provider setup](docs/providers.md)+Choose **English** or **简体中文** on the account page or in **Settings**. The browser remembers your choice.+### Phone via TailscaleTailscale connects your phone and the computerdiff --git a/README.zh-CN.md b/README.zh-CN.mdindex bb55801..42aabb6 100644--- a/README.zh-CN.md+++ b/README.zh-CN.md@@ -1,20 +1,22 @@-[English](README.md) · **简体中文**+<h1 align="center">go-harness</h1><p align="center"><img src="assets/harness-whale.png" width="184" alt="go-harness 蓝鲸头像"></p>+go-harness 是用 Go 实现的 DeepSeek Harness,也是一款可自托管的 Personal Agent,+可作为 [Meta Muse](https://about.fb.com/news/2026/09/introducing-muse-personal-ai-agent/)、+[OpenAI dots](https://openai.com/zh-Hans-CN/index/introducing-dots/) 和+[Grok Bot](https://help.x.com/en/using-x/about-grok) 的开源替代方案。个人可以用 Docker 在本地运行、开发和测试。++企业团队可以用阿里云弹性容器实例(ECI)为每个账号按需启动独立 Host,按需持久化数据,+并接入自己的前端和业务服务,构建自己的 Personal Agent 产品。+<p align="center">+ <a href="README.md">English</a> · <strong>简体中文</strong> ·<strong><a href="https://github.com/xyc999-ai/go-harness/releases/latest">下载 Android APK</a></strong></p>-# go-harness--用 Go 实现的 DeepSeek Harness,也是一套可自托管的Personal Agent。个人可以用 Docker 在本地运行、-开发和测试。企业团队可以用阿里云弹性容器实例(ECI)为每个账号按需启动独立 Host,按需持久化数据,-并接入自己的前端和业务服务,构建类似 Muse、Grok Bot 和 OpenAI dots 的个人 Agent 产品。-[Meta Muse](https://about.fb.com/news/2026/09/introducing-muse-personal-ai-agent/) · [Grok Bot](https://help.x.com/en/using-x/about-grok) · [OpenAI dots](https://openai.com/zh-Hans-CN/index/introducing-dots/)-- **网络搜索和浏览器操作。** 配置搜索供应商后即可检索网页。Agent 能操作 Chromium,打开页面、填写表单和截图。- **生成和编辑图片。** 可以用文字生图,也可以上传多张参考图,生成结果会直接显示在会话中。- **处理 Office 文件。** 使用 OfficeCLI 读取、生成和编辑 Word、PPT、Excel 文件,并提供下载。@@ -94,6 +96,16 @@</tr></table>+<table align="center" width="50%">+ <tr>+ <td valign="top" align="center">+ <h3>定时任务</h3>+ <a href="docs/showcase/web-schedule-zh.gif"><img src="docs/showcase/web-schedule-zh.gif" width="100%" alt="中文网页会话中的定时任务请求、创建确认和到点送达的提醒"></a>+ <p>创建一次性提醒。任务到点后,检查清单会送达原会话。</p>+ </td>+ </tr>+</table>+## 快速开始安装 Docker Engine 或 Docker Desktop,并确认可以运行 `docker compose`。在仓库根目录执行:@@ -116,6 +128,8 @@然后点击 **New chat** 发消息。3. 在 **Settings → Web search** 可配置 DeepSeek、智谱或豆包搜索。在 **Settings → Image generation** 可配置 Seedream、OpenAI Images 或 Google Nano Banana。保存凭证后点击 **Use provider** 选用。 [供应商配置](docs/providers.md)+可在账号页或「设置」选择简体中文或 English。浏览器会记住语言偏好。+### 手机通过 Tailscale 连接Tailscale 会让手机和运行 Controller 的电脑加入同一个私有网络diff --git a/docs/showcase/en/mobile-image.gif b/docs/showcase/en/mobile-image.gifnew file mode 100644index 0000000..d8aec30Binary files /dev/null and b/docs/showcase/en/mobile-image.gif differdiff --git a/docs/showcase/en/mobile-research.gif b/docs/showcase/en/mobile-research.gifnew file mode 100644index 0000000..5cb3ebbBinary files /dev/null and b/docs/showcase/en/mobile-research.gif differdiff --git a/docs/showcase/en/mobile-schedule.gif b/docs/showcase/en/mobile-schedule.gifnew file mode 100644index 0000000..48dbc85Binary files /dev/null and b/docs/showcase/en/mobile-schedule.gif differdiff --git a/docs/showcase/en/mobile-slides.gif b/docs/showcase/en/mobile-slides.gifnew file mode 100644index 0000000..57252aeBinary files /dev/null and b/docs/showcase/en/mobile-slides.gif differdiff --git a/docs/showcase/en/mobile-word.gif b/docs/showcase/en/mobile-word.gifnew file mode 100644index 0000000..a89dc33Binary files /dev/null and b/docs/showcase/en/mobile-word.gif differdiff --git a/docs/showcase/en/web-image.gif b/docs/showcase/en/web-image.gifnew file mode 100644index 0000000..c3e6197Binary files /dev/null and b/docs/showcase/en/web-image.gif differdiff --git a/docs/showcase/en/web-research.gif b/docs/showcase/en/web-research.gifnew file mode 100644index 0000000..f502281Binary files /dev/null and b/docs/showcase/en/web-research.gif differdiff --git a/docs/showcase/en/web-slides.gif b/docs/showcase/en/web-slides.gifnew file mode 100644index 0000000..72504d5Binary files /dev/null and b/docs/showcase/en/web-slides.gif differdiff --git a/docs/showcase/en/web-word.gif b/docs/showcase/en/web-word.gifnew file mode 100644index 0000000..35796a1Binary files /dev/null and b/docs/showcase/en/web-word.gif differdiff --git a/docs/showcase/web-schedule-zh.gif b/docs/showcase/web-schedule-zh.gifnew file mode 100644index 0000000..860c876Binary files /dev/null and b/docs/showcase/web-schedule-zh.gif differ