Annotate.ai is an AI-powered, context-aware coding and annotation assistant for Visual Studio Code. It leverages advanced Large Language Models (LLMs) via Groq and a Serverless Vector Database (RAG) via Astra DB to deeply understand your codebase and commit history. It helps you write comments, understand code, review pull requests, and manage your Git workflow seamlessly.
📦 Installation
You can install Annotate.ai directly from the Visual Studio Code Extension Marketplace:
Install Annotate.ai
🚀 Features
AI Annotations: Automatically generate intelligent inline comments for selected code snippets or orchestrate full-file documentation.
Hover Explainer: Instantly demystify complex code lines by simply hovering over them. Uses RAG against your codebase for deep context.
AI Code Review: Get a Senior Engineer-level code review of your local changes before you commit.
Commit & PR Generation: Automatically generate conventional commit messages and detailed Pull Request descriptions based on your git diffs.
Commit History RAG: It indexes your historical commits in Astra DB to learn your repository's commit style and perfectly mimic it in future AI-generated commit messages.
Git Blame & File History: Visualize Git line history with inline blame code lenses and explore file commit history in a dedicated sidebar view.
RAG Workspace Indexing: Embeds your workspace code (utilizing local @xenova/transformers) and indexes it in Astra DB for blazing-fast context retrieval.
🛠️ Prerequisites & Setup
Annotate.ai relies on Groq for high-speed LLM inference and DataStax Astra DB for Vector/RAG storage.