Skip to content

License

Lacuna is licensed under the Apache License 2.0.

Apache License 2.0

Copyright 2025 Lacuna Contributors

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

What This Means

The Apache License 2.0 is a permissive open source license that allows you to:

  • Use the software for any purpose, including commercial applications
  • Modify the source code to fit your needs
  • Distribute the software or your modifications
  • Sublicense the software under different terms

Requirements

When using Lacuna, you must:

  • Include a copy of the Apache License 2.0
  • Include a NOTICE file if we provide one
  • State significant changes made to the software
  • Retain all copyright, patent, trademark, and attribution notices

Limitations

  • The license provides no warranty
  • The license provides no trademark rights
  • Contributors provide the software "as is"

Third-Party Licenses

Lacuna depends on various open source libraries, each with their own licenses:

Library License Purpose
FastAPI MIT Web framework
SQLAlchemy MIT Database ORM
Pydantic MIT Data validation
PyTorch BSD-3-Clause ML framework
sentence-transformers Apache 2.0 Embeddings
NetworkX BSD-3-Clause Graph algorithms
Redis BSD-3-Clause Caching
PostgreSQL PostgreSQL License Database

See the full dependency list with licenses:

pip install pip-licenses
pip-licenses --with-urls

FOSSA Compliance

Lacuna uses FOSSA for automated license compliance scanning:

FOSSA Status

Contributing

By contributing to Lacuna, you agree that your contributions will be licensed under the Apache License 2.0.

See CONTRIBUTING.md for details.

Questions

For licensing questions, please open an issue on GitHub.