Terms of Use
Plain-language terms for installing and using KnightCode. The source is MIT-licensed. Your model and provider usage is governed by the providers you configure.
The short version
- KnightCode is open source and provided as-is.
- You are responsible for what you ask the agent to do.
- Provider keys, model requests, search requests, and related costs are handled through the services you choose.
- No warranty. The MIT license limits liability as far as the law allows.
1. The software
The KnightCode source code is licensed under the MIT License. The license text in the repository governs your use of the code. These terms cover the website and the general use of the published CLI.
2. Installing KnightCode
The install command is npm install -g --ignore-scripts @knightcodeai/cli. It needs Node.js 22.19 or newer. --ignore-scripts is safe for a normal install: the package ships prebuilt JavaScript and does not need a dependency lifecycle script.
3. Your use of KnightCode
KnightCode can read files, write files, run shell commands, fetch web pages, and send context to AI providers you configure. You are solely responsible for what you run, what you send, and the consequences of those actions.
Don't use KnightCode to:
- Break the law where you live or where the affected systems live.
- Access systems you aren't authorized to access.
- Send content to providers in violation of their terms.
4. Third-party services
KnightCode is BYOK. Provider accounts, billing, retention, rate limits, availability, and terms are controlled by the providers you configure. We are not a party to that relationship and cannot make promises on their behalf.
5. What the agent can do
Tools run with the permissions of the process that started KnightCode. KnightCode does not ask before every tool call. Use source control, read the transcript, and isolate untrusted or unattended work. Releases can change behavior. Read the changelog for the version you install.
6. No warranty
KnightCode is provided “AS IS”, without warranty of any kind, express or implied. We do not warrant that KnightCode will be error-free, secure, uninterrupted, or fit for any particular purpose.
7. Limitation of liability
To the maximum extent permitted by law, in no event will KnightCode or its maintainers be liable for any indirect, incidental, special, consequential, or punitive damages arising out of your use of KnightCode. The MIT license's limitation of liability applies to the software.
8. Trademarks
“KnightCode” and the KnightCode logo are unregistered trademarks of the project maintainers. The MIT license covers the code. It does not grant rights in the KnightCode name or logo. If you fork the project, use a different name and logo.
9. Changes
We may update these terms. Material changes will be reflected in the “Last updated” date at the top of this page. Continued use of KnightCode after a change means you accept the new terms.
10. Contact
For questions or support, please open an issue in the GitHub repository. For security reports, please see our Security Policy.