Skip to content

Build AI methods with your coding agent, then run them anywhere: as an MCP for chatbots, as a webapp for people, or via API for your software.

1.6 KB
Raw Blame

title: Advanced Customizations description: "Customize Pipelex with dependency injection — plug in your own secrets, storage, reporting, and content generation providers without modifying the framework."

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.