Zocrates
An agentic assistant for Zotero.
by alexplaka · AI & summaries
Zocrates has a Zotero Plugins grade of B (use with care) because it installs and runs software packages from npm or PyPI, and 1 more finding. It works with Zotero 10. Last checked 28 Nov 2026.
Or skip the file: Zotero Atlas, our free plugin, installs this checked release from inside Zotero in one click, then holds its updates until we've checked them. Get Zotero Atlas
- Zotero Plugins grade
- BUse with careSafety report Add this grade to your README
- in use
- 33
- stars on GitHub
- 1
- Zotero versions
- 10
- latest release
- 24 Nov
- language
- 1
What it does
What you'll need
Detected automaticallyWe haven't detected any setup requirements. That isn't the same as none: check the developer's README.
Latest release
We grade the latest release. Release notes and all 10 releases on GitHub
Ratings and reviews
What people who use it say. This is separate from the grade, which is what the code does, and never changes it.
No ratings yet.
Write a review
Stars come from people on GitHub, many of them developers. They show interest, not how well it works. Once 10 people rate a version, their average takes this place.
Other plugins that do this
Matched on what they doFor the same job, work with Zotero 10 and graded B or better. Closest match first.
- BBibGenieCan use a local model
An AI research agent in the Zotero sidebar that answers questions using items, PDFs, notes, snapshots, images or collections as context.
How we pick these
By how closely what they do matches this plugin, using descriptions and the phrases people search with. Copies and forks of this plugin are listed under Forks and copies instead. No plugin pays to appear here.
Safety report
Sets the gradeCode transparencyReadable code, uploaded by the project's automated GitHub buildThe release file was uploaded by the project's automated GitHub build. We haven't yet rebuilt it from the source to compare.LowLow concern: normal for plugins that do this job. Listed so you know.
Where your data goesOnly contacts services we could identify6 addresses in 4 groups.LowLow concern: normal for plugins that do this job. Listed so you know.
const url = "https://github.com/astral-sh/uv/releases/download/" + PINNED_UV_VERSION + "/" + artifactName;
Powerful capabilitiesInstalls and runs software packages from npm or PyPI, and 6 moreMediumMedium concern: worth reading before you install. One medium finding makes the grade B.
Installs a locked set of packages, at startup, without asking
const args = ["pip", "install", "--python", venvPython, wheelInstallTarget];
"resource://gre/modules/Subprocess.sys.mjs"
It checks the download against a fingerprint written into the plugin, so only a new version of the plugin can change what runs. The download comes from Astral, who make uv. The first time Zotero starts with it, it sets up its own Python: if it can't find uv on the computer, it downloads uv 0.13.8 from Astral's GitHub releases, and uv then installs Python 3.13. We checked that the fingerprints in the plugin match the ones Astral publishes for that version. Its README says it sets up Python with uv. On Windows, if Microsoft's C++ runtime is missing, it asks you to install it yourself rather than downloading it. We reviewed version 0.93.1; this release has the same code.
const res = await fetch(url, { cache: "no-store" });Works withZotero 10 · not 9Updates automatically
What you'll needNothing extra detectedDetected automatically from its code
MaintenanceActive · last release 24 Nov 20261 contributor
LanguagesDocumentation in EnglishInterface: English
Where your data goes
We found: only contacts services we could identify. 6 addresses in 4 groups.
const url = "https://github.com/astral-sh/uv/releases/download/" + PINNED_UV_VERSION + "/" + artifactName;
Forks and copies
No forks listed.
The developer's response
Conditional download of executable from
aka.ms1. What is the Microsoft executable for?
vc_redist.x64.exe is the Microsoft Visual C++ 2015–2022 Redistributable (x64) installer.
During plugin initialization on Windows (bootstrap.js::ensureVcRedistWindows):
Read the full response
- Zocrates provisions a local managed Python 3.13 environment (uv, Python runtime, and dependencies like chromadb, onnxruntime, tokenizers, pydantic-core, etc.).
- On Windows, Python itself and virtually all native compiled C/C++/Rust extensions require the Visual C++ runtime DLLs (vcruntime140.dll and vcruntime140_1.dll) in C:\Windows\System32.
- On fresh, minimal, or corporate Windows installations where Visual Studio or C++ runtimes haven't been pre-installed, Python or binary wheel imports crash with: ImportError: DLL load failed while importing ...: The specified module could not be found
- bootstrap.js first checks if vcruntime140_1.dll already exists (isVcRedistInstalledWindows()). If it does, it skips this step entirely. If it is missing, it downloads the installer and runs it passively (/install /passive /norestart) so the backend can start properly.
2. Is there a more reputable site?
aka.ms is Microsoft's official domain.
- What aka.ms is: It stands for "Also Known As Microsoft". It is Microsoft’s official first-party URL shortening and redirection service (similar to t.co for X/Twitter or goo.gl for Google).
- The canonical link: The link https://aka.ms/vs/17/release/vc_redist.x64.exe is the exact permanent URL published in Microsoft's official documentation: Microsoft Learn: Latest supported Visual C++ Redistributable downloads (https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170)
- Where it points: If you inspect the HTTP redirect:
curl -sIL "https://aka.ms/vs/17/release/vc_redist.x64.exe"It returns a 301 Moved Permanently pointing directly to Microsoft's visualstudio CDN:
Location: https://download.visualstudio.microsoft.com/download/pr/.../VC_redist.x64.exeMicrosoft deliberately publishes the aka.ms redirect URL so scripts and installers don't have to hardcode transient, hash-based CDN URLs (which break whenever Microsoft issues a monthly security or servicing update to the runtime). There is no more reputable or official source than Microsoft's own canonical aka.ms link.
On Installing the latest version of Zocrates
1. It does NOT fetch the "newest version" from the internet
- wheelInstallTarget is a local file, not a PyPI package:
const res = await fetch(rootURI + "backend/zocrates.whl"); ... const wheelInstallTarget = zocratesDataDir + sep + "zocrates-" + resolvedVersion + "-py3-none-any.whl";rootURI points to the inside of the installed Zotero .xpi package (chrome:// / jar:). The wheel is built at release time and bundled directly inside the extension archive. It is never downloading a newer version of Zocrates from PyPI.
- Dependencies are strictly pinned, not floating: Notice the second parameter in buildWheelInstallArgs(venvPython, wheelInstallTarget, constraintsTarget):
function buildWheelInstallArgs(venvPython, wheelInstallTarget, constraintsTarget) { const args = ["pip", "install", "--python", venvPython, wheelInstallTarget]; if (constraintsTarget) { args.push("--constraint", constraintsTargetToFileUrl(constraintsTarget)); } return args; }constraints.txt is exported directly from uv.lock at build time (uv export --locked). Every dependency is pinned with an exact == version. Even on first install, it never pulls arbitrary "newest" versions from PyPI—it strictly honors the locked versions tested in the repository.
2. It does NOT run "each time at startup"
In normal operation, this command runs only once (on initial setup) or when the user updates the Zotero plugin.
In bootstrap.js (launchBackendIfNeeded):
// Step 3: Check if .venv exists if (!haveVenv) { // Fresh install only: provision environment await provisionEnvironment(...); } else { // Incremental upgrade check: const manifestVersion = Zotero.Zocrates.version; const installedVersion = await readBackendVersionMarker(zocratesDataDir, sep); if (installedVersion !== manifestVersion) { // Only runs when the Zotero extension was updated to a new version! await installBundledWheel(..., manifestVersion); } }
- When installBundledWheel completes, it writes manifestVersion into <zocrates-data>/.venv/.zocrates-version.
- On subsequent Zotero launches, installedVersion === manifestVersion, so the entire install process is bypassed completely, and Zotero launches the existing backend immediately.
3. Regarding doing the above "without asking"
- User Intent: The user installs or updates the Zotero add-on through Zotero's extension manager. Because Zocrates is an AI assistant plugin requiring a local Python backend to function, provisioning the backend engine is part of the extension's lifecycle (with progress displayed via the onboarding progress card in the sidebar).
Thanks for the detailed response, and for 0.93.1, which came out while we were checking. We've now read both releases.
You're right about the package install. Our scanner misread it three ways. It took the dev-only install from the backendSourceDir setting (empty by default) as an unpinned package. It missed that the real install uses the wheel shipped in the .xpi. And it missed the --constraint option that buildWheelInstallArgs adds with args.push, so it never saw that constraints.txt pins all 223 dependencies. We've fixed this for every plugin. Of the 35 with a package install that we re-checked, only Zocrates' card changed: it now says "Installs a locked set of packages", which is medium, not high. It still says "at startup, without asking", because setup runs from Zotero's startup with no prompt. As you say, that's only the first time and after an update, with progress in the sidebar.
The download was rated high only because we hadn't reviewed it yet. In 0.92.1, both downloads came from their makers over https and your README names them, which is low under our rules. 0.93.1 goes further. It downloads uv 0.13.8 only and checks it against the SHA-256 values in bootstrap.js before unpacking it. All six match the checksums Astral publishes. It also no longer downloads the Visual C++ runtime, and asks the user to install it instead. One small thing: the README still says setup "automatically detects and installs" the runtime.
Our host list didn't know aka.ms either, which is why "Where your data goes" showed a server we couldn't identify. It now lists it as Microsoft's.
Zocrates is at B, from installing packages and launching programs, which are medium for every plugin that runs its own Python backend. Your response stays next to the card.
because it installs and runs software packages from npm or PyPI, and 1 more finding
Compatibility
Information
- Developer
- alexplaka
- In useAn estimate of how many copies of Zotero have it: Zotero downloads each new version once for every copy that has the plugin, so we count the downloads of its most-downloaded recent release. Rounded. Plugins that update from outside GitHub count low.
- 33
- DownloadsAll-time downloads of its release files from GitHub, counting every update. Installs from elsewhere aren't counted.
- 149
- This versionDownloads of version 0.94.3, its latest release, since it came out on 24 Nov 2026. A new release starts from zero; Downloads counts every release.
- 33
- ReleasesVersions published on GitHub. Everyone who has the plugin downloads each one again, which adds up in Downloads.
- 10
- AgeTime since its GitHub repository was created, on 3 Nov 2026. The plugin can be younger than its repository.
- 4 weeks
- StarsPeople who starred the repository on GitHub: a rough measure of interest.
- 1
- ContributorsPeople who have committed code to this plugin. Bots don't count, nor do the authors of a template or project it was copied from.
- 1
- LicenceThe licence the code is published under, as GitHub reports it.
- AGPL-3.0
- SizeThe size of its .xpi file.
- 2.4 MB
- Interface
- English
- Documentation
- English
Is this your plugin?
Show its grade in your GitHub README with the Zotero Plugins badge. It updates itself when the grade changes.
[](https://zoteroplugins.org/p/zocrates)Report a problem
Something wrong on this page, or something we missed in the code? Tell us. We read every report.
Report a problemReview sheet for IT approval