Skip to content

Draft: POC autonomous agent in CI runners with workflows and checkpoints

Dylan Griffith requested to merge poc-autonomous-agents-in-ci-runner into master

What does this MR do and why?

Implements the architecture described in !153643 (merged)

Works with the auto_graph changes in https://gitlab.com/gitlab-org/ai-powered/ai-framework/autograph/-/merge_requests/20

TODO

  1. Develop API in GitLab to store state
  2. Autograph writes state GitLab API
  3. UI displays state as JSON
  4. Agent to pause on specific node and poll for a state change in GitLab - boolean column updated on the workflow table
  5. Implement UI to trigger workflow by creating a CI pipeline (requires you to choose a specific project to run the pipeline in)
  6. Implement timeout in agent waiting for user and ability to restart a workflow where we left off
  7. GraphQL API for streaming the checkpoints
  8. Create new API to store User interactions and poll instead of single boolean column
  9. Update UI to display agent state in a structured way (not just JSON)
  10. Write architecture blueprint
  11. [ ]

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

Edited by Dylan Griffith

Merge request reports