Settings

Theme

Show HN: Pi-coding-agent: Emacs front end for AI-assisted coding

github.com

4 points by dnouri a month ago · 0 comments · 1 min read

Reader

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/

No comments yet.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection