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.1.1.tar.gz (31.6 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.1.1-py3-none-any.whl (31.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mdjourney_agent-0.1.1.tar.gz
  • Upload date:
  • Size: 31.6 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.1.1.tar.gz
Algorithm Hash digest
SHA256 03043666597856de4142c2ca2cd2e39eb29603e1e7558eb25a2fe72c866d2c3d
MD5 c8c7ff004f1b1f10ff14168503f7c996
BLAKE2b-256 6f87752e39f39e2baa68f5601d47e16bd0ca38a1f39ee06756a34f8c248652ca

See more details on using hashes here.

Provenance

The following attestation bundles were made for mdjourney_agent-0.1.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.1.1-py3-none-any.whl.

File metadata

  • Download URL: mdjourney_agent-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 31.3 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.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3fba56c54b9553a6b1dd2fbeab0453cd8e25ebb94719176490fd2c45a47d589f
MD5 59d2534a2a02b6ccc6ee59c786771c7f
BLAKE2b-256 00155bba92b99f5b22bd7f2881b218f963f097a622cc701514850345f0bac043

See more details on using hashes here.

Provenance

The following attestation bundles were made for mdjourney_agent-0.1.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