Kubiya SDK Examples¶
This section contains practical examples demonstrating how to use the Kubiya SDK for various use cases. These examples showcase real-world scenarios and best practices for building tools and workflows.
Tool Examples¶
Learn how to create Docker-based tools with various configurations and capabilities:
- Basic Tool Creation - Getting started with your first Kubiya tool
- Dynamic Configuration Tools - Using configuration schemas for flexible tools
- File Handling Tools - Working with files and directories in tools
- Service Integration Tools - Connecting to external services and APIs
Workflow Examples¶
Discover how to build and orchestrate complex workflows:
- Sequential Workflows - Creating simple sequential workflows
- Conditional Workflows - Adding conditional logic to workflows
- Parallel Workflows - Running workflow steps in parallel
- Error Handling Workflows - Implementing robust error handling
- Nested Workflows - Using workflows within workflows
End-to-End Examples¶
Complete examples demonstrating how to build entire solutions:
- Data Processing Pipeline - Building a complete data ETL pipeline
- AI-Powered Chatbot - Creating a conversational assistant
- DevOps Automation - Automating infrastructure management
Getting Started with Examples¶
To run the examples, you need to have the Kubiya SDK installed:
Most examples can be run directly by copying the code into a Python file and executing it. For examples that require external services, you may need to set up appropriate credentials or configurations.
Docker Requirements¶
Since Kubiya tools run in Docker containers, ensure you have Docker installed and running on your system:
- Docker Desktop for Windows and Mac
- Docker Engine for Linux
Additional Dependencies¶
Some examples may require additional Python packages or external tools. These requirements will be mentioned at the beginning of each example.
Contributing Examples¶
Have you created an interesting tool or workflow with Kubiya SDK? Consider contributing your example to the community. Follow the contribution guidelines to submit your example.