Plugins / AI & summaries

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.

View source2.4 MB .xpi file · Zotero 10

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

Description coming soon. We haven't written a summary yet. The line at the top is the developer's own description; the developer's README is linked above.

What you'll need

Detected automatically

We haven't detected any setup requirements. That isn't the same as none: check the developer's README.

Latest release

Bv0.94.324 Nov 2026Use with care

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
Your rating of Zocrates v0.94.3

Your review is public, under the name you give, and published with the directory's data under CC BY 4.0. Links are removed. We never store your IP address: a scrambled code made from it is kept for 30 days to catch fake reviews. Every review is checked before it's published; how fake ones are spotted isn't published, so it can't be gamed.

1stars on GitHub

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 do

For the same job, work with Zotero 10 and graded B or better. Closest match first.

  • B
    BibGenie

    An AI research agent in the Zotero sidebar that answers questions using items, PDFs, notes, snapshots, images or collections as context.

    Matches “ai research assistant” · 24,312 downloads · Active · Zotero 7–10
    Can use a local model
Compare all 2 side by side
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 grade
B
Zotero Plugins gradeUse with care
because it installs and runs software packages from npm or PyPI, and 1 more finding
Applies to v0.94.3, released 24 Nov 2026Code checked · not yet tested in a live Zotero
What we found in the codeSets the gradeThe worst finding in these three areas sets the grade.
Code 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.
Updates
Updates come from this project's GitHub repositoryThe update address offers this version
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.
AI services (2)
openrouter.ainamed in its codeThe address is in its code, but we didn't trace a request to it. It may be a link or unused.www.datalab.tonamed in its codeThe address is in its code, but we didn't trace a request to it. It may be a link or unused.
Zotero (1)
Zotero lookup services
Code hosting (1)
github.com
On your computer (2)
127.0.0.1localhostnamed in its codeThe address is in its code, but we didn't trace a request to it. It may be a link or unused.
Where we found it
github.combootstrap.js · line 1777
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.
Medium concern (2)
Installs and runs software packages from npm or PyPILaunches programs on your computer
Low concern (5)
Uses the clipboardStores API keys or passwordsDownloads a fixed version of uv when it first sets up its PythonWorks with files on your computerUses Zotero's password manager
Where we found it
Installs and runs software packages from npm or PyPIbootstrap.js · line 2156

Installs a locked set of packages, at startup, without asking

const args = ["pip", "install", "--python", venvPython, wheelInstallTarget];
Launches programs on your computerbootstrap.js · line 1334
"resource://gre/modules/Subprocess.sys.mjs"
Downloads a fixed version of uv when it first sets up its Pythonbootstrap.js · line 1785

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" });
Before you installShown, not gradedFacts to help you decide. They don't change the grade.
Works withZotero 10 · not 9Updates automatically
Zotero 9 ✗ doesn't workZotero 10 ✓ worksZotero 11 beta not tested yet: Zotero hasn't opened Zotero 11 testing
What you'll needNothing extra detectedDetected automatically from its code
No further detail for this area yet.
MaintenanceActive · last release 24 Nov 20261 contributor
No further detail for this area yet.
LanguagesDocumentation in EnglishInterface: English
No further detail for this area yet.
We report what we found in the code. Open any area for the evidence.How we gradeReport a problem

Where your data goes

We found: only contacts services we could identify. 6 addresses in 4 groups.

AI services (2)
openrouter.ainamed in its codewww.datalab.tonamed in its code
Zotero (1)
Zotero lookup services
Code hosting (1)
github.com
On your computer (2)
127.0.0.1localhostnamed in its code
Evidence · file and line
github.combootstrap.js · line 1777
const url = "https://github.com/astral-sh/uv/releases/download/" + PINNED_UV_VERSION + "/" + artifactName;

Forks and copies

No forks listed.

The developer's response

We corrected our checks

Conditional download of executable from aka.ms

1. 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
  1. Zocrates provisions a local managed Python 3.13 environment (uv, Python runtime, and dependencies like chromadb, onnxruntime, tokenizers, pydantic-core, etc.).
  2. 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.
  3. 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
  4. 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.

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.exe

Microsoft 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).
alexplaka · 12 Nov 2026 · about capabilities
Our reply

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.

Respond as the developer
Zotero Plugins grade
BUse with care

because it installs and runs software packages from npm or PyPI, and 1 more finding

Where your data goesOnly contacts services we could identify
Low
Powerful capabilitiesInstalls and runs software packages from npm or PyPI, and 6 more
Medium
Code transparencyReadable code, uploaded by the project's automated GitHub build
Low

Compatibility

Zotero 9✗ Doesn't work
Zotero 10CURRENTThe newest stable Zotero release.✓ Works
Zotero 11 beta Not tested yet Zotero hasn't opened Zotero 11 testing yet. Until it does, it asks developers not to declare Zotero 11, and the beta loads plugins anyway.
Updates automatically

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.

README.md
Zotero Plugins grade B
[![Zotero Plugins grade](https://zoteroplugins.org/badge/zocrates.svg)](https://zoteroplugins.org/p/zocrates)
Developer checklist for this plugin

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
Install Zocrates
BUse with care
Before you install: It installs and runs software packages from npm or PyPI, and 1 more finding.Read the finding
Compare with similar plugins

Suggest an idea

Ideas go on our public list on GitHub without your name, with the page you sent it from, so please leave out personal details. To write privately: ilias [at] zoteroplugins.org.

Missing a plugin? Submit it and it's added within minutes.