by meysamhadeli
AI coding agent for your terminal.
# Add to your Claude Code skills
git clone https://github.com/meysamhadeli/codai๐ค AI coding agent for your terminal.

โก Support variety of LLMs like OpenAI, Anthropic, Gemini, Grok, DeepSeek, Qween and more.
๐ง Context-aware code completions.
๐ Maintains conversational and code context per session.
๐ณ Summarize Full Project Context using Tree-sitter.
โ Adding new features or test cases.
๐ Refactoring code structure and efficiency.
๐ Describe and suggest fixes for bugs.
โ Code Review Assistance and optimize code quality.
โ๏ธ Accept and apply AI-generated code changes.
๐ Generate comprehensive documentation.
๐ Works with multiple programming languages such as (C#, Go, Python, Java, Javascript, Typescript).
โ๏ธ Adjust settings via a config file.
๐๏ธ Enable the AI to modify several files at the same time.
๐ณ Track and represent the token consumption for each request.
To install codai globally, you can use the following command:
go install github.com/meysamhadeli/codai@latest
No comments yet. Be the first to share your thoughts!
Simply provide your API key, and it just works!
export API_KEY="your_api_key"
[!IMPORTANT] Codai use OpenApi as a default model and with subcommand
--provideryou can choose your appropriate model and use subcommand--modelfor choosing appropriate model of each provider.
For more advance configuration add a codai-config.yml file in the root of your working directory or using environment variables to set below configs globally as a configuration.
The codai-config file should be like following example base on your AI provider:
codai-config.yml
ai_provider_config:
provider: "azure-openai"
base_url: "https://test.openai.azure.com"
model: "gpt-4o"
api_version: "2024-04-01-preview" #(Optional, If your AI ...