Examples
This page showcases real-world examples of Dagger in action, with a focus on working implementations you can study and adapt.
Agents and agentic CI
-
Toy Programmer: A simple programmer micro-agent for demonstration purposes
-
Multi-Agent Demo: A demonstration using multiple LLMs to collaboratively solve a problem
-
Go Coder: A Go programmer agent that receives assignments from GitHub issues and creates PRs with solutions
-
Cypress Test Writer: An agent that compares two git branches for UI changes and creates Cypress tests to cover the differences
-
Tic Tac Toe: An agent that plays Tic Tac Toe with a human player
-
Dockerfile Optimizer: An agent that analyzes Dockerfiles and suggests improvements for better efficiency, security, and best practices
-
Test Debugger: An agent that automatically debugs failing tests in CI
-
Technical Content Summarizer: An agent that summarizes technical content from a URL for a non-technical audience
-
SWE Agent: An agent that gets assigned GitHub issues and solves them with pull requests
-
Database Agent: An agent that connects to an existing database and allows the user to ask plain language questions to explore and query a database.
Portable CI
-
cdebug: A pipeline with
containerdtests -
Runme: A pipeline to test, build, and release a Go application
-
Blip: A pipeline to lint, format and test a C++ application
-
Greetings API: A pipeline to lint, test, build and release a Go API service
-
Books API: A pipeline to test a Python API service
-
Symfony Demo Application: A pipeline to lint, test and perform static analysis on a Symfony application
Monorepos
-
Dagger: Dagger's own CI pipelines, used to test, lint, build, and release multiple assets, includings the Dagger CLI, Dagger SDKs, and Dagger documentation.
-
OpenMeter: A set of pipelines to test, lint, scan, publish and release multiple assets, includings SDKs, binaries, Helm charts and container images
Cookbook
The Dagger Cookbook contains practical code examples for common tasks:
- Filesystem operations: Working with files and directories
- Build operations: Building applications and container images
- Agentic operations: Working with agents and environments
- Service management: Working with services and networking
- Secret management: Managing sensitive data securely
- Troubleshooting: Handling and debugging errors
Contribute examples
Have you created a Dagger example you'd like to share?
- Share it on our Discord
- Share it on X (Twitter) and tag @dagger_io