Skip to content

Advanced Customizations

A dependency injection framework for extending and customizing Pipelex behavior.

Overview

Pipelex provides well-defined injection points that let you replace or extend core behaviors without modifying the framework itself. Each injection point follows a strict protocol contract, making implementations testable and swappable. Register custom providers at initialization time and the runtime uses them throughout execution.

Injection Points

Injection Point Purpose
Secrets Provider Custom secret management (environment, vaults, etc.)
Storage Provider Custom cloud storage backends
Observer Custom execution data capture
Reporting Delegate Custom cost reporting
Content Generator Override LLM output generation
Pipe Router Dynamic routing of pipes to implementations

Built-in Defaults

Some injection points provide safe built-in defaults or no-op implementations, so you only need to implement the ones relevant to your use case.

For detailed documentation, see Advanced Customizations.