MIT License

Copyright (c) 2025 MKM Lab

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software for NON-COMMERCIAL USE ONLY, subject to the following conditions:

COMMERCIAL USE RESTRICTION:
Core algorithms and advanced features are NOT included in this open-source 
version. Commercial use requires:
- Jema API license: https://jema-ai.com
- Enterprise license: sales@mkmlife.com

Unauthorized commercial use is prohibited and will result in legal action.

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

---

PATENT GRANT

Subject to the terms and conditions of this License, each Contributor hereby
grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free,
irrevocable (except as stated in this section) patent license to make, have
made, use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable by such
Contributor that are necessarily infringed by their Contribution(s) alone or
by combination of their Contribution(s) with the Work to which such
Contribution(s) was submitted.

If You institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work or a
Contribution incorporated within the Work constitutes direct or contributory
patent infringement, then any patent licenses granted to You under this
License for that Work shall terminate as of the date such litigation is filed.

---

COMMERCIAL USE POLICY

While this software is licensed under the MIT License (allowing commercial use),
the core algorithms are NOT included in this open-source version.

For commercial use of core algorithms:
- Jema API (Cloud): https://jema-ai.com
- Athena API (Cloud): https://a-codeai.com/api
- Enterprise License: Contact sales@mkmlife.com

This policy does not restrict the MIT License rights, but clarifies that
full functionality requires a commercial license.

---

TRADEMARK NOTICE

This license does not grant permission to use the trade names, trademarks,
service marks, or product names of the Licensor, except as required for
reasonable and customary use in describing the origin of the Work and
reproducing the content of the NOTICE file.

Registered Trademarks:
- "MKM Lab" ® - Registered trademark of MKM Lab
- "Persona Diary" ® - Registered trademark of MKM Lab

Trademarks (In Use):
- "Athena Brain", "Athena API", "Jema API", "MKM Life", "A-Code AI"
  are trademarks of MKM Lab. All rights reserved.
