frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Efrit: A native elisp coding agent running in Emacs

https://github.com/steveyegge/efrit
79•simonpure•5h ago

Comments

cmrdporcupine•4h ago
Neat. As a Claude Code plan user can I use this ? I've never tried the API access method.

Claude is remarkably effective at writing elisp I surprisingly found. I had it whip up a mode today for something today (Notation3/N3 RDF triples) complete with etags support, etc. and it just... did it.

Bilal_io•3h ago
Clever name. For thos curious Efrit is Genie in Arabic and possibly the same in neighboring languages such as Persian and Turkish..
dragonwriter•3h ago
> For thos curious Efrit is Genie in Arabi

More precisely, as I understand it, “genie" is an anglicization of its Arabic equivalent, “jinn"; Efrit is a specific kind of jinn.

kgwgk•3h ago
Genie comes from Latin via French, it's not (just) a transliteration.

https://www.etymonline.com/word/genie

https://en.wikipedia.org/wiki/Genius_(mythology)

wging•1h ago
I think it might be 'e' for 'emacs' (there's precedent: eglot, eldoc, eshell, erc, emms) combined with 'ifrit', since "efrit" is a much less common spelling.
onehair•1h ago
Countries of origin kind of affect what's common. Where I'm from will write it efrit
_steve_yegge_•18m ago
Yes, that's exactly why I chose it. It starts with an 'e' and it's not a super common spelling, so it wasn't taken.
foobarqux•3h ago
I managed to get this working with gemini by using a proxy [1] and the following config (I used quelpa)

    (use-package efrit
    :quelpa (efrit :fetcher git :repo "steveyegge/efrit")
    :init
    (setq efrit-model "gemini-2.5-pro")
    ;; (setq efrit-api-url "https://generativelanguage.googleapis.com/v1beta/opena
    (setq efrit-api-url "http://127.0.0.1:8089/v1/messages")
    :config (defun efrit--get-api-key () (key-from-file "~/.keys/gemini.txt")) ; this isn't needed, it's set by the proxy
    :ensure t)
I needed to remove the uvicorn version constraint when importing the project to uv to get it to find a version solution.

Initially I thought you could send it directly to Gemini but apparently you need to proxy and translate the responses.

[1] Seems sketchy, use at your risk: https://github.com/coffeegrind123/gemini-for-claude-code

_steve_yegge_•40m ago
Congrats on getting it running! This thing is a huge POC (and arguably a POS) so be careful with it.

It's terrible at multi-step tasks right now. I'm evolving it to work more like claude code.

jwmcq•2h ago
I wonder if this could be updated to use OpenRouter in a similar way to Emigo[1] was aiming to do.

(I use the past tense, because Emigo has not been updated in a quarter of a year, which seems as if it may as well be decades in the timeline of this sort of stuff.)

[1] https://github.com/MatthewZMD/emigo

xrd•57m ago
I'm fascinated by this and the recent claude-code-ide package: https://github.com/manzaltu/claude-code-ide.el

But, I cannot seem to get past this error when I run claude-code-ide: "Symbol’s function definition is void: project-root" I know this is defined in project.el, but claude has been surprisingly unhelpful at fixing this issue.

I'm feeling a bit frustrated by the state of emacs packages lately. I've used emacs for 30 years and it feels like things are getting worse.

xrd•51m ago
This project does not work for me either. Drat.

  This is turn 4. Focus on any remaining tasks that haven't been completed yet.   Don't repeat work that was already done in previous turns.
  Assistant: I notice from the context that we're in a directory that might be related to a xxx project. Let me try to find and open the yyyy.ts file.                                                               
  [Result: Error: Unknown tool 'resolve_path']
_steve_yegge_•41m ago
Yeah it really kind of sucks right now, it's more of a proof of concept.

I'm working on evolving it into something that's not so transactional -- it will work more like claude code. Didn't realize it was going to hit the front page today. I'll poke at it this weekend and send an update.

xrd•36m ago
Ok, I might have to frame this comment. I'm a big fan.

After reading your wikipedia page, I didn't realize we were both at UWash CS at the same time. Small world.

_steve_yegge_•20m ago
I'm sorry it's not working. I've used emacs for almost 40 years and I'm definitely contributing to it being worse, by uploading efrit in its current state. But people were asking me for it. Damned if you do and all that.

I'm more than happy to work with you to get it working, with the caveat that it actually kind of sucks right now. It's no Claude Code. But I am quickly evolving it in that direction.

I want everything local – Building my offline AI workspace

https://instavm.io/blog/building-my-offline-ai-workspace
438•mkagenius•7h ago•136 comments

Ultrathin business card runs a fluid simulation

https://github.com/Nicholas-L-Johnson/flip-card
853•wompapumpum•13h ago•171 comments

Little-known leguminous plant can increase beef production by 60% (2022)

https://www.embrapa.br/en/busca-de-noticias/-/noticia/75361634/little-known-leguminous-plant-can-increase-beef-production-by-60
40•littlexsparkee•1h ago•10 comments

What makes a SuperAger?

https://news.northwestern.edu/stories/2025/08/what-makes-a-superager/
7•hhs•22m ago•1 comments

Tor: How a military project became a lifeline for privacy

https://thereader.mitpress.mit.edu/the-secret-history-of-tor-how-a-military-project-became-a-lifeline-for-privacy/
237•anarbadalov•9h ago•125 comments

Jim Lovell, Apollo 13 commander, has died

https://www.nasa.gov/news-release/acting-nasa-administrator-reflects-on-legacy-of-astronaut-jim-lovell/
358•LorenDB•6h ago•71 comments

Efrit: A native elisp coding agent running in Emacs

https://github.com/steveyegge/efrit
79•simonpure•5h ago•15 comments

Hacking Diffusion into Qwen3 for the Arc Challenge

https://www.matthewnewton.com/blog/arc-challenge-diffusion
39•mattnewton•3d ago•1 comments

Unmasking the Sea Star Killer

https://www.biographic.com/unmasking-the-sea-star-killer/
27•sohkamyung•3d ago•5 comments

Ask HN: How can ChatGPT serve 700M users when I can't run one GPT-4 locally?

265•superasn•5h ago•180 comments

How we replaced Elasticsearch and MongoDB with Rust and RocksDB

https://radar.com/blog/high-performance-geocoding-in-rust
185•j_kao•12h ago•48 comments

The surprise deprecation of GPT-4o for ChatGPT consumers

https://simonwillison.net/2025/Aug/8/surprise-deprecation-of-gpt-4o/
280•tosh•7h ago•249 comments

Build durable workflows with Postgres

https://www.dbos.dev/blog/why-postgres-durable-execution
92•KraftyOne•5h ago•35 comments

Astronomy Photographer of the Year 2025 shortlist

https://www.rmg.co.uk/whats-on/astronomy-photographer-year/galleries/2025-shortlist
160•speckx•10h ago•24 comments

My DIY modular charging station

https://arun.is/blog/diy-modular-charging-station/
14•surprisetalk•2d ago•5 comments

Fire hazard of WHY2025 badge due to 18650 Li-Ion cells

https://wiki.why2025.org/Badge/Fire_hazard
74•fjfaase•2d ago•71 comments

Getting good results from Claude Code

https://www.dzombak.com/blog/2025/08/getting-good-results-from-claude-code/
233•ingve•11h ago•103 comments

Why building a self-hosted SaaS is harder

https://www.getlago.com/blog/self-hosted-saas
15•FinnLobsien•3d ago•4 comments

The Day Novartis Chose Discovery

https://www.alexkesin.com/p/the-day-novartis-chose-discovery
6•quadrin•3d ago•1 comments

Overengineering my homelab so I don't pay cloud providers

https://ergaster.org/posts/2025/08/04-overegineering-homelab/
196•JNRowe•4d ago•163 comments

Window Activation

https://blog.broulik.de/2025/08/on-window-activation/
174•LorenDB•4d ago•94 comments

Apple's history is hiding in a Mac font

https://www.spacebar.news/apple-history-hiding-in-mac-font/
118•rbanffy•4d ago•23 comments

Poltergeist: File watcher with auto-rebuild for any language or build system

https://github.com/steipete/poltergeist
18•jshchnz•3d ago•4 comments

A robust, open-source framework for Spiking Neural Networks on low-end FPGAs

https://arxiv.org/abs/2507.07284
37•PaulHoule•4d ago•1 comments

Open SWE: An open-source asynchronous coding agent

https://blog.langchain.com/introducing-open-swe-an-open-source-asynchronous-coding-agent/
63•palashshah•9h ago•19 comments

HRT's Python fork: Leveraging PEP 690 for faster imports

https://www.hudsonrivertrading.com/hrtbeat/inside-hrts-python-fork/
64•davidteather•9h ago•82 comments

Backpropagating through a maze with candle and WASM

https://yberreby.com/discrete-maze-backprop-candle-wasm/
6•yberreby•2d ago•2 comments

Telefon Hírmondó

https://en.wikipedia.org/wiki/Telefon_H%C3%ADrmond%C3%B3
77•csense•4d ago•16 comments

Json2dir: a JSON-to-directory converter, a fast alternative to home-manager

https://github.com/alurm/json2dir
39•alurm•6h ago•15 comments

GPU-rich labs have won: What's left for the rest of us is distillation

https://inference.net/blog/what-s-left-is-distillation
66•npmipg•5h ago•35 comments