FactCode Software License Agreement (PROPRIETARY)
Copyright (c) 2026 DataMesh PTE. LTD. All rights reserved.

================================================================================
This is the license for the FactCode combined work. FactCode incorporates
open-source components (including the MIT-licensed "pi" by Mario Zechner and
"pi-mcp-adapter" by Nico Bailon) under their own licenses; see
THIRD-PARTY-NOTICES.md and THIRD-PARTY-LICENSES.txt distributed with this
Software. Nothing here limits your rights under, or imposes terms conflicting
with, those open-source licenses.
================================================================================

1. DEFINITIONS
   "Software" means the FactCode software, in source or binary form, including
   updates provided to Licensee, EXCLUDING the third-party open-source components
   identified in THIRD-PARTY-NOTICES.md (the "Open-Source Components"), which are
   licensed under their own respective terms.
   "Licensee" means the organization to which DataMesh AI grants this license.
   "Agreement" means the master agreement (e.g., MSA/order form) executed between
   DataMesh AI and Licensee covering the Software; in its absence, these terms.

2. LICENSE GRANT
   Subject to this license and the Agreement (including payment of applicable
   fees), DataMesh AI grants Licensee a non-exclusive, non-transferable,
   non-sublicensable license to install and use the Software on-premises within
   Licensee's own environment, solely for Licensee's internal business purposes.

3. RESTRICTIONS
   Except as permitted by applicable law or the Open-Source Components' licenses,
   Licensee shall not: (a) redistribute, resell, sublicense, lease, or host the
   Software for third parties; (b) reverse engineer, decompile, or disassemble
   the Software except to the extent expressly permitted by law; (c) remove or
   alter any proprietary or attribution notices, including THIRD-PARTY-NOTICES.md
   and THIRD-PARTY-LICENSES.txt; or (d) use the Software to build a competing
   product.

4. OPEN-SOURCE COMPONENTS
   The Open-Source Components are provided under the licenses identified in
   THIRD-PARTY-NOTICES.md and THIRD-PARTY-LICENSES.txt. The MIT-licensed upstream
   work (pi, Copyright (c) 2025 Mario Zechner) and the bundled pi-mcp-adapter
   (Copyright (c) 2026 Nico Bailon) are retained and acknowledged therein, as
   required by their licenses.

5. OWNERSHIP
   The Software is licensed, not sold. DataMesh AI and its licensors retain all
   right, title, and interest in the Software, excluding the Open-Source
   Components, which remain the property of their respective owners.

6. DATA / NO TELEMETRY
   FactCode is built to operate without external network callbacks beyond the
   endpoints Licensee explicitly configures (its own LLM endpoint and the
   FactVerse MCP). DataMesh AI does not collect telemetry from the Software.

7. WARRANTY DISCLAIMER
   TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, THE SOFTWARE IS PROVIDED
   "AS IS" AND "AS AVAILABLE", WITHOUT WARRANTY OF ANY KIND, WHETHER EXPRESS,
   IMPLIED, OR STATUTORY, INCLUDING WITHOUT LIMITATION THE IMPLIED WARRANTIES OF
   MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE, AND NON-INFRINGEMENT.

8. LIMITATION OF LIABILITY
   TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, DATAMESH AI SHALL NOT BE
   LIABLE FOR ANY INDIRECT, INCIDENTAL, SPECIAL, CONSEQUENTIAL, OR PUNITIVE
   DAMAGES, OR FOR LOST PROFITS OR DATA, ARISING OUT OF OR RELATED TO THE
   SOFTWARE. DATAMESH AI'S AGGREGATE LIABILITY IS LIMITED AS SET OUT IN THE
   Agreement; in the absence of such a provision, to the fees paid by Licensee
   for the Software in the twelve (12) months preceding the claim. Nothing herein
   limits liability that cannot be limited under applicable law.

9. TERM, TERMINATION, AND GOVERNING LAW
   The term, termination, governing law, and venue applicable to the Software are
   those of the Agreement between DataMesh AI and Licensee. This license
   terminates automatically if Licensee breaches it; upon termination Licensee
   must cease use and destroy all copies of the Software (excluding Open-Source
   Components retained under their own licenses).

================================================================================
For the licenses of bundled open-source components, see THIRD-PARTY-NOTICES.md
and THIRD-PARTY-LICENSES.txt distributed with this Software.
================================================================================
