The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
FQGate agent
大 A免费开源AI插件FQGate-agent(原插件名 tonghuasun-agent):为 Codex、Claude Code、DeepSeek 等 AI 工具提供本机 A 股实时行情、K 线、Level2、资讯、账户查询与可选交易能力。
Install
claude plugin install fqgate-agent@tonghuasun-agent --scope userInstall command taken from the project's README or registry entry. Always review code before running it.
README excerpt
Read full README on GitHub →FQGate Agent
面向多种 AI 软件的开源 FQGate 接入层 让 AI 使用本机 A 股行情、K 线、资讯与 Level-2 数据
FQGate Agent 是 FQGate 的开源 AI 接入项目,维护 Codex 与 Claude Code 插件入口、四个证券研究 Skill 和 MCP Apps 界面源码。WorkBuddy、ZCode、OpenClaw、DeepSeek Harness、豆包和千问通过 FQGate 主程序的“AI 接入”页面按各自支持条件接入。
面向 AI 智能体的金融行情数据 MCP 终端
项目入口
| 项目 | 用途 | GitHub | 国内镜像 |
|---|---|---|---|
| FQGate Agent | 插件、Skill、MCP Apps 源码与 FQGate 正式包 | fqgate/FQGate-agent | Gitee 源码镜像 |
| FQGate 组织 | 项目主页与后续开源项目 | github.com/fqgate | — |
更名说明: 曾用名
tonghuasun-codex、tonghuasun-agent,现已更名为fqgate-agent。
Agent 插件入口、Skill 和 MCP Apps 界面源码均免费开源,不设订阅、会员、试用额度或付费解锁。FQGate 主程序作为本机行情网关单独提供编译包,并适用安装包内的许可。
当前 Agent 插件版本为 1.0.0,最低需要 FQGate 2.0.0。FQGate Agent 不提供个人资产、持仓查询、证券买卖、撤单或资金操作。支持自选股管理的数据来源可以查询和修改关注列表,但这不属于证券交易。
为什么是 FQGate
- Level-2: 提供统一的 Level-2 数据接口,支持逐笔成交、逐笔委托和撤单等实时数据。
- 数据标准: 不同数据来源通过统一的 V2 接口提供各自支持的行情能力,减少切换来源时的接入差异。
- 实时更新: 由正在运行的 FQGate 获取行情,并通过查询或实时订阅接口提供给 AI 工具。
- 本机服务: FQGate 默认只监听
127.0.0.1:17281,减少服务暴露范围。 - 统一连接: 一个 FQGate 实例可以同时服务多个 AI 工具,减少重复登录和重复初始化。
- 当前数据: 行情与资讯由正在运行的 FQGate 返回,不用模型记忆代替实时查询。
- 研究流程: 实时行情、条件选股、盘口成交和事件研究分别由对应 Skill 处理。
- 可检查安装: 正式包提供 SHA-256 文件,接入完成后还需要通过工具列表和真实行情查询确认。
支持 MCP Apps 的 AI 软件可以方便地显示 K 线、证券行情、资讯和 Level-2 成交信息。能否显示相应内容,取决于连接状态、账号权限和数据来源。
一句话安装
将下面这句话完整发送给你正在使用的 AI 助手:
请按照 FQGate Agent 仓库说明完成安装和接入:https://github.com/fqgate/FQGate-agent 。先阅读根目录 README;如果电脑上已有 FQGate 0.x 或 1.x,再阅读 docs/升级到-2.x.md。根据操作系统和处理器从 FQGate Agent Releases 选择正式包;Windows 只使用包含完整应用目录的 windows-x64.zip。下载后核对同名 SHA-256 文件,启动 FQGate,在“行情数据”中确认连接可用,再通过“AI 接入”配置当前 AI 软件。最后重新打开 AI 会话,确认名为 fqgate 的 MCP 连接能够返回工具列表并查询一只明确证券的当前行情。任何步骤失败都要说明失败位置和原始错误,不要把仅下载、解压或写入配置表述为安装成功。
安装流程应完整覆盖:读取说明、选择匹配系统的正式版本、核对安装包、启动 FQGate、确认数据连接、配置当前 AI 软件,以及使用真实行情查询验证 fqgate 连接。
FQGate 主程序下载
- GitHub 下载:FQGate Agent Releases
- 国内下载:Gitee FQGate 发行页
下载时应按操作系统和处理器选择安装包,并使用同名 .sha256 文件核对完整性。不要下载 GitHub 自动生成的 Source code 压缩包。
Windows
下载文件名包含 windows-x64.zip 的正式包,完整解压到固定文件夹,再运行其中的 FQGate.exe。
- 不要直接在压缩包内运行。
- 不要只移动其中的
FQGate.exe,同一目录中的fqgate-updater.exe用于安装更新。
macOS
Apple 芯片选择 macos-arm64.zip,Intel 芯片选择 macos-x86_64.zip。解压后将 FQGate.app 移到“应用程序”。
已经安装 FQGate 0.x 或 1.x 的用户,请阅读升级到 2.x,不要只替换旧版可执行文件。安装结束前,应确认 FQGate 已经启动、数据连接可用,并且名为 fqgate 的 MCP 连接能够读取工具列表和查询当前行情。
选择你的 AI 工具
| AI 软件 | 接入方式 |
|---|---|
| ChatGPT(Codex 接入) | 在 FQGate“AI 接入”页面安装 Codex 插件,或使用下方 Codex 命令 |
| Claude Code | 在 FQGate“AI 接入”页面安装,或使用下方 Claude Code 命令 |
| 豆包、千问、DeepSeek Harness、WorkBuddy、ZCode、OpenClaw | 开发测试中 |
Codex:
codex plugin marketplace add fqgate/FQGate-agent --json
codex plugin add fqgate-agent@fqgate-official --json
Claude Code:
claude plugin marketplace add fqgate/FQGate-agent --scope user
claude plugin install fqgate-agent@tonghuasun-agent --scope user
ChatGPT 入口使用电脑上的 Codex;普通 ChatGPT 网页和手机应用不能通过这个入口连接当前电脑上的 FQGate。完成接入后,需要重新打开 AI 会话。
可以直接这样问
Similar plugs
Reverse engineer anything with agents, from app behavior down to native binaries.
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype…
User-friendly AI Interface (Supports Ollama, OpenAI API, ...)
A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io