See which AI services your code depends on, what open source can replace them, and which models are about to stop working.
pip install unrent==0.3.0 Copy PIP instructions
What each row means • Install • Use • AI agents • How it works
Every row points to a file and line. --why shows all of them, and what to use instead:
uv tool install unrent # or: pipx install unrent Python 3.11+.
unrent . # scan the current directory unrent src/llm.py # one file unrent . --why openai # every line behind one row unrent . -o report.md # a Markdown report for an issue or PR unrent . --format json # for scripts unrent . --skip-tests # ignore test code unrent . --exclude "examples/" # .gitignore syntax, or a .unrentignore file unrent scan --help lists the rest.
/plugin marketplace add stringcutter/unrent /plugin install unrent@stringcutter You get the MCP tools, the skill, and a hook that tells the agent when it writes a model id that is retired or about to be.
Other MCP clients (Cursor, Copilot, …): command uvx, args ["--from", "unrent[mcp]", "unrent", "mcp"].
Only the skill, with a workflow for what unrent can't see on its own:
npx skills add stringcutter/unrent How it works What it finds 357 closed AI services in 21 categories: LLM APIs and gateways, embeddings, vector databases, RAG, document parsing, observability, speech, image generation, search, scraping, browser automation, sandboxes, agents and agent memory. 139 hosted model providers come from models.dev, regenerated weekly. 204 model retirements from OpenAI, Anthropic and Google, with dates and the vendor's replacement, checked weekly against their deprecation pages. A model counts when the code picks it (a default, a config value, a call), not when it is only listed in a menu or price table. Azure, Bedrock and Vertex have their own schedules and are not covered. 89 open source projects you may already run: vector databases, inference servers, gateways, RAG frameworks, document parsers, observability, evals, speech. Unknown candidates: API hosts and keys that look like a hosted AI service the catalog doesn't know yet. Listed for you to check, never counted. It reads packages (Python, npm, Go, Cargo, Maven, Gradle, NuGet, RubyGems, Composer, pub, SwiftPM), imports, install commands, container images, and API hosts, model ids, env vars and SDK calls in code and config.
Secrets in the output are masked (OPENAI_API_KEY=****). Files too large to scan are listed, never skipped silently.
The CLI uses the rankings shipped with its release. The MCP server fetches the latest from this repo, and the CLI, the MCP server and the hook fetch the latest model retirements, all cached for six hours (UNRENT_OFFLINE=1 turns that off). Only these public lists come in; your code never goes out.
Every rule has a test that fails without it. A golden corpus of 54 real repos, labelled by hand, runs in CI: closed services precision 0.993, recall 0.957; models that stop working precision 0.939, recall 0.886.
With ripgrep installed, a 5,500-file repo scans in about 6 s.
ai alternatives cli dependency-scanner llm mcp model-deprecation open-source openai static-analysis vendor-lock-in
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 5, 2026.




