AWS Ops Agent: asking for a code change risk analysis before a repository is connected
What runs from the API alone, and the one step that needs a repository connection.
AWS Cloud
Region us-east-1
Agent Space field-kit-ops-agent-code-change-risk (AWS Ops Agent)
Presenter
quickstart.py
boto3 devops-agent client
Ops Agent chat
CreateChat, SendMessage
$0.0083 per agent-second
Review task
CODE_CHANGE_RISK_ANALYSIS
status FAILED, 0 executions
GitHub or GitLab repository
not connected in this demo
console: Capabilities > Pipeline
1
5
2
3
4
1
2
3
4
5
LINES
Create, read and delete the Agent Space
Requests for a review
Missing link: repository connection
FLOW
The script creates an empty Agent Space and reads its settings back: 0 associations.
It asks chat to review a branch, then a pasted diff. Chat names the missing repository.
It requests the formal review as a task through the API. The task fails at once.
A real review needs a repository connected in the console.
The script deletes the Agent Space; the chat and task go with it.