# Overview

**On this page**

* [What is CodeMate?](#what-is-codemate)
* [What sets CodeMate apart?](#what-sets-codemate-apart)
* [What data is collected and how it's used?](#what-data-is-collected-and-how-its-used)
* [Join our community](#join-our-community)

## What is CodeMate

CodeMate is an AI-powered coding assistant that generates, fixes, and maintains your code. It offers a wide range of features such as error fixing, code review, code optimization, generating test cases and our flagship swagger agent. With our AI-driven proprietary technology, CodeMate understands about your entire codebase or product documentation and can detect logical, syntax, and runtime errors and fix them just like autocorrect for your code. It can also reduce hours of manual debugging to minutes with auto-suggested changes, empowering you to write accurate code.

CodeMate is designed to help programmers of all skill levels to identify and fix errors in their code quickly and easily. It provides more accurate and specific suggestions for improvement, resulting in higher quality code.

CodeMate connects seamlessly with codehosts like GitHub, GitLab and IDEs like [VS Code](https://marketplace.visualstudio.com/items?itemName=AyushSinghal.Code-Mate) and JetBrains through its command line tool. Once connected, CodeMate acts as your personal AI coding assistant, equipped with a comprehensive understanding of following three crucial elements:

1. Your entire codebase
2. Vast knowledge of open source code or your organization's Knowledge base
3. Extensive training data for code understanding and problem-solving

### What sets CodeMate apart?

**Unmatched Code Understanding:**

* **AI-driven technology:** CodeMate goes deep into your entire codebase, understanding not only the lines of code but also the context and intent behind them. This allows it to understand the intricate relationships between different aspects of your code and identify even the most subtle & logical errors.
* **Vast knowledge base:** Beyond your codebase, CodeMate taps into a vast reservoir of open-source code and your organization's internal knowledge base. This gives it access to a wealth of information that further enhances its ability to solve complex problems and suggest optimal solutions.
* **Extensive training data:** CodeMate is constantly learning and evolving thanks to its access to massive amounts of code & related data. This allows it to identify patterns and trends, anticipate potential issues, and continuously improve its accuracy and effectiveness.

**A glimpse of the Feature Set:**

* **Error fixing:** CodeMate acts like a supercharged autocorrect for your code, identifying and fixing syntax errors, logical mistakes, and runtime issues across various programming languages, configuration files, and codebases.
* **Code review Agent:** Get insightful feedback on your code based on industry best practices or your own custom metrics. CodeMate goes beyond basic syntax checks, providing detailed reports with actionable suggestions for improvement.
* **Code optimization Agent:** Not only does CodeMate fix errors, but it also suggests optimizations that can improve the efficiency and performance of your code.
* **Test case generation Agent:** Save time and effort by automatically generating unit tests for your code, ensuring its functionality and reliability.
* **Code generation:** Don't waste time writing boilerplate code. CodeMate can generate documentation, comments, and other repetitive tasks with ease.
* **Swagger agent:**&#x54;he **Swagger Agent** in CodeMate automatically converts Swagger (OpenAPI) specifications into ready-to-use backend code, saving developers time and effort. Instead of manually coding from docs, it builds routes and logic directly from your API schema.
* **Ask questions:** Get instant answers to your coding questions directly within your IDE or through a dedicated chat interface across your devices.

**Benefits for Programmers of All Levels:**

* **Experienced developers:** Save time and effort by offloading tedious tasks to CodeMate, allowing you to focus on the more strategic aspects of coding.
* **New programmers:** Learn and grow faster with CodeMate's helpful suggestions and insights. Receive feedback and guidance that helps you develop strong coding practices.
* **Teams:** Improve collaboration and code quality by sharing CodeMate's insights and suggestions with your team members.

### Main features <a href="#main-features" id="main-features"></a>

CodeMate's main features include:

### What Data is Collected and How It's Used?

CodeMate collects and uses data responsibly and transparently. We are committed to protecting your privacy and security, and we take all necessary precautions to ensure that your data is handled securely.

Here's a breakdown of the data we collect and how it's utilized:

1\. **Prompts and responses**: When you use CodeMate, it collects your prompts and responses and it gets stored for 30 seconds in our systems in encrypted format. CodeMate never access or use any of your data to train models.&#x20;

2\. Usage data and feedback: We also collect general usage data such as the features you use and the time you spend using CodeMate. This data is used to:

* Track overall usage: We monitor how CodeMate is being used to identify trends and improve the platform.
* Troubleshoot issues: We use usage data to diagnose and fix any technical problems that may arise.
* Develop new features: We use user feedback and usage patterns to identify new features that would be valuable to our users.

If you wish to opt out to any of the collected data, You may opt out of it by mailing us at <contact@codemate.ai>.

[Read more about CodeMate Usage and Privacy policy here →](https://docs.codemate.ai/policies/privacy-policy)

### Join Our Community

CodeMate is more than just a tool; it's a community of developers who are passionate about coding and committed to helping each other succeed.

By joining our community, you can:

* Connect with other CodeMate users: Share your experiences, ask questions, and get help from fellow developers.
* Get access to exclusive content: Learn about new features, tips, and tricks for using CodeMate effectively.
* Contribute to the development of CodeMate: Share your feedback and suggestions to help shape the future of the product.
* Get support: Raise a support ticket & our team will get in touch to fix the issue.
* Participate in fun activities and events: Join coding challenges, hackathons, and other community events.

Stay connected with our community:

* Follow us on social media:
  * [Twitter](https://twitter.com/codemateai)
  * [Instagram](https://instagram.com/codemateai)
  * [LinkedIn](https://www.linkedin.com/company/codemateai/)
  * [YouTube](https://www.youtube.com/@codemateai)

We look forward to seeing you there!


---

# 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/overview.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.
