Discover and explore top open-source AI tools and projects—updated daily.
meysamhadeliAI code assistant CLI tool for code suggestions, refactoring, and reviews
Top 76.8% on SourcePulse
Codai is an AI-powered CLI tool designed to assist developers with code suggestions, refactoring, and reviews by understanding the full context of a project. It supports multiple LLM providers and offers two primary methods for context management: Retrieval-Augmented Generation (RAG) and Tree-sitter-based summarization, aiming to provide accurate, token-efficient responses.
How It Works
Codai employs RAG by embedding the entire codebase to retrieve relevant information based on user input, sending only necessary context to the LLM for efficient and accurate suggestions. Alternatively, it uses Tree-sitter to summarize the project's full context, sending code signatures and partial implementations to the LLM, which saves tokens but may use slightly more than RAG.
Quick Start & Requirements
go install github.com/meysamhadeli/codai@latestCHAT_API_KEY and optionally EMBEDDINGS_API_KEY.codai-config.yml or command-line arguments.Highlighted Details
Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
2 months ago
1 day
SilasMarvin
huggingface
context-labs
yetone