Agent 配套工具

Blave Agent|AI 量化策略开发与模拟回测桌面工作台

Blave Agent

面向AI编程助手的量化研发桌面工作台,提供策略编辑、历史回测与模拟交易流程;真实交易存在独立资金和地区限制,本站未实测。

获取与使用

需要部署

按官方资料自行安装或部署

使用难度待核验
国内可用性待核验

2026-11-09 更新 · 本站尚未实测

项目介绍

Agent 配套工具 · 2026-11-09 更新 · 本站尚未实测

Blave Agent 是 Blave-TW 组织发布的桌面端量化工作空间,仓库自述为“Quant Workspace for AI Agents”,定位是让你在 Claude Code 或 Codex 等 AI 编程助手的协助下,把交易想法写成策略、执行回测,并可在配置后接入实盘或模拟交易。项目提供 macOS 与 Windows 安装包,同时公开源码,README 声明其代码以 Apache-2.0 授权。

需要先说明的是:AI 助手本身(Claude Code、Codex)由各自厂商提供,Blave Agent 在 README 中明确声明与其无隶属或背书关系。因此“能在其中用什么 AI”取决于你是否已有相应账号或 API Key,这部分费用与授权需向对应厂商核验。

核心能力

点击能力名称查看输入、输出和原文依据。

  • 策略集中管理:README 描述可在同一应用内查看每个策略的回测、交易、参数扫描与已保存版本。
  • 过拟合检查:回测支持 MCPT p 值、参数平台与滚动前向验证(walk-forward)等提示手段,用于判断参数是否过度拟合;具体判定逻辑与阈值资料未展开,待核验。
  • 手续费提示:默认按真实手续费计算,手续费填 0 会给出警告。
  • 自动交易接入:README 列出 Binance、OKX、Bybit、BingX、Gate.io、Bitget、StockCoin,以及 Windows 平台上的台湾指数期货。各交易所可用状态、是否需要实名或地区限制,待核验。
  • 模拟交易:README 称模拟交易无需密钥,适合先验证策略流程。
  • 联网取材:可由 AI 读取若干站点并给出可回测的想法,抓取范围与数据来源未在 README 说明,待核验。
  • 可选 AI:支持 Claude Code、Codex、DeepSeek API Key 或 Blave AI。

实际应用场景

适用场景

适合已有编程基础、希望用 AI 助手加速策略迭代的量化交易者:例如学习回测数据组织、成本参数与模拟执行流程;历史回测不能证明未来收益,本页不建议接入实盘或购买资产。也适合想学习策略验证方法的人,用内置的过拟合检查理解参数稳定性。

不适合完全零基础、期望“开箱即盈利”的用户。风险管理仍是使用者自身责任。

安装与接入

README 给出的方式是下载安装包:macOS 通用版与 Windows 安装包(来源为 download.blave.org 的发布下载)。要求 macOS 13 及以上,或 Windows 10/11 x64;README 明确 Windows 安装包尚未代码签名,安装前应核对来源与校验信息,本站没有验证该未签名发行包的安全性。

从源码构建需 Node.js 22.12+ 与位于 PATH 的 Python 3,按 README 给出的克隆、安装、启动步骤在 shell 目录执行;Windows 下需改用 npm.cmd。

官方文档站提供英文文档入口(blave.org/docs/en),交易所密钥与数据源说明在文档内,具体配置步骤请以官方文档为准。项目未提供 MCP 配置或服务器配置文件(采集时为 404),相关接入方式待核验。

使用条件与限制

是否需要部署
需自行准备运行环境,具体要求见正文
是否需要注册
账号和认证要求见正文;未明确说明的项目仍待核验
是否需要 API Key
待核验
费用与额度
费用边界见正文,项目许可不代表模型或托管服务免费
所需权限
待核验
许可证与服务条款
待核验

权限费用与限制

README 的安全说明称:只有用户本人可以划拨资金或恢复交易,AI 只能停止交易;每笔订单会与交易所校验并记录到 state/audit.jsonl。这一描述属于项目方声明,实际行为与审计文件有效性待核验。

费用方面:代码开源不等于全部功能免费。README 提到“在云端运行(付费)”用于关机后继续运行策略并通过网页或 Telegram 对话,价格未给出,需向官方核验。实盘交易涉及交易所手续费与自身资金风险,回测仅描述历史,交易可能损失全部本金。

