Examples
This page showcases real-world examples of Dagger in action, with a focus on working implementations you can study and adapt.
- 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.
-
OpenMeter: A set of pipelines to test, lint, scan, publish and release multiple assets, includings SDKs, binaries, Helm charts and container images
-
Goreleaser: A pipeline to lint, test, and build a Go application
-
cdebug: A pipeline with
containerd
tests -
Runme: A pipeline to test, build, and release a Go application
-
Blip: A pipeline to lint, format and test a C++ application
-
FluentCI: A CI/CD tool built on Dagger, WASM and Deno
-
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
Cookbook examples
The Dagger Cookbook contains practical code examples for common tasks:
- Filesystem operations: Working with files and directories
- Build operations: Building applications and container images
- Service management: Working with services and networking
- Secret management: Managing sensitive data securely
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