Language: English | Português (Brasil)
BRACC Open Graph is an open-source graph infrastructure for public data intelligence. Primary website: bracc.org
BRACC Open Graph is an initiative from World Open Graph. This repository contains the full code for the public BRACC edition.
- Public-interest graph infrastructure for transparency work.
- Reproducible ingestion and processing for public records.
- Investigative signals with explicit methodological caution.
Data patterns from public records are signals, not legal proof.
- Public API (
api/) - ETL pipelines and downloaders (
etl/,scripts/) - Frontend explorer (
frontend/) - Infrastructure and schema bootstrap (
infra/) - Documentation, legal pack, and release gates (
docs/, root policies)
- Graph DB: Neo4j 5 Community
- Backend: FastAPI (Python 3.12+, async)
- Frontend: Vite + React 19 + TypeScript
- ETL: Python (pandas, httpx)
- Infra: Docker Compose
cp .env.example .env
# set at least NEO4J_PASSWORD
make dev
export NEO4J_PASSWORD=your_password
make seed- API:
http://localhost:8000/health - Frontend:
http://localhost:3000 - Neo4j Browser:
http://localhost:7474
api/: FastAPI app, routers, Cypher query loadingetl/: pipeline definitions and ETL runtimefrontend/: React application for graph explorationinfra/: Neo4j initialization and compose-related infrascripts/: operational and validation scriptsdocs/: legal, release, and dataset documentation
Use these defaults for public deployments:
PRODUCT_TIER=communityPUBLIC_MODE=truePUBLIC_ALLOW_PERSON=falsePUBLIC_ALLOW_ENTITY_LOOKUP=falsePUBLIC_ALLOW_INVESTIGATIONS=falsePATTERNS_ENABLED=falseVITE_PUBLIC_MODE=trueVITE_PATTERNS_ENABLED=false
# dependencies
cd api && uv sync --dev
cd ../etl && uv sync --dev
cd ../frontend && npm install
# quality
make check
make neutrality| Method | Route | Description |
|---|---|---|
| GET | /health |
Health check |
| GET | /api/v1/public/meta |
Aggregated metrics and source health |
| GET | /api/v1/public/graph/company/{cnpj_or_id} |
Public company subgraph |
| GET | /api/v1/public/patterns/company/{cnpj_or_id} |
Returns 503 while pattern engine is disabled |
Contributions are welcome. Start with CONTRIBUTING.md for workflow, quality gates, and review expectations.
- Bruno Cesar — creator and maintainer
- Codex — AI-assisted engineering contributor
