gptel

A simple LLM client for Emacs

gptel is a simple Large Language Model chat client for Emacs, with support for many models and backends. It works in the spirit of Emacs, available at any time and uniformly in any buffer.

gptel is available in any context:

but unobtrusive: it stays out of your way until you need it.

gptel can talk to most LLM services/runners:

Screencasts

Walkthrough on YouTube, 18 minutes (Dec 2023)

General usage
Rewrite in place
Tool use

Install

M-x package-install gptel

Manually:
(package-install-file "/path/to/gptel")

See full installation instructions and usage in the README.

Documentation

Links

Resources

© 2025 karthink