Hands-on Examples
Use these examples after Quick Start to explore real scenarios with runnable code and CLI commands.
Success
When to use this page: You are ready for richer workflows and want copy-and-run snippets instead of building from scratch.
Audience: Engineers prototyping orchestration, PMs preparing demos, and data developers running evaluations without coding.
TUI Development: Many examples below demonstrate Textual-based TUI patterns. For comprehensive TUI guidance, refer to the TUI foundation spec in the repository.
Note: Validated example projects are now centralized in the GL SDK Cookbook. This ensures all blueprints remain self-contained, runnable, and maintained with the latest SDK best practices.
Each row links to a runnable project. Follow the README for quick start instructions, then inspect code to understand the pattern.
Validated Example Projects
These projects demonstrate foundational patterns and are maintained in the GL SDK Cookbook. Each project is self-contained and ready to run.
Basic Agent (Hello World)
A minimal starter demonstrating how to create and run an agent using config-based instantiation.
Modular Tool Integration
Learn how to organize complex tools with separate helper files and modular structure.
Multi-Agent Coordinator
Coordinator with specialized sub-agents (e.g., formal and casual greeting team).
Multi-Agent Patterns
Runnable blueprints for Sequential, Parallel, Router, Hierarchical, and Aggregator flows.
Runtime Configuration
How to pass per-request overrides for agents, tools, and MCPs at runtime (e.g., database URLs or planning).
Agent Export & Import
Demonstrates how to serialize and deserialize agent configurations for portability.
Local Execution
Run agents locally without deployment (see Local vs Remote for feature mapping).
Cookbook Examples
For quick copy-and-run recipes, use the dedicated Cookbook repository.
Last updated
Was this helpful?