限制包括:桌面端平台说明中仅列出 macOS 与 Windows,未提及 Linux 桌面支持;台湾指数期货交易仅在 Windows 上被提及;其他市场的可用性与地区合规性待核验。

国内使用情况

网友核验 用户经验分享

与站长实测独立,不代表官方认证或本站已实测。

我要核验
0 位参与者0 份有效分项记录

最近核验:暂无有效核验。参与人数按当前项目有效身份去重;不同核验项分别统计,不合并成用户总结果。仅统计审核通过且未过期的记录。

分项统计、有效期与样本量
核验项目有效人数成功 / 部分 / 失败 / 无法判断成功率最近核验 / 有效期
官方网站访问00 / 0 / 0 / 0样本不足暂无 / 7 天
GitHub 仓库访问00 / 0 / 0 / 0样本不足暂无 / 7 天
安装与运行00 / 0 / 0 / 0样本不足暂无 / 30 天
官方服务国内连接 / MCP 连接00 / 0 / 0 / 0样本不足暂无 / 30 天
国内网络情况00 / 0 / 0 / 0样本不足暂无 / 7 天
国内模型兼容性00 / 0 / 0 / 0样本不足暂无 / 30 天
自定义 API00 / 0 / 0 / 0样本不足暂无 / 30 天
海外服务依赖
00 / 0 / 0 / 0样本不足暂无 / 30 天
海外账号要求
00 / 0 / 0 / 0样本不足暂无 / 30 天
中文界面
00 / 0 / 0 / 0样本不足暂无 / 30 天
客户端兼容性00 / 0 / 0 / 0样本不足暂无 / 30 天
账号及费用信息
00 / 0 / 0 / 0样本不足暂无 / 30 天

成功率 = 成功 ÷(成功 + 部分成功 + 失败);无法判断不计入分母。至少 5 份可判断结果才显示成功率。账号、费用、海外依赖与语言等事实项,成功表示核查结论与资料吻合,具体观察另行统计;不表示免费或没有海外依赖。不同网络、客户端和版本的结果不能直接等同。

最近有效核验

暂无审核通过且未过期的网友核验。欢迎提交真实使用记录。

查看全部有效核验 →

国内实测状态:国内可用性待核验。协议兼容和官方资料说明不等于国内网络可用。

官方网站访问
尚未实测 待核验
GitHub 仓库访问
尚未实测 待核验
官方服务国内连接
尚未实测 待核验
国内网络情况
尚未实测 待核验
国内模型兼容性
尚未实测 待核验
自定义 API
尚未实测 待核验
海外服务依赖
尚未实测 待核验
海外账号要求
尚未实测 待核验
中文界面
尚未实测 待核验
国内最后核验时间
尚未实测

许可与国内使用

仓库代码采用 Apache-2.0 许可(LICENSE 文件为 Apache License 2.0,版权署名归吾集科技股份有限公司)。“Blave”为商标,README 要求二次分发时改名。

需要注意区分:代码许可不覆盖 Claude Code、Codex、DeepSeek 等第三方模型或服务,也不覆盖 Blave 的付费云端服务;这些的使用条款与费用需分别核验。域名与下载地址不等于服务部署地域,境内网络访问 blave.org、download.blave.org 及各交易所接口是否稳定、是否合规,均待核验。

项目资料与来源

官方网站 ↗

GitHub 仓库 ↗

官方文档 ↗

字段依据与待核验事项

access:来源确认 · macOS 13+ (universal build) or Windows 10/11 x64.

project_type:来源确认 · Quant Workspace for AI Agents

原始 README(折叠技术参考)
<div align="center">

<img src="docs/icon.png" width="80" alt="">

# Blave Agent

**Quant Workspace for AI Agents**<br>
Build, backtest and trade strategies live with Claude Code or Codex. Free and open source.

<a href="https://github.com/Blave-TW/blave-agent/releases"><img src="https://img.shields.io/github/v/release/Blave-TW/blave-agent?filter=desktop-*&label=latest&color=555" alt="Latest release"></a>

**English** | [繁體中文](README.zh-TW.md) | [简体中文](README.zh-CN.md) | [日本語](README.ja.md) | [Español](README.es.md) | [Português](README.pt.md) | [Tiếng Việt](README.vi.md)

