能力标签
⚙️
Agent工作流

开源AI交易

基于 TypeScript · 无代码搭建完整 AI 自动化流程
英文名:OpenAlice
⭐ 4.9k Stars 🍴 763 Forks 💻 TypeScript 📄 AGPL-3.0 🏷 AI 8.5分
8.5AI 综合评分
AI交易TypeScript
✦ AI Skill Hub 推荐

AI Skill Hub 强烈推荐:开源AI交易 是一款优质的Agent工作流。已获得 4.9k 颗 GitHub Star,AI 综合评分 8.5 分,在同类工具中表现稳健。如果你正在寻找可靠的Agent工作流解决方案,这是一个值得深入了解的选择。

📚 深度解析

开源AI交易 是一套完整的 AI Agent 自动化工作流方案。随着 AI 能力的不断提升,基于 Agent 的自动化工作流正在成为提升个人和团队效率的核心方式。区别于传统的 RPA 自动化(模拟鼠标键盘操作),AI Agent 工作流通过理解任务意图、动态规划执行路径,能够处理更复杂的非结构化任务。

开源AI交易 工作流的设计遵循"最小配置,最大复用"原则:核心逻辑已经封装好,用户只需配置自己的 API Key 和业务参数即可快速上手。工作流内置错误处理和重试机制,在网络波动或 API 限速等情况下仍能稳定运行,适合作为生产环境的自动化基础设施。

在实际部署时,建议先在测试环境中运行 3-5 次,验证各个环节的输出结果符合预期,再部署到生产环境。AI Skill Hub 评分 8.5 分,是同类 Agent 工作流中的精选推荐。

📋 工具概览

开源AI交易 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。

GitHub Stars
⭐ 4.9k
开发语言
TypeScript
支持平台
Windows / macOS / Linux
维护状态
持续维护,定期更新
开源协议
AGPL-3.0
AI 综合评分
8.5 分
工具类型
Agent工作流
Forks
763

📖 中文文档

以下内容由 AI Skill Hub 根据项目信息自动整理,如需查看完整原始文档请访问底部「原始来源」。

开源AI交易 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。

📌 核心特色
  • 可视化 Agent 工作流编排,无需编写复杂代码
  • 支持多步骤自动化任务链,实现全流程无人值守
  • 与外部 API、数据库和第三方服务无缝集成
  • 内置错误处理与自动重试机制,保障稳定运行
  • 提供可复用的自动化模板,快速在同类场景部署
🎯 主要使用场景
  • 自动化日常重复性工作,将精力集中于创造性任务
  • 构建数据采集 → 处理 → 输出的完整自动化管线
  • 实现跨平台、跨系统的数据流转和业务协同
以下安装命令基于项目开发语言和类型自动生成,实际以官方 README 为准。
安装命令
# 方式一:npm 全局安装
npm install -g openalice

# 方式二:npx 直接运行(无需安装)
npx openalice --help

# 方式三:项目依赖安装
npm install openalice

# 方式四:从源码运行
git clone https://github.com/TraderAlice/OpenAlice
cd OpenAlice
npm install
npm start
📋 安装步骤说明
  1. 访问 GitHub 仓库获取工作流文件
  2. 在对应平台(Dify / Flowise / Make 等)中找到「导入工作流」功能
  3. 上传工作流文件
  4. 按照提示配置必要的环境变量和 API Key
  5. 运行测试确认流程正常后投入使用
以下用法示例由 AI Skill Hub 整理,涵盖最常见的使用场景。
常用命令 / 代码示例
# 命令行使用
openalice --help

# 基本用法
openalice [options] <input>

# Node.js 代码中使用
const openalice = require('openalice');

const result = await openalice.run(options);
console.log(result);
以下配置示例基于典型使用场景生成,具体参数请参照官方文档调整。
配置示例
# openalice 配置说明
# 查看配置选项
openalice --config-example > config.yml

# 常见配置项
# output_dir: ./output
# log_level: info
# workers: 4

# 环境变量(覆盖配置文件)
export OPENALICE_CONFIG="/path/to/config.yml"
📑 README 深度解析 真实文档 完整度 74/100 含工作流图 查看 GitHub 原文 →
以下内容由系统直接从 GitHub README 解析整理,保留代码块、表格与列表结构。

简介

<p align="center"> <img src="docs/images/alice-full.png" alt="OpenAlice" width="140"> </p>

