Skip to main content

MDJourney Edge Agent

The MDJourney Edge Agent is a lightweight service for research workstations and local data servers. It watches filesystem events, validates the p_/d_ hierarchy, and publishes ingestion events to an MDJourney backend gateway.

This package is developed inside the MDJourney monorepo but is designed to remain independently installable and releasable on PyPI.

Installation

From PyPI

pip install mdjourney-agent

From source (local development)

cd edge-agent
python -m venv .venv
source .venv/bin/activate
pip install -e ".[dev]"

Quickstart

  1. Configure the agent interactively:
mdjourney-agent configure
  1. Run diagnostics:
mdjourney-agent doctor
  1. Start monitoring:
mdjourney-agent run

Configuration

Configuration is loaded from:

  • YAML: ~/.config/mdjourney/config.yaml
  • legacy JSON fallback: ~/.config/mdjourney/config.json
  • environment variables (take precedence)

Key settings include:

  • AGENT_ID
  • WATCH_PATH
  • GATEWAY_URL
  • GATEWAY_TOKEN
  • Redis settings (REDIS_URL or REDIS_HOST/REDIS_PORT/REDIS_DB/REDIS_PASSWORD)

For full details, see:

  • docs/configuration.md
  • docs/operations.md
  • docs/compatibility.md

Documentation for Maintainers

  • Release runbook: docs/release.md
  • Changelog: CHANGELOG.md

Troubleshooting

  • 403 Forbidden: check that GATEWAY_TOKEN is valid.
  • Permission denied: ensure user access to WATCH_PATH.
  • Agent offline: verify gateway reachability and run mdjourney-agent doctor.

Metadata

Release files for mdjourney-agent 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mdjourney-agent 0.2.1
File Size Uploaded
mdjourney_agent-0.2.1.tar.gz 35.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mdjourney-agent 0.2.1
File Interpreter ABI Platform
mdjourney_agent-0.2.1-py3-none-any.whl Python 3 none any Details

Total release size: 72.1 kB

Release files / mdjourney_agent-0.2.1.tar.gz

Download URL mdjourney_agent-0.2.1.tar.gz
Size 35.7 kB
Tags Source
SHA-256 checksum
How to use checksums
a8b54b34c06051b1022ab1735e4b3e1bedb38925dcc43c8929c9e3d5b8811b87
BLAKE2b-256 checksum
How to use checksums
9ce43541200cce4e76494d47a715dafc9a0ef971df7289d110c91d13247fc111
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

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 Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 12, 2026.

Transparency log

Release files / mdjourney_agent-0.2.1-py3-none-any.whl

Download URL mdjourney_agent-0.2.1-py3-none-any.whl
Size 36.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
91cd0de2b1b9cf257fa0eef484c543bfb2572c9013e78adbdb0601b18f8b18cb
BLAKE2b-256 checksum
How to use checksums
444c6475d5fc2a65011e71abfdd39c6149d97c34c7aa5407eafef201a0a442ce
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

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 Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 12, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.2.1 This release

2 release files

0.1.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page