Examples

This section contains introductory examples to help you build your first digital employee.

Overview

The Digital Employee Pipeline is flexible and can be used in various ways:

  • Pipeline Without Agent — Shows that a pipeline can contain any kind of steps, including simple components like a log step. No DigitalEmployeeAgentBuilder is used.

  • Pipeline With Agent — A full example using DigitalEmployeeAgentBuilder with MCPs (e.g., Google Mail) to create an agent that can interact with external services.

Choose Your Path

Select the example that best matches your use case:

1. Pipeline Without Agent

Pipeline Without Agent — A simple example that demonstrates the flexibility of the pipeline framework. This example shows that a pipeline can contain any kind of steps, not just agent steps.

Best for: Understanding the basic pipeline structure and learning how to add custom steps.

2. Pipeline With Agent

Pipeline With Agent — A complete example that shows how to create a digital employee with an agent, using MCPs and an LLM to interact with external services like Gmail.

Best for: Building a functional digital employee that can interact with external systems.

Key Concepts

Both examples demonstrate important concepts:

Builder Pattern

The Digital Employee Pipeline uses a builder pattern for configuration:

  • DigitalEmployeeBuilder: Configures the digital employee's identity (name, email, job)

  • DigitalEmployeePipelineBuilder: Creates the pipeline that orchestrates execution

  • DigitalEmployeeAgentBuilder: Configures agent steps with MCPs and configurations

Pipeline Flexibility

A pipeline can contain any kind of steps — not limited to agent steps. You can use:

  • Simple components (like log steps)

  • Custom processing steps

  • Agent steps with MCPs

  • Any other step from the gllm_pipeline ecosystem

Next Steps

After completing these examples, you can:

Last updated