Skip to main content

Metadata Automation Edge Agent

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mdjourney_agent-0.2.1.tar.gz (35.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mdjourney_agent-0.2.1-py3-none-any.whl (36.4 kB view details)

Uploaded Python 3

File details

Details for the file mdjourney_agent-0.2.1.tar.gz.

File metadata

  • Download URL: mdjourney_agent-0.2.1.tar.gz
  • Upload date:
  • Size: 35.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for mdjourney_agent-0.2.1.tar.gz
Algorithm Hash digest
SHA256 a8b54b34c06051b1022ab1735e4b3e1bedb38925dcc43c8929c9e3d5b8811b87
MD5 d66686f3d4cd8cd668b3ab17fc1ff29d
BLAKE2b-256 9ce43541200cce4e76494d47a715dafc9a0ef971df7289d110c91d13247fc111

See more details on using hashes here.

Provenance

The following attestation bundles were made for mdjourney_agent-0.2.1.tar.gz:

Publisher: edge-agent-release.yml on sifrimlab/mdjourney

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mdjourney_agent-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: mdjourney_agent-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 36.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for mdjourney_agent-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 91cd0de2b1b9cf257fa0eef484c543bfb2572c9013e78adbdb0601b18f8b18cb
MD5 d790dcaa861bb7b8c8a4c87d9aadc685
BLAKE2b-256 444c6475d5fc2a65011e71abfdd39c6149d97c34c7aa5407eafef201a0a442ce

See more details on using hashes here.

Provenance

The following attestation bundles were made for mdjourney_agent-0.2.1-py3-none-any.whl:

Publisher: edge-agent-release.yml on sifrimlab/mdjourney

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page