# AGENTS.md

微舆：人人可用的多Agent舆情分析助手，打破信息茧房，还原舆情原貌，预测未来走向，辅助决策！从0实现，不依赖任何框架。

## Setup

```
pip install -r requirements.txt
```

## Commands

```
# TODO: nothing declares a build or test command, so an agent has to guess.
# This is the single most valuable section of this file. Fill it in.
```

## Layout

- `ReportEngine/`           45 source files
- `SentimentAnalysisModel/` 27 source files
- `InsightEngine/`          22 source files
- `MediaEngine/`            19 source files
- `QueryEngine/`            19 source files
- `MindSpider/`             15 source files

## Conventions

- Tests live alongside the code they cover, following `ReportEngine/utils/test_chart_validator.py`.
- CI defines what passing means. See `.github/workflows/docker_ci.yml`, and keep it green.
- TODO: add the two or three conventions a newcomer always gets wrong here.

## Gotchas

- `ReportEngine/renderers/libs/mathjax.js` is 1146KB. It will not fit comfortably in context, so read it in parts.
- Copy `.env.example` before running anything that needs configuration.
- No lockfile is committed, so an install here may not match what CI produced.

---

Drafted by agentreadme.com from what is in this repository. Everything marked TODO
needs a human. Check it in as AGENTS.md at the root.
