WhoBuilt

Ship Agents that Ship: A Hands-On Workshop

Jul 27, 2025· 1 h 21 min· 3.2K views·Watch on YouTube

Speakers

Kyle Penfound and Jeremy Adams of Dagger lead an AI Engineer hands-on workshop on building and deploying software development agents with Dagger.

Dagger’s role in agent workflows

Kyle describes Dagger as a container runtime and workflow engine for portable software tasks. Its building blocks include containers, files, directories, and LLMs, so teams can use the same workflows locally and in CI while giving agents tools from their existing development processes.

Build a focused workspace

The workshop adds an agent to a sample application that already has Dagger functions for building and testing. Kyle and Jeremy create a separate workspace module with tools to list, read, and write source files, plus a test function. They recommend giving an agent enough tools to solve its assigned work while keeping its scope focused.

Connect the LLM and validate its work

The agent is a Dagger function that takes an assignment, a workspace, and a prompt describing how to work. The prompt tells it to inspect the project, avoid unnecessary changes, and run tests. Dagger runs its edits in a sandboxed container, and the workflow checks the completed code with the project's test function before returning it.

Run the agent from GitHub

Kyle wraps the agent in a function that reads a GitHub issue and opens a pull request with the result. A GitHub Actions workflow starts when an issue receives a `develop` label; it needs repository secrets for the LLM key and, optionally, a Dagger Cloud token, plus permission to create pull requests. The demo opens a PR that links back to the issue.

Extend the pattern to other tools

The speakers describe running Dagger inside Dagger to test generated Dagger code, and explain that Dagger modules can be exposed as MCP servers. They also show that Dagger can provide container tools within another agent framework, while its own workflow can use specialized modules and translate function signatures into tools.

Takeaways

  • Reuse existing build and test workflows as agent tools so generated changes face the same checks as developer code.
  • Give agents a focused workspace with the tools needed for their task, including a defined way to validate results.
  • Run agent edits in isolated environments and check the returned work before saving or proposing it.
  • A GitHub issue trigger and Actions workflow can turn an agent task into a pull request for review.
  • Use tracing to inspect the tools an agent sees and calls, then refine its prompt or tool descriptions based on failures.

Mentioned in this talk

Search inside this talk

What was claimed 5

  • feature
    DAgger: Container runtime and workflow engine for orchestrating containerized software workflows
    “Dagger is a container runtime and a workflow engine.”
    YouTube
    Unverified1 source· Talk
  • feature
    DAgger: Supports workflow modules written in multiple languages with cross-language interoperability
    “Dagger has cross-language interoperability.”
    YouTube
    Unverified1 source· Talk
  • feature
    Dagger Cloud: Visualizes prompts, available tools, tool calls, and execution traces
    “It's basically a visualization so you can easily see what your agent's doing”
    YouTube
    Unverified1 source· Talk
  • feature
    DAgger: Provides an LLM component that can be combined with typed environments, prompts, and tools to create an agent
    “We give it an environment, we give it a prompt, and that's the agent.”
    YouTube
    Unverified1 source· Talk
  • feature
    DAgger: Can expose a Dagger module as an MCP server
    “you can take a Dagger module and say ... MCP, and expose a Dagger module as an MCP server”
    YouTube
    Unverified1 source· Talk

Related talks