diff --git a/README.md b/README.md index 41bcdccfd5..cbd9d9d93b 100644 --- a/README.md +++ b/README.md @@ -1,169 +1,128 @@ -**English** [中文](README.zh-CN.md) +**English** · [中文](README.zh-CN.md)
-![OpenBitFun](./png/OpenBitFun_title.png) - -### A desktop AI agent that turns every task into an app you can open - -Writes code, produces documents, and drives the desktop — with Mini Apps, a Rust runtime, and a self-hostable device-sync server. - -[**⬇ Download for macOS · Windows · Linux**](https://github.com/GCWing/OpenBitFun/releases/latest) · [Verify downloads](./docs/verify-downloads.md) - -[Website](https://openbitfun.com/) · [Quick start](#first-run) · [Security](./SECURITY.md) · [Discussions](https://github.com/GCWing/OpenBitFun/discussions) · [Contributing](./CONTRIBUTING.md) - -[![GitHub release](https://img.shields.io/github/v/release/GCWing/OpenBitFun?style=flat-square&color=blue)](https://github.com/GCWing/OpenBitFun/releases) -[![Downloads](https://img.shields.io/github/downloads/GCWing/OpenBitFun/total?style=flat-square&color=brightgreen)](https://github.com/GCWing/OpenBitFun/releases) -[![Stars](https://img.shields.io/github/stars/GCWing/OpenBitFun?style=flat-square&color=yellow)](https://github.com/GCWing/OpenBitFun/stargazers) -[![Core code: MIT](https://img.shields.io/badge/core_code-MIT-yellow?style=flat-square)](https://github.com/GCWing/OpenBitFun/blob/main/LICENSE) -[![Platform](https://img.shields.io/badge/platform-Windows%20%7C%20macOS%20%7C%20Linux-blue?style=flat-square)](https://github.com/GCWing/OpenBitFun/releases) +![OpenBitFun](./png/openbitfun-wordmark.png) [![Trendshift](https://trendshift.io/api/badge/repositories/44672)](https://trendshift.io/repositories/44672) -
- - - ---- - -## Key features - -| Feature | What it does | -| --- | --- | -| **Agentic Mini Apps** | A task gets its own interface — chart, board, form, panel — with a conversation bound to that interface's live state | -| **Self-hosted multi-device control** | Login, cross-device session sync, and controlling one device from another run through a relay you deploy. Zero-knowledge; no vendor cloud in the path | -| **Coding** | Plan, edit, test, and commit inside real Git repositories. Agentic, planning and debugging Skills, Deep Review, long-horizon tasks | -| **Office work** | Research, writing, presentations, meeting notes, reports | -| **Desktop execution** | Browser, terminal, desktop applications, the filesystem, and remote workspaces | -| **Four tiers of customization** | Custom Agents → MCP / Skills / Hooks → Mini Apps → source-level changes | -| **Performance** | 98.67% average KV cache hit rate; flashgrep searches Chromium-scale trees ~36x faster | -| **Cross-platform and model-agnostic** | Windows, macOS, and Linux. You choose what it runs on | +### Built to keep going. ---- +OpenBitFun is an open-source desktop workspace for AI agents. It brings together a fast, reliable **Rust Agent Runtime**, a powerful, flexible **Agent Harness**, and a polished **desktop experience** to make working with agents straightforward. -## Why OpenBitFun +Use AI to write code, fix bugs, research a topic, draft reports, create presentations, and build tools for your daily work. You can also create a specialist agent for motion comic production, visual design, or your own field, with a workflow tailored to your needs. -**Agentic Mini Apps.** Most agents push every task through the same chat box. OpenBitFun builds the task its own interface instead — a chart, a board, a form, a panel — and binds a conversation to that interface's live state. You ask about what is on screen rather than re-describing it. Community builds already range from market dashboards to domain-specific tools. +**⭐ Star OpenBitFun to follow its progress and help others discover the project.** -[Browse the public Mini Apps gallery →](https://market.openbitfun.com/miniapp/) +[Download](https://openbitfun.com/download) · [Mini App Marketplace](https://market.openbitfun.com/miniapp/) · [Contribute](./CONTRIBUTING.md) -**Self-hosted multi-device control.** Account login, cross-device session and settings sync, and controlling one signed-in device from another all run through a relay *you* deploy. Nothing is brokered by a vendor's cloud — the distinction that decides whether this is allowed inside a company network at all. The relay is zero-knowledge: clients derive keys locally, and the server only ever holds Argon2id hashes and AES-GCM-wrapped material. +[![Website](https://img.shields.io/badge/Website-openbitfun.com-0b7285?style=flat-square)](https://openbitfun.com/) +[![Core code: MIT](https://img.shields.io/badge/core_code-MIT-yellow?style=flat-square)](./LICENSE) +[![Platform](https://img.shields.io/badge/platform-Windows%20%7C%20macOS%20%7C%20Linux-blue?style=flat-square)](https://openbitfun.com/download) -**A runtime you can reshape.** Four continuous tiers, from a single Markdown file to forking the runtime: custom Agents → MCP / Skills / Codex-compatible Hooks → Mini Apps → source-level changes. You extend OpenBitFun using OpenBitFun. + -**KV cache that actually hits.** Agent cost is dominated not by generated tokens but by context re-sent every turn, and a single timestamp or reordered tool list invalidates the cache from that byte onward. Prompt assembly is byte-stable across turns: **98.67%** average cache hit rate over a SWE-Bench-Pro run. +![The OpenBitFun desktop interface](./png/openbitfun-desktop.png) -**flashgrep.** An agent re-searches the same repository dozens to hundreds of times per task, and cold traversal on every tool call can cost more than inference itself. A resident cross-turn index cuts search time by up to **94.6%** on Chromium-scale trees — roughly **36x** on average. +## Four modes for the way you work ---- +**The Agent Harness shapes how a task gets done.** It plans steps, manages context, calls tools, coordinates agents, and brings their results together. Choose the mode that fits the task: -## Install +![Four working modes: Minimal, Standard, Ultimate, and Creative](./png/openbitfun-harness-modes.png) -**Download a build** — grab the latest installer from [Releases](https://github.com/GCWing/OpenBitFun/releases/latest), install it, configure your model, and you are ready to go. +| Mode | When to use it | +| --- | --- | +| **Minimal** | **Quick collaboration.** Start with a clear goal. The agent acts directly, you give feedback, and you refine the work together. | +| **Standard** | **Everyday tasks.** For work with several steps: plan the approach, work through it, and check the results. | +| **Ultimate** | **Complex tasks.** Dig into demanding problems, divide the work among agents, and bring their results together. | +| **Creative** | **Creation and customization.** Build Mini Apps or extend OpenBitFun's interface and capabilities to make the workspace your own. | -**Or run from source:** +## Your agent, across devices -```bash -pnpm install -pnpm run desktop:dev -``` +**Switch devices. Keep the task moving.** Start at your desktop, pick up the conversation on your phone, or use a browser to check progress, add instructions, and respond to approval requests. Work continues on the device running the task, wherever you connect from. -Prerequisites: [Node.js](https://nodejs.org/) 22.12+ (LTS recommended), [pnpm](https://pnpm.io/) 10.15.0 via Corepack, the [Rust toolchain](https://rustup.rs/), and the [Tauri prerequisites](https://v2.tauri.app/start/prerequisites/). More detail in [CONTRIBUTING.md](./CONTRIBUTING.md). +**On mobile, switch between layouts for one, two, or three screens.** Focus on the conversation with a single screen, then unfold your phone to view conversations and files side by side. The interface adapts as the screen layout changes. -### First run +**We're also building ways to connect from watches and glasses.** The device extension protocol lets us bring task updates and simple interactions to more wearables, extending collaboration from your desk to your wrist and beyond. -1. Launch OpenBitFun, then use the workspace controls to open a project folder. -2. Open **More options (…) → Settings → Models → Create First Configuration**. -3. Choose a provider, enter its API key, select one or more models, and click **Save**. OpenBitFun makes the first saved model primary and tests the connection automatically. -4. Return to the **Session** tab, type a concrete task, and press Enter or click **Send**. +![OpenBitFun across a laptop, phone, watch, and glasses](./png/openbitfun-multi-device.png) ---- +
+Connection and deployment details -## What you can hand to OpenBitFun +Use SSH to work on a remote host, through a jump host, or inside a container, with files, commands, and agent execution in the target environment. The desktop app and CLI share core execution capabilities; mobile clients and messaging bots offer more ways to control tasks. -Two kinds of complex work: shipping code in real repositories, and turning source material into office deliverables. When a task needs the browser, desktop apps, the terminal, or a remote environment, OpenBitFun can enter the real workspace. +Account login, synchronization, and control between devices on the same account run through a [Relay server you deploy](./src/apps/relay-server/README.md). See [Remote Connect](./docs/interactive-capabilities/capabilities/feature.remote-connect.md) and [remote workspaces](./docs/features/remote-workspaces.md) for connection options. -| Scenario | Delivery goal | Typical capabilities | -| --- | --- | --- | -| **Coding** | Move from a real repository to a mergeable result. | Agentic, planning and debugging Skills, testing, Git, Deep Review, long-horizon tasks, and benchmarks. | -| **Office Work** | Move from source material to useful written and visual deliverables. | Research, presentations, summarization, writing, meeting notes, and reports. | +
-**Shared capabilities** +## Turn everyday needs into useful apps -- **Interface layer**: Mini Apps give a task its own UI, with the conversation bound to that UI's live state. -- **Execution layer**: the filesystem, terminals, Git, browser operation, desktop applications, Computer Use, and remote workspaces let the Agent reach the real environment when a task leaves the editor. -- **Customization layer**: MCP, Skills, Hooks, custom Agents, and source-level extension let OpenBitFun keep growing around your tools, roles, and interfaces. +Build a Git insights panel for a repository, a workspace for presentations, or a form that brings routine actions together. **Mini Apps turn specific needs into tools you can use.** ---- +Describe what you need and let the agent build it. Each Mini App pairs a dedicated interface with an agent conversation, so you can use the app for everyday work and keep improving it through chat. -## Agent core metrics +Install and reuse the apps you build, or explore the [Mini App Marketplace](https://market.openbitfun.com/miniapp/) for tools that fit your work. -The data below evaluates OpenBitFun's core Agent capabilities, all measured with **Deepseek-V4-Pro**. +## Extend OpenBitFun with OpenBitFun -> [!NOTE] -> These are OpenBitFun's initial evaluation results, with each case run once. Benchmarks fluctuate with task sampling, model versions, runtime environment, and single-run variance, so treat these as an initial sanity signal that the Agent is already reasonably capable — not as a fixed ranking claim or a final ceiling. Full benchmark details will follow. +**Customize the roles, tools, interface, and source code.** Start with an agent that fits your work, then extend the workspace around it: -**1. Initial completion snapshot** — The chart below compares the current single-run results on **SWE-Bench-Pro** (complex software engineering) and **SWE-Bench-Verified** (human-verified GitHub issue fixes). +- **Build a specialist agent.** Choose a model, define its role, and equip it with the tools and workflows it needs for motion comic production, visual design, code review, or your own field. +- **Connect tools and workflows.** Connect tools through MCP, turn repeatable processes into Skills, and use Hooks to customize how tasks run. +- **Change the interface and source.** Install [skins](https://market.openbitfun.com/skin/) for a new look, or modify the UI, tools, and runtime source to build your own version of OpenBitFun. -![Agent benchmark scores](./png/agent_benchmark_scores.svg) +**You can ask OpenBitFun's Code Agent to modify and extend OpenBitFun itself.** -Benchmark references: [SWE-Bench-Pro](https://labs.scale.com/leaderboard/swe_bench_pro_public) / [SWE-Bench-Verified](https://www.swebench.com/verified.html) +Learn more about [agent management](./docs/interactive-capabilities/capabilities/feature.agents.md), [Hooks and compatibility](./docs/features/agent-hooks.md), and the [product architecture](./docs/architecture/product-architecture.md). -**2. Token economy** — Agent economy needs to be evaluated across end-to-end token consumption, execution time, and KV Cache reuse. From the same SWE-Bench-Pro round, OpenBitFun's average KV Cache hit rate was **98.67%**. The follow-up report will add broader cost and latency metrics. +## Built for sustained work -![KV Cache hit rate distribution](./png/kv_cache_hit_rate.png) +The Rust Agent Runtime manages session state, context, and tool execution. Persistent sessions, interruption recovery, long-term memory, and support for extended tasks help keep work moving. Context compression and cache reuse help control resource consumption over longer runs. -**3. Context retrieval at scale** — Agent experience also depends on how quickly it retrieves context in very large projects. On tens-of-millions-line repositories such as Chromium, OpenBitFun uses **flashgrep** to cut search time by up to **94.6%**, averaging a **36.1x** speedup. +In this **DeepSWE v1.1** evaluation, OpenBitFun achieved: -![flashgrep search speed](./png/flashgrep_search_speed.png) +- **GLM-5.3-Flash**: **64.6%** pass rate, **42.9 minutes** median runtime (P50). +- **DeepSeek-V4-Flash**: **56.6%** pass rate, **19.6 minutes** median runtime (P50). ---- +![DeepSWE v1.1 comparison: pass rate, runtime P50, and token P50](./png/openbitfun-deepswe-v1.1.png) -## Customize your OpenBitFun +## More to explore -OpenBitFun's extension paths progress continuously from light to deep customization: +**These are just some of OpenBitFun's features.** Explore more tools, workflows, and extensions as you put it to work on your own tasks. -| Tier | Path | Best for | -| --- | --- | --- | -| **L1** | Custom Agent | Defining roles, flows, constraints, and tool bundles. | -| **L2** | MCP / Skills / [Hooks](docs/features/agent-hooks.md) | Connecting external tools and professional capabilities, and running your own commands at Agent lifecycle points — fully Codex-hook compatible, so existing hook scripts work as-is. | -| **L3** | Mini App | Generating dedicated interfaces, forms, panels, or visualizations for tasks. | -| **L4** | Source-level customization | Changing tools, adapters, UI, Runtime, or product shape. | +![A selection of OpenBitFun's features](./png/openbitfun-feature-wall.jpg) -You can use OpenBitFun's Code Agent to extend OpenBitFun itself. +## Where we're headed ---- +OpenBitFun is still evolving. Here are three directions we want to explore: -## Where this is going +- **Lights-Out Factory**: Plan and design during the day, let tasks continue on a server, and come back the next morning to review the results. +- **Infinite Radius**: Extend from desktops and phones to wearables and embedded devices, so work can continue in more places. +- **App Evolution**: Enable more people to shape software, from personal tools to versions tailored to a profession or industry. -- **Lights-Out Factory** (in progress): Design during the day, let tasks flow to the server and run through the night, then review the results in the morning. -- **Infinite Radius** (in progress): Extending from desktop and browser to mobile, wearables, and more devices, so work stays accessible and continuous. -- **App Evolution**: Build tailored workflows with custom Agents, MCP, Skills, Mini Apps, or source-level customization. **Community contributors have already created specialized versions for short-form drama, media, and more**. -- **Better, Faster, Cheaper**: Pursue greater efficiency, better results, and lower cost. -- **Ultimate Desktop**: Continuously refine an easier-to-use, more capable, and more beautiful desktop experience. +Getting there means making long-running tasks more reliable, the runtime more efficient, and the desktop experience smoother. ---- +## Build with it. Help shape it. -## Community & contributing +**Star OpenBitFun to follow along. Share what you build, offer feedback, or contribute code to help shape what comes next.** -Questions, ideas, and bug reports are all welcome in [Discussions](https://github.com/GCWing/OpenBitFun/discussions) and [Issues](https://github.com/GCWing/OpenBitFun/issues). +Share your use cases and experience, contribute agents, Skills, Mini Apps, or skins, or help improve the docs, interface, and runtime. Ideas and questions are welcome in this repository's Issues and Discussions. See the [contribution guide](./CONTRIBUTING.md) for the development workflow. -Stars, Issues, and PRs are welcome. We especially care about: +
+Download, setup, and running from source -1. Code Agent, Deep Review, debugging, and long-task execution capabilities -2. Cowork, research, document, and desktop workflows -3. MCP, Skills, Mini App, and new domain Agents -4. Runtime stability, performance, context efficiency, and verifiability +Get the Windows, macOS, or Linux package from the [official download page](https://openbitfun.com/download). Install it, configure a model, and open a workspace to get started. See the [user guide](https://playbook.openbitfun.com) for usage instructions and [download verification](./docs/verify-downloads.md) for package signature checks. -Please submit PRs directly to the `main` branch. For more details, see [CONTRIBUTING.md](./CONTRIBUTING.md). +To run from source, install [Node.js](https://nodejs.org/) 22.12+, [pnpm](https://pnpm.io/) 10.15.0, the [Rust toolchain](https://rustup.rs/), and the [Tauri prerequisites](https://v2.tauri.app/start/prerequisites/). Clone the repository, then run: ---- +```bash +pnpm install +pnpm run desktop:dev +``` -## Disclaimer +Desktop development supports frontend hot reload and automatic Rust rebuilds. See the [CLI guide](./src/apps/cli/README.md) for the command-line workflow. -1. This project is spare-time exploration and research into next-generation human-machine collaboration, not a commercial profit-making project. -2. AI-assisted development is part of this project's workflow. Contributions are reviewed as code, and AI-assisted PRs should disclose their testing level; see [CONTRIBUTING.md](./CONTRIBUTING.md). -3. This project depends on and references many open-source projects. Thanks to all open-source authors. **If your rights are affected, please contact us for remediation.** +
---- +Core code is licensed under the [MIT License](./LICENSE). Third-party dependencies and assets retain their own licenses. Thanks to the open-source authors and contributors who make this work possible. To report a vulnerability, see the [security policy](./SECURITY.md). diff --git a/README.zh-CN.md b/README.zh-CN.md index b1b52a3f73..af66b1db9e 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -1,167 +1,130 @@ -**中文** [English](README.md) +**中文** · [English](README.md)
-![OpenBitFun](./png/OpenBitFun_title.png) - -### 桌面 AI Agent —— 每个任务,都给你一个能打开的应用 - -能写代码、能做文档、能操控桌面,并提供小应用、Rust Runtime 和可自部署的多设备互控服务器。 - -[**⬇ 下载 macOS · Windows · Linux 版**](https://github.com/GCWing/OpenBitFun/releases/latest) · [校验下载](./docs/verify-downloads.zh-CN.md) - -[官网](https://openbitfun.com/) · [快速开始](#第一次运行) · [安全策略](./SECURITY_CN.md) · [讨论区](https://github.com/GCWing/OpenBitFun/discussions) · [参与贡献](./CONTRIBUTING_CN.md) - -[![GitHub release](https://img.shields.io/github/v/release/GCWing/OpenBitFun?style=flat-square&color=blue)](https://github.com/GCWing/OpenBitFun/releases) -[![Downloads](https://img.shields.io/github/downloads/GCWing/OpenBitFun/total?style=flat-square&color=brightgreen)](https://github.com/GCWing/OpenBitFun/releases) -[![Stars](https://img.shields.io/github/stars/GCWing/OpenBitFun?style=flat-square&color=yellow)](https://github.com/GCWing/OpenBitFun/stargazers) -[![Core code: MIT](https://img.shields.io/badge/core_code-MIT-yellow?style=flat-square)](https://github.com/GCWing/OpenBitFun/blob/main/LICENSE) -[![Platform](https://img.shields.io/badge/platform-Windows%20%7C%20macOS%20%7C%20Linux-blue?style=flat-square)](https://github.com/GCWing/OpenBitFun/releases) +![OpenBitFun](./png/openbitfun-wordmark.png) [![Trendshift](https://trendshift.io/api/badge/repositories/44672)](https://trendshift.io/repositories/44672) -
- - +### 持续推进,直到完成。 ---- +**Built to keep going.** -## 核心特性 +OpenBitFun 是一个开源 Agent 桌面工作台。我们把高效稳健的 **Rust Agent Runtime**、强大可塑的 **Agent Harness** 与优雅从容的 **桌面体验**放在一起,让更多人能够简单、顺畅地使用 Agent。 -| 特性 | 说明 | -| --- | --- | -| **Agentic Mini App** | 为任务生成专属界面——图表、看板、表单、面板——对话绑定该界面的实时状态 | -| **自部署多设备互联互控** | 账号登录、跨设备会话同步、设备间操控,全部走你自己部署的 relay。零知识加密,不经第三方云 | -| **编码交付** | 在真实 Git 仓库里规划、改代码、跑测试、提交。Agentic、规划与调试 Skill、Deep Review、长程任务 | -| **办公交付** | 调研、写作、演示文稿、会议纪要、报告 | -| **桌面执行层** | 浏览器、终端、桌面软件、文件系统、远程工作区 | -| **四层可定制** | 自定义 Agent → MCP / Skills / Hooks → Mini App → 源码级改造 | -| **性能** | KV Cache 平均命中率 98.67%;flashgrep 在千万行仓库上搜索平均快约 36 倍 | -| **跨平台、模型自选** | Windows、macOS、Linux 三端,不绑定模型厂商 | +让 AI 帮你写代码、修 Bug、查资料、写报告、做 PPT,制作工作中需要的小工具。你还可以为漫剧创作、视觉设计等领域定制专属 Agent,让它按你的工作流程协作。 ---- +**如果你也期待这样的 Agent,欢迎点一颗 ⭐ Star,关注它的进展,也让更多人发现这个项目。** -## 为什么是 OpenBitFun +[下载体验](https://openbitfun.com/zh/download) · [Mini App 市场](https://market.openbitfun.com/miniapp/) · [参与共建](./CONTRIBUTING_CN.md) -**Agentic Mini App。** 多数 Agent 把所有任务都挤进同一个对话框,OpenBitFun 选择为任务造一个专属界面——图表、看板、表单、面板——并让对话绑定这个界面的实时状态。你问的是眼前看到的东西,不必再把它复述一遍。社区已经做出从行情面板到各类垂直领域工具的版本。 +[![官网](https://img.shields.io/badge/%E5%AE%98%E7%BD%91-openbitfun.com-0b7285?style=flat-square)](https://openbitfun.com/zh) +[![Core code: MIT](https://img.shields.io/badge/core_code-MIT-yellow?style=flat-square)](./LICENSE) +[![Platform](https://img.shields.io/badge/platform-Windows%20%7C%20macOS%20%7C%20Linux-blue?style=flat-square)](https://openbitfun.com/zh/download) -[浏览公开 Mini App Gallery →](https://market.openbitfun.com/miniapp/) - -**自部署的多设备互联互控。** 账号登录、跨设备会话与配置同步、用一台设备操控另一台已登录设备,全部走**你自己部署**的 relay,不经任何第三方云中转——这往往直接决定了它在企业内网里能不能用。relay 是零知识设计:密钥在客户端本地派生,服务端只保存 Argon2id 哈希和 AES-GCM 封装后的材料。 + -**可以改到底的 Runtime。** 从一个 Markdown 文件到 fork 整个 Runtime,四层连续:自定义 Agent → MCP / Skills / 兼容 Codex 的 Hooks → Mini App → 源码级改造。你可以用 OpenBitFun 来扩展 OpenBitFun。 +![OpenBitFun 官网展示的桌面界面](./png/openbitfun-desktop.png) -**真正命中的 KV Cache。** Agent 的成本大头不是生成的 token,而是每轮重复发送的上下文;而一个时间戳、一次工具列表重排序,就会让缓存从那个字节开始全部失效。运行时保证 prompt 前缀逐字节稳定:一轮 SWE-Bench-Pro 实测平均命中率 **98.67%**。 +## 四种模式,按你的方式工作 -**flashgrep。** Agent 在一个任务里会把同一个仓库检索几十到上百次,每次工具调用都冷启动遍历,开销可能超过模型推理本身。跨轮次常驻索引在 Chromium 这类千万行仓库上把搜索耗时最高降低 **94.6%**,平均约 **36 倍**。 +**Agent Harness 决定任务如何推进**,负责规划步骤、组织上下文、调用工具、协调多个 Agent 并整合结果。根据当前任务,选择适合你的协作方式: ---- +![四种工作模式:极简、标准、极致与创造](./png/openbitfun-harness-modes.png) -## 安装 +| 模式 | 什么时候选 | +| --- | --- | +| **极简 · Minimal** | **即时协作。** 目标明确、希望快速动手时,AI 直接执行,你随时反馈,在协作中持续调整。 | +| **标准 · Standard** | **日常任务。** 工作需要多个步骤时,有序规划、逐步执行,并检查结果。 | +| **极致 · Ultimate** | **复杂任务。** 问题需要深入分析时,拆解任务,由多个 Agent 分工协作、整合结果。 | +| **创造 · Creative** | **创造与定制。** 想做自己的应用或扩展工作台时,创建 Mini App,定制 OpenBitFun 的界面与功能。 | -**直接下载** —— 前往 [Releases](https://github.com/GCWing/OpenBitFun/releases/latest) 下载最新桌面端安装包,安装后配置模型即可开始使用。 +## 从桌面到腕间,随处与 Agent 协作 -**或从源码运行:** +**换个设备,继续同一个任务。** 在电脑前深入工作,拿起手机继续对话,或从浏览器查看进度、补充要求、处理授权。任务由执行它的设备持续推进,你可以随时换一个入口参与。 -```bash -pnpm install -pnpm run desktop:dev -``` +**手机端支持单屏、双屏、三屏布局自由切换。** 单屏时专注对话,展开后并排查看会话与文件;界面随屏幕形态调整,让折叠屏的空间真正用起来。 -前置依赖:[Node.js](https://nodejs.org/) 22.12+(推荐 LTS)、[pnpm](https://pnpm.io/) 10.15.0(建议通过 Corepack 使用)、[Rust 工具链](https://rustup.rs/)、[Tauri 前置依赖](https://v2.tauri.app/start/prerequisites/)。更多说明见 [CONTRIBUTING_CN.md](./CONTRIBUTING_CN.md)。 +**手表、眼镜,也在成为 Agent 的新入口。** 通过设备扩展协议,OpenBitFun 正在把任务进度与轻量交互带到更多穿戴设备,让协作从桌面延伸到腕间与视野中。 -### 第一次运行 +![OpenBitFun 多设备协作:电脑、手机、手表与眼镜](./png/openbitfun-multi-device.png) -1. 启动 OpenBitFun,在欢迎页点击**打开**,选择一个项目文件夹。 -2. 打开**更多选项(…)→ 设置 → 模型 → 创建第一个配置**。 -3. 选择服务商,填写 API Key,选择一个或多个模型,然后点击**保存**。第一个保存的模型会自动成为主模型,并自动测试连接。 -4. 回到**会话**页,输入一个具体任务,按 Enter 或点击**发送**。 +
+连接与部署说明 ---- +工作区也可以通过 SSH 连接到远程主机、跳板机或容器,让文件、命令与 Agent 在目标环境中工作。桌面和 CLI 共享核心执行能力,移动端与消息机器人提供更多控制入口。 -## 你可以把什么交给 OpenBitFun +同账号设备互控、登录与同步服务由你[自部署 Relay](./src/apps/relay-server/README.md)。更多连接方式见[远程连接](./docs/interactive-capabilities/capabilities/feature.remote-connect.md)与[远程工作区](./docs/features/remote-workspaces.md)。 -两类复杂工作:在真实仓库里完成编码交付,在资料和文件中完成办公交付。遇到需要浏览器、桌面软件、终端或远程环境的任务时,它可以进入真实工作现场。 +
-| 场景 | 目标交付 | 典型能力 | -| --- | --- | --- | -| **编码** | 从真实仓库推进到可合并结果。 | Agentic、规划与调试 Skill、测试、Git、Deep Review、长程任务、Benchmark。 | -| **办公** | 从资料推进到实用的文字和视觉交付物。 | 调研、演示文稿、总结、写作、会议纪要、报告。 | +## 把想法,变成自己的应用 -**通用能力** +为仓库做一个 Git 洞察面板,为演示文稿做一个 PPT 工作台,或把常用操作集中到一张表单。**Mini App 让工作中的具体需求,变成可直接使用的小应用。** -- **界面层**:Mini App 为任务生成专属 UI,并让对话绑定这个 UI 的实时状态。 -- **执行层**:文件系统、终端、Git、浏览器操作、桌面应用、Computer Use 和远程工作区,让任务走出编辑器时 Agent 仍能触达真实环境。 -- **定制层**:MCP、Skills、Hooks、Agent 自定义和源码级扩展,让 OpenBitFun 按你的工具链、角色和界面继续生长。 +描述需求,让 Agent 创建应用。每个 Mini App 都有自己的界面和 Agent 会话:你可以操作界面处理任务,也可以通过对话调整功能,让工具在使用中不断完善。 ---- +做好的应用可以安装、反复使用。你也可以去 [Mini App 市场](https://market.openbitfun.com/miniapp/)发现适合自己的工具。 -## Agent 核心指标 +## 用 OpenBitFun,创造 OpenBitFun -下面的数据用于观察 OpenBitFun Agent 的核心能力,统一使用 **Deepseek-V4-Pro** 测得。 +**从角色、工具到界面和源码,都可以按需定制。** 从贴合工作习惯的专属 Agent 开始,逐步扩展你的工作台: -> [!NOTE] -> 当前数据为每个 case 跑 1 次得到的 OpenBitFun 初始评测结果。评测会受到任务抽样、模型版本、运行环境和单次执行偶然性的影响,存在一定波动;这组数据仅用于说明当前 Agent 已具备可用的基础竞争力,并不代表固定排名或最终上限。后续会持续优化并放出完整评测详情。 +- **定制专属 Agent。** 围绕漫剧创作、视觉设计、代码评审等领域,选择模型、设定角色,组合需要的工具与工作方法。 +- **接入工具与流程。** 通过 MCP 连接专业工具,把常用工作方法保存为 Skills,用 Hooks 扩展任务执行流程。 +- **改变界面与源码。** 安装[皮肤](https://market.openbitfun.com/skin/)调整外观,也可以修改 UI、工具与 Runtime 源码,构建自己的 OpenBitFun。 -**1. 初始完成效果快照** —— 下图对比了 **SWE-Bench-Pro**(复杂软件工程)和 **SWE-Bench-Verified**(人工验证的 GitHub issue 修复)当前的单次运行结果。 +**你可以直接让 OpenBitFun 的 Code Agent 修改和扩展 OpenBitFun 本身。** -![Agent benchmark scores](./png/agent_benchmark_scores.svg) +扩展方式见 [Agent 管理](./docs/interactive-capabilities/capabilities/feature.agents.md)、[Hooks 契约与兼容范围](./docs/features/agent-hooks.zh-CN.md)和[产品架构](./docs/architecture/product-architecture.md)。 -评测集说明:[SWE-Bench-Pro](https://labs.scale.com/leaderboard/swe_bench_pro_public) / [SWE-Bench-Verified](https://www.swebench.com/verified.html) +## 持续执行,也认真对待效率 -**2. Token 经济** —— Agent 执行是否经济,需要综合评估端到端 Token 消耗、执行耗时和 KV Cache 复用。同一轮 SWE-Bench-Pro 中,OpenBitFun 的平均 KV Cache 命中率为 **98.67%**。后续完整评测会继续补充成本与耗时指标。 +Rust Agent Runtime 承载会话状态、上下文管理与工具执行。持久会话、中断恢复、长期记忆与长程任务支持工作接续;上下文压缩和缓存复用帮助控制持续执行的资源开销。 -![KV Cache hit rate distribution](./png/kv_cache_hit_rate.png) +在这组 **DeepSWE v1.1** 评测中,OpenBitFun 的表现: -**3. 超大工程下的上下文检索** —— 成本之外,Agent 体验还取决于它能否在超大工程里快速找回上下文。面对 Chromium 这类千万行级代码仓库,OpenBitFun 通过 **flashgrep** 最高降低约 **94.6%** 搜索耗时,平均加速约 **36.1x**。 +- **GLM-5.3-Flash**:通过率 **64.6%**,耗时 P50 **42.9 分钟**。 +- **DeepSeek-V4-Flash**:通过率 **56.6%**,耗时 P50 **19.6 分钟**。 -![flashgrep search speed](./png/flashgrep_search_speed.png) +![DeepSWE v1.1 评测:通过率、耗时 P50 与 Token P50 对比](./png/openbitfun-deepswe-v1.1.png) ---- +## 功能墙 -## 定制你的 OpenBitFun +**图中只是 OpenBitFun 的部分功能。** 还有更多工具、工作流与扩展能力,等你在真实任务中探索。 -OpenBitFun 的扩展路径从轻到重连续展开: +![OpenBitFun 功能墙](./png/openbitfun-feature-wall.jpg) -| 层级 | 方式 | 适合场景 | -| --- | --- | --- | -| **L1** | Agent 自定义 | 定义角色、流程、约束和工具组合。 | -| **L2** | MCP / Skills / [Hooks](docs/features/agent-hooks.zh-CN.md) | 接入外部工具和专业能力,并在 Agent 生命周期节点运行你自己的命令 —— 完全兼容 Codex Hooks,已有脚本无需适配。 | -| **L3** | Mini App | 为任务生成专属界面、表单、面板或可视化。 | -| **L4** | 源码级改造 | 修改工具、适配器、UI、Runtime 或产品形态。 | +## 我们想走向的未来 -你可以用 OpenBitFun 的 Code Agent 来扩展 OpenBitFun 本身。 +OpenBitFun 仍在演进,我们希望继续探索三个方向: ---- +- **黑灯工厂**:白天讨论与设计,让任务在服务器上持续推进,第二天回到成果与验收。 +- **无限半径**:从桌面与手机继续走向穿戴和嵌入式设备,让工作在更多地方接续。 +- **应用进化**:从个人小工具到面向专业领域的定制版本,让更多人参与塑造软件。 -## 我们要做成什么样 +更可靠的长任务、更高效的 Runtime、更从容的桌面体验,是这些探索共同的基础。 -- **黑灯工厂**(正在构建中):白天设计,夜间任务流转到服务器持续执行,早上直接验收成果。 -- **无限半径**(正在构建中):从桌面、浏览器持续延伸到移动端、可穿戴等更多设备,让工作随时接入、连续协作。 -- **应用进化**:支持自定义 Agent、MCP、Skills、Mini App 乃至源码级改造,组合专属工作流;**社区伙伴已拓展出短剧、媒体等丰富版本**。 -- **多快好省**:追求更高效率、更优效果与更低成本。 -- **极致桌面**:持续打磨更易用、更好用、更漂亮的桌面体验。 +## 用它创造,也一起创造它 ---- +**欢迎用 Star 关注 OpenBitFun,用作品、反馈和代码参与它的未来。** -## 社区与贡献 +你可以分享真实任务与使用经验,贡献 Agent、Skills、Mini App 和皮肤,也可以从一处文档、一项交互或一个 Runtime 问题开始。想法与问题欢迎在本仓库的 Issues 和 Discussions 中讨论,开发流程见[贡献指南](./CONTRIBUTING_CN.md)。 -有问题、想法或 Bug,欢迎到 [讨论区](https://github.com/GCWing/OpenBitFun/discussions) 和 [Issues](https://github.com/GCWing/OpenBitFun/issues) 交流。 +
+下载、使用与源码运行 -欢迎 Star、Issue 和 PR。我们尤其关注: +前往[官方下载页](https://openbitfun.com/zh/download),选择 Windows、macOS 或 Linux 安装包。安装后配置模型,打开工作区即可开始;操作说明见[使用手册](https://playbook.openbitfun.com),安装包签名见[下载校验](./docs/verify-downloads.zh-CN.md)。 -1. Code Agent、Deep Review、调试和长任务执行能力 -2. Cowork、调研、文档和桌面工作流 -3. MCP、Skills、Mini App 和新领域 Agent -4. Runtime 稳定性、性能、上下文效率和可验证性 +从源码运行需准备 [Node.js](https://nodejs.org/) 22.12+、[pnpm](https://pnpm.io/) 10.15.0、[Rust 工具链](https://rustup.rs/)和 [Tauri 前置依赖](https://v2.tauri.app/start/prerequisites/)。克隆本仓库后运行: -请将 PR 直接提交至 `main` 分支。更多说明见 [CONTRIBUTING_CN.md](./CONTRIBUTING_CN.md)。 +```bash +pnpm install +pnpm run desktop:dev +``` ---- +桌面开发环境支持前端热更新与 Rust 自动重编译。CLI 入口见 [CLI 使用说明](./src/apps/cli/README.md)。 -## 声明 +
-1. 本项目为业余时间探索、研究构建下一代人机协同交互,非商用盈利项目。 -2. AI 辅助开发是本项目工作流的一部分。贡献以代码和验证结果为准;AI 辅助 PR 请说明测试程度,详见 [CONTRIBUTING_CN.md](./CONTRIBUTING_CN.md)。 -3. 本项目依赖和参考了众多开源软件。感谢所有开源作者。如侵犯您的相关权益,请联系我们整改。 +核心代码采用 [MIT License](./LICENSE),第三方依赖与资源遵循各自的许可证。感谢所有开源作者与贡献者。漏洞报告方式见[安全策略](./SECURITY_CN.md)。 diff --git a/png/OpenBitFun-Logo.png b/png/OpenBitFun-Logo.png deleted file mode 100644 index 2b98ca5bb1..0000000000 Binary files a/png/OpenBitFun-Logo.png and /dev/null differ diff --git a/png/OpenBitFun_title.png b/png/OpenBitFun_title.png deleted file mode 100644 index 14d230bab0..0000000000 Binary files a/png/OpenBitFun_title.png and /dev/null differ diff --git a/png/agent_benchmark_scores.svg b/png/agent_benchmark_scores.svg deleted file mode 100644 index c3d978c2ba..0000000000 --- a/png/agent_benchmark_scores.svg +++ /dev/null @@ -1,56 +0,0 @@ - - Code Agent benchmark completion rates - Completion rates for OpenBitFun, Open Code, and Claude Code on SWE-Bench-Pro and SWE-Bench-Verified. OpenBitFun is first in each group. - - - - - - - - - - - 0 - 20 - 40 - 60 - 80 - - SWE-Bench-Pro - OpenBitFun - - - 52% - Open Code - - - 51% - Claude Code - - - 50% - - - - SWE-Bench-Verified - OpenBitFun - - - 74% - Open Code - - - 72% - Claude Code - - - 69% - diff --git a/png/flashgrep_search_speed.png b/png/flashgrep_search_speed.png deleted file mode 100644 index 0120d4ab65..0000000000 Binary files a/png/flashgrep_search_speed.png and /dev/null differ diff --git a/png/kv_cache_hit_rate.png b/png/kv_cache_hit_rate.png deleted file mode 100644 index 2a4d673458..0000000000 Binary files a/png/kv_cache_hit_rate.png and /dev/null differ diff --git a/png/openbitfun-deepswe-v1.1.png b/png/openbitfun-deepswe-v1.1.png new file mode 100644 index 0000000000..da9384c125 Binary files /dev/null and b/png/openbitfun-deepswe-v1.1.png differ diff --git a/png/openbitfun-desktop.png b/png/openbitfun-desktop.png new file mode 100644 index 0000000000..60273c984e Binary files /dev/null and b/png/openbitfun-desktop.png differ diff --git a/png/openbitfun-feature-wall.jpg b/png/openbitfun-feature-wall.jpg new file mode 100644 index 0000000000..c254505667 Binary files /dev/null and b/png/openbitfun-feature-wall.jpg differ diff --git a/png/openbitfun-harness-modes.png b/png/openbitfun-harness-modes.png new file mode 100644 index 0000000000..81112837e0 Binary files /dev/null and b/png/openbitfun-harness-modes.png differ diff --git a/png/openbitfun-multi-device.png b/png/openbitfun-multi-device.png new file mode 100644 index 0000000000..1e3a38c98d Binary files /dev/null and b/png/openbitfun-multi-device.png differ diff --git a/png/openbitfun-wordmark.png b/png/openbitfun-wordmark.png new file mode 100644 index 0000000000..5b4e324b8d Binary files /dev/null and b/png/openbitfun-wordmark.png differ