--- title: "Open source: XWatch (AGPL-3.0) and XDefend (Apache-2.0) | Xtarwall" url: https://xtarwall.com/open-source/ description: "Xtarwall's open source projects: XWatch, the free AGPL-3.0 scanner for Claude Code, Codex, Cursor and the terminal, and XDefend, the Apache-2.0 in-app guard. Licences, install commands, how to contribute, and what is not open source." last_updated: 2026-12-02 --- Open source # Open source at the core. Read it, run it, change it. XWatch and XDefend are open source and free. The code is on GitHub and the packages are on npm. This page says what each one does, its licence and how to install it, and it says just as plainly what we keep closed. [github.com/xtarwall](https://github.com/xtarwall) [Install XWatch free](https://xtarwall.com/watch/#install) Detect ## XWatch AGPL-3.0 Free XWatch finds weak spots in your code and writes the fix. It runs on your own machine with zero configuration. - ### Where it runs Inside Claude Code, Codex or Cursor, or from your terminal with `xwatch check`. - ### Licence AGPL-3.0. Free to use. On npm as `@xtarwall/xwatch`, version 0.2.1. - ### Open core, said plainly The XWatch client is open source. Its smart checks come from the Xtarwall brain, a free and private service with its own terms: [Brain Terms](https://xtarwall.com/brain-terms/). Your code never leaves your machine, and without the brain XWatch still runs its offline checks. [github.com/xtarwall/xwatch](https://github.com/xtarwall/xwatch) [npm](https://www.npmjs.com/package/@xtarwall/xwatch) [GitHub Marketplace](https://github.com/marketplace/actions/xwatch-by-xtarwall) [Glama](https://glama.ai/mcp/servers/xtarwall/xwatch) [About XWatch](https://xtarwall.com/products/xwatch/) [Install guide](https://xtarwall.com/watch/) Run it with npm ``` npx -y @xtarwall/xwatch ``` Check a project from the terminal ``` xwatch check ``` GitHub Action: XWatch by Xtarwall, on the GitHub Marketplace ``` - uses: xtarwall/xwatch@v0 ``` MCP Registry name (official registry) ``` io.github.xtarwall/xwatch ``` The in-app guard ## XDefend Apache-2.0 Free XDefend is the guard that runs inside your own app. It observes by default, blocking is optional, and it can set decoys. - ### Small on purpose No dependencies, and no network code in the guard. - ### Licence Apache-2.0. Free to use. On npm as `@xtarwall/xdefend`, version 0.1.1. - ### Optional console `@xtarwall/xdefend-console`, version 0.1.1, is a separate package. Add it if you want it. [github.com/xtarwall/xdefend](https://github.com/xtarwall/xdefend) [npm](https://www.npmjs.com/package/@xtarwall/xdefend) [XShield, which uses it](https://xtarwall.com/products/xshield/) Install the guard ``` npm install @xtarwall/xdefend ``` Optional: the console ``` npm install @xtarwall/xdefend-console ``` Contribute ## How to help. Both projects take issues and pull requests on GitHub. - ### Start with CONTRIBUTING Each repository has a CONTRIBUTING file. It is the place to begin: [XWatch](https://github.com/xtarwall/xwatch) [XDefend](https://github.com/xtarwall/xdefend) - ### Our CLA, by one reply We ask contributors to agree to our contributor licence agreement (CLA). One reply on your pull request does it. - ### Found a weakness in our code? Tell us privately, not in a public issue: [how to report](https://xtarwall.com/security/#report) Said plainly ## What is not open source. We would rather you hear it from us. - ### XGuard, XShield and XDefeat These are our paid products, and they are not open source. Every price is public: [pricing](https://xtarwall.com/pricing/) - ### The Xtarwall brain The service behind the smart checks in XWatch is private. It is free for XWatch, and its rules are public: [Brain Terms](https://xtarwall.com/brain-terms/) ## Start with XWatch. It is free. It runs on your own machine and needs no AI key to start. [Install XWatch](https://xtarwall.com/watch/#install) [See the four products](https://xtarwall.com/products/)