Open-source AI Agent CLI for Developers

OpenMind

OpenMind is a terminal-based AI agent that understands codebases, edits files with diff-first approval, runs commands with permission, and supports OpenAI, Anthropic, and Gemini through provider adapters.

What is OpenMind?

OpenMind is a practical developer agent for the terminal. It indexes workspace context, sends structured requests to your selected AI provider, executes tool calls locally, and keeps the user in control of edits and commands.

Features

Codebase context

Index files, search source code, and inspect relevant files before answering.

Safe edits

Every write and edit shows a diff and requires explicit confirmation.

Provider adapters

OpenAI, Anthropic, and Gemini support native function or tool calling.

Install

npm install -g openmind

CLI Examples

openmind init
openmind chat
openmind ask "explain this project"
openmind edit "fix navbar issue"
openmind run "npm test"

Providers

OpenAI

Uses OPENAI_API_KEY.

Anthropic

Uses ANTHROPIC_API_KEY.

Gemini

Uses GEMINI_API_KEY.

GitHub CTA

OpenMind is contributor-friendly and MIT licensed. Star the project, open issues, and help improve safe AI agent tooling for developers.

Open GitHub repository