Skip to content

Commit 96c8e71

Browse files
Merge branch 'CodebuffAI:main' into main
2 parents e76b711 + aa1a04f commit 96c8e71

425 files changed

Lines changed: 65248 additions & 4075 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.gitignore‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@ tags
1616

1717
node_modules
1818
dev
19-
# The agentic e2e harness's interactive mode lives in folders named `dev`.
20-
!scripts/agentic-e2e/dev/
2119
dist
2220
# The Convex HTTP edge proxies /api/browser-runtime/dist; this is a Next route, not build output.
2321
!freebuff/web/src/app/api/browser-runtime/dist/

‎README.md‎

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,14 @@ English | [简体中文](./README.zh-CN.md)
1010

1111
| Product | What it does | Get started |
1212
| -------------------- | ----------------------------------- | --------------------------------------------------------------------- |
13-
| **Freebuff Desktop** | Run parallel agents locally | [Download for macOS, Windows, or Linux](https://freebuff.com/desktop) |
13+
| **Freebuff Desktop** | Run parallel agents locally | [Download for macOS, Windows, or Linux](https://freebuff.com) |
1414
| **Freebuff CLI** | Code from your terminal | [Install the CLI](https://freebuff.com/cli) |
1515
| **Freebuff Web** | Build and ship full-stack apps | [Build an app](https://freebuff.com/web) |
1616
| **Freebuff Cloud** | Run agents on any GitHub repository | [Connect a repository](https://freebuff.com/cloud) |
1717
| **Freebuff Chat** | Research and think with AI | [Start a chat](https://freebuff.com/chat) |
1818

19+
The Freebuff apps for iOS and Android let you follow and continue your chats from your phone, including chats running on your computer while Freebuff Desktop is open: [get the mobile app](https://freebuff.com/mobile).
20+
1921
## Quick start
2022

2123
Run Freebuff in any project from your terminal:
@@ -34,23 +36,21 @@ Freebuff includes a curated model catalog. The regular picker currently offers:
3436

3537
| Model | Access | Best for |
3638
| --------------------------- | ----------------------- | ----------------------------------------------------------------- |
37-
| **DeepSeek V4.1 Flash 10/17** | Full and limited access | The default everywhere; fast coding and tool use |
38-
| **MiMo v2.6 Flash Fast** | Full and limited access | Balanced performance with image support; no longer the default |
39-
| **GLM 5.3 Flash** | Full and limited access | Deepest reasoning |
40-
| **DeepSeek V4.1 Flash Fast 10/17** | Full access; paid plans at limited access | Fast mode: the same model on DeepSeek's own API, splitting work across parallel subagents and verifying the result; priced on DeepSeek's peak and off-peak hours |
41-
| **GPT-6 Luna** | Full access | Strong all-around with native images; runs on OpenAI flex capacity |
42-
| **MiMo 2.6 Pro** | Full access | Xiaomi's stronger reasoning model, with image support |
43-
| **Solar Mini 4** | Full and limited access | Upstage's fast, compact model; 524K context, text only |
44-
| **Solar Pro 4** | Full and limited access | Upstage's larger, stronger model; 524K context, text only |
45-
| **Gemini 3.8 Flash** | Paid plans | 1M context, and the only model that accepts audio, video and PDF |
39+
| **DeepSeek V4.1 Flash** | Full and limited access | Fast coding and tool use at a steady speed, 1M context; the default at limited access with a paid plan |
40+
| **DeepSeek V4.1 Flash Slow** | Full and limited access | The same model streamed more slowly, for fewer hours; the default at limited access without a plan, and in Chat mode |
41+
| **Solar Mini 4** | Full and limited access | Upstage's fast, compact model; 500K context, text only |
42+
| **Solar Pro 4** | Full and limited access | Upstage's larger, stronger model; 500K context, text only |
43+
| **Beam 1.0**, **Glyph Cluster** and **Nemotron 3.5 Lightning** | Full and limited access | Free experimental models that use none of your hours; 256K context |
44+
| **DeepSeek V4.1 Flash Fast** | Full and limited access | The same DeepSeek model at full speed; the default at full access |
45+
| **GPT-6 Luna** | Full access; paid plans on newer accounts | Strong all-around with native images; 1M context |
4646
| **Muse Spark 1.3** | Paid plans | Meta's agentic coding model; 1M context. When it is busy or unavailable, it answers on DeepSeek V4.1 Flash rather than making you wait |
47-
| **Gemini 4 Argon** | US, or paid plans elsewhere | Google's flagship reasoning model, one session a day for every account; 1M context, images |
48-
| **GPT-6.1 Terra** | Full access; paid plans at limited access | OpenAI's model at a temporary promotional price, one session a day for every account; 1M context, images |
49-
| **GPT-6.1 Sol** | US, or paid plans elsewhere | OpenAI's flagship, one session a day for every account; 1M context, images |
47+
| **Muse Ember** | Paid plans | Meta's fast coding model; 375K context |
48+
| **Claude Haiku 5.5 · 100k context** | Paid plans | Anthropic's fast model, with a 100K context window |
49+
| **GPT-6.1 Terra** | Paid plans | OpenAI's model, two sessions a day; 1M context, images |
5050

51-
Prices change often, so this README does not list them: the model picker shows what each model costs as a multiplier. An hour on a 1x model uses one hour of your balance, an hour on a 3x model uses three, and models in the picker's Unlimited section use none. Models may still serve from a quantized (Q8_0) build.
51+
Prices change often, so this README does not list them: the model picker shows how many hours an hour on each model uses. An hour on a one-hour model uses one hour of your balance, an hour on a three-hour model uses three, and the free experimental models use none. Models may still serve from a quantized (Q8_0) build.
5252

53-
DeepSeek V4 Pro was retired from the catalog; GLM 5.3 Flash replaces it as the deep-reasoning pick.
53+
GLM 5.3 Flash, MiMo 2.6 Pro, GPT-6.1 Sol, Gemini 4 Argon and Gemini 3.8 Flash have been retired from the catalog, and MiMo v2.6 Flash Fast is no longer listed.
5454

5555
Beyond the regular picker:
5656

@@ -71,7 +71,7 @@ Freebuff uses specialized agents instead of sending every task through one model
7171

7272
## Free access
7373

74-
Freebuff is available in every country. Supported regions receive full access; other regions and VPN users receive limited access to GLM 5.3 Flash, DeepSeek V4.1 Flash 10/17, MiMo v2.6 Flash Fast, Solar Mini 4, and Solar Pro 4. Every model is paid for in hours at the multiplier shown in the picker: an hour of MiMo v2.6 Flash Slow uses one hour of balance, a 3x model uses three. The free limited-access allowance is 5 hours a day, or 4 on a VPN or proxy, spent first on every model, GLM included; earned hours go into your wallet and are used after it. (Balances read in hours since 2026-10-15; 1 hour = 5 Freebucks.)
74+
Freebuff is available in every country. Supported regions receive full access; other regions and VPN users receive limited access to DeepSeek V4.1 Flash, DeepSeek V4.1 Flash Slow, DeepSeek V4.1 Flash Fast, Solar Mini 4, Solar Pro 4 and the free experimental models (Beam 1.0, Glyph Cluster and Nemotron 3.5 Lightning), and a paid plan adds more. Every model is paid for in hours at the rate shown in the picker: an hour of DeepSeek V4.1 Flash Slow uses one hour of balance, a three-hour model uses three. The free limited-access allowance is 5 hours a day, or 4 on a VPN or proxy, spent first on every model; earned hours go into your wallet and are used after it. (Balances read in hours since 2026-10-15; 1 hour = 5 Freebucks.)
7575

7676
Text ads support the included models. Freebuff shows the applicable session limits and any model-specific data-use notice before you start.
7777

‎README.zh-CN.md‎

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,14 @@
1010

1111
| 产品 | 功能 | 开始使用 |
1212
| -------------------- | ---------------------------- | --------------------------------------------------------------- |
13-
| **Freebuff Desktop** | 在本地并行运行多个智能体 | [下载 macOS、Windows 或 Linux 版](https://freebuff.com/desktop) |
13+
| **Freebuff Desktop** | 在本地并行运行多个智能体 | [下载 macOS、Windows 或 Linux 版](https://freebuff.com) |
1414
| **Freebuff CLI** | 从终端编程 | [安装 CLI](https://freebuff.com/cli) |
1515
| **Freebuff Web** | 构建和发布全栈应用 | [构建应用](https://freebuff.com/web) |
1616
| **Freebuff Cloud** | 在任意 GitHub 仓库运行智能体 | [连接仓库](https://freebuff.com/cloud) |
1717
| **Freebuff Chat** | 使用 AI 进行研究和思考 | [开始对话](https://freebuff.com/chat) |
1818

19+
Freebuff 的 iOS 和 Android 应用让你在手机上查看并继续对话,包括 Freebuff Desktop 打开时在你电脑上运行的对话:[获取移动应用](https://freebuff.com/mobile)。
20+
1921
## 快速开始
2022

2123
在任意项目中从终端运行 Freebuff:
@@ -34,23 +36,21 @@ Freebuff 提供经过筛选的模型目录。常规模型选择器目前包括
3436

3537
| 模型 | 访问范围 | 适用场景 |
3638
| --------------------------- | -------------- | ------------------------------------------------ |
37-
| **DeepSeek V4.1 Flash 10/17** | 完整和受限访问 | 所有模式下的默认模型;快速编程和工具调用 |
38-
| **MiMo v2.6 Flash Fast** | 完整和受限访问 | 均衡性能并支持图像;不再是默认模型 |
39-
| **GLM 5.3 Flash** | 完整和受限访问 | 推理最深入 |
40-
| **DeepSeek V4.1 Flash Fast 10/17** | 完整访问;受限访问需付费计划 | 快速模式:同一模型运行于 DeepSeek 官方 API,将工作拆分给并行子智能体并自行验证结果;按 DeepSeek 的高峰和非高峰时段定价 |
41-
| **GPT-6 Luna** | 完整访问 | 综合能力强,原生支持图像;运行于 OpenAI flex 容量 |
42-
| **MiMo 2.6 Pro** | 完整访问 | 小米更强的推理模型,支持图像 |
43-
| **Solar Mini 4** | 完整和受限访问 | Upstage 的快速轻量模型;52.4 万上下文,仅支持文本 |
44-
| **Solar Pro 4** | 完整和受限访问 | Upstage 更大、更强的模型;52.4 万上下文,仅支持文本 |
45-
| **Gemini 3.8 Flash** | 付费套餐 | 100 万上下文,唯一支持音频、视频和 PDF 输入的模型 |
39+
| **DeepSeek V4.1 Flash** | 完整和受限访问 | 以稳定速度进行快速编程和工具调用,100 万上下文;持有付费套餐时受限访问下的默认模型 |
40+
| **DeepSeek V4.1 Flash Slow** | 完整和受限访问 | 同一模型,输出速度较慢,消耗的小时更少;无付费套餐时受限访问下的默认模型,也是 Chat 模式下的默认模型 |
41+
| **Solar Mini 4** | 完整和受限访问 | Upstage 的快速轻量模型;50 万上下文,仅支持文本 |
42+
| **Solar Pro 4** | 完整和受限访问 | Upstage 更大、更强的模型;50 万上下文,仅支持文本 |
43+
| **Beam 1.0**、**Glyph Cluster** 和 **Nemotron 3.5 Lightning** | 完整和受限访问 | 免费的实验性模型,不消耗你的小时额度;25.6 万上下文 |
44+
| **DeepSeek V4.1 Flash Fast** | 完整和受限访问 | 同一 DeepSeek 模型,全速运行;完整访问下的默认模型 |
45+
| **GPT-6 Luna** | 完整访问;较新账户需付费套餐 | 综合能力强,原生支持图像;100 万上下文 |
4646
| **Muse Spark 1.3** | 付费套餐 | Meta 的智能体编码模型;100 万上下文。繁忙或不可用时改由 DeepSeek V4.1 Flash 作答,不会让你一直等 |
47-
| **Gemini 4 Argon** | 美国免费,其他地区需付费套餐 | Google 的旗舰推理模型,每个账户每天限一次会话;100 万上下文,支持图片 |
48-
| **GPT-6.1 Terra** | 完整访问;受限访问需付费计划 | OpenAI 的模型,限时促销价格,每个账户每天限一次会话;100 万上下文,支持图片 |
49-
| **GPT-6.1 Sol** | 美国免费,其他地区需付费套餐 | OpenAI 的旗舰模型,每个账户每天限一次会话;100 万上下文,支持图片 |
47+
| **Muse Ember** | 付费套餐 | Meta 的快速编码模型;37.5 万上下文 |
48+
| **Claude Haiku 5.5 · 100k context** | 付费套餐 | Anthropic 的快速模型,上下文窗口为 10 万 |
49+
| **GPT-6.1 Terra** | 付费套餐 | OpenAI 的模型,每天两次会话;100 万上下文,支持图片 |
5050

51-
价格经常变化,因此本 README 不再列出:模型选择器会以倍数显示每个模型的费用。在 1x 模型上使用一小时消耗 1 小时额度,在 3x 模型上使用一小时消耗 3 小时,选择器“无限”(Unlimited)分区中的模型不消耗额度。模型仍可能由量化(Q8_0)版本提供服务。
51+
价格经常变化,因此本 README 不再列出:模型选择器会显示在每个模型上使用一小时消耗多少小时额度。在一小时模型上使用一小时消耗 1 小时额度,在三小时模型上使用一小时消耗 3 小时,免费的实验性模型不消耗额度。模型仍可能由量化(Q8_0)版本提供服务。
5252

53-
DeepSeek V4 Pro 已从模型目录中下线,由 GLM 5.3 Flash 接替其深度推理的位置。
53+
GLM 5.3 Flash、MiMo 2.6 Pro、GPT-6.1 Sol、Gemini 4 Argon 和 Gemini 3.8 Flash 已从模型目录中下线,MiMo v2.6 Flash Fast 不再列出。
5454

5555
常规模型选择器之外:
5656

@@ -71,7 +71,7 @@ Freebuff 使用专业化智能体,而不是把所有任务都交给同一个
7171

7272
## 免费访问
7373

74-
Freebuff 在所有国家和地区均可使用。受支持的地区提供完整访问;其他地区以及使用 VPN 的用户获得受限访问,包括 DeepSeek V4.1 Flash 10/17、GLM 5.3 Flash、MiMo v2.6 Flash Fast、Solar Mini 4 和 Solar Pro 4。所有模型均按选择器中显示的倍数以小时计费:MiMo v2.6 Flash Slow 每小时用掉 1 小时额度,3x 模型用掉 3 小时。受限访问的免费额度为每天 5 小时(使用 VPN 或代理时为 4 小时),所有模型(包括 GLM)都会先使用当天额度;赚取的小时存入钱包,在当天额度用完后使用。(自 2026-10-15 起余额以小时显示;1 小时 = 5 Freebucks。)
74+
Freebuff 在所有国家和地区均可使用。受支持的地区提供完整访问;其他地区以及使用 VPN 的用户获得受限访问,包括 DeepSeek V4.1 Flash、DeepSeek V4.1 Flash Slow、DeepSeek V4.1 Flash Fast、Solar Mini 4、Solar Pro 4 以及免费的实验性模型(Beam 1.0、Glyph Cluster 和 Nemotron 3.5 Lightning),付费套餐可解锁更多模型。所有模型均按选择器中显示的费率以小时计费:DeepSeek V4.1 Flash Slow 每小时用掉 1 小时额度,三小时模型用掉 3 小时。受限访问的免费额度为每天 5 小时(使用 VPN 或代理时为 4 小时),所有模型都会先使用当天额度;赚取的小时存入钱包,在当天额度用完后使用。(自 2026-10-15 起余额以小时显示;1 小时 = 5 Freebucks。)
7575

7676
内置模型由文字广告支持。开始前,Freebuff 会显示适用的会话限制以及模型特定的数据使用提示。
7777

‎WINDOWS.md‎

Lines changed: 3 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,8 @@
1-
## Codebuff for Windows dev setup
1+
# Codebuff on Windows
22

3-
Welcome!
3+
## Set-up guide
44

5-
For development, we have a shared windows machine, via shadow.tech.
6-
7-
### Accessing the machine
8-
9-
You can access the machine either from the browser or with the desktop app:
10-
11-
1. Shadow.tech Web viewer:
12-
13-
- Go to https://pc.shadow.tech/home
14-
15-
2. Shadow.tech desktop app:
16-
17-
- They claim its better, idk.
18-
- https://shadow.tech/download/
19-
20-
Supposedly you can also use Window's Remote Desktop to access the machine instead, but I've not tried it. Shadow.tech claims their protocol is better optimized for lower bandwidth use & hence smoother performance.
21-
22-
## Set-up guide:
23-
24-
You shouldn't need this - but just in case you stop using Shadow.tech, or make a new account, here's a guide on how to get from a blank Windows install to a Codebuff install.
5+
How to get from a blank Windows install to a Codebuff install.
256

267
Surprisingly: most guides in fact recommend running everything in an Admin PowerShell, contra to advice to not use sudo on eg: Linux/macOS.
278

‎agents/__tests__/base2.test.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -500,9 +500,9 @@ describe('base2 context pruning', () => {
500500
expect(FREEBUFF_DEEPSEEK_V4_FLASH_MODEL_ID).toBe(
501501
'deepseek/deepseek-v4-flash',
502502
)
503-
// 312.5k: Flash compacts at 0.8x = 250k (2026-11-04).
503+
// 375k: Flash compacts at 0.8x = 300k (2026-11-10; 250k from 2026-11-04).
504504
const flashParams = {
505-
maxContextLength: 312_500,
505+
maxContextLength: 375_000,
506506
...DEEPSEEK_FLASH_COMPACTION_POLICY,
507507
}
508508
const flash = { model: FREEBUFF_DEEPSEEK_V4_FLASH_MODEL_ID }
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
import baseDefinition from './base3-free-deepseek-flash-evals'
2+
3+
/**
4+
* base3 on DeepSeek V4.1 Flash served by RouterPlus alone (buffbench provider
5+
* comparison). Identical to base3-free-deepseek-flash-evals except for the
6+
* lane: `only` asks prod web for this one Flash lane, which it honours for
7+
* admin and god accounts only (web/src/llm-api/deepseek-eval-lane.ts).
8+
*/
9+
const definition = {
10+
...baseDefinition,
11+
id: 'base3-free-deepseek-flash-routerplus-evals',
12+
displayName: 'Buffy on DeepSeek Flash via RouterPlus (evals)',
13+
providerOptions: { ...baseDefinition.providerOptions, only: ['routerplus'] },
14+
}
15+
16+
export default definition

0 commit comments

Comments
 (0)