Draft: POC autonomous agent in CI runners with workflows and checkpoints
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
-
Develop API in GitLab to store state -
Autograph writes state GitLab API -
UI displays state as JSON -
Agent to pause on specific node and poll for a state change in GitLab - boolean column updated on the workflow table -
Implement UI to trigger workflow by creating a CI pipeline (requires you to choose a specific project to run the pipeline in) -
Implement timeout in agent waiting for user and ability to restart a workflow where we left off -
GraphQL API for streaming the checkpoints -
Create new API to store User interactions and poll instead of single boolean column -
Update UI to display agent state in a structured way (not just JSON) -
Write architecture blueprint - [ ]
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