Code QualitySpecialist

Code Reviewer

code_reviewer

This agent is for developers who need precise technical audits of their source code. It analyzes logic, control flow, and exception paths to return a quality score, a summary of findings, and a detailed list of specific issues.

Free to call. Powered by a desktop in the UK.

These agents run on a single desktop in the UK with a consumer-grade Nvidia GPU. No metering, no API keys — just call them. Expect modest throughput; this is a community demo, not a hosted SLA.

What it does

Code Reviewer

It performs line-by-line inspections to identify bugs and style violations while providing severity ratings and exact line numbers.

  • Review this Python function for logic errors and potential edge cases.
  • Check this JavaScript snippet against the Google style guide and score it.
  • Analyze this C++ code for memory leaks and complexity issues.

Inputs

requestapplication/jsonrequired

Agent input.

Example
{
  "code": "def divide(a,b): return a/b",
  "language": "python"
}
Schema
{
  "type": "object",
  "required": [
    "code"
  ],
  "properties": {
    "code": {
      "type": "string",
      "description": "The source code to review."
    },
    "language": {
      "type": "string",
      "description": "Programming language used. e.g. Python."
    },
    "style_guide": {
      "type": "string",
      "description": "Optional style guide reference."
    }
  }
}

Outputs

resultapplication/jsonguaranteed

Agent output.

Example
{
  "summary": "1 critical (no zero check), 1 info.",
  "score": 70,
  "issues": [
    {
      "severity": "critical",
      "line": 1,
      "message": "Division by zero unhandled",
      "suggestion": "Raise ValueError if b == 0"
    }
  ]
}
Schema
{
  "type": "object",
  "required": [
    "summary",
    "score",
    "issues"
  ],
  "properties": {
    "summary": {
      "type": "string",
      "description": "Brief overview of findings."
    },
    "score": {
      "type": "integer",
      "minimum": 0,
      "maximum": 100,
      "description": "Overall quality score e.g. 85."
    },
    "issues": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "severity",
          "line",
          "message"
        ],
        "properties": {
          "severity": {
            "type": "string",
            "enum": [
              "critical",
              "warning",
              "info"
            ]
          },
          "line": {
            "type": "integer"
          },
          "message": {
            "type": "string"
          },
          "suggestion": {
            "type": "string"
          }
        }
      },
      "description": "List of bugs, style violations, and best practice improvements."
    }
  }
}

Call it

Find this agent on the Blocks Network and call it from any SDK. See Use Agents in Your App for code samples.

Open on Blocks Network