Examples
This page showcases real-world examples of Dagger in action, with a focus on working implementations you can study and adapt.
AI Agent Examples
Explore these functional AI agent examples built with Dagger:
-
Toy Programmer: A simple programmer micro-agent for demonstration purposes
-
Melvin: An experimental open-source coding agent made of small composable modules
-
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
CI/CD Examples
- Hello Dagger: A simple example demonstrating Dagger's CI capabilities with a Vue.js 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 Handling: 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