hacker news Hacker News
  1. new
  2. show
  3. ask
  4. jobs
A new Emacs mode for AI-assisted coding (Claude Code style), with native Emacs buffers instead of a flickering terminal.

Built on top of pi, a no-bs open source Claude Code alternative. It supports Claude, GPT, Gemini, Ollama. I've been using it daily for weeks.

Demo video that says more than $NUMBER words: https://danielnouri.org/media/pi-coding-agent-demo.mp4

The key decision here is that we have two separate windows: chat history is a markdown-mode buffer, with beautiful rendering, unlimted scrollback, selective tool expansion where it matters, etc. The input window stays visible while you paste, edit, compose. And doesn't stumble over newlines either. ;-)

Other useful things:

- Streaming output (watch commands run live)

- Syntax-highlighted code blocks and diffs

- Collapsible tool output with TAB

- Magit-style transient menu (C-c C-p)

- Branch/resume sessions, export to HTML

GitHub: https://github.com/dnouri/pi-coding-agent

It's on MELPA as: pi-coding-agent

pi's homepage: https://shittycodingagent.ai/

loading...