meysamhadeli/codai

The open source coding agent for your terminal.

What it solves

Codai provides a secure, terminal-based environment for AI-assisted coding. It solves the problem of managing AI agents that need to read, search, and edit project files while ensuring the user maintains full control over workspace access, tool execution, and context management.

How it works

Codai runs directly in your terminal, allowing you to interact with various AI models (including local ones via Ollama or cloud providers like OpenAI and Anthropic). You can switch between "Plan" mode for investigation and "Agent" mode for implementation. The tool uses a session-based system where you can manage multiple conversations, apply project-specific instructions, and delegate tasks to read-only subagents. Every action that modifies files or runs commands requires explicit user approval, ensuring a "human-in-the-loop" workflow.

Who it’s for

It is designed for developers who prefer working within the terminal and want an extensible, privacy-conscious AI coding assistant. It is ideal for those who need to integrate custom workflows, use specific AI models, or manage complex projects with strict security and permission requirements.

Highlights

  • Full Terminal Integration: Manage sessions, settings, and code edits without leaving your command line.
  • Strict Security: Requires explicit user trust and approval for file access and command execution.
  • Extensible Architecture: Supports MCP (Model Context Protocol) tools, custom skills, and native .NET plugins.
  • Flexible Model Support: Connect to a wide range of cloud providers or run models locally.
  • Context Management: Features automatic context compaction and session recovery to handle long-running coding tasks efficiently.

Related

  • Project
  • Project
  • Project
  • Project
  • Project