Turns a folder of contracts into one cited, verified final document,
and asks you only where the sources disagree.
Open a pile · trace a value to its source sentence · upload an amendment · review · get final-document.docx v2 · see what it cost
Prerequisites
| Requirement | Notes |
|---|---|
| Docker | Docker Desktop, or Docker Engine with Compose v2. About 10 GB of free disk. |
| make, git | Preinstalled on macOS and Linux. |
| An API key | OPENAI_API_KEY or GEMINI_API_KEY covers everything. With ANTHROPIC_API_KEY, add one of those too: Claude has no embedding model. |
Run
git clone https://github.com/NigamDevansh/documents-analyst.git
cd documents-analyst
cp .env.example .env # then add your API key
make up # first build takes 5–10 minutesOpen http://localhost:8000, then:
- Add documents. Copy a folder into
watched/, or click Upload files on a pile. - Review. Enter your name, open Review, approve or choose.
- Collect.
final-document.docxis written into the pile's folder and can be downloaded from the dashboard.
Good to know
make downstops everything. Your data is kept.- Watch a different folder by setting
WATCH_DIR=/absolute/pathin.env, thenmake up. - Drop a
rulebook.yamlinto a pile to check its terms against your own rules. make testruns the full suite. No API keys needed.
Deeper dives: Backend · Worker runtime · Core · Testing
