- Step1: Install the Dagger CLI and your preferred SDK (Go, Python, TypeScript).
- Step2: Enable the LLM feature by adding `features.llm: true` to your Dagger config.
- Step3: Authenticate with your LLM provider by setting the API key environment variable.
- Step4: Run `dagger llm generate "Create a CI pipeline for Node.js tests"` in your project root.
- Step5: Review the generated pipeline code and provide follow-up prompts to refine it.
- Step6: Commit the finalized pipeline definition and integrate it into your CI/CD workflow.