# CodexMemory Source-Available License

Version 1.0

Copyright (c) 2026 Gaurav Sanghvi

This license governs the use, modification, and distribution of the software, source code, documentation, and associated materials (collectively, the "Software") distributed in this repository.

By using, copying, modifying, or distributing the Software, you agree to the terms of this license.

---

# 1. Grant of License

The copyright holder grants you a worldwide, non-exclusive, non-transferable, revocable license to:

• Use the Software
• Copy the Software
• Modify the Software
• Distribute the Software

**ONLY for Non-Commercial Purposes**, subject to the conditions of this license.

---

# 2. Definition of Non-Commercial Use

"Non-Commercial Use" means use that is **not primarily intended for or directed toward commercial advantage or monetary compensation**.

Examples of permitted non-commercial use include:

• Personal development or hobby projects
• Educational use in schools, universities, or training programs
• Academic research
• Independent experimentation
• Demonstrations, tutorials, livestreams, or educational content
• Content creation such as YouTube videos, blog posts, technical walkthroughs, or course material
• Reviews, comparisons, or public demonstrations of the Software
• Use by content creators on monetized platforms (including YouTube, Twitch, or similar platforms) **as long as the Software itself is not sold, redistributed for profit, or used to operate a commercial service**
• Non-profit organization usage
• Testing or evaluation of the Software

Such uses are permitted provided the Software itself is **not sold, licensed, embedded in a paid product, or used to provide a commercial service**.

---

# 3. Prohibited Commercial Uses

The following activities are **not permitted without a separate commercial license**:

• Using the Software as part of a commercial product or service
• Integrating the Software into paid software, SaaS platforms, or subscription systems
• Using the Software within internal tools of a business or commercial organization
• Offering the Software as part of consulting services
• Reselling or sublicensing the Software
• Running hosted services powered by the Software
• Including the Software within proprietary enterprise systems

Organizations wishing to perform any of the above activities must obtain a **separate commercial license** from the copyright holder.

---

# 4. Distribution Conditions

If you distribute the Software or a modified version of the Software, you must:

• Include a complete copy of this license
• Retain all copyright notices
• Clearly indicate if modifications were made
• Not misrepresent the origin of the Software

You may distribute modified versions of the Software only under the terms of this same license.

---

# 5. Contributions

By submitting a contribution to this repository (including pull requests, code changes, documentation updates, or other materials), you agree that:

• Your contribution will be licensed under the **same license as this project**.
• You have the legal right to submit the contribution.
• Your contribution does not violate the rights of any third party.

This ensures that all project contributions remain compatible with the project's licensing model.

---

# 6. Commercial Licensing

Commercial use of the Software requires a **separate commercial license agreement**.

Commercial licenses may include:

• Enterprise deployment rights
• SaaS usage rights
• Integration into proprietary systems
• Redistribution rights

For commercial licensing inquiries contact:

Gaurav Sanghvi

Email: sanghvigaurav95@gmail.com
Phone: +91 7777045091

---

# 7. Trademark and Branding

This license does not grant permission to use the name **CodexMemory**, associated branding, or logos in a way that implies endorsement or affiliation with the copyright holder.

---

# 8. No Warranty

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED.

This includes but is not limited to warranties of:

• Merchantability
• Fitness for a particular purpose
• Non-infringement

The entire risk as to the quality and performance of the Software is with the user.

---

# 9. Limitation of Liability

IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY CLAIM, DAMAGES, OR OTHER LIABILITY ARISING FROM:

• Use of the Software
• Inability to use the Software
• Misuse of the Software
• Any damages related to software failures

This applies whether the claim arises under contract, tort, negligence, or otherwise.

---

# 10. Termination

This license automatically terminates if you violate any of its terms.

Upon termination, you must immediately stop using and distributing the Software and destroy all copies in your possession.

---

# 11. Governing Law

This license shall be governed and interpreted in accordance with the applicable laws of the jurisdiction of the copyright holder, unless otherwise required by local law.

---

# 12. Summary (Non-Legal Explanation)

You may:

• Use the software personally
• Study the source code
• Modify it
• Share it
• Demonstrate it publicly

You may NOT:

• Sell it
• Use it in commercial products
• Deploy it inside companies
• Offer services based on it

Commercial usage requires a commercial license from the author.

---

End of License
