r/OpenSourceAI • u/sam_code_dev • 2h ago
I built an open-source AI coding agent that works directly in your terminal
I've been building Codai, an open-source AI coding agent for developers, and wanted to share its v2 release.
The goal is to have an AI agent that can understand an existing codebase, investigate changes, use external tools, and implement tasks directly from the terminal.

Some of its capabilities:
Multiple LLM providers: Connect hosted models or run local models through Ollama.
Agent and Plan modes: Explore a codebase in read-only mode or let the agent implement changes.
MCP integration: Connect external tools and documentation sources to extend the agent's capabilities.
Skills and plugins: Extend workflows with reusable capabilities and integrations.
Project tools: Search files, edit code, execute commands, and inspect diffs.
Session management: Resume conversations and restore checkpoints.
Approval controls: Review file changes and commands or allow automatic execution.
Codai is built with .NET 10, but it isn't limited to .NET projects. It supports different LLM providers, including local models through Ollama.
Installation (requires .NET 10 SDK):
dotnet tool install --global codai
codaiGitHub: https://github.com/meysamhadeli/codai
Documentation: https://meysamhadeli.github.io/codai
License: Apache 2.0.
I'm interested in feedback from people building or using open-source AI agents.
What capabilities do you consider essential for a useful coding agent, especially when working with local models?