Ellama
Ellama is a tool for interacting with large language models from Emacs
...The tool is designed to align with Emacs’ philosophy of customization, enabling users to define prompts, commands, and behaviors tailored to their workflows. It supports conversational interactions, code assistance, and text transformation tasks, making it useful for both programming and writing scenarios. Ellama integrates with existing Emacs buffers, allowing users to send selected text or entire documents as context for AI operations. It also supports multiple providers, including Ollama, enabling local-first usage without relying on external APIs.