Grimoire
Grimoire is an AI coding agent that runs in your terminal,
built with Textual for the UI, Typer for CLI parsing, Pydantic for
tool schemas, and the Anthropic SDK underneath. Edit files, run
commands, search a codebase, all through an LLM-driven loop you can
drive from grim at the prompt.
I built it for two reasons. The first is that I wanted to know how Claude Code-style agents actually work. Once you implement the read / write / bash tool loop yourself, the abstraction stops being a black box and starts being a few hundred lines of state management you can reason about. The second is that I have a Claude subscription and prefer using it over per-token API billing for personal projects, so a CLI that talks to my subscription is genuinely useful day-to-day.
What's next: better diff display in the TUI, a memory layer so it doesn't re-read the same files every turn, and probably MCP support so I can plug in external tools.