OpenAlice

<p align="center"> <strong>Your one-person Wall Street.</strong><br> An AI trading agent covering equities, crypto, commodities, forex, and macro — from research through position entry, ongoing management, to exit. </p>

<p align="center"> <a href="https://openalice.ai"><img src="https://img.shields.io/badge/Website-blue" alt="Website"></a> · <a href="https://openalice.ai/docs"><img src="https://img.shields.io/badge/Docs-green" alt="Docs"></a> · <a href="https://x.com/OpenAliceAI"><img src="https://img.shields.io/badge/X-000000?logo=x&logoColor=white" alt="X (Twitter)"></a> · <a href="https://discord.gg/zf4STmrQd8"><img src="https://img.shields.io/badge/Discord-5865F2?logo=discord&logoColor=white" alt="Discord"></a> · <a href="https://qm.qq.com/q/iSg6O4FmrC"><img src="https://img.shields.io/badge/QQ-12B7F5" alt="QQ"></a> </p>

<p align="center"> <img src="docs/images/preview.png" alt="OpenAlice Preview" width="720"> </p>

  • Full-spectrum — analyze and trade across asset classes. Multiple brokers combine into one unified workspace so you're never stuck with "I can see it but can't trade it."
  • Full-lifecycle — not just entry signals. Research, position sizing, ongoing monitoring, risk management, and exit decisions — Alice covers the entire trading lifecycle, 24/7.
  • Full-control — every trade goes through version history and safety checks, and requires your explicit approval before execution. You see every step, you can stop every step.

Alice runs on your own machine, because trading involves private keys and real money — that trust can't be outsourced.

[!CAUTION] OpenAlice is experimental software in active development. Many features and interfaces are incomplete and subject to breaking changes. Do not use this software for live trading with real funds unless you fully understand and accept the risks involved. The authors provide no guarantees of correctness, reliability, or profitability, and accept no liability for financial losses.

Features

1. Clone and install dependencies

git clone https://github.com/TraderAlice/OpenAlice.git
cd OpenAlice
pnpm install

First-time pnpm install pulls the full monorepo + native deps (notably node-pty for terminal sessions). On a normal connection allow ~1 minute.

pnpm may print "Ignored build scripts: ccxt, esbuild, protobufjs" — this is fine, those are optional native optimizations and OpenAlice doesn't need them. You can run pnpm approve-builds later if you want to opt in.

Run on a server (Docker)

For self-hosting on a VPS or always-on box. The image bundles claude and codex CLIs — no host install needed.

git clone https://github.com/TraderAlice/OpenAlice.git
cd OpenAlice
docker compose up -d --build

First-time auth (one-shot — credentials persist in the data volume so the container can be rebuilt without losing them):

docker exec -it openalice claude        # OAuth: paste URL into any browser
docker exec -it openalice codex login   # same dance for codex

Then open http://<your-server>:47331 in a browser. You'll hit the admin-token login screen — see Authentication above for how to retrieve the first-run token from docker logs.

Notes

- All state — config, workspaces, claude/codex credentials, logs — lives in the openalice-data named volume. docker compose down -v is the factory reset. - Already have claude/codex auth on the host? Skip the docker exec step by uncommenting the bind-mount lines in docker-compose.yml to reuse your local ~/.claude and ~/.codex. - The MCP server (port 47332) is intentionally not exposed externally; it's consumed by the CLIs running inside the container only. - The base image is node:22-trixie-slim (Debian 13) because several native deps (notably longbridge) ship glibc 2.39 binaries that older Debians don't have, and workspace bootstrap scripts need bash + POSIX utils. Alpine doesn't qualify on either count (musl libc, no bash).

Quick Start

Heads up: there's no native installer yet. To try OpenAlice today you clone the repo and run it from source — this section is the contributor / early-adopter path. A DMG (macOS) + Windows installer are in flight; once they ship, the steps below collapse to "download, open, done."

Configuration

All config lives in data/config/ as JSON files with Zod validation. Missing files fall back to sensible defaults. You can edit these files directly or use the Web UI.

AI Provider — The default provider is Claude (Agent SDK), which uses your local Claude Code login — no API key needed. To use the Vercel AI SDK instead (Anthropic, OpenAI, Google, etc.), switch ai-provider.json to vercel-ai-sdk and add your API key. Both can be switched at runtime via the Web UI.