<a href="https://download.blave.org/desktop/mac/Blave-universal.dmg?src=gh_readme_en"><img src="docs/readme-dl-mac.en.png" alt="Download for Mac" width="228"></a>&nbsp;&nbsp; <a href="https://download.blave.org/desktop/win/Blave-Setup.exe?src=gh_readme_en"><img src="docs/readme-dl-win.en.png" alt="Download for Windows" width="228"></a>

</div>

https://github.com/user-attachments/assets/7b33edb7-9c65-4e19-854a-40295c6e8b74

<p align="center"><a href="https://blave.org/docs/en">Docs</a></p>

## What You Get

- **All your strategies in one app.** Backtest, trades, parameter scan and saved versions for each.
- **Backtests that flag overfitting.** MCPT p-value, parameter plateau and walk-forward.
- **Real fees by default.** A fee of 0 gets a warning.
- **Auto-trading already wired up.** Binance, OKX, Bybit, BingX, Gate.io, Bitget, StockCoin, plus Taiwan index futures on Windows.
- **Paper trading.** No keys needed.
- **Ideas from the web.** The agent reads a few sites and brings back three you can backtest.
- **Pick your AI.** Claude Code, Codex, a DeepSeek key, or Blave AI.

![A BTC breakout strategy in the app](docs/readme-backtest.png)

<p align="center">⭐ If this saves you a weekend of wiring, star the repo. It helps other traders find it.</p>

<a id="quick-start"></a>

## Quick Start

1. Download for [macOS](https://download.blave.org/desktop/mac/Blave-universal.dmg?src=gh_readme_en) or [Windows](https://download.blave.org/desktop/win/Blave-Setup.exe?src=gh_readme_en) and open it.
2. Pick your AI.
3. Describe an idea:

> Backtest BTCUSDT on the 4h chart: long when SMA 20 crosses above SMA 60, flat when it crosses back. 0.05% fee per side.

<details><summary>Platform notes</summary>

macOS 13+ (universal build) or Windows 10/11 x64. The Windows installer is not code-signed yet: choose More info › Run anyway.

</details>

<details><summary>Build from source</summary>

You need Node.js 22.12+ and Python 3 on your `PATH`.

```
git clone https://github.com/Blave-TW/blave-agent.git
cd blave-agent/shell
npm install
npm start
```

On Windows, run `npm.cmd install` and `npm.cmd start` in PowerShell.

</details>

## Safety

- **Only you allocate funds or resume trading.** The agent can only stop it.
- **Every order is checked with the exchange** and logged to `state/audit.jsonl`.
- **A backtest describes the past.** Trading can lose all of your money.

Exchanges and keys: [docs](https://blave.org/docs/en/exchange_api) · Data sources: [crypto](https://blave.org/docs/en/data_crypto), [Taiwan stocks](https://blave.org/docs/en/data_twstock)

## Run It in the Cloud (Paid)

Keep strategies running with your computer off, and talk to them from the web or Telegram. [Plans](https://blave.org/agent/en)

## News

Every version: [Releases](https://github.com/Blave-TW/blave-agent/releases). Watch › Releases to get notified.

## For Developers

<details><summary>Repository layout, tests, contributing</summary>

Start with `AGENTS.md`, then `examples/README.md` and `references/lib.md`. One test file per contract in `tests/`. Before a PR, run the tests that cover your change and `pre-commit install`.

</details>

## License

Apache-2.0. The strategies you write are yours. "Blave" is a trademark: rename your fork.

Claude Code and Codex are products of their respective owners. Blave Agent is not affiliated with or endorsed by them.

## Code Signing Policy

The Windows build is not code-signed yet: we have applied to the [SignPath Foundation](https://signpath.org) open-source program, and until it is approved the Windows installer is unsigned. Once approved: free code signing on Windows provided by [SignPath.io](https://signpath.io), certificate by SignPath Foundation. Releases are built by the public GitHub Actions workflow in this repository from a tagged commit; each signing request is approved by the repository owner. Roles: Authors and Reviewers — the maintainers with write access; Approver — the repository owner. This program will not transfer any information to third parties except as described in the [privacy policy](https://blave.org/disclaimer/en/privacy_policy). The macOS build is signed and notarized with Blave's own Apple identity.

---

## For maintainers and existing machines

<details>
<summary>Releasing the runtime</summary>

### Releasing the runtime

```
cd blave-agent
export BLAVE_S3_KEY=... BLAVE_S3_SECRET=... BLAVE_S3_REGION=... BLAVE_S3_BUCKET=...
python publish.py            # dry-run, no credentials needed
python publish.py publish    # real upload; the fleet picks it up within ~6 minutes
```

Before publishing, bump `runtime/VERSION` and move the Unreleased lines in `runtime/CHANGELOG.md` under the new version. Packaging takes the unit files declared in `jobs.json` from `../api/blave_agent/systemd/`, so **the api checkout must sit next to this repo**; if it is missing, the run fails on the spot with the full path.

The history of `runtime/` was merged in from the api repo as a subtree on 2026-09-18 (165 commits). Because it was a merge and not a rename, `git log -- runtime/` shows only that merge; for the full history use `git log HEAD^2` (files are at root paths on that line, e.g. `agent_turn.py`).

Fresh installs are handled automatically by the provisioning script — no manual steps needed.

**Bump `VERSION` (date, `YYYY-MM-DD`, add `-b`/`-c` for same-day repushes) in the same commit as any change machines should pick up** — the platform compares each machine's reported VERSION against this repo's to light the web "update available" indicator; an unbumped push is invisible to users.

</details>

### Updating an existing workspace

<details>
<summary>Update steps for an existing workspace</summary>

This section is an operating contract: `references/updating.md` sends agents here, and the desktop app copies the same file list. Keep the heading and the list intact.

Tell your agent:

> Clone https://github.com/Blave-TW/blave-agent to /tmp/oc-config and use it as **reference** to update this machine's live workspace — `$BLAVE_AGENT_HOME/workspace`, i.e. the workspace you are running in (`/root/.openclaw/workspace` on old BlaveClaw machines, `/opt/blave-agent/workspace` on Blave Agent machines; resolution per `references/deployment.md`). For each file below, compare the repo version with the local version. Nothing is merged: an official file (its exact path is in the clone) that differs is replaced wholesale by the clone's version, after a backup of the local copy into `.official-backup/<old VERSION>-<UTC time>/` (relative path kept; older backups never overwritten). If the local copy matches no past official version of that file (`git hash-object` vs `git log --raw` on a `--filter=blob:none` clone), it was changed on this machine: ask the user before replacing it; if they keep it, leave it and do not copy `VERSION`. Replace atomically (`cp` to a temp name, then `mv`). A file whose path is not in the clone is never touched.
>
> - `AGENTS.md`, `CLAUDE.md` — replace wholesale (these are config, not user-edited)
> - `references/` — replace each differing file wholesale (with the `.official-backup/` copy); copy in any that are missing
> - `strategies/TEMPLATE_A.py`, `strategies/TEMPLATE_C.py` — replace wholesale
> - `lib/` — add any canonical files that are missing locally (`venue_errors.py` always); every canonical file that differs — the backtest-chain files (`runner.py`, `param_scan.py`, `walk_forward.py`, `validation.py`, `analysis.py`), `data.py`, the official broker libs and the rest — is replaced wholesale (with the `.official-backup/` copy), never merged. For `lib/order_*.py` / `lib/account_*.py`, the name alone doesn't tell you if it's user-created: if that exact filename exists in the reference clone (e.g. `order_bingx.py`, `order_sinopac.py`, `account_bingx.py`, `account_TEMPLATE.py`), it is official and replaced like the rest; **never touch** one that does not exist in the reference clone — that's the user's own exchange integration
> - `manager/` — replace wholesale (user edits live in `portfolio_config.json`, not in the scripts)
> - `examples/` — replace wholesale
> - `allocators/` — replace wholesale (only files that exist in the clone; the user's own allocators are never touched)
> - `VERSION` — copy verbatim, always last and only if every step above succeeded (it declares the workspace up to date; drives the web "update available" indicator)
>
> When done, remove /tmp/oc-config.

</details>
历史前置条件说明(补充参考)

桌面版:macOS 13+(通用包)或 Windows 10/11 x64;Windows 安装包未签名。源码构建需 Node.js 22.12+ 与 PATH 中的 Python 3。使用 AI 功能需自备 Claude Code、Codex、DeepSeek API Key 或 Blave AI 账号,费用待核验;实盘交易需交易所账户与 API 密钥,模拟交易据 README 无需密钥;云端运行属付费功能,价格待核验;境内网络可用性与合规性待核验。

项目来源与清单版权许可

https://github.com/Blave-TW/blave-agent

整理来源:https://github.com/slavakurilyak/awesome-ai-agents

清单版权与许可:

MIT License

Copyright (c) 2024 Slava Kurilyak

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.