AskCodi — The AI Code Assistant

Dipan Saha
5 min readMay 31, 2023
Photo by Possessed Photography on Unsplash

AskCodi is an AI code assistant that can help you write code faster, better, and more efficiently. It is powered by openAI codex, which is a large language model trained on billions of lines of open source public code.

Salient features of AskCodi

AskCodi can help you with a variety of coding tasks, including:

  • Code generation: AskCodi can generate code from natural language descriptions. For example, you can ask AskCodi to "generate a function that takes two numbers as input and returns their sum" and it will generate the code.
  • Code completion: AskCodi can suggest code completions as you type. This can help you save time and avoid errors.
  • Code linting: AskCodi can lint your code to find potential errors and style issues. This can help you improve the quality of your code.
  • Code documentation: AskCodi can generate documentation for your code. This can help you and others understand your code better.
  • Code testing: AskCodi can generate unit tests for your code. This can help you ensure that your code works as expected.

It also has a Chat feature which you can use to clarify your understanding or doubts and to get answers to various questions.

How much does it cost?

AskCodi is available as a freemium service, with a paid plan that offers additional features.

How to Use AskCodi

To use AskCodi, you need to create an AskCodi account and then install the AskCodi extension in your IDE. AskCodi will suggest code completions as you type, and it can also generate code from natural language descriptions.

Create an AskCodi user account

Go to AskCodi login page and create an account.

Provide your email and create a password. Next, click the sign up button.

Optionally, you can create a project and test AskCodi application on the browser itself.

Now, go to Settings and copy the API Key.

Add AskCodi extension to VSCode

Install the AskCodi extension from VSCode extension marketplace.

Once installed, click on the AskCodi button on the bottom of the sidebar and click login.

This will open a prompt which will ask you store the API key.

Save the copied API code.

Next, click on the Login button once again. You should now be logged in using the API key.

Use the AskCodi extension to generate code

This will produce a python code to add 2 numbers.

You can now use this code as is or modify it to fit your needs.

Use the AskCodi extension to document code

Here, I have written a sample code (on the right-hand side) and selected the ‘AskCodi: Document Code’ option.

You will notice that on the left-hand side, it has produced the documentation for the same code.

Similarly, if you ask AskCodi to explain the above code, it will show you something like below:

Use AskCodi to generate Java code

Here is a nice example to showcase the java code generation capabilities of AskCodi.

Benefits of using AskCodi

There are many benefits to using AskCodi, including:

  • Increased productivity: AskCodi can help you write code faster and more efficiently. This can free up your time to focus on other tasks, such as design and architecture.
  • Improved quality: AskCodi can help you improve the quality of your code by finding potential errors and style issues. This can help you avoid bugs and improve the maintainability of your code.
  • Enhanced collaboration: AskCodi can help you collaborate with other developers more effectively. For example, you can use AskCodi to generate documentation or unit tests for your code.
  • Reduced costs: AskCodi can help you reduce the costs of hiring and training new developers. This is because AskCodi can help you automate many of the tasks that are typically performed by developers.

Privacy protection

You can code worry free with AskCodi as the code generated or passed is not saved. Privacy is important since the user code can contain information that is confidential, hence AskCodi doesn’t save the code from extensions.

Conclusion

Hope you found this blog useful! Let me know what you think about this, if you have any suggestion of a topic you would love to see here get in touch.

If you enjoyed the writing, leave your claps 👏 to recommend this article so that others can see it.

--

--

Dipan Saha

Cloud Architect (Certified GCP Professional Architect & Snowflake Core Pro)