Skip to main content
The DocloHybridClient enables hybrid execution modes that combine local processing power with cloud management and observability.

Use Cases

  • Config Pull: Pull flow definitions from the cloud, execute locally with your own providers
  • Local + Observability: Build flows locally, send execution metrics to the cloud dashboard
  • Cost Optimization: Use your own API keys for LLM providers while maintaining cloud visibility

Installation

Initialization

Configuration Options

Mode 1: Pull from Cloud

Fetch a flow definition from the cloud and execute it locally with your providers:

Hybrid Run Options

Mode 2: Local + Observability

Build flows entirely locally but send execution data to the cloud dashboard:

Local Run Options

Remote Registries

Access cloud-managed prompts and schemas:

Preloading Assets

For better performance, preload assets before execution:

Creating Observability Manually

Create a cloud observability config to wire into flows manually:

Result Type

Both runHybrid and runLocal return a HybridFlowResult:

Access the Cloud Client

The underlying DocloClient is available for direct cloud operations:

Provider Registry

The provider registry maps provider references (used in cloud flow definitions) to local provider instances:
If a flow references a provider not in your registry, execution will fail with a clear error message.

Next Steps

DocloClient

Cloud-only execution

Observability

Execution monitoring