Adakode Proprietary Licence
Copyright (c) Adakode. All rights reserved.

This licence covers the Adakode software in this repository: the VS Code
extension, the local agent, the platform service (including its gateway), and
all accompanying source code, documentation and assets (together, "the
Software").

1. NO LICENCE GRANTED BY DEFAULT

   The Software is proprietary and confidential. No right or licence is granted
   to you except the limited rights expressly stated in this document. All
   rights not expressly granted are reserved by Adakode.

2. PERMITTED USE

   If you are an individual end user with a current, paid Adakode subscription,
   you may install and run an unmodified copy of the Software, for your own
   internal use, on devices you control, for as long as that subscription is
   active. This is a licence to use the Software, not a licence to the
   Software's source code.

   If you are an employee or contractor of an organisation with a current paid
   Adakode subscription, you may use the Software in the same way for that
   organisation's internal business purposes.

3. PROHIBITED ACTS

   Except to the extent a restriction below is unenforceable under the law that
   applies to you, you must not, and must not permit anyone else to:

   a. copy, publish, distribute, sell, resell, sublicense, rent, lease, host,
      lend or otherwise make the Software available to any third party;
   b. modify, adapt, translate, or create derivative works of the Software, or
      merge it into another product;
   c. reverse engineer, decompile, disassemble, deobfuscate or otherwise
      attempt to derive the source code, structure, models, prompts, tool
      descriptions or internal interfaces of the Software, or defeat, bypass or
      interfere with any licence check, entitlement check, quota, watermark or
      authentication mechanism in it;
   d. remove, obscure or alter any copyright, trademark, licence or
      attribution notice in the Software;
   e. use the Software to build, train or support a competing product or
      service, or use it to obtain its internal prompts or model access for
      that purpose;
   f. use the Software's hosted service other than through an unmodified,
      officially released client.

   A cracked, patched, repackaged or otherwise altered copy is not licensed
   under this document, and using the hosted service through one is a breach of
   these terms.

4. ACCOUNTS AND THE HOSTED SERVICE

   The Software includes an optional hosted service that runs model calls on
   Adakode's own provider credentials. Use of that service requires an account
   and is additionally governed by Adakode's Terms of Service and Privacy
   Policy. Adakode may suspend or terminate an account, and revoke its
   credentials, at any time for breach of this licence or those terms.

5. THIRD-PARTY COMPONENTS

   The Software includes third-party open-source components. Those components
   are not covered by this licence; each is governed by its own licence, and
   those licences control in the event of a conflict with this document. A list
   of the components and their licences is available on request.

6. NO WARRANTY

   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, TITLE AND NON-INFRINGEMENT. YOU BEAR THE
   ENTIRE RISK OF USING THE SOFTWARE, INCLUDING ANY EFFECT IT HAS ON YOUR CODE,
   YOUR FILES OR YOUR SYSTEMS.

7. LIMITATION OF LIABILITY

   TO THE MAXIMUM EXTENT PERMITTED BY LAW, ADAKODE IS NOT LIABLE FOR ANY
   INDIRECT, INCIDENTAL, SPECIAL, CONSEQUENTIAL OR PUNITIVE DAMAGES, OR FOR ANY
   LOSS OF PROFITS, REVENUE, DATA OR GOODWILL, ARISING OUT OF OR RELATED TO THE
   SOFTWARE OR THIS LICENCE, EVEN IF ADVISED OF THE POSSIBILITY. ADAKODE'S
   TOTAL LIABILITY UNDER THIS LICENCE WILL NOT EXCEED THE AMOUNTS YOU PAID
   ADAKODE FOR THE SOFTWARE IN THE TWELVE MONTHS BEFORE THE CLAIM AROSE.

8. TERMINATION

   This licence ends automatically if you breach it. On termination you must
   stop using the Software and delete all copies you hold. Sections 3, 5, 6, 7
   and 9 survive termination.

9. GOVERNING LAW

   This licence is governed by the laws of the jurisdiction named by Adakode in
   its Terms of Service, without regard to conflict-of-law rules. Nothing in
   this licence limits any right you have that cannot be limited by contract.

Contact: legal@adakode.com
