Local-first LLM model deprecation watchdog — scans your configs, alerts on sunsets, and instructs your IDE to update.
Project description
Chowkidar
Chowkidar is a secure, local-first LLM model deprecation watchdog. It scans your codebase and configuration files for LLM model references, cross-references them with a locally cached deprecation database, and alerts you before models sunset.
Everything runs on your machine. Zero data exfiltration.
Core Features
-
Multi-Format Scanner & Structured Writers Scans and parses model strings in
.env, JSON, YAML, TOML,docker-compose, and source code. At the 1-day threshold, safely auto-updates structured configuration files with atomic writes, backups, and file locking. -
Notification-First Governance & Per-Reference Audit Log Alerts via native OS toasts and webhooks (Slack/Discord/generic) at 30 days, 15 days, 7 days, and 1 day before expiration. Every notification and update attempt is logged in a detailed audit ledger.
-
Deployment Signal Detector Analyzes repo evidence (CI, Docker, Kubernetes, Vercel, Terraform) to flag likely deployed environments, preventing blind or risky local writes.
-
Cloud Environment Adapters Explicit, credential-backed adapters for dry-running, updating, and verifying remote secret/config stores on Vercel, Kubernetes, AWS Secrets/SSM, GCP Secret Manager, and Azure Key Vault.
-
Unified Risk & Capability Analysis Guarantees migrations won't degrade your system by verifying context windows, output tokens, vision, tool usage, JSON mode, streaming, and cost impacts.
-
AI-Assistant Rules & MCP Server Generates zero-config rule instructions (
.mdc,CLAUDE.md, etc.) to guide Cursor, Claude Code, Copilot, and Windsurf, alongside an interactive MCP server.
Installation & Guided Setup
# 1. Install globally via pipx (recommended) or pip
pipx install chowkidar
# 2. Run the idempotent guided setup & diagnostics check
chowkidar doctor
Autonomous Monitoring
The recommended chowkidar doctor (or chowkidar bootstrap) command provides a zero-friction setup that walks you through everything in one go:
- Config & Database: Creates your config and database files under
~/.chowkidar/. - Repository Auto-Discovery: Traverses selected workspace directory trees (defaulting to
~/Projects,~/Code,~/Developer, and current directory) to find Git repositories, safely pruning heavy paths (likenode_modules,.venv, anddist) to avoid CPU/disk churn. - OS Service Registration: Registers and starts the background daemon using native OS schedulers (
launchdon macOS,systemduser service on Linux, or Windows Task Scheduler) so monitoring loops start at login. - Initial Scan & Sync: Syncs provider deprecation tables and performs an immediate first-time scan on all watched repositories to make alerts and rules files active right away.
You can customize discovery roots and paths inside ~/.chowkidar/config.toml or via the CLI:
# Toggle automatic background repository discovery
chowkidar config auto_discover_enabled true
# Configure path roots to discover Git repositories in
chowkidar config discover_roots '["~/MyRepos", "~/github"]'
# Change directory scan depth
chowkidar config discover_max_depth 5
Top 10 CLI Commands
Below are the 10 most relevant commands for daily use.
1. chowkidar doctor
Guided idempotent diagnosis, automatic repository discovery, database sync, and OS service setup.
2. chowkidar sync
Fetches and updates the local deprecation registry from providers.
3. chowkidar scan
Locates all LLM model references within your code and configuration files.
4. chowkidar check
Cross-references detected model strings against the deprecation registry.
5. chowkidar status
Displays watched projects, sync freshness, and background daemon health.
6. chowkidar watch
Registers a project path with the background daemon for periodic scans.
7. chowkidar daemon
Starts the background monitoring loop (sends alerts at 30, 15, 7, and 1 day before expiry).
8. chowkidar update
Interactively reviews and updates deprecated model strings in configuration files.
9. chowkidar mcp
Launches the stdio MCP server for active IDE-level AI assistant queries.
10. chowkidar report
Generates comprehensive Markdown, JSON, or interactive HTML reports.
See COMMANDS.md for the complete reference containing all available CLI commands.
Editor Integration
Passive AI Rules (Zero-Config)
AI editors auto-discover instructions in your project workspace. Chowkidar outputs non-destructive rule tables:
- Cursor:
.cursor/rules/chowkidar-alerts.mdc - Claude Code:
.claude/rules/chowkidar-alerts.md - VS Code / Copilot:
.github/copilot-instructions.md - Windsurf:
.windsurfrules
MCP Server (Active)
Configure the stdio MCP server in your IDE's configuration file:
{
"mcpServers": {
"chowkidar": {
"command": "chowkidar",
"args": ["mcp"]
}
}
}
Security & Local Safety
- Privacy First: No code, project paths, keys, or configurations are ever sent to external APIs.
- Safe Writes: Modifying configuration files requires setting
auto_update = truein your config. Every update atomic-writes via a temp file and saves a.chowkidar.bakfile for automatic rollback. - Concurrent-Safe: Uses system-level
filelockto protect files from concurrent daemon/CLI writes.
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file chowkidar-0.7.2.tar.gz.
File metadata
- Download URL: chowkidar-0.7.2.tar.gz
- Upload date:
- Size: 198.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.3 CPython/3.13.7 Darwin/25.4.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0574f4ebac3a6314b49732b8f86c75bfdd2457457697a8a5646b055f49fba7a1
|
|
| MD5 |
86559fff7d43f165d0833b64be4259e8
|
|
| BLAKE2b-256 |
e3efb2406cf4e3305e78a3899f3f6da6de62a102b51c40a85f850bbdd9cdec4b
|
File details
Details for the file chowkidar-0.7.2-py3-none-any.whl.
File metadata
- Download URL: chowkidar-0.7.2-py3-none-any.whl
- Upload date:
- Size: 102.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.3 CPython/3.13.7 Darwin/25.4.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d5f340e3957a898ed5ed538549bdd6fe79f89991c019da31b5aa15846829d9e9
|
|
| MD5 |
806ea190807bb593017c8145b45ea5a0
|
|
| BLAKE2b-256 |
a2c706e51fbb12cf61479a8974e2ece30e1dfd4d2c184737f4165c2d688448ef
|