
What I learned building an opinionated and minimal coding agent
Lessons I learned while building my own coding agent from scratch.
Developers and technical users who want a lightweight, terminal‑first coding assistant they can read, modify, and run themselves
The author built a minimal, opinionated coding agent harness named pi-coding-agent due to frustrations with complex tools like Claude Code, which added unwanted features and broke workflows.
Key components include pi-ai for unified LLM APIs across providers like Anthropic and OpenAI with tool calling and context handoffs; pi-agent-core for agent loops; and pi-tui for flicker-free terminal UIs. The design omits features like plan mode, sub-agents, and background execution, prioritizing simplicity and inspectability.