mirror of
https://github.com/RightNow-AI/openfang.git
synced 2026-07-30 23:05:08 +00:00
Add a Python-based code review agent powered by LangChain that integrates with OpenFang via the A2A (Agent-to-Agent) protocol. - agent.py: Core review logic with structured Chinese SYSTEM_PROMPT covering 6 dimensions (correctness, security, performance, maintainability, testing, style) and 4 severity levels - server.py: FastAPI server exposing A2A-compatible endpoints (/.well-known/agent.json and /a2a JSON-RPC) - workflow.json: OpenFang workflow definition for the review pipeline - config.example.toml: Example A2A config for ~/.openfang/config.toml - Supports OpenAI, DeepSeek, and Ollama backends Made-with: Cursor