Trading — Unified Trading Account (UTA) architecture. Each account in accounts.json becomes a UTA with its own broker connection, git history, and guard config. Broker-specific settings live in the brokerConfig field — each broker type declares its own schema and validates it internally.

FilePurpose
engine.jsonTrading pairs, tick interval, timeframe
agent.jsonMax agent steps, evolution mode toggle, Claude Code tool permissions
ai-provider.jsonActive AI provider (agent-sdk or vercel-ai-sdk), login method, switchable at runtime
accounts.jsonTrading accounts with type, enabled, guards, and brokerConfig (broker-specific settings)
connectors.jsonWeb/MCP server ports
web-subchannels.jsonWeb UI sub-channel definitions with per-channel AI provider overrides
tools.jsonTool enable/disable configuration
market-data.jsonData backend (typebb-sdk / openbb-api), per-asset-class providers, provider API keys, embedded HTTP server config
news.jsonRSS feeds, fetch interval, retention period
snapshot.jsonAccount snapshot interval and retention
compaction.jsonContext window limits, auto-compaction thresholds
heartbeat.jsonHeartbeat enable/disable, interval, active hours

Persona and heartbeat prompts use a default + user override pattern:

Default (git-tracked)User override (gitignored)
default/persona.default.mddata/brain/persona.md
default/heartbeat.default.mddata/brain/heartbeat.md

On first run, defaults are auto-copied to the user override path. Edit the user files to customize without touching version control.

Interface

  • Web UI — workspace chat, the Inbox, a portfolio dashboard with equity curve, and full config management
  • Workspace — a per-task directory + git repo + persistent terminal session running your chosen agent CLI (claude / codex / shell) with OpenAlice's MCP tools plumbed in. The recommended path for any non-trivial AI work — native prompt cache, native rendering, no protocol shim
  • Inbox — workspace-to-user push channel. Agents call inbox_push from inside a workspace to surface a document (rendered live) plus a markdown comment in a dedicated tab; click the reply bar to jump back into the workspace and continue
  • MCP server — tool exposure for external agents

⚡ 核心功能

👥 适合人群

自动化工程师和运维人员项目经理和业务分析师希望减少重复性工作的专业人士数字化转型团队

🎯 使用场景

  • 自动化日常重复性工作,将精力集中于创造性任务
  • 构建数据采集 → 处理 → 输出的完整自动化管线
  • 实现跨平台、跨系统的数据流转和业务协同

⚖️ 优点与不足

✅ 优点
  • +大幅减少重复性人工操作
  • +可视化流程,清晰直观
  • +可扩展性强,支持复杂场景
⚠️ 不足
  • 初始配置和调试需投入一定时间
  • 强依赖外部服务的稳定性
  • 复杂场景需具备一定技术基础
⚠️ 使用须知

该工具使用 AGPL-3.0 协议,商用场景请仔细阅读协议条款,必要时咨询法律意见。

AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。

建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。

📄 License 说明

⚠️ AGPL 3.0 — 最严格的 Copyleft,网络服务端使用也需开源,SaaS 使用受限。

🔗 相关工具推荐

🧩 你可能还需要
基于当前 Skill 的能力图谱,自动补全的工具组合

❓ 常见问题 FAQ

参考README文档
💡 AI Skill Hub 点评

总体来看,开源AI交易 是一款质量优秀的Agent工作流,在同类工具中具备一定竞争力。AI Skill Hub 将持续追踪其更新动态,建议收藏备用,结合自身场景选择合适时机引入使用。

⬇️ 获取与下载
⬇ 下载源码(GPL)
⚠️ 本工具使用 AGPL-3.0 协议。您可以自由下载和使用,但衍生作品必须以相同协议开源,不可商业闭源。使用前请确认符合协议要求。
📚 深入学习 开源AI交易
查看分步骤安装教程和完整使用指南,快速上手这款工具
🌐 原始信息
原始名称 OpenAlice
Topics AI交易TypeScript
GitHub https://github.com/TraderAlice/OpenAlice
License AGPL-3.0
语言 TypeScript
🔗 原始来源
🐙 GitHub 仓库  https://github.com/TraderAlice/OpenAlice 🌐 官方网站  https://openalice.ai

收录时间:2026-06-05 · 更新时间:2026-06-05 · License:AGPL-3.0 · AI Skill Hub 不对第三方内容的准确性作法律背书。