Build an AI agent that reviews pull requests, generates summaries, scores code quality, notifies Slack, and auto-merges when safe
xpander_config.json
:
pr_tools.py
– Main tool that handles PR analysis workflowagno_agent.py
– Orchestrator using Agno frameworkpr_review.py
– Core logic for summarizing diffs and scoringslack.py
– Slack integration for notificationsxpander_handler.py
– Production event handlermain.py
– CLI interface for testingtools/pr_tools.py
:
core/pr_review.py
:
core/slack.py
:
orchestrator/agno_agent.py
:
xpander_handler.py
:
main.py
for CLI testing: