# Code Review Agent

#### Get detailed code reviews

Get detailed code reviews\
Review your code as per best practices to be followed in software development through AI as if an experienced developer is sitting beside you.

C0 code review feature is a valuable tool for helping developers improve the quality of their code. Internally powered by specialized AI agents, it can identify potential problems in your code, such as:

* **Code smells**: Indicators of bad coding practices, such as long methods, complex conditionals, or excessive duplication.
* **Security vulnerabilities**: Code that could be exploited by attackers, such as SQL injection or cross-site scripting vulnerabilities.
* **Performance issues**: Inefficient code that could be optimized to run faster.

<figure><img src="/files/qY27bmRyYmM14JAE5P17" alt=""><figcaption></figcaption></figure>

**Custom Code Reviews**

C0 can also be customized to review code against specific coding standards and best practices. This ensures that all code remains consistent and meets your team’s expectations. You can add your own metrics in natural language or include a bug report to get tailored, AI-driven code reviews.

In addition to providing intelligent suggestions for improvement, C0 review agents can generate detailed reports summarizing the review findings. These reports help track progress and highlight areas where improvements are needed.

C0 review agents are equally effective for reviewing your own code or evaluating code written by others, ensuring a consistent standard of quality across your entire team.

**Feature availability**: The Review Code feature can be accessed from the **C0 VS Code Extension**, **CodeMate CLI**, and **CodeMate Web App**.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.codemate.ai/c0/code-review-agent.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
