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—safely guiding updates before production breakage.
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). 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 & Setup
# Install globally via pipx (recommended) or pip
pipx install chowkidar
# Initialize configuration and local sqlite registry
chowkidar setup --skip-slm
# Fetch deprecation updates from providers (OpenAI, Anthropic, Google, Mistral)
chowkidar sync
# Verify native notifications and setup clickable HTML reports
chowkidar test-notify
Command Reference
| Command | Description |
|---|---|
chowkidar setup |
Initialize config (~/.chowkidar/config.toml), registry DB, and SLM |
chowkidar sync |
Scrape latest model deprecation and sunset schedules from providers |
chowkidar scan [PATH] |
Find and extract all LLM model references across your codebase |
chowkidar check [PATH] |
Check found references against the local deprecation database |
chowkidar status |
Show watched projects, sync freshness, and daemon health |
chowkidar watch <PATH> |
Register a directory path for periodic background scans |
chowkidar unwatch <PATH> |
Unregister a directory from background monitoring |
chowkidar pin <MODEL> |
Suppress notifications for a specific model ID (keeps existing value) |
chowkidar unpin <MODEL> |
Re-enable notifications for a previously pinned model |
chowkidar snooze <MODEL> --days N |
Temporarily silence deprecation warnings for a model |
chowkidar daemon |
Start the periodic background monitoring loop (runs every 4 hours) |
chowkidar install-service |
Install and register the daemon as an OS-native background service |
chowkidar uninstall-service |
Remove the OS-native background daemon service |
chowkidar logs |
Stream or tail daemon execution logs |
chowkidar mcp |
Start stdio MCP server for rich Cursor, Claude Code, and Copilot queries |
chowkidar config |
Read or set configuration variables (auto_update, webhook_url, etc.) |
chowkidar update |
Interactively review and apply recommended model updates to structured configs |
chowkidar gate |
CI-friendly checker; exits with a non-zero code if critical sunsets are found |
chowkidar cost |
View pricing comparisons and FinOps savings between models |
chowkidar diff <OLD> <NEW> |
Perform direct comparison of context size, pricing, and features |
chowkidar optimize |
Search scanned files for cheaper recommended drop-in model replacements |
chowkidar report |
Generate comprehensive Markdown, JSON, or interactive HTML reports |
chowkidar predict |
Estimate model sunset probability based on historical release patterns |
chowkidar dashboard |
Open a lightweight terminal TUI to visualize model states across projects |
chowkidar test-migration |
Mock prompt completion outputs on old vs new models before migrating |
chowkidar test-notify |
Fire a mock native desktop alert and test report click-through action |
chowkidar rules write |
Generate local prompt files (.mdc, CLAUDE.md) instructing AI agents |
chowkidar rules clean |
Safely wipe Chowkidar-generated rule instructions from the project |
chowkidar slm status |
Inspect Ollama connection status and system hardware profile |
chowkidar slm choose |
Analyze CPU/RAM and configure/pull the best small local model (SLM) |
chowkidar slm unload |
Unload the SLM from memory to instantly reclaim system RAM |
chowkidar hook install |
Register a lightweight terminal cd warning hook |
chowkidar hook uninstall |
Uninstall the terminal cd warning hook |
Editor Integration
Passive AI Rules (Zero-Config)
AI editors auto-discover instructions in your project workspace. Chowkidar outputs non-destructive rule tables wrapped in <!-- chowkidar --> comments:
- 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.6.0.tar.gz.
File metadata
- Download URL: chowkidar-0.6.0.tar.gz
- Upload date:
- Size: 179.1 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 |
1cee3ac81d5f19f70fae9ff0c9d15f1e32616b472b9fc7e93b348c8447484c7a
|
|
| MD5 |
d3a3df0990d924c60850fa26ac57ca15
|
|
| BLAKE2b-256 |
1406e1ea4ad85c3e975fa4c5e210df0f4c056a8e14e720e4a2f143c29319ccd0
|
File details
Details for the file chowkidar-0.6.0-py3-none-any.whl.
File metadata
- Download URL: chowkidar-0.6.0-py3-none-any.whl
- Upload date:
- Size: 97.8 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 |
aa5b78fbe445aa84d832c70e3e47f7bae49923ed9273d03414d2c103ed83977f
|
|
| MD5 |
e9cb479872f62687b4f77776317b7f4c
|
|
| BLAKE2b-256 |
0e4783c9c2c74d3c3b9862b8916cd508ab2a647c4db5965c2b9e3767d26ab233
|