Skip to main content
When your graphs need to import from shared utility modules that aren’t installed as packages, use the dependencies config to add those paths to sys.path before graphs are loaded.

Configuration

Add the dependencies array to your aegra.json:

Path resolution

  • Relative paths are resolved from the config file’s directory
  • Absolute paths are used as-is
  • Paths are added to sys.path in order (first has highest priority)
  • Non-existent paths generate a warning but don’t prevent startup

Example

Given this project structure:
Configure dependencies:
Then import directly in your graph:

Logging

When dependencies are configured, you’ll see:
If a path doesn’t exist: