需求透视 - 垂直领域需求分析 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.0.tar.gz
(100.8 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.0-py3-none-any.whl
(147.3 kB
view details)
File details
Details for the file reqradar-0.6.0.tar.gz.
File metadata
- Download URL: reqradar-0.6.0.tar.gz
- Upload date:
- Size: 100.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a0462428fae533f41826845b22b11045dafbb0af5682bdf8ec719675514236b3
|
|
| MD5 |
a20f6615b5f9868accc3c0ae327a5a05
|
|
| BLAKE2b-256 |
53b380cbba628a4b5b91eeee8bdfb9da11dc49813b25bf009a3f72c7a02319a8
|
File details
Details for the file reqradar-0.6.0-py3-none-any.whl.
File metadata
- Download URL: reqradar-0.6.0-py3-none-any.whl
- Upload date:
- Size: 147.3 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 |
50c92f4094b8f10812d60ca5213127e6f722b0a439caf438b72b43ba02ab51bd
|
|
| MD5 |
baca2714bef0c59b07efbc8ff7aa2823
|
|
| BLAKE2b-256 |
aa97ef94213a9962a00813cf24089cf68b76c335c152ac17d72e8353927f40af
|