AI Agent / Developer Tools

CodeBrew

Terminal-based AI coding agent built on the Anthropic Claude Agent SDK.

Overview

CodeBrew is a command-line AI coding agent that lets you ask questions, explore codebases, and make changes directly from the terminal.

The Problem

Developers constantly switch between the terminal, the editor, and a browser-based AI chat to get help with code. That context switching breaks flow and loses the working directory as context.

The Solution

CodeBrew brings an AI coding agent into the terminal itself, so you can explore a codebase, plan changes, and apply edits without leaving the command line.

Key Features

  • Three interaction modes — Ask (read-only), Plan (proposes an approach), and Agent (reads, writes, and runs commands) — with live /mode switching mid-session.
  • Streaming REPL with conversation memory and a dual-loop turn-gate engine that handles Claude's output and keyboard input concurrently.
  • 25-turn and $1 budget guardrails to keep sessions safe and predictable.
  • Local slash commands and live tool-call visibility for Read, Edit, Write, Bash, Glob, Grep, and web search.

Technologies

  • TypeScript
  • Node.js
  • Anthropic Claude Agent SDK
  • Commander
  • @inquirer/prompts
  • chalk
  • boxen
  • figlet
  • ora
  • execa
  • dotenv
  • tsx
  • npm

Explore more