PentAGI is MIT licensed and all dependencies use MIT-compatible licenses.
When adding new dependencies, ensure they use compatible licenses:
- MIT
- Apache-2.0
- BSD-2-Clause, BSD-3-Clause
- ISC
- MPL-2.0 (if used without modification)
- 0BSD (public domain)
- GPL, LGPL, AGPL (without special exception)
- CC-BY-SA (for code, OK for data)
- Proprietary/Commercial licenses
-
Update dependencies:
cd backend && go mod tidy cd ../frontend && npm install
-
Generate license reports:
./scripts/generate-licenses.sh
This script automatically collects license information from all dependencies and saves them to the
licenses/directory. See licenses/README.md for details. -
Scan for issues:
osv-scanner scan --experimental-licenses="MIT,Apache-2.0,BSD-2-Clause,BSD-3-Clause,ISC,MPL-2.0" backend osv-scanner scan --experimental-licenses="MIT,Apache-2.0,BSD-2-Clause,BSD-3-Clause,ISC,MPL-2.0" frontend
- osv-scanner - Security and license scanning (recommended)
- license-checker - npm license verification
- go-licenses - Go module license extraction (install:
go install github.com/google/go-licenses@latest) - go list - Go module inspection
License reports are automatically generated during Docker builds:
- Backend reports in
/opt/pentagi/licenses/backend/dependencies.txt- List of all Go moduleslicenses.csv- Detailed license information (generated by go-licenses)
- Frontend reports in
/opt/pentagi/licenses/frontend/dependencies.json- Complete npm dependency treelicenses.json- Detailed license datalicenses.csv- License summary
Contact: info@pentagi.com or info@vxcontrol.com