Catalog PyPI
PACKAGE EXPLORERView in registry

aems-agent

PyPI

AEMS Local Bridge Agent — local filesystem access for exam PDFs

aemsagentgradinglocal-bridgepdf
Versions collected1
Direct dependencies17From release 0.4.6
Last observed20 Oct, 20:24 UTC

README

Version 0.4.6 documentation

AEMS Local Bridge Agent

As of v0.3.2 (2026-05-11), this package is licensed under AGPL-3.0-or-later (previously MIT). The agent links PyMuPDF in-process via aems-pdf-annotator, and AGPL applies to the combined work. See LICENSE for the full text.

A lightweight companion service that runs on localhost and provides REST API access to the local filesystem, enabling the AEMS hosted app to read/write exam PDFs to a user-chosen folder without ever uploading source PDFs to the server.

What it does

  • Runs as a local service on 127.0.0.1:61234 (default).
  • Exposes an authenticated REST API the AEMS web app uses to read source PDFs and write annotated PDFs from your local storage folder.
  • Enforces local Host headers and a PIN-based browser pairing flow before granting the web app access.
  • Optional system-tray icon so it's visible while running.
  • Optional offline grading bundle support for fully-local workflows.
  • Never sends PDF content out unless the user explicitly attaches a Canvas / offline workflow in the hosted app.

Installation

Pre-built installers — no Python needed — are on the Releases page.

PlatformFileNotes
Windowsaems-agent-setup.exeInstalls to %LOCALAPPDATA%\AEMS Agent
macOSAEMS-Agent.dmgDrag to Applications
Linuxaems-agent-linux.tar.gzExtract and run ./aems-agent run

pip (for developers)

pip install aems-agent

Requires Python 3.10+.

Usage

# Print version and exit
aems-agent --version

# Start the agent (default: http://127.0.0.1:61234)
aems-agent run

# Start with system tray icon
aems-agent run --tray

# Custom port/host
aems-agent run --port 9000 --host 0.0.0.0

# Show auth token (the hosted app pairs against this token)
aems-agent token

# Set storage path
aems-agent set-path /path/to/exam/folder

# Show config directory
aems-agent config-dir

After aems-agent run, open AEMS in your browser, go to Settings → Storage, and pair the agent.

License

AGPL-3.0-or-later. See LICENSE.

Relicense note (v0.3.2, 2026-05-11): Versions ≤ 0.3.1 were licensed under MIT. From v0.3.2 the agent is AGPL-3.0-or-later because it links PyMuPDF (AGPL-3.0) in-process via aems-pdf-annotator. The MIT licence that previously applied to forks of v0.3.1 and earlier remains in effect for those versions.

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
0.4.625 May 202617

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
aems-app/aems-agent

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 20:24 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:7bdf683947cf7c198fd929a5ca1de8a8585544c7b487a990eaf9ddbce402708f