需求透视 - 垂直领域需求分析 Agent
Project description
ReqRadar
需求透镜
业务即产品
ReqRadar——需求分析 Agent,在写代码前把需求想清楚。提取术语、检索历史、匹配代码、定位风险,生成决策导向的双层分析报告。
架构
- 后端:Python / FastAPI / SQLAlchemy 2 (async) / JWT / WebSocket
- 前端:React / TypeScript / Ant Design
- AI:OpenAI 或 Ollama,ReAct Agent 9工具 + 7维度追踪
- 存储:SQLite (WAL) / Chroma 向量库
CLI
# 项目管理
reqradar project create -n myproj --local-path ./src
reqradar project list
reqradar project show 1
reqradar project delete 1 --force
reqradar project index 1 # 构建 Web 模式索引
# 分析任务
reqradar analyze submit -p 1 -t "需求描述" -n 需求名
reqradar analyze file ./req.md -i .reqradar/index # 本地文件分析
reqradar analyze list
reqradar analyze status 1
reqradar analyze cancel 1
# 报告
reqradar report get 1 # 输出 markdown
reqradar report get 1 -f html -o report.html
reqradar report versions 1
reqradar report evidence 1
快速开始
git clone https://github.com/your-org/reqradar.git
cd reqradar
poetry install
cp .reqradar.yaml.example .reqradar.yaml
export OPENAI_API_KEY=sk-xxx
# CLI 本地分析
reqradar index -r ./src -o .reqradar/index
reqradar analyze file ./docs/requirements/new-feature.md -i .reqradar/index
# Web 界面
reqradar createsuperuser
reqradar serve
# 浏览器打开 http://localhost:8000/app/
# 前端开发
cd frontend && npm install && npm run dev
许可证
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
reqradar-0.6.1.tar.gz
(563.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
reqradar-0.6.1-py3-none-any.whl
(646.8 kB
view details)
File details
Details for the file reqradar-0.6.1.tar.gz.
File metadata
- Download URL: reqradar-0.6.1.tar.gz
- Upload date:
- Size: 563.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
12013a00c691918d9830e710d7de04d61f24fd5b20819954b39873fd0ddcf432
|
|
| MD5 |
d2b4329462c63ccfbb0b870f315bf68c
|
|
| BLAKE2b-256 |
3a00515c972c5646f1c19f55c32abcf115e910c1bfde5fe9a2ba107ec61c72ad
|
File details
Details for the file reqradar-0.6.1-py3-none-any.whl.
File metadata
- Download URL: reqradar-0.6.1-py3-none-any.whl
- Upload date:
- Size: 646.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3362e8b3afaf80ba269a1c6c1e88ad0abf03fdf28c7a1ac5d945ba4cb967758c
|
|
| MD5 |
55b5ff3b9f05b40ec6cbcf2c57eb233c
|
|
| BLAKE2b-256 |
554e652720a0a54bb6de3639ab9b0942888bcc3bbb7db25889e1a87e79e7a0a1
|