Keen Code is an open-source, terminal-based AI coding agent built in Go by developer mochow13. It runs directly inside shell environments to assist software engineers with code editing, repository navigation, and agentic task execution. Operating via the command line, Keen Code parses local project contexts, executes developer prompts, and modifies source files. It leverages repository-level agent configurations, extensible skill modules, and interaction logging to track context and maintain structured workflows during coding sessions. Built natively in Go, Keen Code focuses on fast startup times and minimal runtime dependencies compared to heavier GUI or runtime-heavy coding assistants. It supports installation through both compiled native binaries and npm package managers, and includes a skill definitions system to extend the agent's capabilities. Keen Code is distributed as free, open-source software under the MIT license. Users provide their own LLM API keys or backend endpoints for model execution.
Tags: ai agent, cli, code assistant, coding agent, terminal
.agents/skills to extend agent capabilities for specialized tasks. - Dual Distribution — Installable as a standalone compiled binary or via an npm package wrapper for Node.js workflows. - Interaction History — Captures and maintains local context through structured interaction tracking in .ai-interactions. - CLI-Native Execution — Runs directly within the developer terminal without requiring a heavy IDE or GUI environment..agents/skills to teach Keen Code specialized release, testing, or linting procedures across their repository.Keen Code is intended for terminal-focused software engineers and DevOps practitioners looking for an open-source, customizable CLI agent with low overhead. It is not designed for developers who prefer graphical user interfaces, inline IDE visual diffs, or out-of-the-box managed cloud platforms.
bash npm install -g keen-code Or build directly from source using Go: bash git clone https://github.com/mochow13/keen-code.git cd keen-code go build -o keen ./cmd/keenbash export OPENAI_API_KEY="your-api-key-here" # or set provider credentials specified in your repository configuration Verify the installation: bash keen --helpbash keen "Analyze internal/server/router.go and add an HTTP health check endpoint"Part of CLI Coding Agents
Categories: AI Coding Agents, Code Assistants, Developer Tools