💻 context-aware AI coding assistant for the terminal to assist with code development, explanation, refactoring, review, debugging, and chat; compatible with both local and online language models.
C#
40
43 commits
updated Jul 14, 2025
Context AwareAI coding assistant inside terminal to help in code development, code explanation, code refactor and review, bug fix and chat with supporting local and online language models
AIAssist is compatible with bellow AI Services:
[!TIP] You can use ollama and its models that are more compatible with code like deepseek-v2.5 or qwen2.5-coder locally. To use local models, you will need to run Ollama process first. For running ollama you can use ollama docker container.
[!NOTE] Development of
vscodeandjetbrainsplugins are in the plan and I will add them soon.
Context Aware ai code assistant through ai embeddings which is based on Retrieval Augmented Generation (RAG) or tree-sitter application summarization to summarize application context and understanding by AI.md format for ai results with capability of changing theme like dracula theme or vscode light theme..aiassistignore for excluding files and folders that you want to exclude from code assist process and decreasing final token size.configuration through creating aiassist-config.json running directory for aiassist and a format like predefined aiassist-config.json.input token and output token price.ModelsInformationOptions section in the aiassist-config.json and a format like predefined models information.ModelsOptions section in the aiassist-config.json and a format like predefined models options.aiassist code, aiassist chat, aiassist explain and support some internal commands like :clear, :add-file, :clear-history, :token, ...AIAssist uses Azure AI Services or OpenAI apis by default. For using OpenAI or Azure AI apis we need to have a ApiKey.
dotnet tool, we need to install latest .net sdk first.aiassist with dotnet tool install and bellow command:dotnet tool install --global AIAssist
project directory with cd command in terminal, For running aiassist and setting api key.# Go to project directory
cd /to/project/directory
Api Key through environment variable:Linux terminal:
export CHAT_MODEL_API_KEY=your-chat-api-key-here
export EMBEDDINGS_MODEL_API_KEY=your-embedding-api-key-here
Windows Powershell Terminal:
$env:CHAT_MODEL_API_KEY=your-chat-api-key-here
$env:EMBEDDINGS_MODEL_API_KEY=your-embedding-api-key-here
Api Key through command option:aiassist code --chat-api-key your-chat-api-key-here --embeddings-api-key your-embedding-api-key-here
ApiVersion, DeploymentId and BaseAddress like Azure AI Service models, you can set them by environment variable or command options.ApiVersion, DeploymentId and BaseAddress throughenvironment variable:Linux terminal:
export CHAT_BASE_ADDRESS=your-chat-base-address-here
export CHAT_API_VERSION=your-chat-api-version-here
export CHAT_DEPLOYMENT_ID=your-chat-deployment-id-here
export EMBEDDINGS_BASE_ADDRESS=your-embedding-base-address-here
export EMBEDDINGS_API_VERSION=your-embedding-api-version-here
export EMBEDDINGS_DEPLOYMENT_ID=your-embedding-deployment-id-here
Windows Powershell Terminal:
$env:CHAT_BASE_ADDRESS=your-chat-base-address-here
$env:CHAT_API_VERSION=your-chat-api-version-here
$env:CHAT_DEPLOYMENT_ID=your-chat-deployment-id-here
$env:EMBEDDINGS_BASE_ADDRESS=your-embedding-base-address-here
$env:EMBEDDINGS_API_VERSION=your-embedding-api-version-here
$env:EMBEDDINGS_DEPLOYMENT_ID=your-embedding-deployment-id-here
ApiVersion, DeploymentId and BaseAddress through command option:aiassist code --chat-base-address your-chat-base-address-here --chat-api-version your-chat-api-version-here --chat-deployment-id your-chat-deployment-id-here --embeddings-base-address your-embeddings-base-address-here --embeddings-api-version your-embeddings-api-version-here --embeddings-deployment-id your-embeddings-deployment-id-here
aiassist command.# run aiassist in code assistant mode.
aiassist code
If you like feel free to ⭐ this repository, It helps out :)
Thanks a bunch for supporting me!
The application is in development status. You are feel free to submit a pull request or create an issue for any bugs or suggestions.
The project is under Apache-2.0 license.
C#
97.0%
Shell
2.1%
💻 context-aware AI coding assistant for the terminal to assist with code development, explanation, refactoring, review, debugging, and chat; compatible with both local and online language models.
C#
40
43 commits
updated Jul 14, 2025
Context AwareAI coding assistant inside terminal to help in code development, code explanation, code refactor and review, bug fix and chat with supporting local and online language models
AIAssist is compatible with bellow AI Services:
[!TIP] You can use ollama and its models that are more compatible with code like deepseek-v2.5 or qwen2.5-coder locally. To use local models, you will need to run Ollama process first. For running ollama you can use ollama docker container.
[!NOTE] Development of
vscodeandjetbrainsplugins are in the plan and I will add them soon.
Context Aware ai code assistant through ai embeddings which is based on Retrieval Augmented Generation (RAG) or tree-sitter application summarization to summarize application context and understanding by AI.md format for ai results with capability of changing theme like dracula theme or vscode light theme..aiassistignore for excluding files and folders that you want to exclude from code assist process and decreasing final token size.configuration through creating aiassist-config.json running directory for aiassist and a format like predefined aiassist-config.json.input token and output token price.ModelsInformationOptions section in the aiassist-config.json and a format like predefined models information.ModelsOptions section in the aiassist-config.json and a format like predefined models options.aiassist code, aiassist chat, aiassist explain and support some internal commands like :clear, :add-file, :clear-history, :token, ...AIAssist uses Azure AI Services or OpenAI apis by default. For using OpenAI or Azure AI apis we need to have a ApiKey.
dotnet tool, we need to install latest .net sdk first.aiassist with dotnet tool install and bellow command:dotnet tool install --global AIAssist
project directory with cd command in terminal, For running aiassist and setting api key.# Go to project directory
cd /to/project/directory
Api Key through environment variable:Linux terminal:
export CHAT_MODEL_API_KEY=your-chat-api-key-here
export EMBEDDINGS_MODEL_API_KEY=your-embedding-api-key-here
Windows Powershell Terminal:
$env:CHAT_MODEL_API_KEY=your-chat-api-key-here
$env:EMBEDDINGS_MODEL_API_KEY=your-embedding-api-key-here
Api Key through command option:aiassist code --chat-api-key your-chat-api-key-here --embeddings-api-key your-embedding-api-key-here
ApiVersion, DeploymentId and BaseAddress like Azure AI Service models, you can set them by environment variable or command options.ApiVersion, DeploymentId and BaseAddress throughenvironment variable:Linux terminal:
export CHAT_BASE_ADDRESS=your-chat-base-address-here
export CHAT_API_VERSION=your-chat-api-version-here
export CHAT_DEPLOYMENT_ID=your-chat-deployment-id-here
export EMBEDDINGS_BASE_ADDRESS=your-embedding-base-address-here
export EMBEDDINGS_API_VERSION=your-embedding-api-version-here
export EMBEDDINGS_DEPLOYMENT_ID=your-embedding-deployment-id-here
Windows Powershell Terminal:
$env:CHAT_BASE_ADDRESS=your-chat-base-address-here
$env:CHAT_API_VERSION=your-chat-api-version-here
$env:CHAT_DEPLOYMENT_ID=your-chat-deployment-id-here
$env:EMBEDDINGS_BASE_ADDRESS=your-embedding-base-address-here
$env:EMBEDDINGS_API_VERSION=your-embedding-api-version-here
$env:EMBEDDINGS_DEPLOYMENT_ID=your-embedding-deployment-id-here
ApiVersion, DeploymentId and BaseAddress through command option:aiassist code --chat-base-address your-chat-base-address-here --chat-api-version your-chat-api-version-here --chat-deployment-id your-chat-deployment-id-here --embeddings-base-address your-embeddings-base-address-here --embeddings-api-version your-embeddings-api-version-here --embeddings-deployment-id your-embeddings-deployment-id-here
aiassist command.# run aiassist in code assistant mode.
aiassist code
If you like feel free to ⭐ this repository, It helps out :)
Thanks a bunch for supporting me!
The application is in development status. You are feel free to submit a pull request or create an issue for any bugs or suggestions.
The project is under Apache-2.0 license.
C#
97.0%
Shell
2.1%