730115b418
Extracted from: https://github.com/itszhaoziyan-n/AgentKit.git Score: 1.0
24 lines
1.1 KiB
JSON
24 lines
1.1 KiB
JSON
{
|
|
"name": "code-review-agent",
|
|
"version": "1.0.0",
|
|
"goal": "Automate code review process using a multi-step workflow with human-in-the-loop approval.",
|
|
"inputs": [
|
|
"Repository diff or code changeset (string)",
|
|
"User ID (string)"
|
|
],
|
|
"steps": [
|
|
"Step 1: Build the code review graph using `build_graph()` from `agentkit.workflow.code_review.graph`",
|
|
"Step 2: Invoke the graph with initial parameters including the repository diff and user ID, and set thread_id as a configurable parameter",
|
|
"Step 3: The graph processes the input through various steps until completion or human approval is needed"
|
|
],
|
|
"outputs": [
|
|
"Review result (dictionary containing messages, issues, etc.)"
|
|
],
|
|
"failure_modes": [
|
|
"Specific failure scenario with mitigation: If the graph invocation fails due to an unexpected state, it will halt and require manual intervention."
|
|
],
|
|
"confidence": 0.95,
|
|
"explanation": "This workflow is reusable for any code review process that requires a multi-step analysis with human-in-the-loop approval.",
|
|
"source_repo": "https://github.com/itszhaoziyan-n/AgentKit.git",
|
|
"score": 1.0
|
|
} |