by guangshu100
全流程 智能招投标 Agent:标书生成 · 招投标解读 · 标书检查 · 标书文档ai排版 · 商机发现 一键完成。 21 项合规检查 · 多模型切换 · RAG 知识库 · OCR 抽取。 从招标公告到可交付 docx 文档,全流程 AI 自动化。
# Add to your Claude Code skills
git clone https://github.com/guangshu100/BidMaster-ProGuides for using ai agents skills like BidMaster-Pro.
Last scanned: 7/22/2026
{
"issues": [],
"status": "PASSED",
"scannedAt": "2026-07-22T06:27:23.146Z",
"npmAuditRan": true,
"pipAuditRan": true,
"promptInjectionRan": true
}
AI 智能招投标助手 · 标书生成 · 投标生成 · 投标检查 · 文档排版 全流程自动化
功能特性 • 界面预览 • 技术架构 • 快速开始 • 项目结构 • API文档
🚀 全流程智能招投标 Agent:4 阶段流水线(招标解读 / 投标生成 / 投标检查 / 文档排版),多 Agent 协同 + 可编排工作流,21 项专业合规检查规则、多 LLM 供应商灵活切换(DeepSeek / 硅基流动 / OpenAI / 通义等),轻量级 Skill 引擎 + 可插拔能力,RAG 知识库(支持语义重排与公司画像过滤),MinerU 扫描件 OCR 抽取,商机监控 + 今日热点聚合,桌面客户端 / 服务端 / Docker 一键部署。喜欢给个 ⭐ Star!
BidMaster Pro 是基于 AI Agent 架构的全流程智能招投标平台。通过 LLM(大语言模型)、RAG(检索增强生成)和 Skill Engine(技能引擎)三大核心引擎,实现从招标文件解读、投标书自动生成、合规性检查到文档排版输出的完整工作流自动化。
| 页面 | 预览 |
|---|---|
| 工作台 | ![]() |
| 招标解读 | ![]() |
| 投标生成 - 结构模板 | ![]() |
| 投标生成 - 正文生成 | ![]() |
| 投标检查 - 项目模式 | ![]() |
| 投标检查 - 上传文件模式 | ![]() |
| 文档输出 | ![]() |
| 文档输出(无正文) | ![]() |
| 咨询中心 | ![]() |
平台设置 → MinerU OCR Tab 统一管理(云端 / 自部署、API Key、endpoint、超时、轮询策略)POST /api/mineru/ocr 上传任意文档即可获得 markdown 结果,可被解读/检查流程复用┌─────────────────────────────────────────────────────┐
│ Desktop Client │
│ React + Electron + TypeScript │
└──────────────────┬──────────────────────────────────┘
│ REST API
┌──────────────────▼──────────────────────────────────┐
│ FastAPI Server │
│ (Python 3.12+) │
├─────────────────────────────────────────────────────┤
│ Router Layer │
│ ├── Projects ├── Interpret ├── Generate │
│ ├── Check ├── Format ├── Skills │
│ ├── News ├── Knowledge ├── RBAC │
│ └── AI-Image │
├─────────────────────────────────────────────────────┤
│ Core Engines │
│ ┌──────────────┐ ┌──────────────┐ ┌──────────────┐│
│ │ Agent Engine │ │ Skill Engine │ │ RAG Engine ││
│ │ LangGraph │ │ Plugin Sys │ │ ChromaDB ││
│ └──────────────┘ └──────────────┘ └──────────────┘│
│ ┌──────────────┐ ┌──────────────┐ │
│ │ LLM Gateway │ │ Doc Engine │ │
│ │ LiteLLM │ │ Multi-Parser │ │
│ └──────────────┘ └──────────────┘ │
├─────────────────────────────────────────────────────┤
│ Infrastructure │
│ ├── PostgreSQL (AsyncPG) │
│ ├── Redis (Celery Broker) │
│ ├── MinIO (Object Storage) │
│ └── Celery Worker (Async Tasks) │
└─────────────────────────────────────────────────────┘
| 技术 | 用途 | 版本 |
|---|---|---|
| FastAPI | Web 框架 | >=0.115 |
| Python | 编程语言 | >=3.12 |
| SQLAlchemy | ORM 框架 | >=2.0 |
| PostgreSQL | 关系数据库 | 16 |
| AsyncPG | 异步数据库驱动 | >=0.30 |
| Redis | 缓存/消息队列 | 7 |
| Celery | 异步任务队列 | >=5.3 |
| MinIO | 对象存储 | Latest |
| 技术 | 用途 | 版本 |
|---|---|---|
| LiteLLM | LLM 统一接口 | >=1.0 |
| LangGraph | Agent 工作流编排 | >=0.2 |
| LangChain-Core | LLM 基础组件 | >=0.3 |
| ChromaDB | 向量数据库 | >=0.5 |
| Sentence-Transformers | 文本嵌入 | >=3.0 |
| ONNX Runtime | 文档分类模型 | >=1.17 |
| 技术 | 用途 | 版本 |
|---|---|---|
| React | UI 框架 | ^19.0.0 |
| Electron | 桌面应用容器 | ^41.0.0 |
| TypeScript | 类型系统 | ^5.5.0 |
| Vite | 构建工具 | ^7.0.0 |
| Zustand | 状态管理 | ^5.0.0 |
| React Router | 路由管理 | ^7.0.0 |
| TanStack Query | 数据请求 | ^5.0.0 |
| Radix UI | 无头组件库 | ^1.1.0 |
| TailwindCSS | 样式框架 | ^4.0.0 |
| 技术 | 用途 | 版本 |
|---|---|---|
| python-docx | Word 文档处理 | >=1.1 |
| pdfplumber | PDF 文本提取 | >=0.11 |
| PyMuPDF | PDF 高级处理 | >=1.24 |
| Mammoth | DOCX 转 HTML | >=1.8 |
| WeasyPrint | HTML 转 PDF | >=61 |
| BeautifulSoup4 | HTML 解析 | >=4.12 |
# 1. 克隆项目
git clone <repository-url>
cd BidMaster-Pro
# 2. 配置环境变量
cp .env.example .env
# 编辑 .env 文件,填写 LLM API Key 等配置
# 3. 启动服务
docker-compose up -d
启动后自动运行:PostgreSQL (5432) / Redis (6379) / MinIO (9000) / FastAPI (8000) / Celery Worker
# 后端
python -m venv venv
source venv/bin/activate # Windows: venv\Scripts\activate
pip install -e .
# 前端
cd packages/desktop
npm install
# 启动基础设施
docker-compose up -d postgres redis minio
# 配置环境变量
cp .env.example .env
# 编辑 .env,至少配置 BMP_LLM_API_KEY / BMP_DATABASE_URL / BMP_REDIS_URL
# 初始化数据库
alembic upgrade head
# 启动后端
uvicorn services.main:app --reload --host 0.0.0.0 --port 8000
# 启动 Celery Worker
celery -A services.celery_app worker --loglevel=info
# 启动前端桌面应用
cd packages/desktop
npm run electron:dev
| 变量名 | 说明 | 默认值 |
|---|---|---|
BMP_DEBUG |
调试模式 | true |
BMP_PORT |
服务端口 | 8000 |
BMP_DATABASE_URL |
PostgreSQL 连接串 | postgresql+asyncpg://... |
BMP_REDIS_URL |
Redis 连接串 | redis://localhost:6379/0 |
BMP_CHROMA_DIR |
ChromaDB 存储路径 | ./chroma_db |
BMP_LLM_DEFAULT_MODEL |
默认 LLM 模型 | deepseek/deepseek-chat |
BMP_LLM_API_KEY |
LLM API Key | - |
BMP_LLM_API_BASE |
LLM API 地址 | https://api.deepseek.com |
BMP_LLM_FALLBACK_MODES |
降级模型列表 | ollama/qwen2.5 |
BMP_EMBEDDING_MODE |
嵌入模式 (api/local) | api |
BMP_EMBEDDING_MODEL |
嵌入模型 | text-embedding-v3 |
| 变量 | 说明 | 默认值 |
|---|---|---|
BMP_MINERU_MODE |
cloud (云端) 或 self_hosted (自部署) |
cloud |
BMP_MINERU_API_KEY |
云端 API Key / 自部署 Token | - |
BMP_MINERU_ENDPOINT |
服务端点 | https://mineru.net/api/v4 |
BMP_MINERU_TIMEOUT |
单次请求超时 (秒) | 180 |
也可在 平台设置 → MinerU OCR Tab 页面化配置(自动写入 .env)。
通过 LiteLLM 支持多种 LLM 提供商,可在平台设置中灵活切换:
deepseek/deepseek-chatsiliconflow/*gpt-4, gpt-3.5-turboqwen-max, qwen-plusollama/qwen2.5, ollama/llama3Skill 是核心扩展机制,每个 Skill 代表一个独立的业务能力单元:
from core.skill_engine.base import Skill, SkillContext, SkillResult
class MyCustomSkill(Skill):
name = "my_custom_skill"
description = "我的自定义技能"
category = "generate"
version = "1.0.0"
async def execute(self, ctx: SkillContext) -> SkillResult:
param1 = ctx.parameters.get("param1")
response = await ctx.llm.chat(messages=[...])
return SkillResult(success=True, data={"result": response}, tokens_consumed=100)
使用 LangGraph 编排多个 Skill 的执行流程:
pipeline_dsl = {
"entry": "parse_tender",
"nodes": [
{"id": "parse_tender", "skill": "tender_parser", "require_gate": True},
{"id": "extract_requirements", "skill": "requirement_extractor"},
{"id": "generate_outline", "skill": "outline_generator"},
],
"edges": [
{"from": "parse_tender", "to": "extract_requirements"},
{"from": "extract_requirements", "to": "generate_outline"},
]
}
确保工作流按顺序执行,前一阶段未完成则不能进入下一阶段:
gate_keeper.mark_passed(project_id, "interpret")
if not gate_keeper.is_passed(project_id, "interpret"):
raise GateNotPassedException("请先完成招标解读")
本项目采用 MIT 许可证 - 详见 LICENSE 文件
Made with ❤️ by BidMaster Team
🚀 全流程智能招投标 Agent · 4 阶段流水线 · 21 项合规检查 · 多 LLM 切换 · Skill 引擎 · RAG 知识库 · MinerU OCR · 商机监控
⭐ 如果这个项目对你有帮助,请给我们一个 Star!
BidMaster-Pro is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by guangshu100. 全流程 智能招投标 Agent:标书生成 · 招投标解读 · 标书检查 · 标书文档ai排版 · 商机发现 一键完成。 21 项合规检查 · 多模型切换 · RAG 知识库 · OCR 抽取。 从招标公告到可交付 docx 文档,全流程 AI 自动化。. It has 102 GitHub stars.
Yes. BidMaster-Pro passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.
Clone the repository with "git clone https://github.com/guangshu100/BidMaster-Pro" and add it to your Claude Code skills directory (see the Installation section above).
BidMaster-Pro is primarily written in Python. It is open-source under guangshu100 on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh BidMaster-Pro against similar tools.
No comments yet. Be the first to share your thoughts!