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
20082026
-
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 -
…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 -
…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 -
…stupid. It worked though. Sort of. That's how a trillion dollar company also does it, turns out. 0: https://github.com/karthink/gptel
comment by bergheim · 2026-02-11 · in Ex-GitHub CEO launches a new developer platform for AI agents -
…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.
comment by vkazanov · 2026-02-05 · in Show HN: Micropolis/SimCity Clone in Emacs Lisp -
…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
comment by minikomi · 2025-12-30 · in Show HN: Stop Claude Code from forgetting everything -
…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.
comment by almaira · 2025-10-26 · in Is there an IDE that can use the local open-source model? -
…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 -
…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 -
…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,…
comment by internet_points · 2025-07-17 · in Show HN: A 'Choose Your Own Adventure' written in Emacs Org Mode -
…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 -
…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…
comment by jdn3 · 2025-05-31 · in Gptel-autocomplete: Inline code completion in Emacs using gptel -
…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 -
…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 -
`gptel` supports perplexity, among many others. https://github.com/karthink/gptel
comment by b5n · 2025-04-20 · in Perplexingly Book-Learned Emacs -
gptel is mostly plug-and-play. The docs offer a comprehensive overview: https://github.com/karthink/gptel
comment by dskhatri · 2025-04-01 · in Automating Interactive Fiction Logic Generation with LLMs in Emacs -
Probably not for OP, but for existing Emacs users, I’m liking how https://github.com/karthink/gptel is evolving.
comment by wmedrano · 2025-04-01 · in Ask HN: What's the best way to get started with LLM-assisted programing? -
…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&…
comment by nemoniac · 2025-01-24 · in Show HN: Chat with multiple LLMs: o1-high-effort, Sonnet 3.5, GPT-4o, and more -
…to the rise of llms). `gptel` supports multiple providers including anthropic, openai, ollama, etc. https://github.com/karthink/gptel
comment by b5n · 2025-01-23 · in Llama.vim – Local LLM-assisted text completion -
…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 -
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.
comment by gotts · 2024-12-24 · in Ask HN: Programmers who don't use autocomplete/LSP, how do you do it? -
…:) [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 -
…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 -
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
comment by kreyenborgi · 2024-11-15 · in OpenAI, Google and Anthropic are struggling to build more advanced AI -
…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 -
Yes re: Emacs, see gptel: https://github.com/karthink/gptel
comment by michaelsbradley · 2024-11-03 · in Zed – The Editor for What's Next -
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 -
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 -
Nice, there is also gptel https://github.com/karthink/gptel
comment by johanvts · 2024-10-03 · in Canvas is a new way to write and code with ChatGPT -
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 -
…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...
comment by yaantc · 2024-05-08 · in Show HN: I built a non-linear UI for ChatGPT -
…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) -
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) -
From elsewhere in this thread: > Also worth checking out for more general use of LLMs in emacs: https://github.com/karthink/gptel
comment by turboponyy · 2023-12-31 · in Emacs-copilot: Large language model code completion for Emacs -
https://github.com/karthink/gptel might interest you as well
comment by IlikeMadison · 2023-12-31 · in Emacs-copilot: Large language model code completion for Emacs -
Also worth checking out for more general use of LLMs in emacs: https://github.com/karthink/gptel
comment by bekantan · 2023-12-31 · in Emacs-copilot: Large language model code completion for Emacs -
Also this one: https://github.com/karthink/gptel
comment by olgeni · 2023-07-27 · in JetBrains IDE update previews “deeply integrated” AI Assistant -
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.
comment by kirillrogovoy · 2023-04-17 · in Ask HN: What are some of the best ChatGPT Clients out there? -
…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…
comment by thom · 2023-03-25 · in Ask HN: How are you using GPT to be productive? -
…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