PratyushMeta/code-review-agent
0
Code Review Agent — OpenEnv
An environment where an AI agent reviews Pull Requests and identifies bugs, security issues, and architectural problems.
API Endpoints
GET /— health checkPOST /reset— start a task{"task_id": "task_1_easy_obvious_bug"}GET /state?task_id=...— current observationPOST /step?task_id=...— submit a review
Tasks
Reward
Partial credit per issue: score = matched / total, clamped to strictly between 0 and 1 (0.01–0.99).
Baseline Scores
Setup
docker build -t code-review-agent .
docker run -p 7860:7860 \
-e HF_TOKEN=your_token \
-e API_BASE_URL=https://router.huggingface.co/v1 \
-e MODEL_NAME=moonshotai/Kimi-K2-Instruct-0905 \
code-review-agent