Hacker GitHub

← All repos

karthink/gptel

View on GitHub ↗ ★ 3,558 Emacs Lisp

A simple, extensible LLM client for Emacs

43 mentions on Hacker News by 39 people: 2 stories, 41 comments · first 2023-03-22 · latest 2026-08-05

Mentions per year 43 mentions · busiest year 2024 (15)
20082026
  1. If you like Emacs, why not make Emacs your harness? https://github.com/karthink/gptel
    comment by matthews3 · 2026-08-05 · in Pi's Minimalism Is Its Advantage
  2. …blocks, currently only work when not streaming, and fixing that is non-trivial.[also 1] [1] https://github.com/karthink/gptel/issues/1282
    comment by mncharity · 2026-04-29 · in I have officially retired from Emacs
  3. …host). I try not to run LLM's directly on my own host. The only exception I have is that I do use https://github.com/karthink/gptel on my own machine, because it is just too damn useful. I hope I don't self own myself with that someday.
    comment by stephen_cagle · 2026-02-27 · in Let's discuss sandbox isolation
  4. …stupid. It worked though. Sort of. That's how a trillion dollar company also does it, turns out. 0: https://github.com/karthink/gptel
  5. …add a screenshot. Admittedly, while working on this, I did consult my LLMs advisor through gptel( https://github.com/karthink/gptel ) with a few custom tools setup, which I cannot recommend enough.
  6. …tags/grep/create notes (in a specific sub folder). It's been good enough as a memory for me. 0: https://github.com/karthink/gptel 1: https://protesilaos.com/emacs/denote
  7. …which seems to be cornering the market. Starting to think i'm going to try to learn emacs, with https://github.com/karthink/gptel looking as if it would meet my needs.
  8. …seeing AI/LLM related plugins appearing for Emacs and they tend to get decent traction (e.g. https://github.com/karthink/gptel ). [1] https://ghuntley.com/fracture/
    comment by uludag · 2025-08-06 · in Claude Code IDE integration for Emacs
  9. …windows (local or via api w/ keys) at the same time to compare outputs. I highly recommended it. https://github.com/karthink/gptel
    comment by peterb · 2025-07-31 · in Ollama's new app
  10. …of the symbol at point (and text navigation across multiple files). For "AI", start with https://github.com/karthink/gptel/ (its README lists alternative packages, as you can see there is no lack of llm support in emacs, both chat,…
  11. …more importantly, getting used to a completely new look. You're basically advocating for GNU Emacs: https://github.com/karthink/gptel
    comment by znpy · 2025-07-14 · in Kiro: A new agentic IDE
  12. …is inline code completion (like GitHub Copilot). I saw that this was previously being [worked on]( https://github.com/karthink/gptel/discussions/206 ) in the gptel repo but was paused, so I decided to give it a shot and made…
  13. …Relevant gptel README section (you'll have to unfold the details block): https://github.com/karthink/gptel?tab=readme-ov-file#model-c...
    comment by karthink · 2025-05-22 · in MCP explained without hype or fluff
  14. …complex compositions like gptel-aibo[2] or mcp.el [3]. Yours is the full agent, though... Nice. [1] https://github.com/karthink/gptel [2] https://github.com/dolmens/gptel-aibo [3] https://github.com/lizqwerscott/mcp.el
    comment by slowmovintarget · 2025-05-07 · in Zed: High-performance AI Code Editor
  15. `gptel` supports perplexity, among many others. https://github.com/karthink/gptel
    comment by b5n · 2025-04-20 · in Perplexingly Book-Learned Emacs
  16. gptel is mostly plug-and-play. The docs offer a comprehensive overview: https://github.com/karthink/gptel
  17. Probably not for OP, but for existing Emacs users, I’m liking how https://github.com/karthink/gptel is evolving.
  18. …this already with over 20 models. Costs nothing beyond your subscriptions to the individual models. https://github.com/karthink/gptel The author shows it with 4 models at once in this demo video: https://www.youtube.com/watch?v=bsRnh_brggM&…
  19. …to the rise of llms). `gptel` supports multiple providers including anthropic, openai, ollama, etc. https://github.com/karthink/gptel
  20. …and backends. It works in the spirit of Emacs, available at any time and uniformly in any buffer. https://github.com/karthink/gptel
    comment by bpizzi · 2025-01-07 · in How I program with LLMs
  21. I don't know whether there is Copilot module for Emacs, sorry. I'm more of a fan of gptel approach https://github.com/karthink/gptel with explicit context and instructions.
  22. …:) [0]: https://lem-project.github.io/ [1]: https://news.ycombinator.com/item?id=41357409 [2]: https://github.com/karthink/gptel
    comment by codemac · 2024-12-10 · in I Use AI 100 Times per Hour
  23. …interact with LLM not the way the other editors does it but more of a Emacs way. for example gptel https://github.com/karthink/gptel
    comment by ossusermivami · 2024-12-04 · in EmacsConf 2024
  24. gptel does this: https://github.com/karthink/gptel/?tab=readme-ov-file#extra-... Here are the docs for an example of how it can look: https://news.ycombinator.com/item?id=42039895
  25. …inference costs (if any) down. Can you give an example of how this looks? I see it's mentioned in https://github.com/karthink/gptel/?tab=readme-ov-file#extra-... but I feel like I need an example. It sounds quite interesting and useful,…
    comment by kreyenborgi · 2024-11-04 · in gptel: a simple LLM client for Emacs
  26. ▲ 159
    gptel: a simple LLM client for Emacs
    story by michaelsbradley · 2024-11-03 · 33 comments
  27. Yes re: Emacs, see gptel: https://github.com/karthink/gptel
    comment by michaelsbradley · 2024-11-03 · in Zed – The Editor for What's Next
  28. https://github.com/karthink/gptel https://github.com/lanceberge/elysium/tree/main
    comment by lelele · 2024-10-30 · in How I write code using Cursor
  29. https://github.com/karthink/gptel/ makes it super easy to persist chats, it adds all the necessary metadata, you can have per-project chats if you want or a "global" one, whatever floats your boat.
    comment by kreyenborgi · 2024-10-24 · in I own my LLM chat history, and so should you
  30. Nice, there is also gptel https://github.com/karthink/gptel
  31. Might want to use M-x gptel instead. https://www.youtube.com/watch?v=bsRnh_brggM https://github.com/karthink/gptel
    comment by marci · 2024-09-16 · in Speech Dictation Mode for Emacs
  32. Emacs + gptel supports this: https://github.com/karthink/gptel/tree/master?tab=readme-ov-...
    comment by brewski · 2024-08-20 · in Zed AI
  33. …of the "tree of chats" idea, using Emacs, Org mode and gptel see `gptel-org-branching-context`in: https://github.com/karthink/gptel?tab=readme-ov-file#extra-o...
  34. …client specifically, which I have found to be useful for interacting with language models in Emacs: https://github.com/karthink/gptel
    comment by Zambyte · 2024-04-06 · in Photoshop for Text (2022)
  35. Emacs is able to run prompts, just like any other tool that's able to make an HTTP request. E.g., https://github.com/karthink/gptel provides hooks to both OpenAI and local LLMs, and allows you to use them anywhere —since everything in…
    comment by dan-g · 2024-01-11 · in A CEO's Guide to Emacs (2015)
  36. ▲ 6
    Gptel: A simple LLM client for Emacs
    story by ctur · 2023-12-31 · 0 comments
  37. From elsewhere in this thread: > Also worth checking out for more general use of LLMs in emacs: https://github.com/karthink/gptel
  38. https://github.com/karthink/gptel might interest you as well
  39. Also worth checking out for more general use of LLMs in emacs: https://github.com/karthink/gptel
  40. Also this one: https://github.com/karthink/gptel
  41. I use https://github.com/karthink/gptel to talk to GPT in Emacs and, by extension, have a record of all my conversations (unless intentionally removed) as simple Org files in my single Org-Roam network.
  42. …use gptel configured in Emacs right now, so I’ve found myself with a chat buffer always open. https://github.com/karthink/gptel In the last couple of weeks I’ve found it really useful chatting through ideas about a parser combinator…
  43. …regions/whole buffers into GPT for it to digest. This package looks like a great complement! [0]: https://github.com/karthink/gptel [1]: https://github.com/antonhibl/gptai [2]: https://github.com/emacs-openai/chatgpt [3]:…
    comment by kristjansson · 2023-03-22 · in A ChatGPT Emacs Shell