# AGENTS.md

A Simple and Universal Swarm Intelligence Engine, Predicting Anything. 简洁通用的群体智能引擎，预测万物

## Setup

```
npm ci
```

## Commands

```
npm run dev             # run locally
npm run build           # produce a build
npm run setup
npm run setup:backend
npm run setup:all
npm run backend
npm run frontend
```

## Layout

- `backend/`  58 source files
- `frontend/` 25 source files
- `scripts/`  2 source files
- `tests/`    2 source files

## Conventions

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

## Gotchas

- `frontend/src/components/Step4Report.vue` is 142KB. It will not fit comfortably in context, so read it in parts.
- Copy `.env.example` before running anything that needs configuration.

---

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.
