<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:media="http://search.yahoo.com/mrss/">
  <channel>
    
    <title>GitHub Emacs Lisp Monthly Trending Repositories</title>
    <description>Monthly Trending Repositories of Emacs Lisp on GitHub</description>
    
    <pubDate>Tue, 10 Nov 2026 00:38:55 GMT</pubDate>
    <link>https://mshibanami.github.io/GitHubTrendingRSS</link>
    
    <item>
      <title>google/styleguide</title>
      <link>https://github.com/google/styleguide</link>
      <description>&lt;p&gt;Style guides for Google-originated open-source projects&lt;/p&gt;&lt;p&gt;&lt;img src=&quot;https://mshibanami.github.io/GitHubTrendingRSS/assets/icons/link.png&quot; width=&quot;20&quot; height=&quot;20&quot; alt=&quot;link&quot; style=&quot;margin: 0 8px 0 0; padding: 0; display: inline-block; vertical-align: middle;&quot; /&gt;&lt;a href=&quot;https://google.github.io/styleguide/&quot;&gt;https://google.github.io/styleguide/&lt;/a&gt;&lt;/p&gt;&lt;hr&gt;&lt;h1&gt;Google Style Guides&lt;/h1&gt; 
&lt;p&gt;Every major open-source project has its own style guide: a set of conventions (sometimes arbitrary) about how to write code for that project. It is much easier to understand a large codebase when all the code in it is in a consistent style.&lt;/p&gt; 
&lt;p&gt;“Style” covers a lot of ground, from “use camelCase for variable names” to “never use global variables” to “never use exceptions.” This project (&lt;a href=&quot;https://github.com/google/styleguide&quot;&gt;google/styleguide&lt;/a&gt;) links to the style guidelines we use for Google code. If you are modifying a project that originated at Google, you may be pointed to this page to see the style guides that apply to that project.&lt;/p&gt; 
&lt;ul&gt; 
 &lt;li&gt;&lt;a href=&quot;https://angular.dev/style-guide&quot;&gt;Angular Style Guide&lt;/a&gt;&lt;/li&gt; 
 &lt;li&gt;&lt;a href=&quot;https://raw.githubusercontent.com/google/styleguide/gh-pages/lispguide.md&quot;&gt;Common Lisp Style Guide&lt;/a&gt;&lt;/li&gt; 
 &lt;li&gt;&lt;a href=&quot;https://raw.githubusercontent.com/google/styleguide/gh-pages/cppguide.md&quot;&gt;C++ Style Guide&lt;/a&gt;&lt;/li&gt; 
 &lt;li&gt;&lt;a href=&quot;https://raw.githubusercontent.com/google/styleguide/gh-pages/csharpguide.md&quot;&gt;C# Style Guide&lt;/a&gt;&lt;/li&gt; 
 &lt;li&gt;&lt;a href=&quot;https://www.dartlang.org/guides/language/effective-dart&quot;&gt;Effective Dart&lt;/a&gt;&lt;/li&gt; 
 &lt;li&gt;&lt;a href=&quot;https://raw.githubusercontent.com/google/styleguide/gh-pages/go/&quot;&gt;Go Style Guide&lt;/a&gt;&lt;/li&gt; 
 &lt;li&gt;&lt;a href=&quot;https://raw.githubusercontent.com/google/styleguide/gh-pages/haskellguide.md&quot;&gt;Haskell Style Guide&lt;/a&gt;&lt;/li&gt; 
 &lt;li&gt;&lt;a href=&quot;https://raw.githubusercontent.com/google/styleguide/gh-pages/htmlcssguide.md&quot;&gt;HTML/CSS Style Guide&lt;/a&gt;&lt;/li&gt; 
 &lt;li&gt;&lt;a href=&quot;https://raw.githubusercontent.com/google/styleguide/gh-pages/jsguide.md&quot;&gt;JavaScript Style Guide&lt;/a&gt;&lt;/li&gt; 
 &lt;li&gt;&lt;a href=&quot;https://raw.githubusercontent.com/google/styleguide/gh-pages/javaguide.md&quot;&gt;Java Style Guide&lt;/a&gt;&lt;/li&gt; 
 &lt;li&gt;&lt;a href=&quot;https://raw.githubusercontent.com/google/styleguide/gh-pages/jsoncguide.md&quot;&gt;JSON Style Guide&lt;/a&gt;&lt;/li&gt; 
 &lt;li&gt;&lt;a href=&quot;https://developer.android.com/kotlin/style-guide&quot;&gt;Kotlin Style Guide&lt;/a&gt;&lt;/li&gt; 
 &lt;li&gt;&lt;a href=&quot;https://raw.githubusercontent.com/google/styleguide/gh-pages/docguide/style.md&quot;&gt;Markdown Style Guide&lt;/a&gt;&lt;/li&gt; 
 &lt;li&gt;&lt;a href=&quot;https://raw.githubusercontent.com/google/styleguide/gh-pages/objcguide.md&quot;&gt;Objective-C Style Guide&lt;/a&gt;&lt;/li&gt; 
 &lt;li&gt;&lt;a href=&quot;https://raw.githubusercontent.com/google/styleguide/gh-pages/pyguide.md&quot;&gt;Python Style Guide&lt;/a&gt;&lt;/li&gt; 
 &lt;li&gt;&lt;a href=&quot;https://raw.githubusercontent.com/google/styleguide/gh-pages/Rguide.md&quot;&gt;R Style Guide&lt;/a&gt;&lt;/li&gt; 
 &lt;li&gt;&lt;a href=&quot;https://raw.githubusercontent.com/google/styleguide/gh-pages/rustguide.md&quot;&gt;Rust Style Guide&lt;/a&gt;&lt;/li&gt; 
 &lt;li&gt;&lt;a href=&quot;https://raw.githubusercontent.com/google/styleguide/gh-pages/shellguide.md&quot;&gt;Shell Style Guide&lt;/a&gt;&lt;/li&gt; 
 &lt;li&gt;&lt;a href=&quot;https://google.github.io/swift/&quot;&gt;Swift Style Guide&lt;/a&gt;&lt;/li&gt; 
 &lt;li&gt;&lt;a href=&quot;https://wiki.tcl-lang.org/page/Dodekalogue&quot;&gt;TCL/TK Style Guide&lt;/a&gt;&lt;/li&gt; 
 &lt;li&gt;&lt;a href=&quot;https://raw.githubusercontent.com/google/styleguide/gh-pages/tsguide.md&quot;&gt;TypeScript Style Guide&lt;/a&gt;&lt;/li&gt; 
 &lt;li&gt;&lt;a href=&quot;https://raw.githubusercontent.com/google/styleguide/gh-pages/verilogguide.md&quot;&gt;Verilog Style Guide&lt;/a&gt;&lt;/li&gt; 
 &lt;li&gt;&lt;a href=&quot;https://raw.githubusercontent.com/google/styleguide/gh-pages/vimscriptguide.md&quot;&gt;Vim script Style Guide&lt;/a&gt;&lt;/li&gt; 
 &lt;li&gt;&lt;a href=&quot;https://raw.githubusercontent.com/google/styleguide/gh-pages/xmlguide.md&quot;&gt;XML Document Format Style Guide&lt;/a&gt;&lt;/li&gt; 
&lt;/ul&gt; 
&lt;h2&gt;Source Code Management&lt;/h2&gt; 
&lt;p&gt;Since projects are largely maintained in a &lt;a href=&quot;https://en.wikipedia.org/wiki/Version_control_system&quot;&gt;VCS&lt;/a&gt;, writing good commit messages is important to long term project health. Please refer to &lt;a href=&quot;https://cbea.ms/git-commit/&quot;&gt;How to Write a Git Commit Message&lt;/a&gt; as an excellent resource. While it explicitly refers to the Git &lt;a href=&quot;https://en.wikipedia.org/wiki/Source_control_management&quot;&gt;SCM&lt;/a&gt;, its principles apply to any system, and many Git conventions are trivial to translate to others.&lt;/p&gt; 
&lt;h2&gt;Editors &amp;amp; Tools&lt;/h2&gt; 
&lt;p&gt;Google engineers use a wide variety of editors &amp;amp; IDEs.&lt;/p&gt; 
&lt;ul&gt; 
 &lt;li&gt;Eclipse &amp;amp; IntelliJ 
  &lt;ul&gt; 
   &lt;li&gt;C++: &lt;a href=&quot;https://raw.githubusercontent.com/google/styleguide/gh-pages/eclipse-cpp-google-style.xml&quot;&gt;eclipse-cpp-google-style.xml&lt;/a&gt;&lt;/li&gt; 
   &lt;li&gt;Java: &lt;a href=&quot;https://github.com/google/google-java-format&quot;&gt;https://github.com/google/google-java-format&lt;/a&gt;&lt;/li&gt; 
  &lt;/ul&gt; &lt;/li&gt; 
 &lt;li&gt;Emacs: &lt;a href=&quot;https://raw.githubusercontent.com/google/styleguide/gh-pages/google-c-style.el&quot;&gt;google-c-style.el&lt;/a&gt;&lt;/li&gt; 
 &lt;li&gt;Vim: &lt;a href=&quot;https://github.com/google/vim-codefmt&quot;&gt;https://github.com/google/vim-codefmt&lt;/a&gt; 
  &lt;ul&gt; 
   &lt;li&gt;Python: &lt;a href=&quot;https://raw.githubusercontent.com/google/styleguide/gh-pages/google_python_style.vim&quot;&gt;google_python_style.vim&lt;/a&gt;&lt;/li&gt; 
  &lt;/ul&gt; &lt;/li&gt; 
&lt;/ul&gt; 
&lt;p&gt;We used to host the cpplint tool, but we stopped making internal updates public. An open source community has forked the project, so users are encouraged to use &lt;a href=&quot;https://github.com/cpplint/cpplint&quot;&gt;https://github.com/cpplint/cpplint&lt;/a&gt; instead.&lt;/p&gt; 
&lt;h2&gt;Contributing&lt;/h2&gt; 
&lt;p&gt;With few exceptions, these style guides are copies of Google&#39;s internal style guides to assist developers working on Google owned and originated open source projects. Changes to the style guides are made to the internal style guides first and eventually copied into the versions found here. &lt;strong&gt;External contributions are not accepted.&lt;/strong&gt; Pull requests are regularly closed without comment.&lt;/p&gt; 
&lt;p&gt;While many of these guides are hosted directly in this project, others might be hosted in other projects. Sometimes those projects are also maintained by Google, sometimes they are wider community projects that Google contributes to like anyone else. Before reporting issues against a particular language/guide, please check where the guide is hosted.&lt;/p&gt; 
&lt;p&gt;People can file &lt;a href=&quot;https://github.com/google/styleguide/issues&quot;&gt;issues using the GitHub tracker&lt;/a&gt;. Issues that raise questions, justify changes on technical merits, or point out obvious mistakes may get some engagement and could in theory lead to changes, but we are primarily optimizing for Google&#39;s internal needs.&lt;/p&gt; 
&lt;h2&gt;Licensing&lt;/h2&gt; 
&lt;p&gt;The style guides in this project are licensed under the CC-By 3.0 License, which encourages you to share these documents. See &lt;a href=&quot;https://creativecommons.org/licenses/by/3.0/&quot;&gt;https://creativecommons.org/licenses/by/3.0/&lt;/a&gt; for more details.&lt;/p&gt; 
&lt;p&gt;Code samples are licensed under the Apache 2.0 License. See &lt;a href=&quot;https://www.apache.org/licenses/LICENSE-2.0&quot;&gt;https://www.apache.org/licenses/LICENSE-2.0&lt;/a&gt; for more details.&lt;/p&gt; 
&lt;p&gt;&lt;a rel=&quot;license&quot; href=&quot;https://creativecommons.org/licenses/by/3.0/&quot;&gt;&lt;img alt=&quot;Creative Commons License&quot; style=&quot;border-width:0&quot; src=&quot;https://i.creativecommons.org/l/by/3.0/88x31.png&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description>
      
      <media:content url="https://opengraph.githubassets.com/7dfd00c95d9ec5288cd56ea77105e2bcecf9bbaf762a5fd076a79a4c59bfa56c/google/styleguide" medium="image" />
      
    </item>
    
    <item>
      <title>google-coral/coralnpu</title>
      <link>https://github.com/google-coral/coralnpu</link>
      <description>&lt;p&gt;A machine learning accelerator core designed for energy-efficient AI at the edge.&lt;/p&gt;&lt;hr&gt;&lt;h1&gt;Coral NPU&lt;/h1&gt; 
&lt;p&gt;Coral NPU is a hardware accelerator for ML inferencing. Coral NPU is an Open Source IP designed by Google Research and is freely available for integration into ultra-low-power System-on-Chips (SoCs) targeting wearable devices such as hearables, augmented reality (AR) glasses and smart watches.&lt;/p&gt; 
&lt;p&gt;Coral NPU is a neural processing unit (NPU), also known as an AI accelerator or deep-learning processor. Coral NPU is based on the 32-bit RISC-V Instruction Set Architecture (ISA).&lt;/p&gt; 
&lt;p&gt;Coral NPU includes three distinct processor components that work together: matrix, vector (SIMD), and scalar.&lt;/p&gt; 
&lt;p&gt;&lt;img src=&quot;https://raw.githubusercontent.com/google-coral/coralnpu/main/doc/images/arch_data_flow.png&quot; alt=&quot;Coral NPU Archicture&quot; /&gt; &lt;a href=&quot;https://developers.google.com/coral/guides/hardware/datasheet&quot;&gt;Coral NPU Architecture Datasheet&lt;/a&gt;&lt;/p&gt; 
&lt;h2&gt;Coral NPU Features&lt;/h2&gt; 
&lt;p&gt;Coral NPU offers the following top-level feature set:&lt;/p&gt; 
&lt;ul&gt; 
 &lt;li&gt;RV32IMF_Zve32x RISC-V instruction set (specifically &lt;code&gt;rv32imf_zve32x_zicsr_zifencei_zbb&lt;/code&gt;)&lt;/li&gt; 
 &lt;li&gt;32-bit address space for applications and operating system kernels&lt;/li&gt; 
 &lt;li&gt;Four-stage processor, in-order dispatch, out-of-order retire&lt;/li&gt; 
 &lt;li&gt;Four-way scalar, two-way vector dispatch&lt;/li&gt; 
 &lt;li&gt;128-bit SIMD, 256-bit (future) pipeline&lt;/li&gt; 
 &lt;li&gt;8 KB ITCM memory (tightly-coupled memory for instructions)&lt;/li&gt; 
 &lt;li&gt;32 KB DTCM memory (tightly-coupled memory for data)&lt;/li&gt; 
 &lt;li&gt;Both memories are single-cycle-latency SRAM, more efficient than cache memory&lt;/li&gt; 
 &lt;li&gt;AXI4 bus interfaces, functioning as both manager and subordinate, to interact with external memory and allow external CPUs to configure Coral NPU&lt;/li&gt; 
&lt;/ul&gt; 
&lt;h2&gt;System Requirements&lt;/h2&gt; 
&lt;ul&gt; 
 &lt;li&gt;Bazel 8.6.0&lt;/li&gt; 
 &lt;li&gt;Python 3.9-3.13&lt;/li&gt; 
&lt;/ul&gt; 
&lt;p&gt;See &lt;a href=&quot;https://raw.githubusercontent.com/google-coral/coralnpu/main/utils/coralnpu.dockerfile&quot;&gt;coralnpu.dockerfile&lt;/a&gt; for a detailed list of requirements. Our CI systems run most builds and tests using this image.&lt;/p&gt; 
&lt;h2&gt;Verification &amp;amp; Testing&lt;/h2&gt; 
&lt;p&gt;For details on our testing methodologies and how to run or write tests, see the corresponding test READMEs:&lt;/p&gt; 
&lt;ul&gt; 
 &lt;li&gt;&lt;a href=&quot;https://raw.githubusercontent.com/google-coral/coralnpu/main/tests/cocotb/README.md&quot;&gt;Cocotb Tests (RTL &amp;amp; Netlist simulation)&lt;/a&gt;&lt;/li&gt; 
 &lt;li&gt;&lt;a href=&quot;https://raw.githubusercontent.com/google-coral/coralnpu/main/tests/uvm/README.md&quot;&gt;UVM Testbench (Co-simulation)&lt;/a&gt;&lt;/li&gt; 
&lt;/ul&gt; 
&lt;h2&gt;Quick Start&lt;/h2&gt; 
&lt;pre&gt;&lt;code class=&quot;language-bash&quot;&gt;# Ensure that test suite passes
bazel run //tests/cocotb:core_mini_axi_sim_cocotb

# Build a binary
bazel build //examples:coralnpu_v2_hello_world_add_floats

# Build the Simulator (non-RVV for shorter build time):
bazel build //tests/verilator_sim:core_mini_axi_sim

# Run the binary on the simulator:
bazel-bin/tests/verilator_sim/core_mini_axi_sim --binary bazel-out/k8-fastbuild-ST-dd8dc713f32d/bin/examples/coralnpu_v2_hello_world_add_floats.elf
&lt;/code&gt;&lt;/pre&gt; 
&lt;p&gt;&lt;img src=&quot;https://raw.githubusercontent.com/google-coral/coralnpu/main/doc/images/Coral_Logo_200px-2x.png&quot; alt=&quot;&quot; /&gt;&lt;/p&gt;</description>
      
      <media:content url="https://opengraph.githubassets.com/db16566f092415eb1fe8228f2700abde638b7cf313e941f902a7c32e8a7400b2/google-coral/coralnpu" medium="image" />
      
    </item>
    
    <item>
      <title>xenodium/agent-shell</title>
      <link>https://github.com/xenodium/agent-shell</link>
      <description>&lt;p&gt;Brings your favorite AI agents to Emacs, keeping you at home: familiar buffers and bindings, no terminal emulation. Powered by ACP.&lt;/p&gt;&lt;p&gt;&lt;img src=&quot;https://mshibanami.github.io/GitHubTrendingRSS/assets/icons/link.png&quot; width=&quot;20&quot; height=&quot;20&quot; alt=&quot;link&quot; style=&quot;margin: 0 8px 0 0; padding: 0; display: inline-block; vertical-align: middle;&quot; /&gt;&lt;a href=&quot;https://xenodium.com&quot;&gt;https://xenodium.com&lt;/a&gt;&lt;/p&gt;&lt;hr&gt;&lt;p&gt;#+TITLE: Emacs Agent Shell #+AUTHOR: Álvaro Ramírez&lt;/p&gt; 
&lt;p&gt;[[&lt;a href=&quot;https://melpa.org/#/agent-shell&quot;&gt;https://melpa.org/#/agent-shell&lt;/a&gt;][file:&lt;a href=&quot;https://melpa.org/packages/agent-shell-badge.svg&quot;&gt;https://melpa.org/packages/agent-shell-badge.svg&lt;/a&gt;]]&lt;/p&gt; 
&lt;p&gt;👉 [[&lt;a href=&quot;https://github.com/sponsors/xenodium&quot;&gt;https://github.com/sponsors/xenodium&lt;/a&gt;][Support this work via GitHub Sponsors]] by [[&lt;a href=&quot;https://github.com/xenodium&quot;&gt;https://github.com/xenodium&lt;/a&gt;][@xenodium]] (check out my [[&lt;a href=&quot;https://xenodium.com&quot;&gt;https://xenodium.com&lt;/a&gt;][blog]])&lt;/p&gt; 
&lt;p&gt;[[file:agent-shell.png]]&lt;/p&gt; 
&lt;ul&gt; 
 &lt;li&gt;This project needs your funding&lt;/li&gt; 
&lt;/ul&gt; 
&lt;p&gt;As you pay for those useful LLM tokens, consider [[&lt;a href=&quot;https://github.com/sponsors/xenodium&quot;&gt;https://github.com/sponsors/xenodium&lt;/a&gt;][sponsoring]] development and maintenance of this project. With your help, I can make this effort more [[&lt;a href=&quot;https://github.com/sponsors/xenodium&quot;&gt;https://github.com/sponsors/xenodium&lt;/a&gt;][sustainable]].&lt;/p&gt; 
&lt;p&gt;Thank you!&lt;/p&gt; 
&lt;p&gt;[[&lt;a href=&quot;https://xenodium.com/&quot;&gt;https://xenodium.com/&lt;/a&gt;][Alvaro]]&lt;/p&gt; 
&lt;ul&gt; 
 &lt;li&gt;agent-shell&lt;/li&gt; 
&lt;/ul&gt; 
&lt;p&gt;=agent-shell= brings your favorite AI agents to [[&lt;a href=&quot;https://www.gnu.org/software/emacs/&quot;&gt;https://www.gnu.org/software/emacs/&lt;/a&gt;][Emacs]], keeping you at home: familiar buffers and bindings, no terminal emulation. All powered by ACP, the [[&lt;a href=&quot;https://agentclientprotocol.com&quot;&gt;https://agentclientprotocol.com&lt;/a&gt;][Agent Client Protocol]].&lt;/p&gt; 
&lt;p&gt;Works with 24 agents today, and any other that speaks ACP:&lt;/p&gt; 
&lt;ul&gt; 
 &lt;li&gt;[[&lt;a href=&quot;https://antigravity.google/docs/ide/extensions&quot;&gt;https://antigravity.google/docs/ide/extensions&lt;/a&gt;][Antigravity]] (Google)&lt;/li&gt; 
 &lt;li&gt;[[&lt;a href=&quot;https://docs.augmentcode.com/cli/overview&quot;&gt;https://docs.augmentcode.com/cli/overview&lt;/a&gt;][Auggie]]&lt;/li&gt; 
 &lt;li&gt;[[&lt;a href=&quot;https://code.claude.com/docs/en/overview&quot;&gt;https://code.claude.com/docs/en/overview&lt;/a&gt;][Claude Agent]] (Anthropic)&lt;/li&gt; 
 &lt;li&gt;[[&lt;a href=&quot;https://docs.cline.bot/usage/acp&quot;&gt;https://docs.cline.bot/usage/acp&lt;/a&gt;][Cline]]&lt;/li&gt; 
 &lt;li&gt;[[&lt;a href=&quot;https://www.codebuddy.ai&quot;&gt;https://www.codebuddy.ai&lt;/a&gt;][CodeBuddy]]&lt;/li&gt; 
 &lt;li&gt;[[&lt;a href=&quot;https://github.com/agentclientprotocol/codex-acp&quot;&gt;https://github.com/agentclientprotocol/codex-acp&lt;/a&gt;][Codex]] (OpenAI)&lt;/li&gt; 
 &lt;li&gt;[[&lt;a href=&quot;https://cursor.com/docs/cli&quot;&gt;https://cursor.com/docs/cli&lt;/a&gt;][Cursor]]&lt;/li&gt; 
 &lt;li&gt;[[&lt;a href=&quot;https://github.com/deepseek-ai/deepseek-harness&quot;&gt;https://github.com/deepseek-ai/deepseek-harness&lt;/a&gt;][DeepSeek Harness]]&lt;/li&gt; 
 &lt;li&gt;[[&lt;a href=&quot;https://factory.ai&quot;&gt;https://factory.ai&lt;/a&gt;][Factory Droid]]&lt;/li&gt; 
 &lt;li&gt;[[&lt;a href=&quot;https://github.com/google-gemini/gemini-cli&quot;&gt;https://github.com/google-gemini/gemini-cli&lt;/a&gt;][Gemini CLI]] (Google)&lt;/li&gt; 
 &lt;li&gt;[[&lt;a href=&quot;https://docs.github.com/en/copilot/reference/copilot-cli-reference/acp-server&quot;&gt;https://docs.github.com/en/copilot/reference/copilot-cli-reference/acp-server&lt;/a&gt;][GitHub Copilot]]&lt;/li&gt; 
 &lt;li&gt;[[&lt;a href=&quot;https://goose-docs.ai/docs/getting-started/installation&quot;&gt;https://goose-docs.ai/docs/getting-started/installation&lt;/a&gt;][Goose]]&lt;/li&gt; 
 &lt;li&gt;[[&lt;a href=&quot;https://docs.x.ai/docs/overview&quot;&gt;https://docs.x.ai/docs/overview&lt;/a&gt;][Grok Build]] (xAI)&lt;/li&gt; 
 &lt;li&gt;[[&lt;a href=&quot;https://github.com/NousResearch/hermes-agent&quot;&gt;https://github.com/NousResearch/hermes-agent&lt;/a&gt;][Hermes]]&lt;/li&gt; 
 &lt;li&gt;[[&lt;a href=&quot;https://junie.jetbrains.com/docs/junie-cli-acp.html&quot;&gt;https://junie.jetbrains.com/docs/junie-cli-acp.html&lt;/a&gt;][Junie]] (JetBrains)&lt;/li&gt; 
 &lt;li&gt;[[&lt;a href=&quot;https://www.kimi.com/code&quot;&gt;https://www.kimi.com/code&lt;/a&gt;][Kimi Code CLI]]&lt;/li&gt; 
 &lt;li&gt;[[&lt;a href=&quot;https://kiro.dev&quot;&gt;https://kiro.dev&lt;/a&gt;][Kiro CLI]]&lt;/li&gt; 
 &lt;li&gt;[[&lt;a href=&quot;https://github.com/mistralai/mistral-vibe&quot;&gt;https://github.com/mistralai/mistral-vibe&lt;/a&gt;][Mistral Vibe]]&lt;/li&gt; 
 &lt;li&gt;[[&lt;a href=&quot;https://github.com/can1357/oh-my-pi&quot;&gt;https://github.com/can1357/oh-my-pi&lt;/a&gt;][Oh My Pi]]&lt;/li&gt; 
 &lt;li&gt;[[&lt;a href=&quot;https://openclaw.ai&quot;&gt;https://openclaw.ai&lt;/a&gt;][OpenClaw]]&lt;/li&gt; 
 &lt;li&gt;[[&lt;a href=&quot;https://opencode.ai&quot;&gt;https://opencode.ai&lt;/a&gt;][OpenCode]]&lt;/li&gt; 
 &lt;li&gt;[[&lt;a href=&quot;https://github.com/svkozak/pi-acp&quot;&gt;https://github.com/svkozak/pi-acp&lt;/a&gt;][Pi]]&lt;/li&gt; 
 &lt;li&gt;[[&lt;a href=&quot;https://qoder.com&quot;&gt;https://qoder.com&lt;/a&gt;][Qoder CLI]]&lt;/li&gt; 
 &lt;li&gt;[[&lt;a href=&quot;https://github.com/QwenLM/qwen-code&quot;&gt;https://github.com/QwenLM/qwen-code&lt;/a&gt;][Qwen Code]]&lt;/li&gt; 
&lt;/ul&gt; 
&lt;p&gt;[[&lt;a href=&quot;https://www.youtube.com/watch?v=R2Ucr3amgGg&quot;&gt;https://www.youtube.com/watch?v=R2Ucr3amgGg&lt;/a&gt;][agent-shell - YouTube]]&lt;/p&gt; 
&lt;p&gt;[[&lt;a href=&quot;https://www.youtube.com/watch?v=R2Ucr3amgGg&quot;&gt;https://www.youtube.com/watch?v=R2Ucr3amgGg&lt;/a&gt;][file:yt.png]]&lt;/p&gt; 
&lt;p&gt;[[&lt;a href=&quot;https://www.youtube.com/watch?v=ymMlftdGx4I&quot;&gt;https://www.youtube.com/watch?v=ymMlftdGx4I&lt;/a&gt;][agent-shell + Claude Skills - YouTube]]&lt;/p&gt; 
&lt;p&gt;[[&lt;a href=&quot;https://www.youtube.com/watch?v=ymMlftdGx4I&quot;&gt;https://www.youtube.com/watch?v=ymMlftdGx4I&lt;/a&gt;][&lt;a href=&quot;https://img.youtube.com/vi/ymMlftdGx4I/0.jpg&quot;&gt;https://img.youtube.com/vi/ymMlftdGx4I/0.jpg&lt;/a&gt;]]&lt;/p&gt; 
&lt;p&gt;[[&lt;a href=&quot;https://www.youtube.com/watch?v=HJQ86HuSIJI&quot;&gt;https://www.youtube.com/watch?v=HJQ86HuSIJI&lt;/a&gt;][agent-shell + Claude Skills + Charts - YouTube]]&lt;/p&gt; 
&lt;p&gt;[[&lt;a href=&quot;https://www.youtube.com/watch?v=HJQ86HuSIJI&quot;&gt;https://www.youtube.com/watch?v=HJQ86HuSIJI&lt;/a&gt;][&lt;a href=&quot;https://img.youtube.com/vi/HJQ86HuSIJI/0.jpg&quot;&gt;https://img.youtube.com/vi/HJQ86HuSIJI/0.jpg&lt;/a&gt;]]&lt;/p&gt; 
&lt;p&gt;[[&lt;a href=&quot;https://www.youtube.com/watch?v=7fdHeUoRRgg&quot;&gt;https://www.youtube.com/watch?v=7fdHeUoRRgg&lt;/a&gt;][Bending Emacs Episode 14: Prototyping iOS apps with agent-shell, artist-mode, and Claude Skills - YouTube]]&lt;/p&gt; 
&lt;p&gt;[[&lt;a href=&quot;https://www.youtube.com/watch?v=7fdHeUoRRgg&quot;&gt;https://www.youtube.com/watch?v=7fdHeUoRRgg&lt;/a&gt;][&lt;a href=&quot;https://img.youtube.com/vi/7fdHeUoRRgg/0.jpg&quot;&gt;https://img.youtube.com/vi/7fdHeUoRRgg/0.jpg&lt;/a&gt;]]&lt;/p&gt; 
&lt;ul&gt; 
 &lt;li&gt;News&lt;/li&gt; 
&lt;/ul&gt; 
&lt;p&gt;Do take a look at all these blog posts as they showcase most =agent-shell= features.&lt;/p&gt; 
&lt;ul&gt; 
 &lt;li&gt;[[&lt;a href=&quot;https://xenodium.com/agent-shell-0-63-updates&quot;&gt;https://xenodium.com/agent-shell-0-63-updates&lt;/a&gt;][agent-shell 0.63 updates]].&lt;/li&gt; 
 &lt;li&gt;[[&lt;a href=&quot;https://xenodium.com/agent-shell-0-55-updates&quot;&gt;https://xenodium.com/agent-shell-0-55-updates&lt;/a&gt;][agent-shell 0.55 updates]].&lt;/li&gt; 
 &lt;li&gt;[[&lt;a href=&quot;https://xenodium.com/agent-shell-0-47-1-updates&quot;&gt;https://xenodium.com/agent-shell-0-47-1-updates&lt;/a&gt;][agent-shell 0.47 updates]].&lt;/li&gt; 
 &lt;li&gt;[[&lt;a href=&quot;https://xenodium.com/agent-shell-0-25-updates&quot;&gt;https://xenodium.com/agent-shell-0-25-updates&lt;/a&gt;][agent-shell 0.25 updates]].&lt;/li&gt; 
 &lt;li&gt;[[&lt;a href=&quot;https://xenodium.com/agent-shell-016-improvements-melpa&quot;&gt;https://xenodium.com/agent-shell-016-improvements-melpa&lt;/a&gt;][agent-shell 0.17 improvements + MELPA]].&lt;/li&gt; 
 &lt;li&gt;[[&lt;a href=&quot;https://xenodium.com/agent-shell-0-5-improvements&quot;&gt;https://xenodium.com/agent-shell-0-5-improvements&lt;/a&gt;][agent-shell 0.5 improvements]].&lt;/li&gt; 
 &lt;li&gt;[[&lt;a href=&quot;https://xenodium.com/introducing-agent-shell&quot;&gt;https://xenodium.com/introducing-agent-shell&lt;/a&gt;][Introducing Emacs agent-shell (powered by ACP)]].&lt;/li&gt; 
 &lt;li&gt;[[&lt;a href=&quot;https://xenodium.com/introducing-acpel&quot;&gt;https://xenodium.com/introducing-acpel&lt;/a&gt;][Introducing acp.el]].&lt;/li&gt; 
&lt;/ul&gt; 
&lt;ul&gt; 
 &lt;li&gt;Related projects&lt;/li&gt; 
&lt;/ul&gt; 
&lt;p&gt;=agent-shell= relies on [[&lt;a href=&quot;https://github.com/xenodium/acp.el&quot;&gt;https://github.com/xenodium/acp.el&lt;/a&gt;][acp.el]] to communicate with agents via ACP ([[&lt;a href=&quot;https://agentclientprotocol.com/&quot;&gt;https://agentclientprotocol.com/&lt;/a&gt;][Agent Client Protocol]]).&lt;/p&gt; 
&lt;p&gt;We now have a handful of additional packages to extend the =agent-shell= experience:&lt;/p&gt; 
&lt;ul&gt; 
 &lt;li&gt;[[&lt;a href=&quot;https://github.com/xenodium/emacs-skills&quot;&gt;https://github.com/xenodium/emacs-skills&lt;/a&gt;][emacs-skills]]: Claude Agent skills for Emacs.&lt;/li&gt; 
 &lt;li&gt;[[&lt;a href=&quot;https://github.com/ElleNajt/agent-shell-to-go&quot;&gt;https://github.com/ElleNajt/agent-shell-to-go&lt;/a&gt;][agent-shell-to-go]]: Interact with =agent-shell= sessions from your mobile or any other device via Slack.&lt;/li&gt; 
 &lt;li&gt;[[&lt;a href=&quot;https://github.com/Embedded-Focus/agent-circus&quot;&gt;https://github.com/Embedded-Focus/agent-circus&lt;/a&gt;][agent-circus]]: Run AI coding agents in sandboxed Docker containers.&lt;/li&gt; 
 &lt;li&gt;[[&lt;a href=&quot;https://github.com/cmacrae/agent-shell-sidebar&quot;&gt;https://github.com/cmacrae/agent-shell-sidebar&lt;/a&gt;][agent-shell-sidebar]]: A sidebar add-on for =agent-shell=.&lt;/li&gt; 
 &lt;li&gt;[[&lt;a href=&quot;https://github.com/dcluna/agent-shell-bookmark&quot;&gt;https://github.com/dcluna/agent-shell-bookmark&lt;/a&gt;][agent-shell-bookmark]]: Bookmark support for agent-shell sessions.&lt;/li&gt; 
 &lt;li&gt;[[&lt;a href=&quot;https://github.com/gveres/agent-shell-workspace&quot;&gt;https://github.com/gveres/agent-shell-workspace&lt;/a&gt;][agent-shell-workspace]]: Dedicated tab-bar workspace for managing multiple =agent-shell= sessions.&lt;/li&gt; 
 &lt;li&gt;[[&lt;a href=&quot;https://github.com/jethrokuan/agent-shell-manager&quot;&gt;https://github.com/jethrokuan/agent-shell-manager&lt;/a&gt;][agent-shell-manager]]: Tabulated view and management of =agent-shell= buffers.&lt;/li&gt; 
 &lt;li&gt;[[&lt;a href=&quot;https://github.com/nineluj/agent-review&quot;&gt;https://github.com/nineluj/agent-review&lt;/a&gt;][agent-review]]: Code review interface for =agent-shell=.&lt;/li&gt; 
 &lt;li&gt;[[&lt;a href=&quot;https://github.com/ultronozm/agent-shell-attention.el&quot;&gt;https://github.com/ultronozm/agent-shell-attention.el&lt;/a&gt;][agent-shell-attention.el]]: Mode-line attention tracker for =agent-shell=.&lt;/li&gt; 
 &lt;li&gt;[[&lt;a href=&quot;https://github.com/xenodium/agent-shell-knockknock&quot;&gt;https://github.com/xenodium/agent-shell-knockknock&lt;/a&gt;][agent-shell-knockknock]]: Notifications for =agent-shell= via [[&lt;a href=&quot;https://github.com/konrad1977/knockknock&quot;&gt;https://github.com/konrad1977/knockknock&lt;/a&gt;][knockknock.el]].&lt;/li&gt; 
 &lt;li&gt;[[&lt;a href=&quot;https://github.com/zackattackz/agent-shell-notifications&quot;&gt;https://github.com/zackattackz/agent-shell-notifications&lt;/a&gt;][agent-shell-notifications]]: Desktop notifications for =agent-shell= events.&lt;/li&gt; 
 &lt;li&gt;[[&lt;a href=&quot;https://github.com/ElleNajt/meta-agent-shell&quot;&gt;https://github.com/ElleNajt/meta-agent-shell&lt;/a&gt;][meta-agent-shell]]: Multi-agent coordination system for =agent-shell= with inter-agent communication, task tracking, and project-level dispatching.&lt;/li&gt; 
 &lt;li&gt;[[&lt;a href=&quot;https://github.com/cxa/agent-shell-macext&quot;&gt;https://github.com/cxa/agent-shell-macext&lt;/a&gt;][agent-shell-macext]]: macOS-specific enhancements for =agent-shell=.&lt;/li&gt; 
 &lt;li&gt;[[&lt;a href=&quot;https://github.com/lllShamanlll/agent-shell-org-transcript&quot;&gt;https://github.com/lllShamanlll/agent-shell-org-transcript&lt;/a&gt;][agent-shell-org-transcript]]: Org-mode transcripts for =agent-shell= sessions, with org-roam integration.&lt;/li&gt; 
 &lt;li&gt;[[&lt;a href=&quot;https://github.com/lllShamanlll/agent-shell-org-config&quot;&gt;https://github.com/lllShamanlll/agent-shell-org-config&lt;/a&gt;][agent-shell-org-config]]: Keep =agent-shell= agent, project, and skill definitions in org-roam.&lt;/li&gt; 
 &lt;li&gt;[[&lt;a href=&quot;https://github.com/eddof13/ob-agent-shell&quot;&gt;https://github.com/eddof13/ob-agent-shell&lt;/a&gt;][ob-agent-shell]]: Org Babel backend for executing =agent-shell= source blocks.&lt;/li&gt; 
 &lt;li&gt;[[&lt;a href=&quot;https://github.com/Marx-A00/agent-recall&quot;&gt;https://github.com/Marx-A00/agent-recall&lt;/a&gt;][agent-recall]]: Search, browse, and resume =agent-shell= conversation transcripts.&lt;/li&gt; 
 &lt;li&gt;[[&lt;a href=&quot;https://github.com/lgmoneda/agent-shell-pet&quot;&gt;https://github.com/lgmoneda/agent-shell-pet&lt;/a&gt;][agent-shell-pet]]: Codex-like pets that broadcast agent-shell session states.&lt;/li&gt; 
 &lt;li&gt;[[&lt;a href=&quot;https://github.com/alberti42/agent-shell-math-renderer&quot;&gt;https://github.com/alberti42/agent-shell-math-renderer&lt;/a&gt;][agent-shell-math-renderer]]: Render LaTeX math equations as SVGs in =agent-shell=.&lt;/li&gt; 
 &lt;li&gt;[[&lt;a href=&quot;https://github.com/junyi-hou/agent-shell-tramp&quot;&gt;https://github.com/junyi-hou/agent-shell-tramp&lt;/a&gt;][agent-shell-tramp]]: Tramp integration for =agent-shell=.&lt;/li&gt; 
 &lt;li&gt;[[&lt;a href=&quot;https://github.com/nohzafk/agent-shell-hud&quot;&gt;https://github.com/nohzafk/agent-shell-hud&lt;/a&gt;][agent-shell-hud]]: Real-time =agent-shell= status overlay via a floating dashboard.&lt;/li&gt; 
 &lt;li&gt;[[&lt;a href=&quot;https://github.com/timfel/agent-shell-desktop.el&quot;&gt;https://github.com/timfel/agent-shell-desktop.el&lt;/a&gt;][agent-shell-desktop]]: Desktop save mode integration for =agent-shell=. Saves and resumes shells by folder, config, and session id.&lt;/li&gt; 
 &lt;li&gt;[[&lt;a href=&quot;https://github.com/ultronozm/agent-shell-links.el&quot;&gt;https://github.com/ultronozm/agent-shell-links.el&lt;/a&gt;][agent-shell-links.el]]: Bookmarks and Org links for =agent-shell= sessions.&lt;/li&gt; 
 &lt;li&gt;[[&lt;a href=&quot;https://github.com/wandersoncferreira/agent-shell-dashboard&quot;&gt;https://github.com/wandersoncferreira/agent-shell-dashboard&lt;/a&gt;][agent-shell-dashboard]]: A landing page for =agent-shell=.&lt;/li&gt; 
 &lt;li&gt;[[&lt;a href=&quot;https://github.com/SreenivasVRao/agent-shell-hq&quot;&gt;https://github.com/SreenivasVRao/agent-shell-hq&lt;/a&gt;][agent-shell-hq]]: A heads-up display and peek interface for managing multiple =agent-shell= sessions, organized by project.&lt;/li&gt; 
 &lt;li&gt;[[&lt;a href=&quot;https://github.com/Jamie-Cui/agent-shell-permission-transient&quot;&gt;https://github.com/Jamie-Cui/agent-shell-permission-transient&lt;/a&gt;][agent-shell-permission-transient]]: A compact Transient interface for responding to queued agent-shell permission requests.&lt;/li&gt; 
 &lt;li&gt;[[&lt;a href=&quot;https://github.com/tychoish/agent-shell-queue&quot;&gt;https://github.com/tychoish/agent-shell-queue&lt;/a&gt;][agent-shell-queue]]: A flexible prompt/shell queue for =agent-shell= sessions.&lt;/li&gt; 
 &lt;li&gt;[[&lt;a href=&quot;https://github.com/mrcnski/agent-shell-queue-transient&quot;&gt;https://github.com/mrcnski/agent-shell-queue-transient&lt;/a&gt;][agent-shell-queue-transient]]: A Transient interface for the prompt queue in =agent-shell=.&lt;/li&gt; 
 &lt;li&gt;[[&lt;a href=&quot;https://github.com/izeigerman/agent-shell-gc&quot;&gt;https://github.com/izeigerman/agent-shell-gc&lt;/a&gt;][agent-shell-gc]]: Garbage collection for =agent-shell=.&lt;/li&gt; 
&lt;/ul&gt; 
&lt;ul&gt; 
 &lt;li&gt;Articles&lt;/li&gt; 
&lt;/ul&gt; 
&lt;ul&gt; 
 &lt;li&gt;Enzuru: [[&lt;a href=&quot;https://enzuru.medium.com/emacs-in-fifty-keystrokes-five-years-later-2026-edition-featuring-meow-and-agent-shell-3d656f273989?source=friends_link&amp;amp;sk=4e1a8ba56819a67c1798cc34b40b8a29&quot;&gt;https://enzuru.medium.com/emacs-in-fifty-keystrokes-five-years-later-2026-edition-featuring-meow-and-agent-shell-3d656f273989?source=friends_link&amp;amp;sk=4e1a8ba56819a67c1798cc34b40b8a29&lt;/a&gt;][Emacs in fifty keystrokes five years later (2026 edition featuring meow and agent-shell)]].&lt;/li&gt; 
 &lt;li&gt;20Y: [[&lt;a href=&quot;https://20y.hu/~slink/journal/agent-shell/index.html&quot;&gt;https://20y.hu/~slink/journal/agent-shell/index.html&lt;/a&gt;][Agentic development workflow in Emacs]]&lt;/li&gt; 
 &lt;li&gt;Skye: [[&lt;a href=&quot;https://skyefreeman.com/blog/2026/04/15/how-im-using-llms-with-emacs&quot;&gt;https://skyefreeman.com/blog/2026/04/15/how-im-using-llms-with-emacs&lt;/a&gt;][How I&#39;m using LLM&#39;s via Emacs]].&lt;/li&gt; 
 &lt;li&gt;sincebyte: [[&lt;a href=&quot;https://neoemacs.com/posts/agent-shell-cursor-agent-cli/&quot;&gt;https://neoemacs.com/posts/agent-shell-cursor-agent-cli/&lt;/a&gt;][Agent Shell Cursor Agent Cli]].&lt;/li&gt; 
 &lt;li&gt;Naputo: [[&lt;a href=&quot;https://blog.n-daisuke897.com/posts/2026-03-01-agent-shell-session-selection/&quot;&gt;https://blog.n-daisuke897.com/posts/2026-03-01-agent-shell-session-selection/&lt;/a&gt;][How to Select Sessions When Starting the agent-shell ACP Client Running on Emacs]]&lt;/li&gt; 
 &lt;li&gt;vandee: [[&lt;a href=&quot;https://www.vandee.art/blog/2026-01-23-my-agent-practice-with-opencode-in-emacs.html&quot;&gt;https://www.vandee.art/blog/2026-01-23-my-agent-practice-with-opencode-in-emacs.html&lt;/a&gt;][My Agent Practice with OpenCode in Emacs]].&lt;/li&gt; 
 &lt;li&gt;Fedora Project Wiki: [[&lt;a href=&quot;https://fedoraproject.org/wiki/SIGs/AI-ML#agent-shell&quot;&gt;https://fedoraproject.org/wiki/SIGs/AI-ML#agent-shell&lt;/a&gt;][AI/ML Special Interest Group]].&lt;/li&gt; 
&lt;/ul&gt; 
&lt;ul&gt; 
 &lt;li&gt;Icons&lt;/li&gt; 
&lt;/ul&gt; 
&lt;p&gt;Thanks to [[&lt;a href=&quot;https://github.com/lobehub/lobe-icons&quot;&gt;https://github.com/lobehub/lobe-icons&lt;/a&gt;][Lobe Icons]] for the lovely icons.&lt;/p&gt; 
&lt;ul&gt; 
 &lt;li&gt;Setup&lt;/li&gt; 
&lt;/ul&gt; 
&lt;p&gt;** External dependencies&lt;/p&gt; 
&lt;p&gt;*** Claude Agent SDK&lt;/p&gt; 
&lt;p&gt;For Anthropic&#39;s [[&lt;a href=&quot;https://code.claude.com/docs/en/overview&quot;&gt;https://code.claude.com/docs/en/overview&lt;/a&gt;][Claude Agent]] (formerly known as the Claude Code), follow [[&lt;a href=&quot;https://github.com/agentclientprotocol/claude-agent-acp&quot;&gt;https://github.com/agentclientprotocol/claude-agent-acp&lt;/a&gt;][claude-agent-acp instructions]], typically something like:&lt;/p&gt; 
&lt;p&gt;#+begin_src bash npm install -g @agentclientprotocol/claude-agent-acp #+end_src&lt;/p&gt; 
&lt;p&gt;&lt;em&gt;Note:&lt;/em&gt; The =-g= flag is required to install the binary globally so it&#39;s available in your PATH. After installation, verify it&#39;s available by running =which claude-agent-acp= in your terminal.&lt;/p&gt; 
&lt;p&gt;Optionally: You may also need [[&lt;a href=&quot;https://code.claude.com/docs/en/overview&quot;&gt;https://code.claude.com/docs/en/overview&lt;/a&gt;][Claude Agent]] itself if you want to use a Claude subscription (run the CLI outside of Emacs at least once to log in to your subscription and then use =agent-shell= from Emacs). Follow Claude Agent&#39;s [[&lt;a href=&quot;https://code.claude.com/docs/en/overview#get-started&quot;&gt;https://code.claude.com/docs/en/overview#get-started&lt;/a&gt;][get started]] for installation.&lt;/p&gt; 
&lt;p&gt;*** Codex&lt;/p&gt; 
&lt;p&gt;For OpenAI&#39;s Codex, install [[&lt;a href=&quot;https://github.com/agentclientprotocol/codex-acp&quot;&gt;https://github.com/agentclientprotocol/codex-acp&lt;/a&gt;][@agentclientprotocol/codex-acp]] (=npm install -g @agentclientprotocol/codex-acp=) and ensure the =codex-acp= executable is in PATH.&lt;/p&gt; 
&lt;p&gt;*** Gemini CLI&lt;/p&gt; 
&lt;p&gt;For Google&#39;s [[&lt;a href=&quot;https://github.com/google-gemini/gemini-cli&quot;&gt;https://github.com/google-gemini/gemini-cli&lt;/a&gt;][Gemini CLI]], be sure to get a recent release supporting the =--experimental-acp= flag.&lt;/p&gt; 
&lt;p&gt;*** Goose&lt;/p&gt; 
&lt;p&gt;For Goose CLI, install [[&lt;a href=&quot;https://goose-docs.ai/docs/getting-started/installation&quot;&gt;https://goose-docs.ai/docs/getting-started/installation&lt;/a&gt;][goose]] and ensure the =goose= executable is in PATH.&lt;/p&gt; 
&lt;p&gt;*** Grok Build (xAI)&lt;/p&gt; 
&lt;p&gt;For [[&lt;a href=&quot;https://docs.x.ai/docs/overview&quot;&gt;https://docs.x.ai/docs/overview&lt;/a&gt;][Grok Build]], install the Grok CLI so =grok= is on =PATH= (the installer typically puts it at =~/.grok/bin=). Authenticate once via the CLI login flow (credentials live in =~/.grok/auth.json=).&lt;/p&gt; 
&lt;p&gt;Grok Build speaks ACP over stdio:&lt;/p&gt; 
&lt;p&gt;#+begin_src bash grok agent stdio #+end_src&lt;/p&gt; 
&lt;p&gt;Optional flags (set via =agent-shell-xai-acp-command=):&lt;/p&gt; 
&lt;p&gt;#+begin_src bash grok agent -m grok-build stdio grok agent --always-approve stdio #+end_src&lt;/p&gt; 
&lt;p&gt;See also the [[&lt;a href=&quot;https://zed.dev/acp/agent/grok-build&quot;&gt;https://zed.dev/acp/agent/grok-build&lt;/a&gt;][Zed ACP registry listing]] for Grok Build.&lt;/p&gt; 
&lt;p&gt;*** Cursor&lt;/p&gt; 
&lt;p&gt;For Cursor agent, install the official [[&lt;a href=&quot;https://cursor.com/docs/cli&quot;&gt;https://cursor.com/docs/cli&lt;/a&gt;][Cursor CLI]] and ensure the =agent= executable is in PATH. =agent-shell= uses its official ACP server (=agent acp=).&lt;/p&gt; 
&lt;p&gt;A recent Cursor CLI is required (the =acp= subcommand was added in 2026). Older CLIs won&#39;t expose =agent acp=.&lt;/p&gt; 
&lt;p&gt;*** Kimi Code CLI&lt;/p&gt; 
&lt;p&gt;For Kimi Code CLI, install with:&lt;/p&gt; 
&lt;p&gt;#+begin_src bash curl -L &lt;a href=&quot;http://code.kimi.com/install.sh&quot;&gt;code.kimi.com/install.sh&lt;/a&gt; | bash #+end_src&lt;/p&gt; 
&lt;p&gt;See &lt;a href=&quot;https://www.kimi.com/code&quot;&gt;https://www.kimi.com/code&lt;/a&gt; for details.&lt;/p&gt; 
&lt;p&gt;*** CodeBuddy&lt;/p&gt; 
&lt;p&gt;For CodeBuddy agent, install the CodeBuddy CLI and ensure ACP mode is available. For example:&lt;/p&gt; 
&lt;p&gt;#+begin_src bash codebuddy --acp #+end_src&lt;/p&gt; 
&lt;p&gt;See &lt;a href=&quot;https://www.codebuddy.ai/docs/zh/ide/Getting-Started/Installation&quot;&gt;https://www.codebuddy.ai/docs/zh/ide/Getting-Started/Installation&lt;/a&gt; for details.&lt;/p&gt; 
&lt;p&gt;*** DeepSeek Harness&lt;/p&gt; 
&lt;p&gt;For DeepSeek Harness, install with:&lt;/p&gt; 
&lt;p&gt;#+begin_src bash npm install -g @deepseek-ai/dsh #+end_src&lt;/p&gt; 
&lt;p&gt;The ACP server reads your API key from =DEEPSEEK_API_KEY=. If Emacs does not inherit it from your shell, set it via =agent-shell-deepseek-authentication=:&lt;/p&gt; 
&lt;p&gt;#+begin_src emacs-lisp (setq agent-shell-deepseek-authentication (agent-shell-deepseek-make-authentication :api-key &quot;your-key&quot;)) #+end_src&lt;/p&gt; 
&lt;p&gt;agent-shell launches =dsh --profile acp=, which keeps its own settings separate from other dsh profiles. If models configured elsewhere (for example, via the dsh web UI) are missing, copy them over:&lt;/p&gt; 
&lt;p&gt;#+begin_src bash cp -i ~/.dsh/profiles/web/cordis.patch.yml ~/.dsh/profiles/acp/cordis.patch.yml #+end_src&lt;/p&gt; 
&lt;p&gt;See &lt;a href=&quot;https://github.com/deepseek-ai/deepseek-harness/raw/master/packages/acp/acp/README.md&quot;&gt;https://github.com/deepseek-ai/deepseek-harness/blob/master/packages/acp/acp/README.md&lt;/a&gt; for details.&lt;/p&gt; 
&lt;p&gt;*** Junie&lt;/p&gt; 
&lt;p&gt;For Junie, install the [[&lt;a href=&quot;https://junie.jetbrains.com/docs/junie-cli.html&quot;&gt;https://junie.jetbrains.com/docs/junie-cli.html&lt;/a&gt;][Junie CLI]] and ensure ACP mode is available:&lt;/p&gt; 
&lt;p&gt;#+begin_src bash junie --acp true #+end_src&lt;/p&gt; 
&lt;p&gt;See &lt;a href=&quot;https://junie.jetbrains.com/docs/junie-cli-acp.html&quot;&gt;https://junie.jetbrains.com/docs/junie-cli-acp.html&lt;/a&gt; for details.&lt;/p&gt; 
&lt;p&gt;*** Kiro CLI&lt;/p&gt; 
&lt;p&gt;For Kiro CLI, install with:&lt;/p&gt; 
&lt;p&gt;#+begin_src bash curl -fsSL &lt;a href=&quot;https://cli.kiro.dev/install&quot;&gt;https://cli.kiro.dev/install&lt;/a&gt; | bash #+end_src&lt;/p&gt; 
&lt;p&gt;See &lt;a href=&quot;https://kiro.dev/docs/cli/acp/&quot;&gt;https://kiro.dev/docs/cli/acp/&lt;/a&gt; for details.&lt;/p&gt; 
&lt;p&gt;*** Qoder CLI&lt;/p&gt; 
&lt;p&gt;Install Qoder CLI following the [[&lt;a href=&quot;https://docs.qoder.com/cli/installation&quot;&gt;https://docs.qoder.com/cli/installation&lt;/a&gt;][Qoder installation instructions]], then log in once:&lt;/p&gt; 
&lt;p&gt;#+begin_src bash qoder login #+end_src&lt;/p&gt; 
&lt;p&gt;Qoder CLI includes an ACP server. Start it from =agent-shell= with =M-x agent-shell-qoder-start-agent=; the backend launches:&lt;/p&gt; 
&lt;p&gt;#+begin_src bash qoder --acp #+end_src&lt;/p&gt; 
&lt;p&gt;Qoder uses the CLI&#39;s existing login state, so a Qoder subscription can be used without configuring a separate model API key. For non-interactive authentication, set =QODER_PERSONAL_ACCESS_TOKEN=...= in =agent-shell-qoder-environment=. See the [[&lt;a href=&quot;https://docs.qoder.com/cli/acp&quot;&gt;https://docs.qoder.com/cli/acp&lt;/a&gt;][Qoder ACP documentation]].&lt;/p&gt; 
&lt;p&gt;*** Qwen Code&lt;/p&gt; 
&lt;p&gt;For Qwen Code, install with:&lt;/p&gt; 
&lt;p&gt;#+begin_src bash npm install -g @qwen-code/qwen-code@latest #+end_src&lt;/p&gt; 
&lt;p&gt;See &lt;a href=&quot;https://github.com/QwenLM/qwen-code&quot;&gt;https://github.com/QwenLM/qwen-code&lt;/a&gt; for details.&lt;/p&gt; 
&lt;p&gt;*** Auggie&lt;/p&gt; 
&lt;p&gt;For Auggie CLI, install with:&lt;/p&gt; 
&lt;p&gt;#+begin_src bash npm install -g @augmentcode/auggie #+end_src&lt;/p&gt; 
&lt;p&gt;See &lt;a href=&quot;https://docs.augmentcode.com/cli/overview&quot;&gt;https://docs.augmentcode.com/cli/overview&lt;/a&gt; for details. *** Mistral Vibe&lt;/p&gt; 
&lt;p&gt;For Mistral Vibe, install with:&lt;/p&gt; 
&lt;p&gt;#+begin_src bash uv tool install mistral-vibe #+end_src&lt;/p&gt; 
&lt;p&gt;See &lt;a href=&quot;https://github.com/mistralai/mistral-vibe&quot;&gt;https://github.com/mistralai/mistral-vibe&lt;/a&gt; for details.&lt;/p&gt; 
&lt;p&gt;*** Factory Droid&lt;/p&gt; 
&lt;p&gt;For Factory Droid, install Droid:&lt;/p&gt; 
&lt;p&gt;#+begin_src bash curl -fsSL &lt;a href=&quot;https://app.factory.ai/cli&quot;&gt;https://app.factory.ai/cli&lt;/a&gt; | sh #+end_src&lt;/p&gt; 
&lt;p&gt;See &lt;a href=&quot;https://factory.ai&quot;&gt;https://factory.ai&lt;/a&gt; for details.&lt;/p&gt; 
&lt;p&gt;*** Pi&lt;/p&gt; 
&lt;p&gt;For Pi coding agent, install the =pi-acp= adapter:&lt;/p&gt; 
&lt;p&gt;#+begin_src bash npm install -g pi-acp #+end_src&lt;/p&gt; 
&lt;p&gt;See &lt;a href=&quot;https://github.com/svkozak/pi-acp&quot;&gt;https://github.com/svkozak/pi-acp&lt;/a&gt; for details. *** Oh My Pi (=omp=)&lt;/p&gt; 
&lt;p&gt;For the =omp= agent, install with:&lt;/p&gt; 
&lt;p&gt;#+begin_src bash bun install -g @oh-my-pi/pi-coding-agent #+end_src&lt;/p&gt; 
&lt;p&gt;See &lt;a href=&quot;https://github.com/can1357/oh-my-pi&quot;&gt;https://github.com/can1357/oh-my-pi&lt;/a&gt; for details.&lt;/p&gt; 
&lt;p&gt;*** Antigravity&lt;/p&gt; 
&lt;p&gt;For Antigravity, install the Antigravity CLI and make sure =agy= is on your =PATH= (agent-shell runs =agy acp=). Sign in once via an interactive =agy= session or with:&lt;/p&gt; 
&lt;p&gt;#+begin_src bash agy acp --login #+end_src&lt;/p&gt; 
&lt;p&gt;See &lt;a href=&quot;https://antigravity.google/docs/ide/extensions/acp&quot;&gt;https://antigravity.google/docs/ide/extensions/acp&lt;/a&gt; for details.&lt;/p&gt; 
&lt;p&gt;*** OpenClaw&lt;/p&gt; 
&lt;p&gt;For OpenClaw, install with:&lt;/p&gt; 
&lt;p&gt;#+begin_src bash curl -fsSL &lt;a href=&quot;https://openclaw.ai/install.sh&quot;&gt;https://openclaw.ai/install.sh&lt;/a&gt; | bash #+end_src&lt;/p&gt; 
&lt;p&gt;The =openclaw acp= bridge requires a running gateway. Start one with =openclaw gateway start= (verify with =openclaw gateway status=).&lt;/p&gt; 
&lt;p&gt;See &lt;a href=&quot;https://docs.openclaw.ai/start/getting-started&quot;&gt;https://docs.openclaw.ai/start/getting-started&lt;/a&gt; for details.&lt;/p&gt; 
&lt;p&gt;*** OpenCode + local ollama models&lt;/p&gt; 
&lt;p&gt;For opencode coding agent, install with:&lt;/p&gt; 
&lt;p&gt;#+begin_src bash curl -fsSL &lt;a href=&quot;https://opencode.ai/install&quot;&gt;https://opencode.ai/install&lt;/a&gt; | bash #+end_src&lt;/p&gt; 
&lt;p&gt;See &lt;a href=&quot;https://opencode.ai/&quot;&gt;https://opencode.ai/&lt;/a&gt; for details.&lt;/p&gt; 
&lt;p&gt;For local ollama models, sudo permission is needed to initialize ~ollama.service~. The following will install ollama and a local Qwen2.5:7b model.&lt;/p&gt; 
&lt;p&gt;#+begin_src bash curl -fsSL &lt;a href=&quot;https://ollama.com/install.sh&quot;&gt;https://ollama.com/install.sh&lt;/a&gt; | sh ollama pull qwen2.5:7b #+end_src&lt;/p&gt; 
&lt;p&gt;If you are behind a network proxy, ~ollama pull~ will timeout. You then need to add proxy settings inside ~/etc/systemd/system/ollama.service~&lt;/p&gt; 
&lt;p&gt;See &lt;a href=&quot;https://ollama.com/&quot;&gt;https://ollama.com/&lt;/a&gt; for details&lt;/p&gt; 
&lt;p&gt;** Installation&lt;/p&gt; 
&lt;p&gt;=agent-shell= is powered by built-in =comint-shell=, via [[&lt;a href=&quot;https://github.com/xenodium/shell-maker&quot;&gt;https://github.com/xenodium/shell-maker&lt;/a&gt;][shell-maker]], available on [[&lt;a href=&quot;https://melpa.org/#/shell-maker&quot;&gt;https://melpa.org/#/shell-maker&lt;/a&gt;][MELPA]].&lt;/p&gt; 
&lt;p&gt;Both [[&lt;a href=&quot;https://melpa.org/#/agent-shell&quot;&gt;https://melpa.org/#/agent-shell&lt;/a&gt;][agent-shell]] and its dependency [[&lt;a href=&quot;https://melpa.org/#/acp&quot;&gt;https://melpa.org/#/acp&lt;/a&gt;][acp.el]] are now available on MELPA.&lt;/p&gt; 
&lt;p&gt;You can install via:&lt;/p&gt; 
&lt;p&gt;#+begin_src emacs-lisp (use-package agent-shell :ensure t :ensure-system-package ;; Add agent installation configs here ((claude . &quot;brew install claude-code&quot;) (claude-agent-acp . &quot;npm install -g @agentclientprotocol/claude-agent-acp&quot;))) #+end_src&lt;/p&gt; 
&lt;p&gt;This will automatically install the required dependencies ([[&lt;a href=&quot;https://melpa.org/#/acp&quot;&gt;https://melpa.org/#/acp&lt;/a&gt;][acp.el]] and [[&lt;a href=&quot;https://melpa.org/#/shell-maker&quot;&gt;https://melpa.org/#/shell-maker&lt;/a&gt;][shell-maker]]).&lt;/p&gt; 
&lt;p&gt;*** Optional: image utilities&lt;/p&gt; 
&lt;p&gt;Pasting images from the clipboard (=agent-shell-send-clipboard-image= or =yank= or =C-y=) and capturing screenshots (=agent-shell-send-screenshot=) rely on external tools. Install the ones for your platform:&lt;/p&gt; 
&lt;p&gt;| Platform | Clipboard paste | Screenshot capture | |-----------------+------------------------------------------+------------------------------| | macOS | =brew install pngpaste= | =screencapture= (preinstalled) | | Linux (Wayland) | =wl-paste= (e.g. =apt install wl-clipboard=) | =import= (from ImageMagick) | | Linux (X11) | =apt install xclip= | =import= (from ImageMagick) | | Windows | =powershell= | (not bundled) |&lt;/p&gt; 
&lt;p&gt;Handlers are detected at runtime via =executable-find=. See =agent-shell-clipboard-image-handlers= and =agent-shell-screenshot-command= to customize.&lt;/p&gt; 
&lt;p&gt;*** Doom Emacs&lt;/p&gt; 
&lt;p&gt;If you are using Doom Emacs and would like to use the =package!= macro:&lt;/p&gt; 
&lt;p&gt;#+begin_src emacs-lisp (package! shell-maker) (package! acp) (package! agent-shell) #+end_src&lt;/p&gt; 
&lt;p&gt;Run =doom sync= and restart.&lt;/p&gt; 
&lt;p&gt;Include =require= before configuration:&lt;/p&gt; 
&lt;p&gt;#+begin_src emacs-lisp (require &#39;acp) (require &#39;agent-shell) ;; rest of config... #+end_src&lt;/p&gt; 
&lt;p&gt;** Configuration&lt;/p&gt; 
&lt;p&gt;Configure authentication for the agent providers you want to use.&lt;/p&gt; 
&lt;p&gt;*** Environment variables&lt;/p&gt; 
&lt;p&gt;Pass environment variables to the spawned agent process by customizing the &lt;code&gt;agent-shell-*-environment&lt;/code&gt; variable with &lt;code&gt;agent-shell-make-environment-variables&lt;/code&gt;. The helper accepts key/value pairs and exports them when the agent starts.&lt;/p&gt; 
&lt;p&gt;#+begin_src emacs-lisp (setq agent-shell-anthropic-claude-environment (agent-shell-make-environment-variables &quot;ANTHROPIC_API_KEY&quot; (auth-source-pass-get &#39;secret &quot;anthropic-api-key&quot;) &quot;HTTPS_PROXY&quot; &quot;&lt;a href=&quot;http://proxy.example.com:8080&quot;&gt;http://proxy.example.com:8080&lt;/a&gt;&quot;)) #+end_src&lt;/p&gt; 
&lt;p&gt;**** Inheriting environment variables&lt;/p&gt; 
&lt;p&gt;By default, the agent process starts with a minimal environment. To inherit environment variables from the parent Emacs process, use the &lt;code&gt;:inherit-env t&lt;/code&gt; parameter in &lt;code&gt;agent-shell-make-environment-variables&lt;/code&gt;:&lt;/p&gt; 
&lt;p&gt;#+begin_src emacs-lisp (setenv &quot;ANTHROPIC_API_KEY&quot; (auth-source-pass-get &#39;secret &quot;anthropic-api-key&quot;))&lt;/p&gt; 
&lt;p&gt;(setq agent-shell-anthropic-claude-environment (agent-shell-make-environment-variables :inherit-env t)) #+end_src&lt;/p&gt; 
&lt;p&gt;This ensures that environment variables like &lt;code&gt;PATH&lt;/code&gt;, &lt;code&gt;HOME&lt;/code&gt;, and others from your Emacs session are available to the agent process, while still allowing you to override or add specific variables.&lt;/p&gt; 
&lt;p&gt;**** Loading environment variables from files&lt;/p&gt; 
&lt;p&gt;You can load environment variables from .env files using the &lt;code&gt;:load-env&lt;/code&gt; parameter. This supports both single and multiple files:&lt;/p&gt; 
&lt;p&gt;#+begin_src emacs-lisp ;; Load from a single .env file (setq agent-shell-anthropic-claude-environment (agent-shell-make-environment-variables :load-env &quot;~/.env&quot; &quot;CUSTOM_VAR&quot; &quot;custom_value&quot;))&lt;/p&gt; 
&lt;p&gt;;; Load from multiple .env files (setq agent-shell-anthropic-claude-environment (agent-shell-make-environment-variables :load-env &#39;(&quot;~/.env&quot; &quot;.env.local&quot;) :inherit-env t)) #+end_src&lt;/p&gt; 
&lt;p&gt;The .env files should contain variables in the format &lt;code&gt;KEY=value&lt;/code&gt;, with one variable per line. Comments (lines starting with &lt;code&gt;#&lt;/code&gt;) and empty lines are ignored.&lt;/p&gt; 
&lt;p&gt;*** Anthropic Claude&lt;/p&gt; 
&lt;p&gt;For login-based authentication (default):&lt;/p&gt; 
&lt;p&gt;#+begin_src emacs-lisp (setq agent-shell-anthropic-authentication (agent-shell-anthropic-make-authentication :login t)) #+end_src&lt;/p&gt; 
&lt;p&gt;For API key authentication:&lt;/p&gt; 
&lt;p&gt;#+begin_src emacs-lisp ;; With string (setq agent-shell-anthropic-authentication (agent-shell-anthropic-make-authentication :api-key &quot;your-anthropic-api-key-here&quot;))&lt;/p&gt; 
&lt;p&gt;;; With function (setq agent-shell-anthropic-authentication (agent-shell-anthropic-make-authentication :api-key (lambda () (auth-source-pass-get &#39;secret &quot;anthropic-api-key&quot;)))) #+end_src&lt;/p&gt; 
&lt;p&gt;For OAuth token authentication (the =CLAUDE_CODE_OAUTH_TOKEN= we get from =claude setup-token=):&lt;/p&gt; 
&lt;p&gt;#+begin_src emacs-lisp ;; With string (setq agent-shell-anthropic-authentication (agent-shell-anthropic-make-authentication :oauth &quot;your-oauth-token-here&quot;))&lt;/p&gt; 
&lt;p&gt;;; With function (setq agent-shell-anthropic-authentication (agent-shell-anthropic-make-authentication :oauth (lambda () (auth-source-pass-get &quot;secret&quot; &quot;anthropic-oauth-token&quot;)))) #+end_src&lt;/p&gt; 
&lt;p&gt;For alternative Anthropic-compatible API endpoints, configure via environment variables:&lt;/p&gt; 
&lt;p&gt;#+begin_src emacs-lisp (setq agent-shell-anthropic-claude-environment (agent-shell-make-environment-variables &quot;ANTHROPIC_BASE_URL&quot; &quot;&lt;a href=&quot;https://api.moonshot.cn/anthropic&quot;&gt;https://api.moonshot.cn/anthropic&lt;/a&gt;&quot; &quot;ANTHROPIC_MODEL&quot; &quot;kimi-k2-turbo-preview&quot; &quot;ANTHROPIC_SMALL_FAST_MODEL&quot; &quot;kimi-k2-turbo-preview&quot;)) #+end_src&lt;/p&gt; 
&lt;p&gt;*** Antigravity&lt;/p&gt; 
&lt;p&gt;For login-based authentication (default, Google account):&lt;/p&gt; 
&lt;p&gt;#+begin_src emacs-lisp (setq agent-shell-antigravity-authentication (agent-shell-antigravity-make-authentication :login t)) #+end_src&lt;/p&gt; 
&lt;p&gt;For API key authentication:&lt;/p&gt; 
&lt;p&gt;#+begin_src emacs-lisp ;; With string (setq agent-shell-antigravity-authentication (agent-shell-antigravity-make-authentication :api-key &quot;your-gemini-api-key-here&quot;))&lt;/p&gt; 
&lt;p&gt;;; With function (setq agent-shell-antigravity-authentication (agent-shell-antigravity-make-authentication :api-key (lambda () (auth-source-pass-get &#39;secret &quot;gemini-api-key&quot;)))) #+end_src&lt;/p&gt; 
&lt;p&gt;For Gemini Enterprise authentication:&lt;/p&gt; 
&lt;p&gt;#+begin_src emacs-lisp (setq agent-shell-antigravity-authentication (agent-shell-antigravity-make-authentication :business t)) #+end_src&lt;/p&gt; 
&lt;p&gt;For Gemini Enterprise Agent Platform authentication:&lt;/p&gt; 
&lt;p&gt;#+begin_src emacs-lisp (setq agent-shell-antigravity-authentication (agent-shell-antigravity-make-authentication :agent-platform t)) #+end_src&lt;/p&gt; 
&lt;p&gt;For no authentication (when managed externally):&lt;/p&gt; 
&lt;p&gt;#+begin_src emacs-lisp (setq agent-shell-antigravity-authentication (agent-shell-antigravity-make-authentication :none t)) #+end_src&lt;/p&gt; 
&lt;p&gt;*** Google Gemini&lt;/p&gt; 
&lt;p&gt;For login-based authentication (default):&lt;/p&gt; 
&lt;p&gt;#+begin_src emacs-lisp (setq agent-shell-google-authentication (agent-shell-google-make-authentication :login t)) #+end_src&lt;/p&gt; 
&lt;p&gt;For API key authentication:&lt;/p&gt; 
&lt;p&gt;#+begin_src emacs-lisp ;; With string (setq agent-shell-google-authentication (agent-shell-google-make-authentication :api-key &quot;your-google-api-key-here&quot;))&lt;/p&gt; 
&lt;p&gt;;; With function (setq agent-shell-google-authentication (agent-shell-google-make-authentication :api-key (lambda () (auth-source-pass-get &#39;secret &quot;google-api-key&quot;)))) #+end_src&lt;/p&gt; 
&lt;p&gt;For Vertex AI authentication:&lt;/p&gt; 
&lt;p&gt;#+begin_src emacs-lisp (setq agent-shell-google-authentication (agent-shell-google-make-authentication :vertex-ai t)) #+end_src&lt;/p&gt; 
&lt;p&gt;*** OpenAI Codex&lt;/p&gt; 
&lt;p&gt;For login-based authentication (default):&lt;/p&gt; 
&lt;p&gt;#+begin_src emacs-lisp (setq agent-shell-openai-authentication (agent-shell-openai-make-authentication :login t)) #+end_src&lt;/p&gt; 
&lt;p&gt;For API key authentication:&lt;/p&gt; 
&lt;p&gt;#+begin_src emacs-lisp ;; With string (setq agent-shell-openai-authentication (agent-shell-openai-make-authentication :api-key &quot;your-openai-api-key-here&quot;))&lt;/p&gt; 
&lt;p&gt;;; With function (setq agent-shell-openai-authentication (agent-shell-openai-make-authentication :api-key (lambda () (auth-source-pass-get &#39;secret &quot;openai-api-key&quot;)))) #+end_src&lt;/p&gt; 
&lt;p&gt;*** Goose&lt;/p&gt; 
&lt;p&gt;By default, authentication is handled by Goose&#39;s built-in configuration. This needs no =agent-shell= configuration.&lt;/p&gt; 
&lt;p&gt;Optionally, pass an OpenAI API key from =agent-shell= instead:&lt;/p&gt; 
&lt;p&gt;#+begin_src emacs-lisp ;; With string (setq agent-shell-goose-authentication (agent-shell-make-goose-authentication :openai-api-key &quot;your-openai-api-key-here&quot;))&lt;/p&gt; 
&lt;p&gt;;; With function (setq agent-shell-goose-authentication (agent-shell-make-goose-authentication :openai-api-key (lambda () (auth-source-pass-get &#39;secret &quot;openai-api-key&quot;)))) #+end_src&lt;/p&gt; 
&lt;p&gt;*** Qwen Code&lt;/p&gt; 
&lt;p&gt;For OAuth login-based authentication:&lt;/p&gt; 
&lt;p&gt;#+begin_src emacs-lisp (setq agent-shell-qwen-authentication (agent-shell-qwen-make-authentication :login t)) #+end_src&lt;/p&gt; 
&lt;p&gt;For an OpenAI-compatible provider (for example OpenRouter), pass the API key and set the base URL and model via =agent-shell-qwen-environment=:&lt;/p&gt; 
&lt;p&gt;#+begin_src emacs-lisp ;; With string (setq agent-shell-qwen-authentication (agent-shell-qwen-make-authentication :openai-api-key &quot;your-openai-api-key-here&quot;))&lt;/p&gt; 
&lt;p&gt;;; With function (setq agent-shell-qwen-authentication (agent-shell-qwen-make-authentication :openai-api-key (lambda () (auth-source-pass-get &#39;secret &quot;openrouter-api-key&quot;))))&lt;/p&gt; 
&lt;p&gt;(setq agent-shell-qwen-environment (agent-shell-make-environment-variables &quot;OPENAI_BASE_URL&quot; &quot;&lt;a href=&quot;https://openrouter.ai/api/v1&quot;&gt;https://openrouter.ai/api/v1&lt;/a&gt;&quot; &quot;OPENAI_MODEL&quot; &quot;x-ai/grok-4.3&quot;)) #+end_src&lt;/p&gt; 
&lt;p&gt;*** Cursor&lt;/p&gt; 
&lt;p&gt;By default authentication is handled externally: run =agent login= once outside Emacs and agent-shell uses that existing login (it sends no ACP authenticate request). This needs no configuration.&lt;/p&gt; 
&lt;p&gt;Optionally, have agent-shell drive login-based authentication (=cursor_login=):&lt;/p&gt; 
&lt;p&gt;#+begin_src emacs-lisp (setq agent-shell-cursor-authentication (agent-shell-cursor-make-authentication :login t)) #+end_src&lt;/p&gt; 
&lt;p&gt;For API key authentication (passed via the =CURSOR_API_KEY= environment variable):&lt;/p&gt; 
&lt;p&gt;#+begin_src emacs-lisp ;; With string (setq agent-shell-cursor-authentication (agent-shell-cursor-make-authentication :api-key &quot;your-cursor-api-key-here&quot;))&lt;/p&gt; 
&lt;p&gt;;; With function (setq agent-shell-cursor-authentication (agent-shell-cursor-make-authentication :api-key (lambda () (auth-source-pass-get &#39;secret &quot;cursor-api-key&quot;)))) #+end_src&lt;/p&gt; 
&lt;p&gt;For auth token authentication (passed via the =CURSOR_AUTH_TOKEN= environment variable):&lt;/p&gt; 
&lt;p&gt;#+begin_src emacs-lisp (setq agent-shell-cursor-authentication (agent-shell-cursor-make-authentication :auth-token &quot;your-cursor-auth-token&quot;)) #+end_src&lt;/p&gt; 
&lt;p&gt;For no authentication (already authenticated externally):&lt;/p&gt; 
&lt;p&gt;#+begin_src emacs-lisp (setq agent-shell-cursor-authentication (agent-shell-cursor-make-authentication :none t)) #+end_src&lt;/p&gt; 
&lt;p&gt;*** Auggie&lt;/p&gt; 
&lt;p&gt;For login-based authentication (default):&lt;/p&gt; 
&lt;p&gt;#+begin_src emacs-lisp (setq agent-shell-auggie-authentication (agent-shell-make-auggie-authentication :login t)) #+end_src&lt;/p&gt; 
&lt;p&gt;For no authentication (when using alternative authentication methods):&lt;/p&gt; 
&lt;p&gt;#+begin_src emacs-lisp (setq agent-shell-auggie-authentication (agent-shell-make-auggie-authentication :none t)) #+end_src&lt;/p&gt; 
&lt;p&gt;*** Mistral Vibe&lt;/p&gt; 
&lt;p&gt;For API key authentication:&lt;/p&gt; 
&lt;p&gt;#+begin_src emacs-lisp ;; With string (setq agent-shell-mistral-authentication (agent-shell-mistral-make-authentication :api-key &quot;your-mistral-api-key-here&quot;))&lt;/p&gt; 
&lt;p&gt;;; With function (reusing the API key configured in vibe) (setq agent-shell-mistral-authentication (agent-shell-mistral-make-authentication :api-key (lambda () (string-trim (shell-command-to-string &quot;source ~/.vibe/.env; echo $MISTRAL_API_KEY&quot;))))) #+end_src&lt;/p&gt; 
&lt;p&gt;*** OpenCode + local ollama Qwen2.5&lt;/p&gt; 
&lt;p&gt;If ~opencode~ is not found by ~agent-shell~, you can add it to the search path&lt;/p&gt; 
&lt;p&gt;#+begin_src emacs-lisp (use-package agent-shell :ensure t :config (add-to-list &#39;exec-path &quot;~/.opencode/bin/&quot;)) #+end_src&lt;/p&gt; 
&lt;p&gt;To register the local Qwen2.5:7b model in opencode, two files needs to be edited:&lt;/p&gt; 
&lt;p&gt;~/.config/opencode/opencode.json~ #+BEGIN_SRC js { &quot;$schema&quot;: &quot;&lt;a href=&quot;https://opencode.ai/config.json&quot;&gt;https://opencode.ai/config.json&lt;/a&gt;&quot;, &quot;permission&quot;: { &quot;edit&quot;: &quot;ask&quot;, &quot;bash&quot;: &quot;ask&quot;, &quot;webfetch&quot;: &quot;allow&quot; }, &quot;provider&quot;: { &quot;ollama&quot;: { &quot;name&quot;: &quot;qwen2.5:7b&quot;, &quot;npm&quot;: &quot;@ai-sdk/openai-compatible&quot;, &quot;options&quot;: { &quot;baseURL&quot;: &quot;&lt;a href=&quot;http://localhost:11434/v1&quot;&gt;http://localhost:11434/v1&lt;/a&gt;&quot; }, &quot;models&quot;: { &quot;qwen2.5:7b&quot;: { &quot;name&quot;: &quot;Qwen2.5 7b&quot; } } } } } #+END_SRC&lt;/p&gt; 
&lt;p&gt;and a dummy auth file ~/.local/share/opencode/auth.json~&lt;/p&gt; 
&lt;p&gt;#+begin_src js { &quot;ollama&quot;: { &quot;type&quot;: &quot;api&quot;, &quot;key&quot;: &quot;ollama&quot; } } #+end_src&lt;/p&gt; 
&lt;p&gt;Huge thanks for /gdindi/ for finding and and describing this in &lt;a href=&quot;https://github.com/xenodium/agent-shell/issues/526&quot;&gt;https://github.com/xenodium/agent-shell/issues/526&lt;/a&gt;&lt;/p&gt; 
&lt;p&gt;*** Customizing Available Agents&lt;/p&gt; 
&lt;p&gt;By default, =agent-shell= includes configurations for all supported agents (Claude Agent, Gemini CLI, Codex, Goose, Grok Build, Cursor, CodeBuddy, Qwen Code, and Auggie). You can customize which agents are available through the =agent-shell-agent-configs= variable.&lt;/p&gt; 
&lt;p&gt;*** Handling provider notifications&lt;/p&gt; 
&lt;p&gt;Provider implementations can set =:notification-handler= in =agent-shell-make-agent-config= to handle custom ACP notifications. The callback runs after =:notification-adapter= and receives an event alist containing =:state= and the adapted =:acp-notification=. Return non-nil when handled, or nil to continue with core notification handling.&lt;/p&gt; 
&lt;p&gt;#+begin_src emacs-lisp (agent-shell-make-agent-config :identifier &#39;example :notification-handler (lambda (event) (when (equal (map-nested-elt event &#39;(:acp-notification method)) &quot;_example/status&quot;) (message &quot;%s&quot; (map-nested-elt event &#39;(:acp-notification params text))) t))) #+end_src&lt;/p&gt; 
&lt;p&gt;Return nil for standard notifications such as =session/update= so core keeps rendering them. See =C-h f agent-shell-make-agent-config= for the configuration options.&lt;/p&gt; 
&lt;p&gt;** Usage&lt;/p&gt; 
&lt;p&gt;*** Quick Start&lt;/p&gt; 
&lt;p&gt;=M-x agent-shell= - Start or reuse any of the known agents.&lt;/p&gt; 
&lt;p&gt;You can select and start any of the known agent shells (see =agent-shell-agent-configs=) via the =agent-shell= interactive command and enables reusing existing shells when available. With a prefix argument (=C-u M-x agent-shell=), it forces starting a new shell session, thus instantiating multiple agent shells.&lt;/p&gt; 
&lt;p&gt;*** Viewport interaction&lt;/p&gt; 
&lt;p&gt;Viewport is an alternative interface for composing prompts and viewing one request/response interaction at a time. It uses a separate buffer named after its associated shell with =&quot; [viewport]&quot;= appended. This buffer switches between =agent-shell-viewport-edit-mode= while composing and =agent-shell-viewport-view-mode= while reading.&lt;/p&gt; 
&lt;p&gt;Use one of these entry points to create and initialize the viewport buffer:&lt;/p&gt; 
&lt;ul&gt; 
 &lt;li&gt;From an agent shell, type =C-c C-o= (=agent-shell-other-buffer=). At the live prompt this opens the viewport for composing; from an earlier interaction it opens the viewport at that interaction. Use =C-c C-o= again to return to the shell (=o= also works from viewport view mode).&lt;/li&gt; 
 &lt;li&gt;Run =M-x agent-shell-prompt-compose= to compose in a dedicated buffer. With the default configuration, =C-c C-c= sends or queues the prompt and dismisses the compose window.&lt;/li&gt; 
 &lt;li&gt;Set =agent-shell-prefer-viewport-interaction= to make the normal =agent-shell= command and related commands prefer the viewport:&lt;/li&gt; 
&lt;/ul&gt; 
&lt;p&gt;#+begin_src emacs-lisp (setopt agent-shell-prefer-viewport-interaction t) #+end_src&lt;/p&gt; 
&lt;p&gt;In edit mode, =C-c C-c= sends or queues the prompt and switches to view mode when viewport interaction is preferred. Use =C-u C-c C-c= to send or queue while keeping the compose buffer open, =C-c C-p= to peek at the latest interaction without losing the draft, =C-c C-k= to cancel, and =C-c C-h= for help.&lt;/p&gt; 
&lt;p&gt;In view mode, use =r= to compose a reply, =R= to quote the response in a reply, =b= / =f= to move between interactions, =p= / =n= to move between items, =?= for help, and =q= to bury the viewport.&lt;/p&gt; 
&lt;p&gt;#+begin_quote [!NOTE]&lt;/p&gt; 
&lt;p&gt;Do not invoke =agent-shell-viewport-edit-mode= or =agent-shell-viewport-view-mode= directly in an agent shell buffer. They are major modes installed by the entry points above on the separate viewport buffer, not commands for converting the shell buffer. #+end_quote&lt;/p&gt; 
&lt;p&gt;*** Typing while the agent is busy&lt;/p&gt; 
&lt;p&gt;When =agent-shell-persistent-prompt-enabled= is set, the shell keeps a writable prompt at the end of the buffer at all times (including agent busy times).&lt;/p&gt; 
&lt;p&gt;Submitting into a busy agent queues the prompt by default. =RET= submits via =agent-shell-busy-submit-default-function= (queues), while =M-RET= and =C-u RET= submit via =agent-shell-busy-submit-override-function= (steers). Steering is covered in the next section.&lt;/p&gt; 
&lt;p&gt;Queued a prompt with =RET= when you meant to steer it? Press =M-RET= at the empty prompt and confirm to steer the most recently queued prompt instead.&lt;/p&gt; 
&lt;p&gt;To disable/hide the persistent prompt, unset the related option:&lt;/p&gt; 
&lt;p&gt;#+begin_src emacs-lisp (setopt agent-shell-persistent-prompt-enabled nil) #+end_src&lt;/p&gt; 
&lt;p&gt;The viewport&#39;s compose buffer is available either way, and submitting from it mid-turn routes the same.&lt;/p&gt; 
&lt;p&gt;*** Steering a running turn&lt;/p&gt; 
&lt;p&gt;A prompt sent while the agent is working is queued and submitted once the turn ends. Prompts queued during the same turn are merged into a single prompt, separated by blank lines (set =agent-shell-prompt-queue-merge= to nil to send them one turn each). Cancelling the turn asks whether to continue with the queued prompts. Agents that support steering can take it into the turn already running instead, so a wrong direction can be corrected without waiting for it to finish. Steering is an ACP extension (=_session/steering=) rather than part of the spec, advertised by the agent at initialization: the Claude and Codex packages implement it, other agents keep queueing.&lt;/p&gt; 
&lt;p&gt;Steering is always explicit. =M-x agent-shell-prompt-queue= queues, as it always has. =M-x agent-shell-prompt-steer= steers the running turn, and errors when the agent cannot steer. With no turn running there is nothing to steer into, so it submits the prompt instead. When the agent declines a steer, the running turn is interrupted and the shell says so, rather than letting the agent carry on in a direction you believe you already corrected.&lt;/p&gt; 
&lt;p&gt;What the agent does with the steered prompt is up to the agent: Claude interrupts what it is generating and responds to it, while Codex finishes the message in flight first.&lt;/p&gt; 
&lt;p&gt;Steering is not additive. An agent that interrupts may drop the instruction it was working on, so a steer can replace what the agent was already doing rather than adding to it. Queue instead when the agent should finish first.&lt;/p&gt; 
&lt;p&gt;*** Specific Agent Commands&lt;/p&gt; 
&lt;p&gt;Start a specific agent shell session directly:&lt;/p&gt; 
&lt;ul&gt; 
 &lt;li&gt;=M-x agent-shell-antigravity-start-agent= - Start an Antigravity agent session&lt;/li&gt; 
 &lt;li&gt;=M-x agent-shell-anthropic-start-claude-code= - Start a Claude Agent session&lt;/li&gt; 
 &lt;li&gt;=M-x agent-shell-auggie-start-agent= - Start an Auggie agent session&lt;/li&gt; 
 &lt;li&gt;=M-x agent-shell-codebuddy-start-agent= - Start a CodeBuddy agent session&lt;/li&gt; 
 &lt;li&gt;=M-x agent-shell-openai-start-codex= - Start a Codex agent session&lt;/li&gt; 
 &lt;li&gt;=M-x agent-shell-google-start-gemini= - Start a Gemini agent session&lt;/li&gt; 
 &lt;li&gt;=M-x agent-shell-goose-start-agent= - Start a Goose agent session&lt;/li&gt; 
 &lt;li&gt;=M-x agent-shell-xai-start-grok= - Start a Grok Build (xAI) agent session&lt;/li&gt; 
 &lt;li&gt;=M-x agent-shell-cursor-start-agent= - Start a Cursor agent session&lt;/li&gt; 
 &lt;li&gt;=M-x agent-shell-deepseek-start-agent= - Start a DeepSeek Harness agent session&lt;/li&gt; 
 &lt;li&gt;=M-x agent-shell-junie-start-agent= - Start a Junie agent session&lt;/li&gt; 
 &lt;li&gt;=M-x agent-shell-kiro-start-agent= - Start a Kiro CLI agent session&lt;/li&gt; 
 &lt;li&gt;=M-x agent-shell-qoder-start-agent= - Start a Qoder CLI agent session&lt;/li&gt; 
 &lt;li&gt;=M-x agent-shell-mistral-start-vibe= - Start a Mistral Vibe agent session&lt;/li&gt; 
 &lt;li&gt;=M-x agent-shell-qwen-start= - Start a Qwen Code agent session&lt;/li&gt; 
 &lt;li&gt;=M-x agent-shell-droid-start-agent= - Start a Factory Droid agent session&lt;/li&gt; 
 &lt;li&gt;=M-x agent-shell-pi-start-agent= - Start a Pi coding agent session&lt;/li&gt; 
&lt;/ul&gt; 
&lt;p&gt;*** Setting a default agent for all new shells&lt;/p&gt; 
&lt;p&gt;You can set a default agent to use for all new shells started via =agent-shell= like so:&lt;/p&gt; 
&lt;p&gt;#+begin_src emacs-lisp (setq agent-shell-preferred-agent-config (agent-shell-anthropic-make-claude-code-config)) #+end_src&lt;/p&gt; 
&lt;p&gt;Or by identifier (e.g. Grok Build):&lt;/p&gt; 
&lt;p&gt;#+begin_src emacs-lisp (setq agent-shell-preferred-agent-config &#39;grok-build) #+end_src&lt;/p&gt; 
&lt;p&gt;*** Configuring MCP servers&lt;/p&gt; 
&lt;p&gt;You can configure MCP servers directly via =agent-shell=. This allows you to avoid having to repeat configurations across every agent that you use.&lt;/p&gt; 
&lt;p&gt;#+begin_src emacs-lisp (setq agent-shell-mcp-servers &#39;(((name . &quot;notion&quot;) (type . &quot;http&quot;) (headers . []) (url . &quot;&lt;a href=&quot;https://mcp.notion.com/mcp&quot;&gt;https://mcp.notion.com/mcp&lt;/a&gt;&quot;)))) #+end_src&lt;/p&gt; 
&lt;p&gt;*** Monitoring events&lt;/p&gt; 
&lt;p&gt;You can subscribe to shell events (turn complete, tool calls, config changes, etc.) via =agent-shell-subscribe-to=. See its docstring (=C-h f agent-shell-subscribe-to=) for the full list of events and their data.&lt;/p&gt; 
&lt;p&gt;For example, to have new OpenCode shells remember the last model and effort level chosen (within your Emacs session):&lt;/p&gt; 
&lt;p&gt;#+begin_src emacs-lisp (add-hook &#39;agent-shell-mode-hook (lambda () (agent-shell-subscribe-to :shell-buffer (current-buffer) :event &#39;config-option-update :on-event (lambda (event) (pcase (map-elt (agent-shell-get-config (current-buffer)) :identifier) (&#39;opencode (setq agent-shell-opencode-default-config-options (seq-map (lambda (option) (cons (map-elt option :id) (map-elt option :current-value))) (map-nested-elt event &#39;(:data :config-options)))))))))) #+end_src&lt;/p&gt; 
&lt;p&gt;** Running agents in Devcontainers / Docker containers (Experimental)&lt;/p&gt; 
&lt;p&gt;=agent-shell= provides rudimentary support for running agents and shell commands in containers.&lt;/p&gt; 
&lt;p&gt;Use =agent-shell-command-prefix= to prefix the command that starts the agent, or a shell command that should be run so it is executed inside the container.&lt;/p&gt; 
&lt;p&gt;*** Static command list&lt;/p&gt; 
&lt;p&gt;#+begin_src emacs-lisp (setq agent-shell-command-prefix &#39;(&quot;devcontainer&quot; &quot;exec&quot; &quot;--workspace-folder&quot; &quot;.&quot;)) #+end_src&lt;/p&gt; 
&lt;p&gt;*** Function-based configuration&lt;/p&gt; 
&lt;p&gt;For dynamic per-agent containers, provide a function that takes the current agent-shell buffer and returns the command list:&lt;/p&gt; 
&lt;p&gt;#+begin_src emacs-lisp (setq agent-shell-command-prefix (lambda (buffer) (let ((config (agent-shell-get-config buffer))) (pcase (map-elt config :identifier) (&#39;claude-code &#39;(&quot;docker&quot; &quot;exec&quot; &quot;claude-dev&quot; &quot;--&quot;)) (&#39;gemini-cli &#39;(&quot;docker&quot; &quot;exec&quot; &quot;gemini-dev&quot; &quot;--&quot;)) (_ &#39;(&quot;devcontainer&quot; &quot;exec&quot; &quot;.&quot;)))))) #+end_src&lt;/p&gt; 
&lt;p&gt;*** Per-session containers&lt;/p&gt; 
&lt;p&gt;You can use different containers for different shell sessions, even of the same agent type:&lt;/p&gt; 
&lt;p&gt;#+begin_src emacs-lisp (setq agent-shell-command-prefix (lambda (buffer) ;; Different container based on project (if (string-match &quot;project-a&quot; (buffer-name buffer)) &#39;(&quot;docker&quot; &quot;exec&quot; &quot;project-a-dev&quot; &quot;--&quot;) &#39;(&quot;docker&quot; &quot;exec&quot; &quot;project-b-dev&quot; &quot;--&quot;)))) #+end_src&lt;/p&gt; 
&lt;p&gt;Note that any =:environment-variables= you may have passed to =acp-make-client= will not apply to the agent process running inside the container. It&#39;s expected to inject environment variables by means of your devcontainer configuration / Dockerfile.&lt;/p&gt; 
&lt;p&gt;Next, set an =agent-shell-path-resolver-function= that resolves container paths in the local working directory, and vice versa. Agent shell provides the =agent-shell-devcontainer-resolve-path= function for use with devcontainers specifically: it reads the =workspaceFolder= specified in =.devcontainer/devcontainer.json=, or uses the default value of =/workspaces/
 &lt;repository-name&gt;
  = otherwise.
 &lt;/repository-name&gt;&lt;/p&gt; 
&lt;p&gt;#+begin_src emacs-lisp (setq agent-shell-path-resolver-function #&#39;agent-shell-devcontainer-resolve-path) #+end_src&lt;/p&gt; 
&lt;p&gt;Note that this allows the agent to access files on your local file-system. While care has been taken to restrict access to files in the local working directory, it&#39;s probably possible for a malicious agent to circumvent this restriction.&lt;/p&gt; 
&lt;p&gt;Optional: to prevent the agent running inside the container to access your local file-system altogether and to have it read/modify files inside the container directly, in addition to setting the resolver function, disable the &quot;read/write text file&quot; client capabilities:&lt;/p&gt; 
&lt;p&gt;#+begin_src emacs-lisp (setq agent-shell-text-file-capabilities nil) #+end_src&lt;/p&gt; 
&lt;p&gt;*** Data storage location&lt;/p&gt; 
&lt;p&gt;By default, agent-shell stores per-project data (transcripts, screenshots, etc.) under a =.agent-shell/= directory in the project root, and automatically adds that directory to =.gitignore= the first time it is created. This is a one-time operation: removing the entry from =.gitignore= will not cause it to be re-added. If you configure =agent-shell-dot-subdir-function= to store data outside the project =.agent-shell/= directory, agent-shell will not update the project&#39;s =.gitignore=.&lt;/p&gt; 
&lt;p&gt;You can change where this data is stored by setting =agent-shell-dot-subdir-function= to a custom function. The function receives one argument, SUBDIR (e.g. =&quot;screenshots&quot;=), and must return the absolute path to that subdirectory (without creating it).&lt;/p&gt; 
&lt;p&gt;For example, to store data under =user-emacs-directory= instead of the project tree, flattening the project path into a directory name:&lt;/p&gt; 
&lt;p&gt;#+begin_src emacs-lisp (defun my/agent-shell-dot-subdir (subdir) (let* ((cwd (string-remove-suffix &quot;/&quot; (agent-shell-cwd))) (sanitized (replace-regexp-in-string &quot;/&quot; &quot;-&quot; (string-remove-prefix &quot;/&quot; cwd)))) (expand-file-name subdir (locate-user-emacs-file (concat &quot;agent-shell/&quot; sanitized)))))&lt;/p&gt; 
&lt;p&gt;(setopt agent-shell-dot-subdir-function #&#39;my/agent-shell-dot-subdir) #+end_src&lt;/p&gt; 
&lt;p&gt;This stores data at a path like =~/.emacs.d/agent-shell/home-user-src-myproject/screenshots/=.&lt;/p&gt; 
&lt;p&gt;*** Screenshots from clipboard&lt;/p&gt; 
&lt;p&gt;You can send a screenshot from your clipboard to your shell with =agent-shell-send-clipboard-image=. Call with =C-u= to =agent-shell-send-clipboard-image-to= to select from your shells. agent-shell relies on external programs to write an image from clipboard to file as configured in =agent-shell-clipboard-image-handlers=. Preconfigured handlers are&lt;/p&gt; 
&lt;ul&gt; 
 &lt;li&gt;=wl-paste= for Wayland desktops,&lt;/li&gt; 
 &lt;li&gt;=xclip= for Xorg,&lt;/li&gt; 
 &lt;li&gt;=pngpaste= for MacOS.&lt;/li&gt; 
 &lt;li&gt;=powershell= for Windows.&lt;/li&gt; 
&lt;/ul&gt; 
&lt;p&gt;Alternatively, =M-x yank-media= pastes a clipboard image with no external programs, where your Emacs build can read images off the clipboard.&lt;/p&gt; 
&lt;p&gt;*** Dragging files in&lt;/p&gt; 
&lt;p&gt;Drag a file from your file manager (or =dired=) onto a shell or viewport buffer to attach it to the prompt, the same way a pasted image is. Images get a preview; any other file is attached as an =@path= link.&lt;/p&gt; 
&lt;p&gt;*** Inhibiting minor modes during file writes&lt;/p&gt; 
&lt;p&gt;Some minor modes (for example, =aggressive-indent-mode=) can interfere with an agent&#39;s edits. Agent Shell can temporarily disable selected per-buffer minor modes while applying edits.&lt;/p&gt; 
&lt;p&gt;#+begin_src emacs-lisp (setopt agent-shell-write-inhibit-minor-modes &#39;(aggressive-indent-mode)) #+end_src&lt;/p&gt; 
&lt;p&gt;*** Keeping the system awake during long turns&lt;/p&gt; 
&lt;p&gt;Long agent turns can outlast the system idle-sleep timeout, suspending the machine (and the agent) before the turn completes. On Emacs 31.1 or later, =agent-shell-inhibit-system-sleep= (enabled by default) keeps the system awake for the duration of each turn and releases the block once the turn finishes, so the system is only kept awake while there is work in progress (the display is still allowed to blank). This relies on the built-in [[&lt;a href=&quot;https://git.savannah.gnu.org/cgit/emacs.git/tree/lisp/system-sleep.el&quot;&gt;https://git.savannah.gnu.org/cgit/emacs.git/tree/lisp/system-sleep.el&lt;/a&gt;][=system-sleep=]] library and has no effect on earlier Emacs versions. It does not prevent &quot;hard&quot; sleep such as closing a laptop lid.&lt;/p&gt; 
&lt;p&gt;To turn it off:&lt;/p&gt; 
&lt;p&gt;#+begin_src emacs-lisp (setopt agent-shell-inhibit-system-sleep nil) #+end_src&lt;/p&gt; 
&lt;p&gt;All of the above settings can be applied on a per-project basis using [[&lt;a href=&quot;https://www.gnu.org/software/emacs/manual/html_node/emacs/Directory-Variables.html&quot;&gt;https://www.gnu.org/software/emacs/manual/html_node/emacs/Directory-Variables.html&lt;/a&gt;][directory-local variables]].&lt;/p&gt; 
&lt;p&gt;** Key bindings&lt;/p&gt; 
&lt;ul&gt; 
 &lt;li&gt; &lt;p&gt;=RET= - Submits prompt.&lt;/p&gt; &lt;/li&gt; 
 &lt;li&gt; &lt;p&gt;=M-J= - Iserts newline.&lt;/p&gt; &lt;/li&gt; 
 &lt;li&gt; &lt;p&gt;=C-c C-c= - Interrupt current agent operation&lt;/p&gt; &lt;/li&gt; 
 &lt;li&gt; &lt;p&gt;=TAB and Shift-TAB= - Navigate interactive elements&lt;/p&gt; &lt;p&gt;To customize =RET= binding behaviour, you can use something like:&lt;/p&gt; &lt;p&gt;#+begin_src emacs-lisp :lexical no (use-package agent-shell :bind (:map agent-shell-mode-map (&quot;RET&quot; . newline) (&quot;M-RET&quot; . shell-maker-submit))) #+end_src&lt;/p&gt; &lt;p&gt;Or if you prefer C-c C-c to send and C-c C-k to interrupt, use the following:&lt;/p&gt; &lt;p&gt;#+begin_src emacs-lisp :lexical no (use-package agent-shell :bind (:map agent-shell-mode-map (&quot;RET&quot; . newline) (&quot;C-c C-c&quot; . shell-maker-submit) (&quot;C-c C-k&quot; . agent-shell-interrupt))) #+end_src&lt;/p&gt; &lt;/li&gt; 
&lt;/ul&gt; 
&lt;p&gt;*** Folding sections&lt;/p&gt; 
&lt;p&gt;Thoughts, tool calls, user messages and activity groups fold under their header line. With point on a header:&lt;/p&gt; 
&lt;ul&gt; 
 &lt;li&gt;=RET= (or click) - Expand or collapse the section.&lt;/li&gt; 
 &lt;li&gt;=C-u RET= - Expand or collapse the section&#39;s activity group, along with every section inside it.&lt;/li&gt; 
&lt;/ul&gt; 
&lt;p&gt;These keys only apply on headers, so =RET= still submits the prompt everywhere else. To fold with other keys, add them to =agent-shell-ui-fragment-map=.&lt;/p&gt; 
&lt;p&gt;Use =M-x agent-shell-ui-toggle-all-fragments= to expand or collapse every section in the buffer.&lt;/p&gt; 
&lt;p&gt;*** Session controls&lt;/p&gt; 
&lt;p&gt;When the active agent advertises the corresponding session option, you can switch it from the shell buffer:&lt;/p&gt; 
&lt;ul&gt; 
 &lt;li&gt;=C-c C-v= - Set model.&lt;/li&gt; 
 &lt;li&gt;=C-c C-m= - Set session mode.&lt;/li&gt; 
 &lt;li&gt;=C-c C-t= - Set thought level (reasoning effort).&lt;/li&gt; 
 &lt;li&gt;=C-
  &lt;tab&gt;
   = - Cycle session mode.
  &lt;/tab&gt;&lt;/li&gt; 
&lt;/ul&gt; 
&lt;p&gt;The current selections are shown in the header right after the agent name; click any segment to open a popup menu. The thought level segment only appears for models that expose it (e.g. Claude Sonnet/Opus with effort levels; Codex&#39;s reasoning_effort).&lt;/p&gt; 
&lt;p&gt;Any other options the agent advertises (e.g. Codex&#39;s speed) are counted after the header settings as =(+N)=; click it to change them. They are also appended to the graphical header&#39;s settings menu. =C-c C-s= sets any of them from the keyboard.&lt;/p&gt; 
&lt;p&gt;From the viewport (=agent-shell-viewport-view-mode= / =agent-shell-viewport-edit-mode=), the same controls are bound to:&lt;/p&gt; 
&lt;ul&gt; 
 &lt;li&gt;View mode: =v= (model), =s= (mode), =t= (thought level).&lt;/li&gt; 
 &lt;li&gt;Edit mode: =C-c C-v=, =C-c C-m=, =C-c C-t=.&lt;/li&gt; 
&lt;/ul&gt; 
&lt;p&gt;*** Evil Evil users may want to rebind ~RET~ for inserting a new line in =insert mode= and sending the prompt in =normal mode=.&lt;/p&gt; 
&lt;p&gt;Also, when viewing diffs (before accepting changes) it may be annoying having to enter =insert mode= to send keys (~y/n/p/q/etc~). If this is your case, you can make these buffers start in Emacs mode (you can always go to Evil modes if you need to with ~C-z~). #+begin_src emacs-lisp (use-package agent-shell :config ;; Evil state-specific RET behavior: insert mode = newline, normal mode = send (evil-define-key &#39;insert agent-shell-mode-map (kbd &quot;RET&quot;) #&#39;newline) (evil-define-key &#39;normal agent-shell-mode-map (kbd &quot;RET&quot;) #&#39;comint-send-input)&lt;/p&gt; 
&lt;pre&gt;&lt;code&gt;;; Configure *agent-shell-diff* buffers to start in Emacs state
(add-hook &#39;diff-mode-hook
    (lambda ()
      (when (string-match-p &quot;\\*agent-shell-diff\\*&quot; (buffer-name))
	(evil-emacs-state)))))
&lt;/code&gt;&lt;/pre&gt; 
&lt;p&gt;#+end_src&lt;/p&gt; 
&lt;ul&gt; 
 &lt;li&gt;Customizations&lt;/li&gt; 
&lt;/ul&gt; 
&lt;p&gt;#+BEGIN_SRC emacs-lisp :results table :colnames &#39;(&quot;Custom variable&quot; &quot;Description&quot;) :exports results (let ((rows)) (mapatoms (lambda (symbol) (when (and (string-match &quot;^agent-shell&quot; (symbol-name symbol)) (custom-variable-p symbol)) (push `(,symbol ,(car (split-string (or (documentation-property symbol &#39;variable-documentation) (get (indirect-variable symbol) &#39;variable-documentation) (get symbol &#39;variable-documentation) &quot;&quot;) &quot;\n&quot;))) rows)))) (sort rows (lambda (a b) (string&amp;lt; (symbol-name (car a)) (symbol-name (car b)))))) #+END_SRC&lt;/p&gt; 
&lt;p&gt;#+RESULTS: | Custom variable | Description | |------------------------------------------------+---------------------------------------------------------------------------------| | agent-shell-activity-group-expand-by-default | When activity group sections should be expanded. | | agent-shell-agent-configs | The known agent configurations. | | agent-shell-anthropic-authentication | Configuration for Anthropic authentication. | | agent-shell-anthropic-claude-acp-command | Command and parameters for the Anthropic Claude client. | | agent-shell-anthropic-claude-environment | Environment variables for the Anthropic Claude client. | | agent-shell-anthropic-default-model-id | Default Anthropic model ID. | | agent-shell-anthropic-default-session-mode-id | Default Anthropic session mode ID. | | agent-shell-antigravity-acp-command | Command and parameters for the Antigravity ACP server. | | agent-shell-antigravity-authentication | Configuration for Antigravity authentication. | | agent-shell-antigravity-default-config-options | Default Antigravity config options, applied at session start. | | agent-shell-antigravity-environment | Environment variables for the Antigravity ACP server. | | agent-shell-artist-mode-hook | Hook run after entering or leaving ‘agent-shell-artist-mode’. | | agent-shell-auggie-acp-command | Command and parameters for the Auggie client. | | agent-shell-auggie-authentication | Configuration for Auggie authentication. | | agent-shell-auggie-environment | Environment variables for the Auggie client. | | agent-shell-buffer-name-format | Format to use when generating agent shell buffer names. | | agent-shell-busy-indicator-frames | Frames for the busy indicator animation. | | agent-shell-busy-submit-default-function | Function deciding what submitting while the agent is working does. | | agent-shell-busy-submit-override-function | Function M-x agent-shell-submit-override submits through. | | agent-shell-chat-label-function | Function returning a chat label (&quot;Me&quot; or the agent&#39;s name). | | agent-shell-chat-mode-enabled | Whether a new agent shell enables ‘agent-shell-chat-mode’ by default. | | agent-shell-chat-mode-hook | Hook run after entering or leaving ‘agent-shell-chat-mode’. | | agent-shell-cline-acp-command | Command and parameters for the Cline agent client. | | agent-shell-cline-default-model-id | Default Cline model ID. | | agent-shell-cline-default-session-mode-id | Default Cline session mode ID. | | agent-shell-cline-environment | Environment variables for the Cline agent client. | | agent-shell-clipboard-image-handlers | Handlers for saving clipboard images to a file. | | agent-shell-codebuddy-acp-command | Command and parameters for the CodeBuddy agent client. | | agent-shell-codebuddy-environment | Environment variables for the CodeBuddy agent client. | | agent-shell-command-completion-enabled | Non-nil pops agent command completion as / is typed. | | agent-shell-command-prefix | Prefix to apply when executing agent commands and shell commands. | | agent-shell-completion-mode-hook | Hook run after entering or leaving ‘agent-shell-completion-mode’. | | agent-shell-confirm-interrupt | Whether to prompt for confirmation before interrupting. | | agent-shell-container-command-runner | Prefix to apply when executing agent commands and shell commands. | | agent-shell-context-sources | Sources to consider when determining C-c C-w automatic context. | | agent-shell-cursor-acp-command | Command and parameters for the Cursor agent client. | | agent-shell-cursor-authentication | Configuration for Cursor authentication. | | agent-shell-cursor-environment | Environment variables for the Cursor agent client. | | agent-shell-cwd-function | When non-nil, a function called to determine the shell’s CWD. | | agent-shell-deepseek-acp-command | Command and parameters for the DeepSeek Harness ACP server. | | agent-shell-deepseek-authentication | Configuration for DeepSeek Harness authentication. | | agent-shell-deepseek-default-config-options | Default DeepSeek Harness config options, applied at session start. | | agent-shell-deepseek-environment | Environment variables for the DeepSeek Harness ACP server. | | agent-shell-display-action | Display action for agent shell buffers. | | agent-shell-dot-subdir-function | Function used by ‘agent-shell--dot-subdir’ to resolve subdirectory paths. | | agent-shell-droid-acp-command | Command and parameters for the Factory Droid ACP client. | | agent-shell-droid-authentication | Configuration for Factory Droid authentication. | | agent-shell-droid-default-model-id | Default Droid AI model ID. | | agent-shell-droid-default-reasoning-effort | Default reasoning effort. | | agent-shell-droid-default-session-mode-id | Default Droid AI session mode ID. | | agent-shell-droid-environment | Environment variables for the Factory Droid ACP client. | | agent-shell-embed-file-size-limit | Maximum file size in bytes for embedding with ContentBlock::Resource. | | agent-shell-file-completion-enabled | Non-nil pops project file completion as @ is typed. | | agent-shell-file-display-action | Display action for files opened from a link, image, or ‘@file’ mention. | | agent-shell-github-acp-command | Command and parameters for the GitHub Copilot agent client. | | agent-shell-github-default-model-id | Default GitHub Copilot model ID. | | agent-shell-github-default-session-mode-id | Default GitHub Copilot session mode ID. | | agent-shell-github-environment | Environment variables for the GitHub Copilot agent client. | | agent-shell-google-authentication | Configuration for Google authentication. | | agent-shell-google-gemini-acp-command | Command and parameters for the Gemini client. | | agent-shell-google-gemini-environment | Environment variables for the Google Gemini client. | | agent-shell-goose-acp-command | Command and parameters for the Goose client. | | agent-shell-goose-authentication | Configuration for Goose authentication. | | agent-shell-goose-environment | Environment variables for the Goose client. | | agent-shell-header-style | Style for agent shell buffer headers. | | agent-shell-hermes-acp-command | Command and parameters for the Hermes agent client. | | agent-shell-hermes-default-session-mode-id | Default ACP session mode for the Hermes agent. | | agent-shell-hermes-environment | Environment variables for the Hermes agent client. | | agent-shell-highlight-blocks | Whether or not to highlight source blocks. | | agent-shell-inhibit-system-sleep | Non-nil to keep the system awake while an agent is busy. | | agent-shell-junie-acp-command | Command and parameters for the JetBrains Junie ACP client. | | agent-shell-junie-default-model-id | Default Junie model ID. | | agent-shell-junie-default-session-mode-id | Default Junie session mode ID. | | agent-shell-junie-environment | Environment variables for the Junie ACP client. | | agent-shell-kimi-acp-command | Command and parameters for the Kimi Code CLI client. | | agent-shell-kimi-default-model-id | Default Kimi model ID. | | agent-shell-kimi-default-session-mode-id | Default Kimi Code session mode ID. | | agent-shell-kimi-environment | Environment variables for the Kimi Code CLI client. | | agent-shell-kiro-acp-command | Command and parameters for the Kiro CLI client. | | agent-shell-kiro-default-model-id | Default Kiro model ID. | | agent-shell-kiro-default-session-mode-id | Default Kiro session mode ID. | | agent-shell-kiro-environment | Environment variables for the Kiro CLI client. | | agent-shell-list-edit-mode-hook | Hook run after entering or leaving ‘agent-shell-list-edit-mode’. | | agent-shell-markdown-render-function | Function called to render markdown in the current narrowed buffer. | | agent-shell-mcp-servers | List of MCP servers to initialize when creating a new session. | | agent-shell-mistral-acp-command | Command and parameters for the Mistral Vibe client. | | agent-shell-mistral-authentication | Configuration for Mistral AI authentication. | | agent-shell-mistral-default-model-id | Default Mistral AI model ID. | | agent-shell-mistral-default-session-mode-id | Default Mistral AI session mode ID. | | agent-shell-mistral-environment | Environment variables for the Mistral Vibe client. | | agent-shell-mock-agent-acp-command | Command and parameters for the mock ACP agent. | | agent-shell-omp-acp-command | Command and parameters for the Oh My Pi (omp) ACP client. | | agent-shell-omp-environment | Environment variables for the Oh My Pi (omp) client. | | agent-shell-openai-authentication | Configuration for OpenAI authentication. | | agent-shell-openai-codex-acp-command | Command and parameters for the OpenAI Codex client. | | agent-shell-openai-codex-environment | Environment variables for the OpenAI Codex client. | | agent-shell-openai-default-config-options | Default Codex config options, applied at session start. | | agent-shell-openai-default-model-id | Default Codex model ID. | | agent-shell-openai-default-session-mode-id | Default Codex session mode ID. | | agent-shell-openclaw-acp-command | Command and parameters for the OpenClaw ACP bridge. | | agent-shell-openclaw-default-model-id | Default OpenClaw model ID. | | agent-shell-openclaw-environment | Environment variables for the OpenClaw client. | | agent-shell-opencode-acp-command | Command and parameters for the OpenCode client. | | agent-shell-opencode-authentication | Configuration for OpenCode authentication. | | agent-shell-opencode-default-config-options | Default OpenCode config options, applied at session start. | | agent-shell-opencode-default-model-id | Default OpenCode model ID. | | agent-shell-opencode-default-session-mode-id | Default OpenCode session mode ID. | | agent-shell-opencode-environment | Environment variables for the OpenCode client. | | agent-shell-outgoing-request-decorator | Function to decorate outgoing ACP requests before they are sent. | | agent-shell-path-resolver-function | Function for resolving remote paths on the local file-system, and vice versa. | | agent-shell-permission-icon | Icon displayed when shell commands require permission to execute. | | agent-shell-persistent-prompt-enabled | Whether a shell keeps a writable prompt at the buffer end at all times. | | agent-shell-pi-acp-command | Command and parameters for the Pi ACP client. | | agent-shell-pi-environment | Environment variables for the Pi client. | | agent-shell-prefer-viewport-interaction | Non-nil makes ‘agent-shell’ prefer viewport interaction over shell interaction. | | agent-shell-preferred-agent-config | Default agent to use for all new shells. | | agent-shell-prompt-busy-frames | Frames animating the live prompt’s marker while the agent works. | | agent-shell-qoder-acp-command | Command and parameters for the Qoder CLI ACP server. | | agent-shell-qoder-environment | Environment variables for the Qoder CLI ACP server. | | agent-shell-qwen-acp-command | Command and parameters for the Qwen Code client. | | agent-shell-qwen-authentication | Configuration for Qwen Code authentication. | | agent-shell-qwen-environment | Environment variables for the Qwen Code client. | | agent-shell-screenshot-command | The program to use for capturing screenshots. | | agent-shell-section-functions | Abnormal hook run after overlays are applied (experimental). | | agent-shell-session-choices-function | Function to transform the choices offered when starting a shell. | | agent-shell-session-list-page-limit | Maximum number of pages to request when listing sessions. | | agent-shell-session-restore-verbosity | How much prior context to show when restoring a session. | | agent-shell-session-strategy | How to handle sessions when starting a new shell. | | agent-shell-show-busy-indicator | Non-nil to show the busy indicator animation in the header and mode line. | | agent-shell-show-config-icons | Whether to show icons in agent config selection. | | agent-shell-show-context-usage-indicator | Whether and how to show the context usage indicator. | | agent-shell-show-cost-indicator | Whether to show the session’s cumulative cost in the header. | | agent-shell-show-session-id | Non-nil to display the session ID in the header and session selection. | | agent-shell-show-usage-at-turn-end | Whether to display usage information when agent turn ends. | | agent-shell-show-welcome-message | Non-nil to show welcome message. | | agent-shell-status-kind-label-function | Function to render status and kind labels. | | agent-shell-text-file-capabilities | Whether agents are initialized with read/write text file capabilities. | | agent-shell-thought-process-expand-by-default | Whether thought process sections should be expanded by default. | | agent-shell-thought-process-icon | Icon displayed during the AI’s thought process. | | agent-shell-tool-use-expand-by-default | Whether tool use sections should be expanded by default. | | agent-shell-transcript-file-path-function | Function to generate the full transcript file path. | | agent-shell-ui-mode-hook | Hook run after entering or leaving ‘agent-shell-ui-mode’. | | agent-shell-user-message-expand-by-default | Whether user message sections should be expanded by default. | | agent-shell-viewport-dismiss-on-send | Non-nil dismisses the viewport compose window after sending. | | agent-shell-write-inhibit-minor-modes | List of minor mode commands to inhibit during ‘fs/write_text_file’ edits. | | agent-shell-xai-acp-command | Command and parameters for the Grok Build ACP client. | | agent-shell-xai-default-model-id | Default Grok Build model ID. | | agent-shell-xai-default-session-mode-id | Default Grok Build session mode ID. | | agent-shell-xai-environment | Environment variables for the Grok Build ACP client. |&lt;/p&gt; 
&lt;ul&gt; 
 &lt;li&gt;Commands #+BEGIN_SRC emacs-lisp :results table :colnames &#39;(&quot;Binding&quot; &quot;Command&quot; &quot;Description&quot;) :exports results (let ((rows)) (mapatoms (lambda (symbol) (when (and (string-match &quot;^agent-shell&quot; (symbol-name symbol)) (commandp symbol)) (push `(,(string-join (seq-filter (lambda (symbol) (not (string-match &quot;menu&quot; symbol))) (mapcar (lambda (keys) (key-description keys)) (or (where-is-internal (symbol-function symbol) comint-mode-map nil nil (command-remapping &#39;comint-next-input)) (where-is-internal symbol agent-shell-mode-map nil nil (command-remapping symbol)) (where-is-internal (symbol-function symbol) agent-shell-mode-map nil nil (command-remapping symbol))))) &quot; or &quot;) ,(symbol-name symbol) ,(car (split-string (or (documentation symbol t) &quot;&quot;) &quot;\n&quot;))) rows)))) (sort rows (lambda (a b) (string&amp;lt; (cadr a) (cadr b))))) #+END_SRC&lt;/li&gt; 
&lt;/ul&gt; 
&lt;p&gt;#+RESULTS: | Binding | Command | Description | |-------------------------------------------------------+---------------------------------------------------------+-------------------------------------------------------------------------------| | C-c C-w | agent-shell | Start or reuse an existing agent shell. | | | agent-shell--display-buffer | Toggle agent SHELL-BUFFER display. | | | agent-shell-anthropic-start-claude-code | Start an interactive Claude Agent shell. | | | agent-shell-antigravity-start-agent | Start an interactive Antigravity agent shell. | | | agent-shell-artist-cancel | Discard the scratch art and close the buffer. | | | agent-shell-artist-commit | Insert scratch art into the calling buffer wrapped in a fence. | | | agent-shell-artist-help | Show all interactive commands for &lt;code&gt;agent-shell-artist-mode&#39;. | | | agent-shell-artist-insert-text-drawing | Open the scratch artist buffer to draw and insert text from. | | | agent-shell-artist-mode | Minor mode for &lt;/code&gt;agent-shell&#39; scratch artist buffers. | | | agent-shell-artist-next-history | Show newer art from &lt;code&gt;agent-shell-artist-history-ring&#39;. | | | agent-shell-artist-previous-history | Show older art from &lt;/code&gt;agent-shell-artist-history-ring&#39;. | | | agent-shell-auggie-start-agent | Start an interactive Auggie agent shell. | | C-M-u | agent-shell-backward-up-item | Go to the start of the item point navigated into. | | | agent-shell-chat-mode | Toggle chat-style &lt;code&gt;Me&#39;/agent labels in the current &lt;/code&gt;agent-shell&#39; buffer. | | | agent-shell-clear-buffer | Clear the current shell buffer. | | | agent-shell-cline-start-agent | Start an interactive Cline agent shell. | | | agent-shell-codebuddy-start-agent | Start an interactive CodeBuddy agent shell. | | | agent-shell-completion-mode | Toggle popping completion as @ or / are typed. | | | agent-shell-copy-as-markdown | Copy the region between BEG and END to the kill ring as markdown. | | | agent-shell-copy-last-output | Copy the last agent output to the kill ring. | | | agent-shell-copy-link-url-at-point | Copy the rendered Markdown link URL at POS (or point) to the kill ring. | | | agent-shell-copy-session-id | Copy the current session ID to the kill ring. | | | agent-shell-copy-source-block-at-point | Copy the rendered fenced code block body at POS (or point) to the kill ring. | | | agent-shell-cursor-start-agent | Start an interactive Cursor agent shell. | | C-
 &lt;tab&gt;
   | agent-shell-cycle-session-mode | Cycle through available session modes for the current 
  &lt;code&gt;agent-shell&#39; session. | | | agent-shell-deepseek-start-agent | Start an interactive DeepSeek Harness agent shell. | | | agent-shell-delete-interaction-at-point | Delete interaction (request and response) at point. | | | agent-shell-diff-accept-all | Accept all changes in the current diff buffer. | | | agent-shell-diff-mode | Major mode for &lt;/code&gt;agent-shell&#39; diff buffers. | | | agent-shell-diff-open-file | Open the file for the diff at point and jump to the change. | | | agent-shell-diff-reject-all | Reject all changes in the current diff buffer. | | | agent-shell-droid-start-agent | Start an interactive Factory Droid agent shell. | | | agent-shell-fakes-load-session | Load and replay a recorded ACP session from TRAFFIC-FILE, popping to it. | | | agent-shell-fork | Fork the current session into a new shell. | | | agent-shell-github-start-copilot | Start an interactive GitHub Copilot agent shell. | | | agent-shell-google-start-gemini | Start an interactive Gemini CLI agent shell. | | | agent-shell-goose-start-agent | Start an interactive Goose agent shell. | | | agent-shell-help-menu | Transient menu for 
  &lt;code&gt;agent-shell&#39; commands. | | | agent-shell-hermes-start-agent | Start an interactive Hermes agent shell. | | - | agent-shell-image-scale-decrease | Narrow the image at point, or every image in the buffer, by one step. | | + | agent-shell-image-scale-increase | Widen the image at point, or every image in the buffer, by one step. | | 0 | agent-shell-image-scale-reset | Reset the image at point, or every image in the buffer, to its rendered size. | | | agent-shell-insert-file | Insert a file into &lt;/code&gt;agent-shell&#39;. | | | agent-shell-insert-shell-command-output | Execute a shell command and insert output as a code block. | | C-c C-c | agent-shell-interrupt | Interrupt in-progress request and reject all pending permissions. | | | agent-shell-jump-to-latest-permission-button-row | Jump to the latest permission button row. | | | agent-shell-junie-start-agent | Start an interactive Junie agent shell. | | | agent-shell-kimi-start-agent | Start an interactive Kimi Code agent shell. | | | agent-shell-kiro-start-agent | Start an interactive Kiro agent shell. | | | agent-shell-list-edit-dedent-line | De-indent the current list item. | | | agent-shell-list-edit-indent-line | Indent the current list item. | | | agent-shell-list-edit-mode | Minor mode for editing markdown-style lists. | | | agent-shell-list-edit-newline | Insert a newline, continuing the current list item if applicable. | | | agent-shell-markdown-benchmark-compare | Run both renderers ITERATIONS times and print a comparison. | | | agent-shell-markdown-benchmark-stream | Benchmark streaming-render with 
  &lt;code&gt;agent-shell-markdown&#39;. | | | agent-shell-markdown-benchmark-stream-overlays | Benchmark streaming-render with &lt;/code&gt;markdown-overlays&#39;. | | | agent-shell-markdown-image-scale-decrease | Narrow the image at point, or every image in the buffer, by one step. | | | agent-shell-markdown-image-scale-increase | Widen the image at point, or every image in the buffer, by one step. | | | agent-shell-markdown-image-scale-reset | Drop sizes set by scaling, restoring the ones the images rendered at. | | | agent-shell-markdown-table-next-cell | Move point to the start of the next table cell. | | | agent-shell-markdown-table-previous-cell | Move point to the start of the previous table cell. | | | agent-shell-mistral-start-vibe | Start an interactive Mistral Vibe agent shell. | | | agent-shell-mock-agent-start-agent | Start an interactive mock ACP agent shell. | | | agent-shell-mode | Major mode for agent shell. | | | agent-shell-narrow-to-block | Narrow to the last COUNT navigatable blocks in the current buffer. | | | agent-shell-new-downloads-shell | Start a new agent shell in ~/Downloads. | | | agent-shell-new-shell | Start a new agent shell. | | | agent-shell-new-temp-shell | Start a new agent shell in a temporary directory. | | | agent-shell-new-worktree-shell | Create a new git worktree and start an agent shell in it. | | S-
  &lt;return&gt;
    | agent-shell-newline | Insert a newline, and move to left margin of the new line. | | C-
   &lt;down&gt;
     or M-n | agent-shell-next-input | Cycle forwards through input history. | | n or TAB | agent-shell-next-item | Go to next item. | | | agent-shell-next-permission-button | Jump to the next button. | | | agent-shell-omp-start | Start an interactive Oh My Pi (omp) agent shell. | | | agent-shell-open-transcript | Open the transcript file for the current 
    &lt;code&gt;agent-shell&#39; buffer. | | | agent-shell-openai-start-codex | Start an interactive Codex agent shell. | | | agent-shell-openclaw-start-agent | Start an interactive OpenClaw agent shell. | | | agent-shell-opencode-start-agent | Start an interactive OpenCode agent shell. | | C-c C-o | agent-shell-other-buffer | Switch to other associated buffer (viewport vs shell). | | | agent-shell-pi-start-agent | Start an interactive Pi coding agent shell. | | C-&amp;lt;up&amp;gt; or M-p | agent-shell-previous-input | Cycle backwards through input history, saving input. | | p or &amp;lt;backtab&amp;gt; | agent-shell-previous-item | Go to previous item. | | | agent-shell-previous-permission-button | Jump to the previous button. | | | agent-shell-prompt-compose | Compose an &lt;/code&gt;agent-shell&#39; prompt in a dedicated buffer. | | | agent-shell-prompt-queue | Queue or immediately send a prompt depending on shell busy state. | | | agent-shell-prompt-queue-remove | Remove all pending prompts or a specific prompt by REMOVE-INDEX. | | | agent-shell-prompt-queue-resume | Resume processing pending prompts in the queue. | | | agent-shell-prompt-steer | Steer PROMPT into the turn the agent is currently running. | | | agent-shell-qoder-start-agent | Start an interactive Qoder agent shell. | | r | agent-shell-quote-region | Quote the active region into the shell&#39;s latest prompt. | | | agent-shell-qwen-start | Start an interactive Qwen Code CLI agent shell. | | | agent-shell-reload | Reload the current session by restarting with the same session ID. | | C-x x r | agent-shell-rename-buffer | Rename current shell buffer. | | | agent-shell-reset-logs | Reset all log buffers. | | | agent-shell-restart | Clear conversation by restarting the agent shell in the same project. | | | agent-shell-resume-session | Resume an existing agent session by SESSION-ID. | | | agent-shell-run-all-tests | Run all agent-shell tests in batch mode. | | | agent-shell-save-traffic | Save agent shell traffic to a .traffic file and reveal it in 
    &lt;code&gt;dired&#39;. | | M-r | agent-shell-search-history | Search previous input history. | | | agent-shell-send-clipboard-image | Paste clipboard image and insert it into &lt;/code&gt;agent-shell&#39;. | | | agent-shell-send-clipboard-image-to | Like 
    &lt;code&gt;agent-shell-send-clipboard-image&#39; but prompt for which shell to use. | | | agent-shell-send-current-file | Insert a file into &lt;/code&gt;agent-shell&#39;. | | | agent-shell-send-dwim | Send region or error at point to last accessed shell buffer in project. | | | agent-shell-send-file | Insert a file into 
    &lt;code&gt;agent-shell&#39;. | | | agent-shell-send-file-to | Like &lt;/code&gt;agent-shell-send-file&#39; but prompt for which shell to use. | | | agent-shell-send-other-file | Prompt to send a file into 
    &lt;code&gt;agent-shell&#39;. | | | agent-shell-send-region | Send region to last accessed shell buffer in project. | | | agent-shell-send-region-to | Like &lt;/code&gt;agent-shell-send-region&#39; but prompt for which shell to use. | | | agent-shell-send-screenshot | Capture a screenshot and insert it into 
    &lt;code&gt;agent-shell&#39;. | | | agent-shell-send-screenshot-to | Like &lt;/code&gt;agent-shell-send-screenshot&#39; but prompt for which shell to use. | | C-c C-s | agent-shell-set-session-config-option | Set a session config option. | | C-c RET | agent-shell-set-session-mode | Set session mode (if any available). | | C-c C-v | agent-shell-set-session-model | Set session model. | | C-c C-t | agent-shell-set-session-thought-level | Set thought level (reasoning effort) for the current session. | | | agent-shell-show-usage | Display current session usage information in the minibuffer. | | RET | agent-shell-submit | Submit the current input to the agent, or queue it while the agent is busy. | | M-
    &lt;return&gt;
      or M-RET | agent-shell-submit-override | Submit the current input through the override route. | | | agent-shell-switch-buffer | Switch to another 
     &lt;code&gt;agent-shell-mode&#39; buffer via &lt;/code&gt;completing-read&#39;. | | | agent-shell-toggle | Toggle agent shell display. | | | agent-shell-toggle-logging | Toggle logging. | | | agent-shell-ui-backward-block | Jump to the previous block. | | | agent-shell-ui-forward-block | Jump to the next block. | | | agent-shell-ui-mode | Minor mode for SUI block navigation. | | | agent-shell-ui-toggle-all-fragments | Toggle global fold state: all-expanded ↔ all-collapsed. | | | agent-shell-ui-toggle-fragment | Toggle fragment fold at or near point. | | | agent-shell-version | Show 
     &lt;code&gt;agent-shell&#39; mode version. | | | agent-shell-view-acp-logs | View agent shell ACP logs buffer. | | | agent-shell-view-traffic | View agent shell traffic buffer. | | | agent-shell-viewport--compose-help-menu | &lt;/code&gt;agent-shell&#39; viewport compose help menu. | | | agent-shell-viewport--help-menu | 
     &lt;code&gt;agent-shell&#39; viewport help menu. | | | agent-shell-viewport-compose-cancel | Cancel prompt composition. | | | agent-shell-viewport-compose-help-menu | Show the transient help menu for compose (edit) mode. | | | agent-shell-viewport-compose-peek-last | Save compose buffer snapshot and peek at the last interaction. | | | agent-shell-viewport-compose-send | Send the viewport composed prompt to the agent shell. | | | agent-shell-viewport-compose-send-and-dismiss | Queue or send the composed prompt, then dismiss the compose window. | | | agent-shell-viewport-compose-send-and-kill | Send the viewport composed prompt to the agent shell and kill compose buffer. | | | agent-shell-viewport-compose-send-and-wait-for-response | Send the viewport composed prompt and display response in viewport. | | | agent-shell-viewport-compose-send-override | Send the viewport composed prompt through the override route. | | | agent-shell-viewport-copy-session-id | Copy the current session ID to the kill ring. | | | agent-shell-viewport-cycle-session-mode | Cycle through available session modes. | | | agent-shell-viewport-edit-mode | Major mode for composing agent shell prompts. | | | agent-shell-viewport-help-menu | Show viewport and display the transient help menu (bound to ? in view mode). | | | agent-shell-viewport-interrupt | Interrupt active agent shell request. | | | agent-shell-viewport-next-history | Insert next prompt from history into compose buffer. | | | agent-shell-viewport-next-item | Go to next item. | | | agent-shell-viewport-next-page | Show next interaction (request / response). | | | agent-shell-viewport-open-transcript | Open the transcript file for the current &lt;/code&gt;agent-shell&#39; session. | | | agent-shell-viewport-previous-history | Insert previous prompt from history into compose buffer. | | | agent-shell-viewport-previous-item | Go to previous item. | | | agent-shell-viewport-previous-page | Show previous interaction (request / response). | | | agent-shell-viewport-prompt-queue | Queue or immediately send a prompt depending on shell busy state. | | | agent-shell-viewport-prompt-queue-remove | Remove pending prompts. | | | agent-shell-viewport-prompt-queue-resume | Resume processing pending prompts in the queue. | | | agent-shell-viewport-quote-reply | Reply with the entire response block-quoted. | | | agent-shell-viewport-refresh | Refresh viewport buffer content with current item from shell. | | | agent-shell-viewport-reply | Reply as a follow-up and compose another prompt/query. | | | agent-shell-viewport-reply-1 | Reply with &quot;1&quot; and send immediately. | | | agent-shell-viewport-reply-2 | Reply with &quot;2&quot; and send immediately. | | | agent-shell-viewport-reply-3 | Reply with &quot;3&quot; and send immediately. | | | agent-shell-viewport-reply-4 | Reply with &quot;4&quot; and send immediately. | | | agent-shell-viewport-reply-5 | Reply with &quot;5&quot; and send immediately. | | | agent-shell-viewport-reply-6 | Reply with &quot;6&quot; and send immediately. | | | agent-shell-viewport-reply-7 | Reply with &quot;7&quot; and send immediately. | | | agent-shell-viewport-reply-8 | Reply with &quot;8&quot; and send immediately. | | | agent-shell-viewport-reply-9 | Reply with &quot;9&quot; and send immediately. | | | agent-shell-viewport-reply-again | Reply with &quot;again&quot; and send immediately. | | | agent-shell-viewport-reply-continue | Reply with &quot;continue&quot; and send immediately. | | | agent-shell-viewport-reply-more | Reply with &quot;more&quot; and send immediately. | | | agent-shell-viewport-reply-yes | Reply with &quot;yes&quot; and send immediately. | | | agent-shell-viewport-save-traffic | Save agent shell traffic to a .traffic file and reveal it in 
     &lt;code&gt;dired&#39;. | | | agent-shell-viewport-search-history | Search prompt history, select, and insert into compose buffer. | | | agent-shell-viewport-set-session-mode | Set session mode. | | | agent-shell-viewport-set-session-model | Set session model. | | | agent-shell-viewport-set-session-thought-level | Set thought level (reasoning effort) for the current session. | | | agent-shell-viewport-view-acp-logs | View agent shell ACP logs buffer. | | | agent-shell-viewport-view-last | Display the last request/response interaction. | | | agent-shell-viewport-view-mode | Major mode for viewing agent shell prompts (read-only). | | | agent-shell-viewport-view-traffic | View agent shell traffic buffer. | | | agent-shell-xai-start-grok | Start an interactive Grok Build agent shell. | | C-y or s-v or &amp;lt;paste&amp;gt; or S-&amp;lt;insertchar&amp;gt; or S-&amp;lt;insert&amp;gt; | agent-shell-yank-dwim | Yank or paste clipboard image into &lt;/code&gt;agent-shell&#39;. |
    &lt;/return&gt;
   &lt;/down&gt;
  &lt;/return&gt;
 &lt;/tab&gt;&lt;/p&gt; 
&lt;ul&gt; 
 &lt;li&gt;Filing issues When filing an issue, please keep the checkboxes from the [[&lt;a href=&quot;https://github.com/xenodium/agent-shell/raw/main/.github/ISSUE_TEMPLATE/issue.md&quot;&gt;https://github.com/xenodium/agent-shell/blob/main/.github/ISSUE_TEMPLATE/issue.md&lt;/a&gt;][issue template]] and check them off as applicable. They help ensure I have enough information to help.&lt;/li&gt; 
&lt;/ul&gt; 
&lt;p&gt;Please read through this section before filing issues or feature requests. I won&#39;t be able to help unless I have enough information to help. This section shows how to get the details I need.&lt;/p&gt; 
&lt;ul&gt; 
 &lt;li&gt;&lt;em&gt;Versions&lt;/em&gt;: What version of =agent-shell=, =acp.el=, the ACP package (e.g. =claude-code-acp=), and the agent CLI (e.g. =claude=, =gemini=) are you running?&lt;/li&gt; 
 &lt;li&gt;&lt;em&gt;Steps to reproduce&lt;/em&gt;: What exact steps lead to the issue? Be specific about what you did and in what order.&lt;/li&gt; 
 &lt;li&gt;&lt;em&gt;ACP traffic&lt;/em&gt;: See [[&lt;a href=&quot;https://github.com/xenodium/agent-shell?tab=readme-ov-file#how-do-i-viewget-agent-client-protocol-traffic&quot;&gt;https://github.com/xenodium/agent-shell?tab=readme-ov-file#how-do-i-viewget-agent-client-protocol-traffic&lt;/a&gt;][how to get ACP traffic]] above. This is the most useful piece of information for diagnosing issues.&lt;/li&gt; 
 &lt;li&gt;&lt;em&gt;Screenshots&lt;/em&gt;: A screenshot helps correlate what you see with the protocol data.&lt;/li&gt; 
 &lt;li&gt;&lt;em&gt;Your agent-shell config&lt;/em&gt;: Share any relevant =agent-shell= variable settings from your Emacs config.&lt;/li&gt; 
 &lt;li&gt;&lt;em&gt;Profiling data&lt;/em&gt; (for performance issues): Use =M-x profiler-start=, reproduce the issue, then =M-x profiler-report= (and =M-x profiler-stop=). Share the report.&lt;/li&gt; 
&lt;/ul&gt; 
&lt;ul&gt; 
 &lt;li&gt;FAQ&lt;/li&gt; 
&lt;/ul&gt; 
&lt;p&gt;** Why doesn&#39;t =agent-shell= offer all slash commands/skills available in CLI agent?&lt;/p&gt; 
&lt;p&gt;=agent-shell= can only offer the slash commands/skills advertised by the agent via [[&lt;a href=&quot;https://agentclientprotocol.com&quot;&gt;https://agentclientprotocol.com&lt;/a&gt;][Agent Client Protocol]]. To view what&#39;s exposed by your agent, expand the &quot;Available /commands&quot; section. Is the command you&#39;re after missing? Please consider filing a feature-request with the respective agent (ie. Gemini CLI) or their ACP layer (claude-code-acp).&lt;/p&gt; 
&lt;p&gt;[[file:slash-commands.png]]&lt;/p&gt; 
&lt;p&gt;** Can you add support for another agent?&lt;/p&gt; 
&lt;p&gt;Does the agent support ACP ([[&lt;a href=&quot;https://agentclientprotocol.com&quot;&gt;https://agentclientprotocol.com&lt;/a&gt;][Agent Client Protocol]])? If so, =agent-shell= can likely support this agent. Some agents have ACP support built-in (like [[&lt;a href=&quot;https://github.com/google-gemini/gemini-cli&quot;&gt;https://github.com/google-gemini/gemini-cli&lt;/a&gt;][gemini-cli]]). Others require a separate ACP package (like [[&lt;a href=&quot;https://github.com/zed-industries/claude-code-acp&quot;&gt;https://github.com/zed-industries/claude-code-acp&lt;/a&gt;][claude-code-acp]] for [[&lt;a href=&quot;https://github.com/anthropics/claude-code&quot;&gt;https://github.com/anthropics/claude-code&lt;/a&gt;][claude-code]]). When filing a feature request to add a new agent, please include a link to the project supporting [[&lt;a href=&quot;https://agentclientprotocol.com&quot;&gt;https://agentclientprotocol.com&lt;/a&gt;][Agent Client Protocol]] (built-in or otherwise).&lt;/p&gt; 
&lt;p&gt;Agents without ACP support are out of scope for integrating with =agent-shell=. Having said that, if you do build an ACP layer like =claude-agent-acp=, then =agent-shell= can work with it.&lt;/p&gt; 
&lt;p&gt;** =agent-shell= not behaving as expected?&lt;/p&gt; 
&lt;p&gt;Could be the agent itself missing an [[&lt;a href=&quot;https://agentclientprotocol.com&quot;&gt;https://agentclientprotocol.com&lt;/a&gt;][Agent Client Protocol]] feature, =agent-shell= missing the feature, or both 😃 So which one is it? It&#39;s hard to tell unless we look at [[&lt;a href=&quot;https://agentclientprotocol.com&quot;&gt;https://agentclientprotocol.com&lt;/a&gt;][Agent Client Protocol]] traffic between the two.&lt;/p&gt; 
&lt;p&gt;** Is shx supported? No. There are reports that [[&lt;a href=&quot;https://github.com/xenodium/agent-shell/issues/543&quot;&gt;https://github.com/xenodium/agent-shell/issues/543&lt;/a&gt;][it does not work]] with agent-shell. ** Agent hangs at &quot;Loading...&quot; or fails with &quot;Method not found: initialize&quot; over TRAMP?&lt;/p&gt; 
&lt;p&gt;When =default-directory= is remote, the agent is started on the remote host via TRAMP. By default, TRAMP starts it through its own remote shell, which was reported to hang at &quot;Loading...&quot; in [[&lt;a href=&quot;https://github.com/xenodium/agent-shell/issues/872&quot;&gt;https://github.com/xenodium/agent-shell/issues/872&lt;/a&gt;][#872]]. Enabling TRAMP&#39;s direct asynchronous processes for the host (along with the =direct-async= setting below) resolved it:&lt;/p&gt; 
&lt;p&gt;#+begin_src emacs-lisp (connection-local-set-profile-variables &#39;remote-direct-async-process &#39;((tramp-direct-async-process . t)))&lt;/p&gt; 
&lt;p&gt;(connection-local-set-profiles &#39;(:application tramp :machine &quot;my-host&quot;) &#39;remote-direct-async-process) #+end_src&lt;/p&gt; 
&lt;p&gt;For the =ssh=, =scp=, and =rsync= methods, TRAMP runs direct asynchronous processes with =ssh -t -t=, which allocates a remote terminal. In #872, that terminal echoed =agent-shell=&#39;s requests back, failing with &quot;Method not found: initialize&quot;. The following tells TRAMP to skip =-t -t= for the host:&lt;/p&gt; 
&lt;p&gt;#+begin_src emacs-lisp (add-to-list &#39;tramp-connection-properties (list (regexp-quote &quot;/ssh:my-host:&quot;) &quot;direct-async&quot; t)) #+end_src&lt;/p&gt; 
&lt;p&gt;Direct asynchronous processes don&#39;t support interactive authentication (e.g. password prompts), and TRAMP falls back to its default implementation for multi-hop connections. See TRAMP&#39;s &quot;Improving performance of asynchronous remote processes&quot; manual section for details.&lt;/p&gt; 
&lt;p&gt;Agent executables are looked up on the remote host via =tramp-remote-path= (not =exec-path=). If yours isn&#39;t found, add its remote directory to =tramp-remote-path= and run =M-x tramp-cleanup-connection=, as TRAMP caches the remote path per connection.&lt;/p&gt; 
&lt;p&gt;For mapping remote file paths between Emacs and the agent, see [[&lt;a href=&quot;https://github.com/junyi-hou/agent-shell-tramp&quot;&gt;https://github.com/junyi-hou/agent-shell-tramp&lt;/a&gt;][agent-shell-tramp]]. ** How do I view/get [[&lt;a href=&quot;https://agentclientprotocol.com&quot;&gt;https://agentclientprotocol.com&lt;/a&gt;][Agent Client Protocol]] traffic?&lt;/p&gt; 
&lt;ol&gt; 
 &lt;li&gt;=M-x agent-shell-toggle-logging= (make sure logging is ON).&lt;/li&gt; 
 &lt;li&gt;Reproduce the issue&lt;/li&gt; 
 &lt;li&gt;=M-x agent-shell-view-traffic=&lt;/li&gt; 
&lt;/ol&gt; 
&lt;p&gt;Browse through traffic and see if you can spot the issue. For example, if you see a request sent by the agent asking for user permission, but =agent-shell= isn&#39;t surfacing this permission, it looks like perhaps =agent-shell= is missing a feature.&lt;/p&gt; 
&lt;p&gt;For example, here&#39;s what a [[&lt;a href=&quot;https://agentclientprotocol.com/protocol/schema#session%2Frequest-permission&quot;&gt;https://agentclientprotocol.com/protocol/schema#session%2Frequest-permission&lt;/a&gt;][session/request_permission]] request would look like from the traffic viewer.&lt;/p&gt; 
&lt;p&gt;[[file:traffic.png]]&lt;/p&gt; 
&lt;p&gt;Sometimes including a traffic screenshot in an issue is enough. Other times including the full traffic is needed. From the shell or viewport, you can =M-x agent-shell-save-traffic= (or =M-x agent-shell-viewport-save-traffic=) to save as =.traffic=. From the traffic viewer itself, =M-x acp-traffic-save-to= does the same.&lt;/p&gt; 
&lt;p&gt;** Where should I file bug or feature request?&lt;/p&gt; 
&lt;p&gt;*** Agent issues or feature requests&lt;/p&gt; 
&lt;p&gt;If you&#39;re able to determine the agent is missing a feature (or a bug is present) in their [[&lt;a href=&quot;https://agentclientprotocol.com&quot;&gt;https://agentclientprotocol.com&lt;/a&gt;][Agent Client Protocol]] implementation, please file an issue directly with the agent folks. For example:&lt;/p&gt; 
&lt;ul&gt; 
 &lt;li&gt;[[&lt;a href=&quot;https://github.com/agentclientprotocol/claude-agent-acp&quot;&gt;https://github.com/agentclientprotocol/claude-agent-acp&lt;/a&gt;][claude-agent-acp]]: For Claude Agent.&lt;/li&gt; 
 &lt;li&gt;[[&lt;a href=&quot;https://github.com/zed-industries/codex-acp&quot;&gt;https://github.com/zed-industries/codex-acp&lt;/a&gt;][codex-acp]]: For Codex.&lt;/li&gt; 
 &lt;li&gt;[[&lt;a href=&quot;https://github.com/google-gemini/gemini-cli&quot;&gt;https://github.com/google-gemini/gemini-cli&lt;/a&gt;][Gemini CLI]].&lt;/li&gt; 
 &lt;li&gt;[[&lt;a href=&quot;https://block.github.io/goose/docs/getting-started/installation&quot;&gt;https://block.github.io/goose/docs/getting-started/installation&lt;/a&gt;][Goose]].&lt;/li&gt; 
 &lt;li&gt;[[&lt;a href=&quot;https://github.com/QwenLM/qwen-code&quot;&gt;https://github.com/QwenLM/qwen-code&lt;/a&gt;][Qwen Code]].&lt;/li&gt; 
&lt;/ul&gt; 
&lt;p&gt;*** =agent-shell= issues or feature requests&lt;/p&gt; 
&lt;p&gt;Alternatively, if you noticed =agent-shell= is missing a feature (or has a bug), please [[&lt;a href=&quot;https://github.com/xenodium/agent-shell/issues&quot;&gt;https://github.com/xenodium/agent-shell/issues&lt;/a&gt;][file an agent-shell issue]].&lt;/p&gt; 
&lt;p&gt;*** Not sure where to file an issue?&lt;/p&gt; 
&lt;p&gt;File [[&lt;a href=&quot;https://github.com/xenodium/agent-shell/issues&quot;&gt;https://github.com/xenodium/agent-shell/issues&lt;/a&gt;][in agent-shell]], but please try to provide details, so I can determine whether =agent-shell= or the agent itself needs work. Traffic data would be very useful here. Provide a screenshot or a .traffic file if you think it&#39;ll help. See [[&lt;a href=&quot;https://github.com/xenodium/agent-shell?tab=readme-ov-file#how-do-i-viewget-agent-client-protocol-traffic&quot;&gt;https://github.com/xenodium/agent-shell?tab=readme-ov-file#how-do-i-viewget-agent-client-protocol-traffic&lt;/a&gt;][how to get ACP traffic]].&lt;/p&gt; 
&lt;ul&gt; 
 &lt;li&gt;Contributing&lt;/li&gt; 
&lt;/ul&gt; 
&lt;p&gt;See [[file:CONTRIBUTING.org][&lt;a href=&quot;http://CONTRIBUTING.org&quot;&gt;CONTRIBUTING.org&lt;/a&gt;]].&lt;/p&gt; 
&lt;ul&gt; 
 &lt;li&gt;Contributors&lt;/li&gt; 
&lt;/ul&gt; 
&lt;p&gt;#+HTML: &lt;a href=&quot;https://github.com/xenodium/agent-shell/graphs/contributors&quot;&gt; #+HTML: &lt;img src=&quot;https://contrib.rocks/image?repo=xenodium/agent-shell&quot; /&gt; #+HTML: &lt;/a&gt;&lt;/p&gt; 
&lt;p&gt;Made with [[&lt;a href=&quot;https://contrib.rocks&quot;&gt;https://contrib.rocks&lt;/a&gt;][contrib.rocks]].&lt;/p&gt;</description>
      
      <media:content url="https://opengraph.githubassets.com/bd072b5c3e732aae2c4d60b43fbd6606e5b4fa51851f2b9fc67315813f989980/xenodium/agent-shell" medium="image" />
      
    </item>
    
    <item>
      <title>syl20bnr/spacemacs</title>
      <link>https://github.com/syl20bnr/spacemacs</link>
      <description>&lt;p&gt;A community-driven Emacs distribution - The best editor is neither Emacs nor Vim, it&#39;s Emacs *and* Vim!&lt;/p&gt;&lt;p&gt;&lt;img src=&quot;https://mshibanami.github.io/GitHubTrendingRSS/assets/icons/link.png&quot; width=&quot;20&quot; height=&quot;20&quot; alt=&quot;link&quot; style=&quot;margin: 0 8px 0 0; padding: 0; display: inline-block; vertical-align: middle;&quot; /&gt;&lt;a href=&quot;http://spacemacs.org&quot;&gt;http://spacemacs.org&lt;/a&gt;&lt;/p&gt;&lt;hr&gt;&lt;p&gt;&lt;a name=&quot;top&quot; id=&quot;fork-destination-box&quot;&gt;&lt;/a&gt; &lt;a href=&quot;https://spacemacs.org&quot;&gt;&lt;img src=&quot;https://raw.githubusercontent.com/syl20bnr/spacemacs/develop/assets/spacemacs-badge.svg?sanitize=true&quot; alt=&quot;Made with Spacemacs&quot; height=&quot;20&quot; /&gt;&lt;/a&gt; &lt;a href=&quot;https://www.gnu.org/licenses/gpl-3.0.en.html&quot;&gt;&lt;img src=&quot;https://raw.githubusercontent.com/syl20bnr/spacemacs/develop/assets/gplv3.png&quot; alt=&quot;GPLv3 Software&quot; align=&quot;right&quot; height=&quot;20&quot; /&gt;&lt;/a&gt; &lt;a href=&quot;https://www.twitter.com/spacemacs&quot;&gt;&lt;img src=&quot;https://i.imgur.com/tXSoThF.png&quot; alt=&quot;Twitter&quot; align=&quot;right&quot; height=&quot;20&quot; /&gt;&lt;/a&gt;&lt;/p&gt; 
&lt;!-- logo and links --&gt; 
&lt;p align=&quot;center&quot;&gt;&lt;img src=&quot;https://raw.githubusercontent.com/syl20bnr/spacemacs/develop/doc/img/title2.png&quot; alt=&quot;Spacemacs&quot; /&gt;&lt;/p&gt; 
&lt;p align=&quot;center&quot;&gt; &lt;b&gt;&lt;a href=&quot;https://spacemacs.org/doc/DOCUMENTATION#core-pillars&quot;&gt;philosophy&lt;/a&gt;&lt;/b&gt; | &lt;b&gt;&lt;a href=&quot;https://spacemacs.org/doc/DOCUMENTATION#who-can-benefit-from-this&quot;&gt;for whom?&lt;/a&gt;&lt;/b&gt; | &lt;b&gt;&lt;a href=&quot;https://spacemacs.org/doc/DOCUMENTATION#screenshots&quot;&gt;screenshots&lt;/a&gt;&lt;/b&gt; | &lt;b&gt;&lt;a href=&quot;https://spacemacs.org/doc/DOCUMENTATION.html&quot;&gt;documentation&lt;/a&gt;&lt;/b&gt; | &lt;b&gt;&lt;a href=&quot;https://raw.githubusercontent.com/syl20bnr/spacemacs/develop/CONTRIBUTING.org&quot;&gt;contribute&lt;/a&gt;&lt;/b&gt; | &lt;b&gt;&lt;a href=&quot;https://spacemacs.org/doc/DOCUMENTATION#achievements&quot;&gt;achievements&lt;/a&gt;&lt;/b&gt; | &lt;b&gt;&lt;a href=&quot;https://spacemacs.org/doc/FAQ&quot;&gt;FAQ&lt;/a&gt;&lt;/b&gt; &lt;/p&gt; 
&lt;!-- badges --&gt; 
&lt;p align=&quot;center&quot;&gt; &lt;a href=&quot;https://gitter.im/syl20bnr/spacemacs?utm_source=badge&amp;amp;utm_medium=badge&amp;amp;utm_campaign=pr-badge&amp;amp;utm_content=badge&quot;&gt;&lt;img src=&quot;https://badges.gitter.im/Join%20Chat.svg?sanitize=true&quot; alt=&quot;Gitter&quot; /&gt;&lt;/a&gt; &lt;a href=&quot;https://discord.gg/p4MddFu6Ag&quot;&gt;&lt;img src=&quot;https://img.shields.io/badge/chat-on%20discord-7289da.svg?sanitize=true&quot; alt=&quot;Discord&quot; /&gt;&lt;/a&gt; &lt;a href=&quot;https://github.com/syl20bnr/spacemacs/actions/workflows/elisp_test.yml&quot;&gt;&lt;img src=&quot;https://github.com/syl20bnr/spacemacs/actions/workflows/elisp_test.yml/badge.svg?branch=develop&quot; alt=&quot;elisp state&quot; /&gt;&lt;/a&gt; &lt;a href=&quot;https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&amp;amp;hosted_button_id=ESFVNPKP4Y742&quot;&gt;&lt;img src=&quot;https://img.shields.io/badge/Paypal-Donate-blue.svg?sanitize=true&quot; alt=&quot;Donate&quot; /&gt;&lt;/a&gt; &lt;a href=&quot;https://shop.spreadshirt.com/spacemacs-shop&quot;&gt;&lt;img src=&quot;https://img.shields.io/badge/Shop-T--Shirts-blue.svg?sanitize=true&quot; alt=&quot;Merchandise&quot; /&gt;&lt;/a&gt; &lt;a href=&quot;https://www.slant.co/topics/12/~what-are-the-best-programming-text-editors&quot;&gt;&lt;img src=&quot;https://img.shields.io/badge/Slant-Recommend-ff69b4.svg?sanitize=true&quot; alt=&quot;Recommend it&quot; /&gt;&lt;/a&gt; &lt;/p&gt; 
&lt;hr /&gt; 
&lt;p&gt;&lt;strong&gt;Quick Start&lt;/strong&gt;&lt;/p&gt; 
&lt;p&gt;If you &lt;em&gt;don&#39;t&lt;/em&gt; have an existing Emacs setup and want to run Spacemacs as your configuration, and if you have all &lt;a href=&quot;https://raw.githubusercontent.com/syl20bnr/spacemacs/develop/#prerequisites&quot;&gt;prerequisites&lt;/a&gt; installed, you can install Spacemacs with one line:&lt;/p&gt; 
&lt;ul&gt; 
 &lt;li&gt; &lt;p&gt;shell:&lt;/p&gt; &lt;pre&gt;&lt;code class=&quot;language-sh&quot;&gt;git clone https://github.com/syl20bnr/spacemacs &quot;${HOME}/.emacs.d&quot;
&lt;/code&gt;&lt;/pre&gt; &lt;/li&gt; 
 &lt;li&gt; &lt;p&gt;Windows PowerShell:&lt;/p&gt; &lt;pre&gt;&lt;code class=&quot;language-powershell&quot;&gt;git clone https://github.com/syl20bnr/spacemacs &quot;${HOME}/.emacs.d&quot;
&lt;/code&gt;&lt;/pre&gt; &lt;p&gt;If &lt;code&gt;HOME&lt;/code&gt; is not set in environment or in registry:&lt;/p&gt; &lt;pre&gt;&lt;code class=&quot;language-powershell&quot;&gt;git clone https://github.com/syl20bnr/spacemacs &quot;${env:APPDATA}/.emacs.d&quot;
&lt;/code&gt;&lt;/pre&gt; &lt;/li&gt; 
&lt;/ul&gt; 
&lt;p&gt;If you do have an existing Emacs configuration, look at the &lt;a href=&quot;https://raw.githubusercontent.com/syl20bnr/spacemacs/develop/#install&quot;&gt;full installation instructions&lt;/a&gt; for other options.&lt;/p&gt; 
&lt;h1&gt;Introduction&lt;/h1&gt; 
&lt;p&gt;Spacemacs is a new way of experiencing Emacs -- it&#39;s a sophisticated and polished set-up, focused on &lt;em&gt;ergonomics&lt;/em&gt;, &lt;em&gt;mnemonics&lt;/em&gt; and &lt;em&gt;consistency&lt;/em&gt;.&lt;/p&gt; 
&lt;p&gt;Just clone and launch it, then press the space bar to explore the interactive list of carefully-chosen key bindings. You can also press the home buffer&#39;s &lt;code&gt;[?]&lt;/code&gt; button for some great first key bindings to try.&lt;/p&gt; 
&lt;p&gt;Spacemacs can be used naturally by both Emacs and Vim users -- you can even mix the two editing styles. Being able to quickly switch between input styles, makes Spacemacs a great tool for pair-programming.&lt;/p&gt; 
&lt;p&gt;Spacemacs is currently in beta, and any contributions are very welcome.&lt;/p&gt; 
&lt;p&gt;&lt;img src=&quot;https://raw.githubusercontent.com/syl20bnr/spacemacs/develop/doc/img/spacemacs-python.png&quot; alt=&quot;spacemacs_python&quot; /&gt;&lt;/p&gt; 
&lt;h1&gt;Features&lt;/h1&gt; 
&lt;ul&gt; 
 &lt;li&gt;&lt;strong&gt;Great documentation:&lt;/strong&gt; access the Spacemacs documentation with &lt;kbd&gt;SPC h SPC&lt;/kbd&gt;.&lt;/li&gt; 
 &lt;li&gt;&lt;strong&gt;Beautiful GUI:&lt;/strong&gt; you&#39;ll love the distraction free UI and its functional mode-line.&lt;/li&gt; 
 &lt;li&gt;&lt;strong&gt;Excellent ergonomics:&lt;/strong&gt; all the key bindings are accessible by pressing the &lt;kbd&gt;SPC&lt;/kbd&gt; or &lt;kbd&gt;Alt-m&lt;/kbd&gt;.&lt;/li&gt; 
 &lt;li&gt;&lt;strong&gt;Mnemonic key bindings:&lt;/strong&gt; commands have mnemonic prefixes like &lt;kbd&gt;SPC b&lt;/kbd&gt; for all the buffer commands or &lt;kbd&gt;SPC p&lt;/kbd&gt; for the project commands.&lt;/li&gt; 
 &lt;li&gt;&lt;strong&gt;Batteries included:&lt;/strong&gt; discover hundreds of ready-to-use packages nicely organized in configuration layers following a set of &lt;a href=&quot;https://raw.githubusercontent.com/syl20bnr/spacemacs/develop/doc/CONVENTIONS.org&quot;&gt;conventions &lt;/a&gt;.&lt;/li&gt; 
&lt;/ul&gt; 
&lt;h1&gt;Documentation&lt;/h1&gt; 
&lt;p&gt;Comprehensive documentation is available for each layer by pressing &lt;kbd&gt;SPC h SPC&lt;/kbd&gt;.&lt;/p&gt; 
&lt;p&gt;You can also check the &lt;a href=&quot;https://raw.githubusercontent.com/syl20bnr/spacemacs/develop/doc/DOCUMENTATION.org&quot;&gt;general documentation&lt;/a&gt;, &lt;a href=&quot;https://raw.githubusercontent.com/syl20bnr/spacemacs/develop/doc/QUICK_START.org&quot;&gt;quick start guide&lt;/a&gt; and the &lt;a href=&quot;https://raw.githubusercontent.com/syl20bnr/spacemacs/develop/doc/FAQ.org&quot;&gt;FAQ&lt;/a&gt;.&lt;/p&gt; 
&lt;h1&gt;Getting Help&lt;/h1&gt; 
&lt;p&gt;If you need help, ask your questions in the &lt;a href=&quot;https://gitter.im/syl20bnr/spacemacs&quot;&gt;Gitter Chat&lt;/a&gt; and a member of the community will help you out.&lt;/p&gt; 
&lt;p&gt;If you prefer IRC, connect to the &lt;a href=&quot;https://irc.gitter.im/&quot;&gt;Gitter Chat IRC server&lt;/a&gt; and join the &lt;code&gt;#syl20bnr/spacemacs&lt;/code&gt; channel.&lt;/p&gt; 
&lt;p&gt;Last but not least there are a lot of high class tutorials available on YouTube:&lt;/p&gt; 
&lt;ul&gt; 
 &lt;li&gt;Jack of Some&#39;s &lt;a href=&quot;https://www.youtube.com/watch?v=r-BHx7VNX5s&amp;amp;list=PLd_Oyt6lAQ8Rxb0HUnGbRrn6R4Cdt2yoI&quot;&gt;Spacemacs tutorial videos&lt;/a&gt;.&lt;/li&gt; 
 &lt;li&gt;GDQuest&#39;s &lt;a href=&quot;https://www.youtube.com/watch?v=hCNOB5jjtmc&amp;amp;list=PLhqJJNjsQ7KFkMVBunWWzFD8SlH714qm4&quot;&gt;Game Design oriented tutorials &lt;/a&gt; to Spacemacs.&lt;/li&gt; 
 &lt;li&gt;Practicalli&#39;s &lt;a href=&quot;https://www.youtube.com/watch?v=jMJ58Gcc1RI&amp;amp;list=PLpr9V-R8ZxiCHMl2_dn1Fovcd34Oz45su&quot;&gt;Clojure tutorials based on Spacemacs&lt;/a&gt;.&lt;/li&gt; 
 &lt;li&gt;Eivind Fonn&#39;s classic &lt;a href=&quot;https://www.youtube.com/watch?v=ZFV5EqpZ6_s&amp;amp;list=PLrJ2YN5y27KLhd3yNs2dR8_inqtEiEweE&quot;&gt;Spacemacs ABC&lt;/a&gt;.&lt;/li&gt; 
&lt;/ul&gt; 
&lt;h1&gt;Prerequisites&lt;/h1&gt; 
&lt;ol&gt; 
 &lt;li&gt; &lt;p&gt;A package manager if the OS doesn&#39;t have one already.&lt;/p&gt; &lt;/li&gt; 
 &lt;li&gt; &lt;p&gt;Spacemacs is an extension of a popular text editor called &lt;a href=&quot;https://www.gnu.org/software/emacs/&quot;&gt;Emacs&lt;/a&gt;. So you&#39;ll need Emacs installed first.&lt;/p&gt; &lt;p&gt;Spacemacs requires Emacs 28.2 or above. The development version of Emacs is not &lt;em&gt;officially&lt;/em&gt; supported, but it should nevertheless be expected to work.&lt;/p&gt; &lt;/li&gt; 
 &lt;li&gt; &lt;p&gt;&lt;a href=&quot;https://git-scm.com/downloads&quot;&gt;git&lt;/a&gt; is required to download and update Spacemacs.&lt;/p&gt; &lt;/li&gt; 
 &lt;li&gt; &lt;p&gt;Tar, in particular &lt;a href=&quot;https://www.gnu.org/software/tar/&quot;&gt;GNU Tar&lt;/a&gt;, is required to install and update Emacs packages used by Spacemacs.&lt;/p&gt; &lt;/li&gt; 
 &lt;li&gt; &lt;p&gt;&lt;em&gt;(Optional)&lt;/em&gt; The default font used by Spacemacs is &lt;a href=&quot;https://adobe-fonts.github.io/source-code-pro/&quot;&gt;Source Code Pro&lt;/a&gt;. You may customize your own font settings and choose another font. If you want to use this default font, it must be installed.&lt;/p&gt; &lt;p&gt;Spacemacs also uses fallback fonts to ensure certain Unicode symbols it uses symbols appear correctly. The fonts used are determined by the OS:&lt;/p&gt; 
  &lt;ul&gt; 
   &lt;li&gt;Linux: &lt;a href=&quot;https://fonts.google.com/specimen/Nanum+Gothic&quot;&gt;Nanum Gothic&lt;/a&gt;&lt;/li&gt; 
   &lt;li&gt;macOS: &lt;a href=&quot;https://docs.microsoft.com/en-us/typography/font-list/arial-unicode-ms&quot;&gt;Arial Unicode MS&lt;/a&gt;&lt;/li&gt; 
   &lt;li&gt;Windows: &lt;a href=&quot;https://docs.microsoft.com/en-us/typography/font-list/ms-gothic&quot;&gt;MS Gothic&lt;/a&gt; and &lt;a href=&quot;https://docs.microsoft.com/en-us/typography/font-list/lucida-sans-unicode&quot;&gt;Lucida Sans Unicode&lt;/a&gt;&lt;/li&gt; 
  &lt;/ul&gt; &lt;p&gt;If the mode-line doesn&#39;t look similar to the &lt;a href=&quot;https://raw.githubusercontent.com/syl20bnr/spacemacs/develop/#introduction&quot;&gt;picture at the top of this page&lt;/a&gt;, make sure you have the correct fallback font installed.&lt;/p&gt; &lt;/li&gt; 
 &lt;li&gt; &lt;p&gt;&lt;em&gt;(Optional)&lt;/em&gt; Various commands in Spacemacs needs one of the following line searching program:&lt;/p&gt; 
  &lt;ul&gt; 
   &lt;li&gt;&lt;a href=&quot;https://github.com/BurntSushi/ripgrep&quot;&gt;ripgrep (rg)&lt;/a&gt;&lt;/li&gt; 
   &lt;li&gt;&lt;a href=&quot;https://github.com/ggreer/the_silver_searcher&quot;&gt;The silver searcher (ag)&lt;/a&gt;&lt;/li&gt; 
   &lt;li&gt;&lt;a href=&quot;https://github.com/beyondgrep/ack3&quot;&gt;ack&lt;/a&gt;&lt;/li&gt; 
   &lt;li&gt;&lt;a href=&quot;https://www.gnu.org/software/grep/&quot;&gt;GNU Grep&lt;/a&gt; or &lt;a href=&quot;https://man.openbsd.org/grep&quot;&gt;BSD Grep&lt;/a&gt;&lt;/li&gt; 
  &lt;/ul&gt; &lt;p&gt;Grep is very slow but it&#39;s widely available on most systems and is used as an fallback option.&lt;/p&gt; &lt;p&gt;We strongly recommend &lt;a href=&quot;https://github.com/BurntSushi/ripgrep&quot;&gt;ripgrep&lt;/a&gt; over other line searching programs, for its blazing fast speed. The following subsections helps you to install it.&lt;/p&gt; &lt;/li&gt; 
&lt;/ol&gt; 
&lt;h3&gt;Linux&lt;/h3&gt; 
&lt;ol&gt; 
 &lt;li&gt; &lt;p&gt;Most Linux distribution ships a package manager already and if this is the case you are all set for this step.&lt;/p&gt; &lt;p&gt;If it doesn&#39;t, you may need to build the software mentioned below from their sources.&lt;/p&gt; &lt;/li&gt; 
 &lt;li&gt; &lt;p&gt;In most distributions, Emacs is installed via an &lt;code&gt;emacs&lt;/code&gt; package from the package manager.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;N.B.&lt;/strong&gt; DO not install &lt;a href=&quot;https://www.xemacs.org&quot;&gt;XEmacs&lt;/a&gt; because it&#39;s not supported by Spacemacs. XEmacs is an old fork of Emacs with various &lt;a href=&quot;https://www.emacswiki.org/emacs/EmacsAndXEmacs&quot;&gt;subtle differences&lt;/a&gt;.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;N.B.&lt;/strong&gt; Some Linux distributions support only Emacs versions older than 28.2. In this case you should &lt;a href=&quot;https://www.gnu.org/software/emacs/manual/html_node/efaq/Installing-Emacs.html&quot;&gt;build it from source&lt;/a&gt; instead.&lt;/p&gt; &lt;/li&gt; 
 &lt;li&gt; &lt;p&gt;Very likely Git is already installed on your system. Otherwise, you should be able to install &lt;code&gt;git&lt;/code&gt; from your system&#39;s package manager.&lt;/p&gt; &lt;/li&gt; 
 &lt;li&gt; &lt;p&gt;Very likely Tar is already installed on your system. Otherwise, you should be able to install &lt;code&gt;tar&lt;/code&gt; from your system&#39;s package manager.&lt;/p&gt; &lt;/li&gt; 
 &lt;li&gt; &lt;p&gt;&lt;em&gt;(Optional)&lt;/em&gt; If Nerd Fonts and Nanum Gothic are available from your distribution&#39;s package manager, you should install it there.&lt;/p&gt; &lt;p&gt;Otherwise, the generic way to install it is:&lt;/p&gt; 
  &lt;ol&gt; 
   &lt;li&gt; &lt;p&gt;Download the latest pre-built &lt;code&gt;TTF&lt;/code&gt; font from &lt;a href=&quot;https://github.com/adobe-fonts/source-code-pro/releases/latest&quot;&gt;https://github.com/adobe-fonts/source-code-pro/releases/latest&lt;/a&gt; and &lt;a href=&quot;https://fonts.google.com/specimen/Nanum+Gothic&quot;&gt;https://fonts.google.com/specimen/Nanum+Gothic&lt;/a&gt;.&lt;/p&gt; &lt;/li&gt; 
   &lt;li&gt; &lt;p&gt;Extract the archive and move the font files to &lt;code&gt;~/.fonts&lt;/code&gt;.&lt;/p&gt; &lt;/li&gt; 
   &lt;li&gt; &lt;p&gt;Refresh font cache with:&lt;/p&gt; &lt;/li&gt; 
  &lt;/ol&gt; &lt;pre&gt;&lt;code class=&quot;language-sh&quot;&gt;fc-cache -fv
&lt;/code&gt;&lt;/pre&gt; &lt;/li&gt; 
 &lt;li&gt; &lt;p&gt;&lt;em&gt;(Optional)&lt;/em&gt; If your distribution is listed &lt;a href=&quot;https://github.com/BurntSushi/ripgrep#installation=&quot;&gt;here&lt;/a&gt;, follow the instructions to install ripgrep (rg). Otherwise, you can download its pre-built binary or build it from source.&lt;/p&gt; &lt;/li&gt; 
&lt;/ol&gt; 
&lt;h3&gt;macOS&lt;/h3&gt; 
&lt;ol&gt; 
 &lt;li&gt; &lt;p&gt;The most popular package manager on macOS is &lt;a href=&quot;https://brew.sh&quot;&gt;Homebrew&lt;/a&gt;, to install it:&lt;/p&gt; &lt;pre&gt;&lt;code class=&quot;language-sh&quot;&gt;/bin/bash -c &quot;$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)&quot;
&lt;/code&gt;&lt;/pre&gt; &lt;/li&gt; 
 &lt;li&gt; &lt;p&gt;Several options exist for installing Emacs on macOS:&lt;/p&gt; 
  &lt;ol&gt; 
   &lt;li&gt; &lt;p&gt;&lt;a href=&quot;https://github.com/d12frosted/homebrew-emacs-plus&quot;&gt;Emacs Plus&lt;/a&gt; features &lt;a href=&quot;https://github.com/d12frosted/homebrew-emacs-plus#features-explained&quot;&gt;additional functionalities&lt;/a&gt; over base Emacs.&lt;/p&gt; &lt;pre&gt;&lt;code class=&quot;language-sh&quot;&gt;brew tap d12frosted/emacs-plus

# install latest stable release, with Spacemacs icon and native compilation
brew install emacs-plus --with-spacemacs-icon --with-native-comp
&lt;/code&gt;&lt;/pre&gt; &lt;p&gt;You will require the latest version of Xcode Command Line tools, which can be downloaded from the &lt;a href=&quot;https://developer.apple.com/download/all/&quot;&gt;Apple Developer Portal&lt;/a&gt; or by running the following command:&lt;/p&gt; &lt;pre&gt;&lt;code class=&quot;language-sh&quot;&gt;softwareupdate --all --install --force
&lt;/code&gt;&lt;/pre&gt; &lt;/li&gt; 
   &lt;li&gt; &lt;p&gt;&lt;a href=&quot;https://github.com/railwaycat/homebrew-emacsmacport&quot;&gt;Emacs Mac Port&lt;/a&gt; adds native GUI support to Emacs 28. And the full list of features is available &lt;a href=&quot;https://bitbucket.org/mituharu/emacs-mac/src/master/README-mac&quot;&gt;here&lt;/a&gt;.&lt;/p&gt; &lt;pre&gt;&lt;code class=&quot;language-sh&quot;&gt;brew tap railwaycat/emacsmacport
brew install emacs-mac
&lt;/code&gt;&lt;/pre&gt; &lt;/li&gt; 
   &lt;li&gt; &lt;p&gt;&lt;a href=&quot;https://emacsformacosx.com/&quot;&gt;Emacs for Mac OS X&lt;/a&gt; is the binary build of GNU Emacs, &lt;em&gt;without&lt;/em&gt; any extra feature.&lt;/p&gt; &lt;pre&gt;&lt;code class=&quot;language-sh&quot;&gt;brew install --cask emacs
&lt;/code&gt;&lt;/pre&gt; &lt;/li&gt; 
  &lt;/ol&gt; &lt;/li&gt; 
 &lt;li&gt; &lt;p&gt;To install &lt;code&gt;git&lt;/code&gt;:&lt;/p&gt; &lt;pre&gt;&lt;code class=&quot;language-sh&quot;&gt;brew install git
&lt;/code&gt;&lt;/pre&gt; &lt;/li&gt; 
 &lt;li&gt; &lt;p&gt;macOS ships with &lt;a href=&quot;https://man.openbsd.org/tar&quot;&gt;BSD Tar&lt;/a&gt;, but there are reports of weird issues so we require &lt;a href=&quot;https://www.gnu.org/software/tar/&quot;&gt;GNU Tar&lt;/a&gt; instead.&lt;/p&gt; &lt;pre&gt;&lt;code class=&quot;language-sh&quot;&gt;brew install gnu-tar
&lt;/code&gt;&lt;/pre&gt; &lt;/li&gt; 
 &lt;li&gt; &lt;p&gt;&lt;em&gt;(Optional)&lt;/em&gt; To install Source Code Pro Font:&lt;/p&gt; &lt;pre&gt;&lt;code class=&quot;language-sh&quot;&gt;brew tap homebrew/cask-fonts
brew install --cask font-source-code-pro
&lt;/code&gt;&lt;/pre&gt; &lt;p&gt;Arial Unicode MS is shipped with macOS v10.5 and later so you don&#39;t need to install it manually.&lt;/p&gt; &lt;/li&gt; 
 &lt;li&gt; &lt;p&gt;&lt;em&gt;(Optional)&lt;/em&gt; You can install &lt;code&gt;ripgrep&lt;/code&gt; via &lt;code&gt;Homebrew&lt;/code&gt;:&lt;/p&gt; &lt;pre&gt;&lt;code class=&quot;language-sh&quot;&gt;brew install ripgrep
&lt;/code&gt;&lt;/pre&gt; &lt;/li&gt; 
&lt;/ol&gt; 
&lt;h3&gt;Windows&lt;/h3&gt; 
&lt;p&gt;We recommend using wsl2 with wslg support especially with a pgtk build of emacs and wayland. For the installation please refer to the linux installation section. When running emacs within your wsl2 environment emacs will be handled like any other windows application.&lt;/p&gt; 
&lt;p&gt;If this is not possible you can fallback to a native windows installation, however note that this will create a lot of subtle bugs especially with tls which we will most likely not be able to help with.&lt;/p&gt; 
&lt;p&gt;If you need to follow that path we recommend to at least use a package manager like &lt;a href=&quot;https://scoop.sh&quot;&gt;Scoop&lt;/a&gt; to install the needed packages.&lt;/p&gt; 
&lt;ol&gt; 
 &lt;li&gt; &lt;p&gt;You can install &lt;a href=&quot;https://scoop.sh&quot;&gt;Scoop&lt;/a&gt; via PowerShell:&lt;/p&gt; &lt;pre&gt;&lt;code class=&quot;language-powershell&quot;&gt;Set-ExecutionPolicy RemoteSigned -Scope CurrentUser # Optional: Needed to run a remote script the first time
irm get.scoop.sh | iex
&lt;/code&gt;&lt;/pre&gt; &lt;/li&gt; 
 &lt;li&gt; &lt;p&gt;Emacs can be installed in PowerShell:&lt;/p&gt; &lt;pre&gt;&lt;code class=&quot;language-powershell&quot;&gt;scoop bucket add extras
scoop install emacs
&lt;/code&gt;&lt;/pre&gt; &lt;/li&gt; 
 &lt;li&gt; &lt;p&gt;To install &lt;code&gt;git&lt;/code&gt; in PowerShell:&lt;/p&gt; &lt;pre&gt;&lt;code class=&quot;language-powershell&quot;&gt;scoop bucket add main
scoop install git
&lt;/code&gt;&lt;/pre&gt; &lt;/li&gt; 
 &lt;li&gt; &lt;p&gt;Windows 10 build 17063 and later ships with &lt;a href=&quot;https://man.openbsd.org/tar&quot;&gt;BSD Tar&lt;/a&gt;, but it&#39;s required to install &lt;a href=&quot;https://www.gnu.org/software/tar/&quot;&gt;GNU Tar&lt;/a&gt; instead to avoid possible issues. Alternatively, if you are running an earlier version of Windows, Tar isn&#39;t installed. In either case, you can install GNU Tar via:&lt;/p&gt; &lt;pre&gt;&lt;code class=&quot;language-powershell&quot;&gt;scoop bucket add main
scoop install tar
&lt;/code&gt;&lt;/pre&gt; &lt;/li&gt; 
 &lt;li&gt; &lt;p&gt;To install Source Code Pro Font in PowerShell:&lt;/p&gt; &lt;pre&gt;&lt;code class=&quot;language-powershell&quot;&gt;scoop bucket add KnotUntied_scoop-fonts https://github.com/KnotUntied/scoop-fonts
scoop install sourcecodepro
&lt;/code&gt;&lt;/pre&gt; &lt;p&gt;MS Gothic and Lucida Sans Unicode are shipped with Windows 2003 and later so you don&#39;t need to install it manually.&lt;/p&gt; &lt;/li&gt; 
 &lt;li&gt; &lt;p&gt;&lt;em&gt;(Optional)&lt;/em&gt; You can install &lt;code&gt;ripgrep&lt;/code&gt; in PowerShell:&lt;/p&gt; &lt;pre&gt;&lt;code class=&quot;language-powershell&quot;&gt;scoop bucket add main
scoop install ripgrep
&lt;/code&gt;&lt;/pre&gt; &lt;/li&gt; 
&lt;/ol&gt; 
&lt;h1&gt;Install&lt;/h1&gt; 
&lt;h2&gt;Default Install&lt;/h2&gt; 
&lt;ol&gt; 
 &lt;li&gt; &lt;p&gt;The default installation downloads Spacemacs to the &lt;code&gt;.emacs.d&lt;/code&gt; directory in your &lt;code&gt;HOME&lt;/code&gt; directory.&lt;/p&gt; &lt;p&gt;But in the case of Windows, &lt;code&gt;HOME&lt;/code&gt; is not set out-of-box. We recommend you to set it as an environment variable, with the same value as environment variable &lt;code&gt;HOMEPATH&lt;/code&gt;, which usually looks like &lt;code&gt;C:\Users\&amp;lt;username&amp;gt;&lt;/code&gt;.&lt;/p&gt; &lt;/li&gt; 
 &lt;li&gt; &lt;p&gt;Since Spacemacs will now be downloaded at &lt;code&gt;&quot;${HOME}/.emacs.d&quot;&lt;/code&gt;, if it already exists it&#39;ll be overridden.&lt;/p&gt; &lt;p&gt;Also, if you have either &lt;code&gt;&quot;${HOME}/.emacs.el&quot;&lt;/code&gt; or &lt;code&gt;&quot;${HOME}/.emacs&quot;&lt;/code&gt;, they will appear before Spacemacs in Emacs&#39;s initialization steps. Thus they must be renamed in order for Spacemacs to load correctly.&lt;/p&gt; &lt;p&gt;To backup/rename the aforementioned files/directory, in shell:&lt;/p&gt; &lt;pre&gt;&lt;code class=&quot;language-sh&quot;&gt;[ -d &quot;${HOME}/.emacs.d&quot; ] &amp;amp;&amp;amp; mv &quot;${HOME}/.emacs.d&quot; &quot;${HOME}/.emacs.d.bak&quot;
[ -f &quot;${HOME}/.emacs.el&quot; ] &amp;amp;&amp;amp; mv &quot;${HOME}/.emacs.el&quot; &quot;${HOME}/.emacs.el.bak&quot;
[ -f &quot;${HOME}/.emacs&quot; ] &amp;amp;&amp;amp; mv &quot;${HOME}/.emacs&quot; &quot;${HOME}/.emacs.bak&quot;
&lt;/code&gt;&lt;/pre&gt; &lt;p&gt;or in PowerShell:&lt;/p&gt; &lt;pre&gt;&lt;code class=&quot;language-powershell&quot;&gt;if( Test-Path -Path &quot;${HOME}/.emacs.d&quot; )
{
    Rename-Item &quot;${HOME}/.emacs.d&quot; &quot;${HOME}/.emacs.d.bak&quot;
}
if( Test-Path -Path &quot;${HOME}/.emacs.el&quot; )
{
    Rename-Item &quot;${HOME}/.emacs.el&quot; &quot;${HOME}/.emacs.el.bak&quot;
}
if( Test-Path -Path &quot;${HOME}/.emacs&quot; )
{
    Rename-Item &quot;${HOME}/.emacs&quot; &quot;${HOME}/.emacs.bak&quot;
}
&lt;/code&gt;&lt;/pre&gt; &lt;/li&gt; 
 &lt;li&gt; &lt;p&gt;Now clone this repository with Git. The following work for both shell and PowerShell:&lt;/p&gt; &lt;pre&gt;&lt;code class=&quot;language-sh&quot;&gt;git clone https://github.com/syl20bnr/spacemacs &quot;${HOME}/.emacs.d&quot;
&lt;/code&gt;&lt;/pre&gt; &lt;p&gt;In case you have a limited internet connection or limited speed:&lt;/p&gt; &lt;pre&gt;&lt;code class=&quot;language-sh&quot;&gt;git clone --depth 1 https://github.com/syl20bnr/spacemacs ~/.emacs.d
&lt;/code&gt;&lt;/pre&gt; &lt;/li&gt; 
 &lt;li&gt; &lt;p&gt;Now you can launch Emacs and Spacemacs will be loaded.&lt;/p&gt; &lt;/li&gt; 
&lt;/ol&gt; 
&lt;h2&gt;Alternative Install Location&lt;/h2&gt; 
&lt;p&gt;To install Spacemacs in a different location, we first need to introduce how Spacemacs is loaded:&lt;/p&gt; 
&lt;p&gt;When Emacs is started, it looks for the init file &lt;a href=&quot;https://www.gnu.org/software/emacs/manual/html_node/emacs/Find-Init.html&quot;&gt;in a deterministic way&lt;/a&gt;. The &lt;a href=&quot;https://raw.githubusercontent.com/syl20bnr/spacemacs/develop/#default-install&quot;&gt;default installation&lt;/a&gt; exploits it by occupying &lt;code&gt;&quot;${HOME}/.emacs.d/init.el&quot;&lt;/code&gt; and let Emacs use it as its init file.&lt;/p&gt; 
&lt;p&gt;In other word, in default installation, Emacs find and load &lt;code&gt;&quot;${HOME}/.emacs.d/init.el&quot;&lt;/code&gt;, which is then responsible to load other files in &lt;code&gt;&quot;${HOME}/.emacs.d&quot;&lt;/code&gt;.&lt;/p&gt; 
&lt;p&gt;If you want to install Spacemacs to a different location, you need to make sure it&#39;s loaded by Emacs in one of its &lt;a href=&quot;https://www.gnu.org/software/emacs/manual/html_node/emacs/Find-Init.html&quot;&gt;init file&lt;/a&gt;.&lt;/p&gt; 
&lt;p&gt;For example, if you&#39;ve cloned Spacemacs to &lt;code&gt;&quot;${HOME}/Spacemacs&quot;&lt;/code&gt;, and if you use &lt;code&gt;&quot;${HOME}/.emacs.el&quot;&lt;/code&gt; as Emacs init file, then the following lines in &lt;code&gt;&quot;${HOME}/.emacs.el&quot;&lt;/code&gt;:&lt;/p&gt; 
&lt;pre&gt;&lt;code class=&quot;language-elisp&quot;&gt;;; load Spacemacs&#39;s initialization file, &quot;~&quot; is equivalent to &quot;${HOME}&quot;
(load-file &quot;~/Spacemacs/init.el&quot;)
&lt;/code&gt;&lt;/pre&gt; 
&lt;h1&gt;First Launch and Configuration&lt;/h1&gt; 
&lt;ol&gt; 
 &lt;li&gt; &lt;p&gt;After cloning Spacemacs, the first time when you launch Emacs, Spacemacs will automatically install the essential packages it requires. This step is the bootstrap.&lt;/p&gt; &lt;/li&gt; 
 &lt;li&gt; &lt;p&gt;Once the bootstrap packages are installed, Spacemacs checks whether you have an customization file &lt;code&gt;&quot;${HOME}/.spacemacs&quot;&lt;/code&gt;, known as &lt;code&gt;dotspacemacs&lt;/code&gt;:&lt;/p&gt; 
  &lt;ul&gt; 
   &lt;li&gt;If it already exists, Spacemacs loads it as the configuration.&lt;/li&gt; 
   &lt;li&gt;Otherwise, you need to answer a few questions and Spacemacs will generate the &lt;code&gt;dotspacemacs&lt;/code&gt; file for you.&lt;/li&gt; 
  &lt;/ul&gt; &lt;p&gt;If you are new to Emacs and/or Spacemacs, it&#39;s fine to just accept the default choices. They can be changed in the &lt;code&gt;dotspacemacs&lt;/code&gt; file later.&lt;/p&gt; &lt;/li&gt; 
 &lt;li&gt; &lt;p&gt;Spacemacs will download and install remaining packages it will require, according to your &lt;code&gt;dotspacemacs&lt;/code&gt;. When the all the packages have been installed, restart Emacs to complete the installation.&lt;/p&gt; &lt;/li&gt; 
 &lt;li&gt; &lt;p&gt;&lt;code&gt;dotspacemacs&lt;/code&gt; is the configuration file for Spacemacs, it&#39;s self explanatory and is written in Emacs Lisp. Read &lt;a href=&quot;https://raw.githubusercontent.com/syl20bnr/spacemacs/develop/doc/DOCUMENTATION.org&quot;&gt;general documentation&lt;/a&gt; and &lt;a href=&quot;https://raw.githubusercontent.com/syl20bnr/spacemacs/develop/doc/QUICK_START.org&quot;&gt;quick start guide&lt;/a&gt; for more information.&lt;/p&gt; &lt;/li&gt; 
 &lt;li&gt; &lt;p&gt;In case you want to store your &lt;code&gt;dotspacemacs&lt;/code&gt; at another location, say under &lt;code&gt;&quot;${HOME}/.spacemacs.d&quot;&lt;/code&gt;:&lt;/p&gt; 
  &lt;ul&gt; 
   &lt;li&gt;First set the environment variable &lt;code&gt;SPACEMACSDIR&lt;/code&gt; to &lt;code&gt;&quot;${HOME}/.spacemacs.d&quot;&lt;/code&gt;.&lt;/li&gt; 
   &lt;li&gt;Move &lt;code&gt;&quot;${HOME}/.spacemacs&quot;&lt;/code&gt; to &lt;code&gt;&quot;${HOME}/.spacemacs.d/init.el&quot;&lt;/code&gt;.&lt;/li&gt; 
  &lt;/ul&gt; &lt;p&gt;In other word, set &lt;code&gt;SPACEMACSDIR&lt;/code&gt; to the parent directory of your &lt;code&gt;dotspacemacs&lt;/code&gt;, and move &lt;code&gt;dotspacemacs&lt;/code&gt; to the said directory.&lt;/p&gt; &lt;/li&gt; 
&lt;/ol&gt; 
&lt;h2&gt;Spacemacs logo&lt;/h2&gt; 
&lt;p&gt;For Linux users, create &lt;code&gt;spacemacs.desktop&lt;/code&gt; in &lt;code&gt;~/.local/share/applications/&lt;/code&gt; using &lt;a href=&quot;https://github.com/emacs-mirror/emacs/raw/master/etc/emacs.desktop&quot;&gt;this .desktop file&lt;/a&gt; as a reference. Change the &lt;code&gt;Name&lt;/code&gt; parameter to &lt;code&gt;Name=Spacemacs&lt;/code&gt; and the &lt;code&gt;Icon&lt;/code&gt; parameter to &lt;code&gt;Icon=/PATH/TO/EMACSD/core/banners/img/spacemacs.png&lt;/code&gt; where &lt;code&gt;PATH/TO/EMACSD&lt;/code&gt; is the path to your &lt;code&gt;.emacs.d&lt;/code&gt; directory, by default &lt;code&gt;~/.emacs.d&lt;/code&gt;.&lt;/p&gt; 
&lt;p&gt;For macOS users, you need to &lt;a href=&quot;https://github.com/nashamri/spacemacs-logo&quot;&gt;download the .icns version of the logo&lt;/a&gt; and simply &lt;a href=&quot;https://www.idownloadblog.com/2014/07/16/how-to-change-app-icon-mac/&quot;&gt;change the logo on the Dock&lt;/a&gt;.&lt;/p&gt; 
&lt;h2&gt;Notes&lt;/h2&gt; 
&lt;ul&gt; 
 &lt;li&gt; &lt;p&gt;Depending on the installed version of GnuTLS, securely installing Emacs packages may fail. If this happens to you please update your OS and Emacs. If you are behind a company proxy please trust the company firewall cert. We do not longer support disabling https due to security reasons.&lt;/p&gt; &lt;/li&gt; 
 &lt;li&gt; &lt;p&gt;(&lt;em&gt;Windows)&lt;/em&gt; If the following error occurs after starting Emacs:&lt;/p&gt; &lt;pre&gt;&lt;code&gt;The directory ~/.emacs.d/server is unsafe
&lt;/code&gt;&lt;/pre&gt; &lt;p&gt;Fix it by changing the owner of the directory &lt;code&gt;~/.emacs.d/server&lt;/code&gt;:&lt;/p&gt; 
  &lt;ul&gt; 
   &lt;li&gt;From Properties select the Tab “Security”,&lt;/li&gt; 
   &lt;li&gt;Select the button “Advanced”,&lt;/li&gt; 
   &lt;li&gt;Select the Tab “Owner”&lt;/li&gt; 
   &lt;li&gt;Change the owner to your account name&lt;/li&gt; 
  &lt;/ul&gt; &lt;p&gt;Source: &lt;a href=&quot;https://stackoverflow.com/questions/885793/emacs-error-when-calling-server-start&quot;&gt;Stack Overflow&lt;/a&gt;&lt;/p&gt; &lt;/li&gt; 
 &lt;li&gt; &lt;p&gt;(&lt;em&gt;Windows&lt;/em&gt;) The period (dot) before a file or folder name means that it&#39;s a hidden file or folder. To show hidden files and folders:&lt;/p&gt; 
  &lt;ul&gt; 
   &lt;li&gt;Press the Windows key&lt;/li&gt; 
   &lt;li&gt;Type &lt;code&gt;File explorer options&lt;/code&gt;&lt;/li&gt; 
   &lt;li&gt;Select the &lt;code&gt;View&lt;/code&gt; tab at the top&lt;/li&gt; 
   &lt;li&gt;Check &lt;code&gt;Show hidden files, folders and drives&lt;/code&gt;&lt;/li&gt; 
   &lt;li&gt;Click &lt;code&gt;OK&lt;/code&gt;&lt;/li&gt; 
  &lt;/ul&gt; &lt;/li&gt; 
&lt;/ul&gt; 
&lt;h1&gt;Update&lt;/h1&gt; 
&lt;p&gt;Spacemacs relies solely on a rolling update scheme based on the latest changes available. To update Spacemacs, simply pull the latest changes from the &lt;code&gt;develop&lt;/code&gt; branch:&lt;/p&gt; 
&lt;ol&gt; 
 &lt;li&gt; &lt;p&gt;Close Emacs and update the git repository:&lt;/p&gt; &lt;pre&gt;&lt;code class=&quot;language-sh&quot;&gt;git pull --rebase
&lt;/code&gt;&lt;/pre&gt; &lt;/li&gt; 
 &lt;li&gt; &lt;p&gt;Restart Emacs to complete the upgrade.&lt;/p&gt; &lt;/li&gt; 
&lt;/ol&gt; 
&lt;p&gt;&lt;strong&gt;After updating Spacemacs, you should also check if any updates are available for your packages. On the Spacemacs Home Buffer &lt;kbd&gt;SPC b h&lt;/kbd&gt;, click (press &lt;kbd&gt;RET&lt;/kbd&gt;) on the &lt;code&gt;[Update Packages]&lt;/code&gt; button, or use the convenient keybinding &lt;kbd&gt;SPC f e U&lt;/kbd&gt;&lt;/strong&gt;&lt;/p&gt; 
&lt;h2&gt;Upgrading from the deprecated &lt;code&gt;master&lt;/code&gt; branch&lt;/h2&gt; 
&lt;p&gt;If you are still on the old &lt;code&gt;master&lt;/code&gt; branch (i.e., if &lt;code&gt;git branch --show-current&lt;/code&gt; shows &lt;code&gt;master&lt;/code&gt; instead of &lt;code&gt;develop&lt;/code&gt;), you need to &lt;a href=&quot;https://practical.li/spacemacs/reference/switch-to-develop/&quot;&gt;upgrade to &lt;code&gt;develop&lt;/code&gt;&lt;/a&gt; first.&lt;/p&gt; 
&lt;h1&gt;Quotes&lt;/h1&gt; 
&lt;p&gt;&lt;a href=&quot;https://gitter.im/syl20bnr/spacemacs?at=568e627a0cdaaa62045a7df6&quot;&gt;Quote&lt;/a&gt; by &lt;a href=&quot;https://github.com/ashnur&quot;&gt;ashnur&lt;/a&gt;:&lt;/p&gt; 
&lt;pre&gt;&lt;code&gt;«I feel that spacemacs is an aircraft carrier and I am playing table tennis
on the deck as a freerider.»
&lt;/code&gt;&lt;/pre&gt; 
&lt;p&gt;&lt;a href=&quot;https://gitter.im/syl20bnr/spacemacs?at=5768456c6577f032450cfedb&quot;&gt;Quote&lt;/a&gt; by &lt;a href=&quot;https://github.com/deuill&quot;&gt;deuill&lt;/a&gt;:&lt;/p&gt; 
&lt;pre&gt;&lt;code&gt;«I LOVE SPACEMACS AND MAGIT

 That is all»
&lt;/code&gt;&lt;/pre&gt; 
&lt;h1&gt;Contributions&lt;/h1&gt; 
&lt;p&gt;Spacemacs is a community-driven project, it needs &lt;em&gt;you&lt;/em&gt; to keep it up to date and to propose great and useful configurations for all the things!&lt;/p&gt; 
&lt;p&gt;Before contributing, be sure to consult the &lt;a href=&quot;https://raw.githubusercontent.com/syl20bnr/spacemacs/develop/CONTRIBUTING.org&quot;&gt;contribution guidelines&lt;/a&gt; and &lt;a href=&quot;https://raw.githubusercontent.com/syl20bnr/spacemacs/develop/doc/CONVENTIONS.org&quot;&gt;conventions&lt;/a&gt;.&lt;/p&gt; 
&lt;h1&gt;Communities&lt;/h1&gt; 
&lt;ul&gt; 
 &lt;li&gt;&lt;a href=&quot;https://gitter.im/syl20bnr/spacemacs&quot;&gt;Gitter Chat&lt;/a&gt;&lt;/li&gt; 
 &lt;li&gt;&lt;a href=&quot;https://emacs.stackexchange.com/questions/tagged/spacemacs&quot;&gt;Stack Exchange&lt;/a&gt;&lt;/li&gt; 
 &lt;li&gt;&lt;a href=&quot;https://www.reddit.com/r/spacemacs&quot;&gt;Reddit&lt;/a&gt;&lt;/li&gt; 
&lt;/ul&gt; 
&lt;h1&gt;Spacemacs Everywhere&lt;/h1&gt; 
&lt;p&gt;Once you&#39;ve learned the Spacemacs key bindings, you can use them in other IDEs/tools, thanks to the following projects:&lt;/p&gt; 
&lt;ul&gt; 
 &lt;li&gt;&lt;a href=&quot;https://github.com/MarcoIeni/intellimacs&quot;&gt;Intellimacs&lt;/a&gt; - Spacemacs&#39; like key bindings for IntelliJ platform&lt;/li&gt; 
 &lt;li&gt;&lt;a href=&quot;https://github.com/MarcoIeni/spaceclipse&quot;&gt;Spaceclipse&lt;/a&gt; - Spacemacs’ like key bindings for Eclipse&lt;/li&gt; 
 &lt;li&gt;&lt;a href=&quot;https://github.com/SpaceVim/SpaceVim&quot;&gt;SpaceVim&lt;/a&gt; - A community-driven modular vim distribution&lt;/li&gt; 
 &lt;li&gt;&lt;a href=&quot;https://github.com/VSpaceCode/VSpaceCode&quot;&gt;VSpaceCode&lt;/a&gt; - Spacemacs’ like key bindings for Visual Studio Code&lt;/li&gt; 
&lt;/ul&gt; 
&lt;h1&gt;License&lt;/h1&gt; 
&lt;p&gt;The license is GPLv3 for all parts specific to Spacemacs, this includes:&lt;/p&gt; 
&lt;ul&gt; 
 &lt;li&gt;the initialization and core files&lt;/li&gt; 
 &lt;li&gt;all the layer files&lt;/li&gt; 
 &lt;li&gt;the documentation&lt;/li&gt; 
&lt;/ul&gt; 
&lt;p&gt;For the packages shipped in this repository, you can refer to the files header.&lt;/p&gt; 
&lt;p&gt;&lt;a href=&quot;https://github.com/nashamri/spacemacs-logo&quot;&gt;Spacemacs logo&lt;/a&gt; by &lt;a href=&quot;https://github.com/nashamri&quot;&gt;Nasser Alshammari&lt;/a&gt; released under a &lt;a href=&quot;https://creativecommons.org/licenses/by-sa/4.0/&quot;&gt;Creative Commons Attribution-ShareAlike 4.0 International License.&lt;/a&gt;&lt;/p&gt; 
&lt;h1&gt;Supporting Spacemacs&lt;/h1&gt; 
&lt;p&gt;The best way to support Spacemacs is to contribute to it either by reporting bugs, helping the community on the &lt;a href=&quot;https://gitter.im/syl20bnr/spacemacs&quot;&gt;Gitter Chat&lt;/a&gt; or sending pull requests.&lt;/p&gt; 
&lt;p&gt;You can show your love for the project by getting cool Spacemacs t-shirts, mugs and more in the &lt;a href=&quot;https://shop.spreadshirt.com/spacemacs-shop&quot;&gt;Spacemacs Shop&lt;/a&gt;.&lt;/p&gt; 
&lt;p&gt;If you want to show your support financially, then you can contribute to &lt;a href=&quot;https://salt.bountysource.com/teams/spacemacs&quot;&gt;Bountysource&lt;/a&gt;, or buy a drink for the maintainer by clicking on the &lt;a href=&quot;https://raw.githubusercontent.com/syl20bnr/spacemacs/develop/#top&quot;&gt;Paypal badge&lt;/a&gt;.&lt;/p&gt; 
&lt;p&gt;If you used Spacemacs in a project, and you want to show that fact, you can use the Spacemacs badge: &lt;a href=&quot;https://spacemacs.org&quot;&gt;&lt;img src=&quot;https://cdn.rawgit.com/syl20bnr/spacemacs/442d025779da2f62fc86c2082703697714db6514/assets/spacemacs-badge.svg?sanitize=true&quot; alt=&quot;Built with
Spacemacs&quot; /&gt;&lt;/a&gt;&lt;/p&gt; 
&lt;ul&gt; 
 &lt;li&gt; &lt;p&gt;For Markdown:&lt;/p&gt; &lt;pre&gt;&lt;code class=&quot;language-markdown&quot;&gt;[![Built with Spacemacs](https://cdn.rawgit.com/syl20bnr/spacemacs/442d025779da2f62fc86c2082703697714db6514/assets/spacemacs-badge.svg)](https://spacemacs.org)
&lt;/code&gt;&lt;/pre&gt; &lt;/li&gt; 
 &lt;li&gt; &lt;p&gt;For HTML:&lt;/p&gt; &lt;pre&gt;&lt;code class=&quot;language-html&quot;&gt;&amp;lt;a href=&quot;https://spacemacs.org&quot;&amp;gt;&amp;lt;img alt=&quot;Built with Spacemacs&quot; src=&quot;https://cdn.rawgit.com/syl20bnr/spacemacs/442d025779da2f62fc86c2082703697714db6514/assets/spacemacs-badge.svg&quot; /&amp;gt;&amp;lt;/a&amp;gt;
&lt;/code&gt;&lt;/pre&gt; &lt;/li&gt; 
 &lt;li&gt; &lt;p&gt;For Org-mode:&lt;/p&gt; &lt;pre&gt;&lt;code class=&quot;language-org&quot;&gt;[[https://spacemacs.org][file:https://cdn.rawgit.com/syl20bnr/spacemacs/442d025779da2f62fc86c2082703697714db6514/assets/spacemacs-badge.svg]]
&lt;/code&gt;&lt;/pre&gt; &lt;/li&gt; 
&lt;/ul&gt; 
&lt;p&gt;Thank you!&lt;/p&gt;</description>
      
      <media:content url="https://repository-images.githubusercontent.com/7212645/2911bf00-6169-11e9-96b0-2f3dbe77ffb5" medium="image" />
      
    </item>
    
    <item>
      <title>dakra/ghostel</title>
      <link>https://github.com/dakra/ghostel</link>
      <description>&lt;p&gt;Terminal emulator powered by libghostty&lt;/p&gt;&lt;hr&gt;&lt;h1&gt;Ghostel&lt;/h1&gt; 
&lt;p&gt;&lt;a href=&quot;https://melpa.org/#/ghostel&quot;&gt;&lt;img src=&quot;https://melpa.org/packages/ghostel-badge.svg?sanitize=true&quot; alt=&quot;MELPA&quot; /&gt;&lt;/a&gt; &lt;a href=&quot;https://stable.melpa.org/#/ghostel&quot;&gt;&lt;img src=&quot;https://stable.melpa.org/packages/ghostel-badge.svg?sanitize=true&quot; alt=&quot;MELPA Stable&quot; /&gt;&lt;/a&gt; &lt;a href=&quot;https://github.com/dakra/ghostel/actions/workflows/ci.yml&quot;&gt;&lt;img src=&quot;https://github.com/dakra/ghostel/actions/workflows/ci.yml/badge.svg?sanitize=true&quot; alt=&quot;CI&quot; /&gt;&lt;/a&gt; &lt;a href=&quot;https://github.com/dakra/ghostel/releases&quot;&gt;&lt;img src=&quot;https://img.shields.io/github/v/release/dakra/ghostel&quot; alt=&quot;Release&quot; /&gt;&lt;/a&gt; &lt;a href=&quot;https://github.com/dakra/ghostel/raw/main/LICENSE&quot;&gt;&lt;img src=&quot;https://img.shields.io/badge/license-GPL--3.0--or--later-blue.svg?sanitize=true&quot; alt=&quot;License: GPL-3.0-or-later&quot; /&gt;&lt;/a&gt; &lt;a href=&quot;https://ghostty.org/&quot;&gt;&lt;img src=&quot;https://img.shields.io/badge/VT%20engine-libghostty--vt-c2a2ff.svg?sanitize=true&quot; alt=&quot;VT engine: libghostty-vt&quot; /&gt;&lt;/a&gt;&lt;/p&gt; 
&lt;p&gt;&lt;strong&gt;Ghostel&lt;/strong&gt; is a terminal emulator for Emacs powered by &lt;a href=&quot;https://ghostty.org/&quot;&gt;libghostty-vt&lt;/a&gt;, the VT engine behind the &lt;a href=&quot;https://ghostty.org/&quot;&gt;Ghostty&lt;/a&gt; terminal.&lt;/p&gt; 
&lt;p&gt;It aims to be featureful, fast, robust and correct.&lt;/p&gt; 
&lt;p&gt;Ghostel&#39;s features include synchronized output, true color, the Kitty keyboard and graphics protocols, hyperlinks, desktop notifications, progress reports and a lot more.&lt;/p&gt; 
&lt;p&gt;Shell integration (directory tracking, prompt navigation) all works out of the box for bash, zsh, fish and nushell.&lt;/p&gt; 
&lt;p&gt;Check the &lt;a href=&quot;https://dakra.github.io/ghostel/#features&quot;&gt;documentation&lt;/a&gt; for a full list of features or how it &lt;a href=&quot;https://dakra.github.io/ghostel/#ghostel-vs-vterm&quot;&gt;compares&lt;/a&gt; to &lt;a href=&quot;https://github.com/akermu/emacs-libvterm&quot;&gt;vterm&lt;/a&gt; or &lt;a href=&quot;https://codeberg.org/akib/emacs-eat&quot;&gt;eat&lt;/a&gt;.&lt;/p&gt; 
&lt;table&gt; 
 &lt;thead&gt; 
  &lt;tr&gt; 
   &lt;th style=&quot;text-align:center&quot;&gt;&lt;/th&gt; 
   &lt;th style=&quot;text-align:center&quot;&gt;&lt;/th&gt; 
  &lt;/tr&gt; 
 &lt;/thead&gt; 
 &lt;tbody&gt; 
  &lt;tr&gt; 
   &lt;td style=&quot;text-align:center&quot;&gt;&lt;img src=&quot;https://raw.githubusercontent.com/dakra/ghostel/main/assets/ghostel-btop.png&quot; alt=&quot;btop running in a Ghostel buffer&quot; /&gt;&lt;/td&gt; 
   &lt;td style=&quot;text-align:center&quot;&gt;&lt;img src=&quot;https://raw.githubusercontent.com/dakra/ghostel/main/assets/ghostel-yazi.png&quot; alt=&quot;yazi previewing an image inside a Ghostel buffer&quot; /&gt;&lt;/td&gt; 
  &lt;/tr&gt; 
  &lt;tr&gt; 
   &lt;td style=&quot;text-align:center&quot;&gt;&lt;code&gt;btop&lt;/code&gt;: true color and full TUI rendering&lt;/td&gt; 
   &lt;td style=&quot;text-align:center&quot;&gt;&lt;code&gt;yazi&lt;/code&gt;: inline image preview via the Kitty graphics&lt;/td&gt; 
  &lt;/tr&gt; 
 &lt;/tbody&gt; 
&lt;/table&gt; 
&lt;h2&gt;Quick Start&lt;/h2&gt; 
&lt;p&gt;&lt;strong&gt;Requirements:&lt;/strong&gt; Emacs 28.1+ with dynamic module support, on macOS, Linux, FreeBSD, Android/Termux, or native Windows. On first use Ghostel &lt;strong&gt;offers to download a prebuilt native module&lt;/strong&gt;. No toolchain or build step required.&lt;/p&gt; 
&lt;p&gt;Windows release binaries are built for common native Windows Emacs builds on x86_64 and aarch64. Releases include optional ConPTY support files from Microsoft&#39;s redistributable console runtime, which can improve latency and correctness compared with older inbox Windows ConPTY versions.&lt;/p&gt; 
&lt;p&gt;Install from &lt;a href=&quot;https://melpa.org/#/ghostel&quot;&gt;MELPA&lt;/a&gt;:&lt;/p&gt; 
&lt;pre&gt;&lt;code class=&quot;language-emacs-lisp&quot;&gt;(use-package ghostel
  :ensure t)
&lt;/code&gt;&lt;/pre&gt; 
&lt;p&gt;Then &lt;code&gt;M-x ghostel&lt;/code&gt; to open a terminal. That&#39;s it.&lt;/p&gt; 
&lt;p&gt;See &lt;a href=&quot;https://dakra.github.io/ghostel/#installation&quot;&gt;installation&lt;/a&gt; for different installation instructions.&lt;/p&gt; 
&lt;h2&gt;A fuller example&lt;/h2&gt; 
&lt;p&gt;This example shows more features and how you can add custom keybindings or custom functions that interact with the Ghostel buffer.&lt;/p&gt; 
&lt;pre&gt;&lt;code class=&quot;language-emacs-lisp&quot;&gt;(use-package ghostel
  :hook (after-init . ghostel-status-indicator-mode)
  :bind ((&quot;C-x m&quot; . ghostel)
         :map ghostel-semi-char-mode-map
         (&quot;C-s&quot;  . consult-line)
         (&quot;C-k&quot;  . my/ghostel-send-C-k-and-kill)
         ;; I&#39;m used to go up/down the shell history with M-n/p from eshell
         ;; Simulate this behavior in ghostel by sending C-p and C-n
         (&quot;M-p&quot; . (lambda () (interactive) (ghostel-send-key &quot;p&quot; &quot;ctrl&quot;)))
         (&quot;M-n&quot; . (lambda () (interactive) (ghostel-send-key &quot;n&quot; &quot;ctrl&quot;))))
  :config
  (defun my/ghostel-send-C-k-and-kill ()
    &quot;Send `C-k&#39; to ghostel.
Like normal Emacs `C-k&#39;.  Kill to end of line and put content in kill-ring.&quot;
    (interactive)
    (kill-ring-save (point) (line-end-position))
    (ghostel-send-key &quot;k&quot; &quot;ctrl&quot;))

  (add-to-list &#39;ghostel-eval-cmds &#39;(&quot;magit-status-setup-buffer&quot; magit-status-setup-buffer)))

(use-package ghostel-project
  :bind (:map project-prefix-map
         (&quot;m&quot; . ghostel-project)
         (&quot;M&quot; . ghostel-project-list-buffers))
  :config
  (add-to-list &#39;project-switch-commands &#39;(ghostel-project &quot;Ghostel&quot;) t)
  (add-to-list &#39;project-switch-commands &#39;(ghostel-project-list-buffers &quot;Ghostel buffers&quot;) t))
&lt;/code&gt;&lt;/pre&gt; 
&lt;p&gt;Now you can &lt;code&gt;C-x m&lt;/code&gt; to open a Ghostel buffer, or you can switch to a project (&lt;code&gt;C-x p p&lt;/code&gt;) and then press &lt;code&gt;m&lt;/code&gt; to open a Ghostel buffer in this project. In a project you can press &lt;code&gt;C-x p M&lt;/code&gt; to get a list of Ghostel buffers running in the current project that you can switch to.&lt;/p&gt; 
&lt;p&gt;&lt;code&gt;ghostel-status-indicator-mode&lt;/code&gt; shows in the mode line how many terminals have a program that is blocked, done or failed (reported via &lt;a href=&quot;https://dakra.github.io/ghostel/#notifications-and-progress&quot;&gt;OSC 7501&lt;/a&gt;.&lt;/p&gt; 
&lt;h2&gt;Extensions&lt;/h2&gt; 
&lt;p&gt;These ship with the Ghostel package, no separate install necessary. Just enable what you want:&lt;/p&gt; 
&lt;p&gt;Make &lt;code&gt;eshell-visual-commands&lt;/code&gt; run in a Ghostel buffer.&lt;/p&gt; 
&lt;pre&gt;&lt;code class=&quot;language-emacs-lisp&quot;&gt;(use-package ghostel-eshell
  :hook (eshell-load . ghostel-eshell-visual-command-mode))
&lt;/code&gt;&lt;/pre&gt; 
&lt;p&gt;Run all &lt;code&gt;compile&lt;/code&gt; commands in a Ghostel buffer.&lt;/p&gt; 
&lt;pre&gt;&lt;code class=&quot;language-emacs-lisp&quot;&gt;(use-package ghostel-compile
  :hook (after-init . ghostel-compile-global-mode))
&lt;/code&gt;&lt;/pre&gt; 
&lt;p&gt;Replace &lt;code&gt;async-shell-command&lt;/code&gt; with a Ghostel version.&lt;/p&gt; 
&lt;pre&gt;&lt;code class=&quot;language-emacs-lisp&quot;&gt;(use-package ghostel-shell-command
  :hook (after-init . ghostel-shell-command-global-mode))
&lt;/code&gt;&lt;/pre&gt; 
&lt;p&gt;Replace comint&#39;s built-in &lt;code&gt;ansi-color-process-output&lt;/code&gt; with Ghostel&#39;s VT parser.&lt;/p&gt; 
&lt;pre&gt;&lt;code class=&quot;language-emacs-lisp&quot;&gt;(use-package ghostel-comint
  :hook (after-init . ghostel-comint-global-mode))
&lt;/code&gt;&lt;/pre&gt; 
&lt;p&gt;Add a &lt;code&gt;ghostel:&lt;/code&gt; Org link type.&lt;/p&gt; 
&lt;pre&gt;&lt;code class=&quot;language-emacs-lisp&quot;&gt;(use-package ghostel-org
  :after org)
&lt;/code&gt;&lt;/pre&gt; 
&lt;p&gt;If you use an Emacs Lisp input method (Korean Hangul, Japanese, Chinese, or any other Quail-based method), add Ghostel support:&lt;/p&gt; 
&lt;pre&gt;&lt;code class=&quot;language-emacs-lisp&quot;&gt;(use-package ghostel-ime
  :hook (ghostel-mode . ghostel-ime-mode))
&lt;/code&gt;&lt;/pre&gt; 
&lt;h2&gt;Consult&lt;/h2&gt; 
&lt;p&gt;Pick a Ghostel terminal via &lt;a href=&quot;https://github.com/minad/consult&quot;&gt;consult&lt;/a&gt; with live preview (and create-on-miss) with the &lt;a href=&quot;https://melpa.org/#/consult-ghostel&quot;&gt;consult-ghostel&lt;/a&gt; extension; with a prefix argument the pickers behave like &lt;code&gt;ghostel&lt;/code&gt; / &lt;code&gt;ghostel-project&lt;/code&gt; (&lt;code&gt;C-u&lt;/code&gt; creates a new terminal):&lt;/p&gt; 
&lt;pre&gt;&lt;code class=&quot;language-emacs-lisp&quot;&gt;(use-package consult-ghostel
  :hook (after-init . consult-ghostel-mode)
  :bind ((&quot;C-x m&quot; . consult-ghostel)
         :map project-prefix-map
         (&quot;m&quot; . consult-ghostel-project)
         :map ghostel-semi-char-mode-map
         (&quot;C-c h&quot; . consult-ghostel-history)))
&lt;/code&gt;&lt;/pre&gt; 
&lt;p&gt;&lt;code&gt;consult-ghostel-history&lt;/code&gt; picks from the shell&#39;s own command history and types the selection into the terminal, replacing what&#39;s already on the command line. The history is retrieved per shell (bash, zsh, fish, and nushell work out of the box); users of a history manager can point their shell&#39;s entry in &lt;code&gt;ghostel-shell-history-commands&lt;/code&gt; at it, e.g. for &lt;a href=&quot;https://atuin.sh&quot;&gt;atuin&lt;/a&gt;:&lt;/p&gt; 
&lt;pre&gt;&lt;code class=&quot;language-emacs-lisp&quot;&gt;(setf (alist-get &#39;zsh ghostel-shell-history-commands)
      &quot;atuin history list --cmd-only --print0 --reverse false&quot;)
&lt;/code&gt;&lt;/pre&gt; 
&lt;p&gt;&lt;code&gt;consult-ghostel-mode&lt;/code&gt; adds a &lt;code&gt;Ghostel&lt;/code&gt; group to &lt;code&gt;consult-bookmark&lt;/code&gt; (narrow with &lt;code&gt;g&lt;/code&gt;), hidden ghostel sources to &lt;code&gt;consult-buffer&lt;/code&gt; (narrow with &lt;code&gt;g&lt;/code&gt;, or &lt;code&gt;a&lt;/code&gt; for terminals needing attention, also available as &lt;code&gt;consult-ghostel-status&lt;/code&gt;), and makes &lt;code&gt;consult-line&lt;/code&gt; match across soft line wraps in ghostel buffers.&lt;/p&gt; 
&lt;h2&gt;Evil&lt;/h2&gt; 
&lt;p&gt;If you&#39;re an evil user you can install the &lt;a href=&quot;https://melpa.org/#/evil-ghostel&quot;&gt;evil-ghostel&lt;/a&gt; extension:&lt;/p&gt; 
&lt;pre&gt;&lt;code class=&quot;language-emacs-lisp&quot;&gt;(use-package evil-ghostel
  :after (ghostel evil)
  :hook (ghostel-mode . evil-ghostel-mode))
&lt;/code&gt;&lt;/pre&gt; 
&lt;p&gt;Note: in alt-screen apps — vim, less, fullscreen TUIs like Claude Code (&lt;code&gt;/tui fullscreen&lt;/code&gt;) — ESC is by default sent to the app instead of switching to normal state, so you stay in insert state and a leader key like &lt;code&gt;SPC&lt;/code&gt; goes to the terminal too (&lt;code&gt;M-x&lt;/code&gt;, &lt;code&gt;C-x …&lt;/code&gt;, &lt;code&gt;C-c …&lt;/code&gt; still work). Toggle the routing with &lt;code&gt;C-c C-r&lt;/code&gt; (&lt;code&gt;evil-ghostel-toggle-send-escape&lt;/code&gt;), or hit &lt;code&gt;C-c ESC&lt;/code&gt; for a one-shot switch to normal state; &lt;code&gt;evil-ghostel-escape&lt;/code&gt; sets the default routing. See &lt;a href=&quot;https://dakra.github.io/ghostel/#evil-mode&quot;&gt;Evil-mode&lt;/a&gt; in the manual.&lt;/p&gt; 
&lt;h2&gt;Shell integration&lt;/h2&gt; 
&lt;p&gt;Directory tracking and prompt navigation are on by default for local bash, zsh, fish or nushell sessions. See &lt;a href=&quot;https://dakra.github.io/ghostel/#shell-integration&quot;&gt;shell integration&lt;/a&gt; for tramp support and more.&lt;/p&gt; 
&lt;p&gt;In a ghostel shell, &lt;code&gt;ghostel ssh HOST&lt;/code&gt; pushes the shell integration and terminfo to &lt;code&gt;~/.local/share/ghostel/&lt;/code&gt; on the remote and starts the login shell with them, without editing any rc file there. &lt;code&gt;ghostel ssh-install HOST&lt;/code&gt; does the &lt;a href=&quot;https://dakra.github.io/ghostel/#remote-manual-setup&quot;&gt;manual remote setup&lt;/a&gt; for you, so a plain &lt;code&gt;ssh HOST&lt;/code&gt; loads them too.&lt;/p&gt; 
&lt;p&gt;To call Emacs functions from your shell you have to add them to the &lt;code&gt;ghostel-eval-cmds&lt;/code&gt; whitelist and then add something like this to your bashrc:&lt;/p&gt; 
&lt;pre&gt;&lt;code class=&quot;language-bash&quot;&gt;if [[ &quot;$INSIDE_EMACS&quot; = &#39;ghostel&#39; ]]; then
    # Open a file in Emacs from the terminal
    e()   { ghostel_cmd find-file-other-window &quot;$@&quot;; }

    # Open dired in another window
    dow() { ghostel_cmd dired-other-window &quot;$@&quot;; }

    # Open magit for the current directory
    gst() { ghostel_cmd magit-status-setup-buffer &quot;$(pwd)&quot;; }
fi
&lt;/code&gt;&lt;/pre&gt; 
&lt;h2&gt;Input modes&lt;/h2&gt; 
&lt;p&gt;Ghostel offers five eat.el-style &lt;a href=&quot;https://dakra.github.io/ghostel/#input-modes&quot;&gt;input modes&lt;/a&gt;.&lt;/p&gt; 
&lt;p&gt;The default is &lt;strong&gt;semi-char mode&lt;/strong&gt; (&lt;code&gt;C-c C-j&lt;/code&gt;), which forwards almost all keys to the terminal besides a few exceptions (e.g. &lt;code&gt;M-x&lt;/code&gt;, &lt;code&gt;C-c&lt;/code&gt;).&lt;/p&gt; 
&lt;p&gt;In &lt;strong&gt;char mode&lt;/strong&gt; (&lt;code&gt;C-c M-d&lt;/code&gt;), &lt;em&gt;all&lt;/em&gt; keys go to the terminal. &lt;code&gt;M-RET&lt;/code&gt; to exit.&lt;/p&gt; 
&lt;p&gt;&lt;strong&gt;line mode&lt;/strong&gt; (&lt;code&gt;C-c C-l&lt;/code&gt;) is similar to &lt;code&gt;M-x shell&lt;/code&gt; in that Ghostel is like a normal Emacs buffer and &lt;em&gt;no&lt;/em&gt; key gets sent to the terminal. Only after you finish typing a line and press enter, the whole line is sent at once. The window follows live output while point is at the prompt (or riding the end of a running command&#39;s output) and stays put once you move point into the scrollback.&lt;/p&gt; 
&lt;p&gt;&lt;strong&gt;emacs&lt;/strong&gt; (&lt;code&gt;C-c C-e&lt;/code&gt;) and &lt;strong&gt;copy mode&lt;/strong&gt; (&lt;code&gt;C-c C-t&lt;/code&gt;) give you normal Emacs navigation over the read-only terminal buffer so you can look around and copy text. The difference between the two is that &lt;strong&gt;copy mode&lt;/strong&gt; freezes the terminal, so if you have continuous output nothing &quot;scrolls away&quot; while you try to select something. &lt;strong&gt;emacs mode&lt;/strong&gt; is &lt;em&gt;live&lt;/em&gt; so new output keeps coming in while you scroll/select.&lt;/p&gt; 
&lt;p&gt;Those read-only modes have by default &lt;code&gt;ghostel-readonly-fast-exit&lt;/code&gt; set to true, which automatically exits those modes on most keys that you expect to be sent to the terminal. This makes for seamless transitions, e.g. you have some output running and see something you want to copy, you press &lt;code&gt;C-c C-t&lt;/code&gt; and enter &lt;code&gt;copy-mode&lt;/code&gt; navigate like in a normal Emacs buffer and select your text. When you copy something or type any character you&#39;re automatically back in your normal ghostel terminal session. Similarly, some actions automatically activate &lt;strong&gt;copy mode&lt;/strong&gt;, like selecting with the mouse, navigating to hyperlinks (&lt;code&gt;C-c C-p&lt;/code&gt;) or prompts (&lt;code&gt;C-c M-p&lt;/code&gt;), activating the mark. In copy mode, mouse selection remains normal Emacs selection even if the terminal app enabled mouse tracking.&lt;/p&gt; 
&lt;h2&gt;Documentation&lt;/h2&gt; 
&lt;ul&gt; 
 &lt;li&gt;&lt;a href=&quot;https://dakra.github.io/ghostel/#requirements&quot;&gt;Requirements&lt;/a&gt;&lt;/li&gt; 
 &lt;li&gt;&lt;a href=&quot;https://dakra.github.io/ghostel/#installation&quot;&gt;Installation&lt;/a&gt;&lt;/li&gt; 
 &lt;li&gt;&lt;a href=&quot;https://dakra.github.io/ghostel/#building-from-source&quot;&gt;Building from source&lt;/a&gt;&lt;/li&gt; 
 &lt;li&gt;&lt;a href=&quot;https://dakra.github.io/ghostel/#shell-integration&quot;&gt;Shell Integration&lt;/a&gt;&lt;/li&gt; 
 &lt;li&gt;&lt;a href=&quot;https://dakra.github.io/ghostel/#input-modes&quot;&gt;Input modes&lt;/a&gt;&lt;/li&gt; 
 &lt;li&gt;&lt;a href=&quot;https://dakra.github.io/ghostel/#features&quot;&gt;Features&lt;/a&gt;&lt;/li&gt; 
 &lt;li&gt;&lt;a href=&quot;https://dakra.github.io/ghostel/#tramp-remote-terminals&quot;&gt;TRAMP (Remote Terminals)&lt;/a&gt;&lt;/li&gt; 
 &lt;li&gt;&lt;a href=&quot;https://dakra.github.io/ghostel/#configuration&quot;&gt;Configuration&lt;/a&gt;&lt;/li&gt; 
 &lt;li&gt;&lt;a href=&quot;https://dakra.github.io/ghostel/#extensions&quot;&gt;Extensions&lt;/a&gt; 
  &lt;ul&gt; 
   &lt;li&gt;&lt;a href=&quot;https://dakra.github.io/ghostel/#evil-mode&quot;&gt;Evil&lt;/a&gt;&lt;/li&gt; 
   &lt;li&gt;&lt;a href=&quot;https://dakra.github.io/ghostel/#shell-commands&quot;&gt;Shell commands&lt;/a&gt;&lt;/li&gt; 
   &lt;li&gt;&lt;a href=&quot;https://dakra.github.io/ghostel/#compilation-mode&quot;&gt;Compilation mode&lt;/a&gt;&lt;/li&gt; 
   &lt;li&gt;&lt;a href=&quot;https://dakra.github.io/ghostel/#eshell-integration&quot;&gt;Eshell integration&lt;/a&gt;&lt;/li&gt; 
   &lt;li&gt;&lt;a href=&quot;https://dakra.github.io/ghostel/#comint-integration&quot;&gt;Comint integration&lt;/a&gt;&lt;/li&gt; 
   &lt;li&gt;&lt;a href=&quot;https://dakra.github.io/ghostel/#consult-integration&quot;&gt;Consult integration&lt;/a&gt;&lt;/li&gt; 
   &lt;li&gt;&lt;a href=&quot;https://dakra.github.io/ghostel/#emacs-lisp-input-methods&quot;&gt;Emacs Lisp input methods&lt;/a&gt;&lt;/li&gt; 
   &lt;li&gt;&lt;a href=&quot;https://dakra.github.io/ghostel/#bookmarks&quot;&gt;Bookmarks&lt;/a&gt;&lt;/li&gt; 
   &lt;li&gt;&lt;a href=&quot;https://dakra.github.io/ghostel/#desktop&quot;&gt;Desktop&lt;/a&gt;&lt;/li&gt; 
   &lt;li&gt;&lt;a href=&quot;https://dakra.github.io/ghostel/#org-links&quot;&gt;Org links&lt;/a&gt;&lt;/li&gt; 
  &lt;/ul&gt; &lt;/li&gt; 
 &lt;li&gt;&lt;a href=&quot;https://dakra.github.io/ghostel/#commands&quot;&gt;Commands&lt;/a&gt;&lt;/li&gt; 
 &lt;li&gt;&lt;a href=&quot;https://dakra.github.io/ghostel/#running-tests&quot;&gt;Running Tests&lt;/a&gt;&lt;/li&gt; 
 &lt;li&gt;&lt;a href=&quot;https://dakra.github.io/ghostel/#performance&quot;&gt;Performance&lt;/a&gt;&lt;/li&gt; 
 &lt;li&gt;&lt;a href=&quot;https://dakra.github.io/ghostel/#ghostel-vs-vterm&quot;&gt;Ghostel vs vterm and eat&lt;/a&gt;&lt;/li&gt; 
 &lt;li&gt;&lt;a href=&quot;https://dakra.github.io/ghostel/#architecture&quot;&gt;Architecture&lt;/a&gt;&lt;/li&gt; 
 &lt;li&gt;&lt;a href=&quot;https://dakra.github.io/ghostel/#contributing&quot;&gt;Contributing&lt;/a&gt;&lt;/li&gt; 
 &lt;li&gt;&lt;a href=&quot;https://raw.githubusercontent.com/dakra/ghostel/main/CHANGELOG.md&quot;&gt;Changelog&lt;/a&gt;&lt;/li&gt; 
 &lt;li&gt;&lt;a href=&quot;https://dakra.github.io/ghostel/#license&quot;&gt;License&lt;/a&gt;&lt;/li&gt; 
&lt;/ul&gt;</description>
      
      <media:content url="https://opengraph.githubassets.com/3b2b8a3bd2b296dd95471e965e22c044559c2c0d0dc92f88f77ac6bb89272b53/dakra/ghostel" medium="image" />
      
    </item>
    
    <item>
      <title>emacs-lsp/lsp-mode</title>
      <link>https://github.com/emacs-lsp/lsp-mode</link>
      <description>&lt;p&gt;Emacs client/library for the Language Server Protocol&lt;/p&gt;&lt;p&gt;&lt;img src=&quot;https://mshibanami.github.io/GitHubTrendingRSS/assets/icons/link.png&quot; width=&quot;20&quot; height=&quot;20&quot; alt=&quot;link&quot; style=&quot;margin: 0 8px 0 0; padding: 0; display: inline-block; vertical-align: middle;&quot; /&gt;&lt;a href=&quot;https://emacs-lsp.github.io/lsp-mode&quot;&gt;https://emacs-lsp.github.io/lsp-mode&lt;/a&gt;&lt;/p&gt;&lt;hr&gt;&lt;hr /&gt; 
&lt;h2&gt;title: LSP Mode - Language Server Protocol support for Emacs description: Language Server Protocol support with multiple languages support for Emacs root_file: &lt;a href=&quot;http://README.md&quot;&gt;README.md&lt;/a&gt;&lt;/h2&gt; 
&lt;p&gt;&lt;a href=&quot;https://melpa.org/#/lsp-mode&quot;&gt;&lt;img src=&quot;https://melpa.org/packages/lsp-mode-badge.svg?sanitize=true&quot; alt=&quot;&quot; /&gt;&lt;/a&gt; &lt;a href=&quot;https://stable.melpa.org/#/lsp-mode&quot;&gt;&lt;img src=&quot;https://stable.melpa.org/packages/lsp-mode-badge.svg?sanitize=true&quot; alt=&quot;&quot; /&gt;&lt;/a&gt; &lt;a href=&quot;https://discord.gg/swuxy5AAgT&quot;&gt;&lt;img src=&quot;https://discordapp.com/api/guilds/789885435026604033/widget.png?style=shield&quot; alt=&quot;&quot; /&gt;&lt;/a&gt; &lt;a href=&quot;https://github.com/emacs-lsp/lsp-mode/actions/workflows/test.yml&quot;&gt;&lt;img src=&quot;https://github.com/emacs-lsp/lsp-mode/actions/workflows/test.yml/badge.svg?sanitize=true&quot; alt=&quot;CI&quot; /&gt;&lt;/a&gt;&lt;/p&gt; 
&lt;img src=&quot;https://raw.githubusercontent.com/emacs-lsp/lsp-mode/master/examples/logo.png&quot; width=&quot;240&quot; align=&quot;right&quot; /&gt; 
&lt;h1&gt;Language Server Protocol Support for Emacs&lt;/h1&gt; 
&lt;p&gt;&lt;img src=&quot;https://raw.githubusercontent.com/emacs-lsp/lsp-mode/master/examples/head.png&quot; alt=&quot;LSP mode&quot; /&gt;&lt;/p&gt; 
&lt;hr /&gt; 
&lt;p align=&quot;center&quot;&gt; &lt;a href=&quot;https://emacs-lsp.github.io/lsp-mode&quot;&gt;&lt;strong&gt;homepage&lt;/strong&gt;&lt;/a&gt; • &lt;a href=&quot;https://emacs-lsp.github.io/lsp-mode/page/installation&quot;&gt;&lt;strong&gt;installation&lt;/strong&gt;&lt;/a&gt; • &lt;a href=&quot;https://emacs-lsp.github.io/lsp-mode/page/languages&quot;&gt;&lt;strong&gt;languages&lt;/strong&gt;&lt;/a&gt; • &lt;a href=&quot;https://emacs-lsp.github.io/lsp-mode/page/settings/mode/&quot;&gt;&lt;strong&gt;settings&lt;/strong&gt;&lt;/a&gt; • &lt;a href=&quot;https://emacs-lsp.github.io/lsp-mode/tutorials/CPP-guide/&quot;&gt;&lt;strong&gt;tutorials&lt;/strong&gt;&lt;/a&gt; • &lt;a href=&quot;https://emacs-lsp.github.io/lsp-mode/page/troubleshooting&quot;&gt;&lt;strong&gt;troubleshooting&lt;/strong&gt;&lt;/a&gt; • &lt;a href=&quot;https://emacs-lsp.github.io/lsp-mode/page/gallery&quot;&gt;&lt;strong&gt;screenshots&lt;/strong&gt;&lt;/a&gt; • &lt;a href=&quot;https://emacs-lsp.github.io/lsp-mode/page/faq&quot;&gt;&lt;strong&gt;FAQ&lt;/strong&gt;&lt;/a&gt; &lt;/p&gt; 
&lt;hr /&gt; 
&lt;h2&gt;Why?&lt;/h2&gt; 
&lt;ul&gt; 
 &lt;li&gt;❤️ &lt;strong&gt;Community Driven&lt;/strong&gt;&lt;/li&gt; 
 &lt;li&gt;💎 &lt;strong&gt;Fully featured&lt;/strong&gt; - supports &lt;strong&gt;all&lt;/strong&gt; features in Language Server Protocol v3.14.&lt;/li&gt; 
 &lt;li&gt;🚀 &lt;strong&gt;Fast&lt;/strong&gt; - see &lt;a href=&quot;https://emacs-lsp.github.io/lsp-mode/page/performance&quot;&gt;performance section&lt;/a&gt;.&lt;/li&gt; 
 &lt;li&gt;🌟 &lt;strong&gt;Flexible&lt;/strong&gt; - choose between full-blown IDE with flashy UI or minimal distraction free.&lt;/li&gt; 
 &lt;li&gt;⚙️ &lt;strong&gt;Easy to configure&lt;/strong&gt; - works out of the box and automatically upgrades if additional packages are present.&lt;/li&gt; 
&lt;/ul&gt; 
&lt;h2&gt;Overview&lt;/h2&gt; 
&lt;p&gt;Client for &lt;a href=&quot;https://github.com/Microsoft/language-server-protocol/&quot;&gt;Language Server Protocol&lt;/a&gt; (v3.14). &lt;a href=&quot;https://emacs-lsp.github.io/lsp-mode&quot;&gt;lsp-mode&lt;/a&gt; aims to provide IDE-like experience by providing optional integration with the most popular Emacs packages like &lt;code&gt;company&lt;/code&gt;, &lt;code&gt;flycheck&lt;/code&gt; and &lt;code&gt;projectile&lt;/code&gt;.&lt;/p&gt; 
&lt;ul&gt; 
 &lt;li&gt;Non-blocking asynchronous calls&lt;/li&gt; 
 &lt;li&gt;Real-time Diagnostics/linting via &lt;a href=&quot;https://github.com/flycheck/flycheck&quot;&gt;flycheck&lt;/a&gt; (recommended) or &lt;code&gt;flymake&lt;/code&gt; when Emacs &amp;gt; 26 (requires flymake&amp;gt;=1.0.5)&lt;/li&gt; 
 &lt;li&gt;Code completion - &lt;code&gt;company-capf&lt;/code&gt; / &lt;code&gt;completion-at-point&lt;/code&gt; (note that &lt;a href=&quot;https://github.com/tigersoldier/company-lsp&quot;&gt;company-lsp&lt;/a&gt; is no longer supported).&lt;/li&gt; 
 &lt;li&gt;Hovers - using &lt;a href=&quot;https://emacs-lsp.github.io/lsp-ui&quot;&gt;lsp-ui&lt;/a&gt;&lt;/li&gt; 
 &lt;li&gt;Code actions - via &lt;code&gt;lsp-execute-code-action&lt;/code&gt;, &lt;a href=&quot;https://emacs-lsp.github.io/lsp-mode/page/main-features/#code-actions-on-modeline&quot;&gt;modeline&lt;/a&gt; (recommended) or &lt;a href=&quot;https://emacs-lsp.github.io/lsp-ui&quot;&gt;lsp-ui&lt;/a&gt; sideline.&lt;/li&gt; 
 &lt;li&gt;Code outline - using builtin &lt;a href=&quot;https://www.gnu.org/software/emacs/manual/html_node/emacs/Imenu.html&quot;&gt;imenu&lt;/a&gt; or &lt;code&gt;helm-imenu&lt;/code&gt;&lt;/li&gt; 
 &lt;li&gt;Code navigation - using builtin &lt;a href=&quot;https://www.gnu.org/software/emacs/manual/html_node/emacs/Xref.html&quot;&gt;xref&lt;/a&gt;, &lt;a href=&quot;https://github.com/emacs-lsp/lsp-treemacs&quot;&gt;lsp-treemacs&lt;/a&gt; tree views or &lt;a href=&quot;https://emacs-lsp.github.io/lsp-ui&quot;&gt;lsp-ui&lt;/a&gt; peek functions.&lt;/li&gt; 
 &lt;li&gt;Code lens&lt;/li&gt; 
 &lt;li&gt;Symbol highlights&lt;/li&gt; 
 &lt;li&gt;Formatting&lt;/li&gt; 
 &lt;li&gt;&lt;a href=&quot;https://emacs-lsp.github.io/lsp-mode/page/main-features/#project-errors-on-modeline&quot;&gt;Project errors&lt;/a&gt; on modeline&lt;/li&gt; 
 &lt;li&gt;Debugger - &lt;a href=&quot;https://emacs-lsp.github.io/dap-mode/&quot;&gt;dap-mode&lt;/a&gt;&lt;/li&gt; 
 &lt;li&gt;&lt;a href=&quot;https://emacs-lsp.github.io/lsp-mode/page/main-features/#breadcrumb-on-headerline&quot;&gt;Breadcrumb on headerline&lt;/a&gt;&lt;/li&gt; 
 &lt;li&gt;Helm integration - &lt;a href=&quot;https://github.com/emacs-lsp/helm-lsp/&quot;&gt;helm-lsp&lt;/a&gt;&lt;/li&gt; 
 &lt;li&gt;Ivy integration - &lt;a href=&quot;https://github.com/emacs-lsp/lsp-ivy/&quot;&gt;lsp-ivy&lt;/a&gt;&lt;/li&gt; 
 &lt;li&gt;Consult integration - &lt;a href=&quot;https://github.com/gagbo/consult-lsp&quot;&gt;consult-lsp&lt;/a&gt;&lt;/li&gt; 
 &lt;li&gt;Treemacs integration - &lt;a href=&quot;https://github.com/emacs-lsp/lsp-treemacs&quot;&gt;lsp-treemacs&lt;/a&gt;&lt;/li&gt; 
 &lt;li&gt;Semantic tokens as defined by LSP 3.17 (compatible language servers include recent development builds of clangd and rust-analyzer)&lt;/li&gt; 
 &lt;li&gt;&lt;a href=&quot;https://github.com/justbur/emacs-which-key/&quot;&gt;which-key&lt;/a&gt; integration for better discovery&lt;/li&gt; 
 &lt;li&gt;&lt;a href=&quot;https://emacs-lsp.github.io/lsp-mode/page/main-features/#iedit&quot;&gt;iedit&lt;/a&gt;&lt;/li&gt; 
 &lt;li&gt;&lt;a href=&quot;https://emacs-lsp.github.io/lsp-mode/page/main-features/#dired&quot;&gt;dired&lt;/a&gt;&lt;/li&gt; 
 &lt;li&gt;&lt;a href=&quot;https://emacs-lsp.github.io/lsp-mode/page/main-features/#integrations&quot;&gt;ido&lt;/a&gt;&lt;/li&gt; 
&lt;/ul&gt; 
&lt;h2&gt;Presentations/demos&lt;/h2&gt; 
&lt;ul&gt; 
 &lt;li&gt;&lt;a href=&quot;https://twitter.com/SystemCrafters&quot;&gt;System Crafters&lt;/a&gt; channel &lt;a href=&quot;https://www.youtube.com/playlist?list=PLEoMzSkcN8oNvsrtk_iZSb94krGRofFjN&quot;&gt;Emacs IDE Videos&lt;/a&gt;&lt;/li&gt; 
 &lt;li&gt;&lt;a href=&quot;https://github.com/skybert&quot;&gt;skybert&lt;/a&gt;&#39;s emacsconf &lt;a href=&quot;https://media.emacsconf.org/2019/19.html&quot;&gt;presentation&lt;/a&gt; (Java)&lt;/li&gt; 
 &lt;li&gt;&lt;a href=&quot;https://github.com/thatwist&quot;&gt;thatwist&lt;/a&gt;&#39;s ScalaUA Conference &lt;a href=&quot;https://www.youtube.com/watch?v=x7ey0ifcqAg&amp;amp;feature=youtu.be&quot;&gt;presentation&lt;/a&gt; (Scala)&lt;/li&gt; 
&lt;/ul&gt; 
&lt;h2&gt;See also&lt;/h2&gt; 
&lt;ul&gt; 
 &lt;li&gt;&lt;a href=&quot;https://github.com/emacs-lsp/lsp-docker/&quot;&gt;lsp-docker&lt;/a&gt; - provide docker image with preconfigured language servers with corresponding emacs configuration.&lt;/li&gt; 
 &lt;li&gt;&lt;a href=&quot;https://github.com/sebastiencs/company-box/&quot;&gt;company-box&lt;/a&gt; - &lt;code&gt;company&lt;/code&gt; frontend with icons.&lt;/li&gt; 
 &lt;li&gt;&lt;a href=&quot;https://github.com/emacs-lsp/dap-mode&quot;&gt;dap-mode&lt;/a&gt; - Debugger integration for &lt;code&gt;lsp-mode&lt;/code&gt;.&lt;/li&gt; 
 &lt;li&gt;&lt;a href=&quot;https://www.gnu.org/software/emacs/manual/html_node/eglot/&quot;&gt;eglot&lt;/a&gt; - A minimal LSP implementation built in to Emacs.&lt;/li&gt; 
 &lt;li&gt;&lt;a href=&quot;https://github.com/justbur/emacs-which-key/&quot;&gt;which-key&lt;/a&gt; - Emacs package that displays available keybindings in popup&lt;/li&gt; 
 &lt;li&gt;&lt;a href=&quot;https://github.com/bbatsov/projectile/&quot;&gt;projectile&lt;/a&gt; - Project Interaction Library for Emacs&lt;/li&gt; 
 &lt;li&gt;&lt;a href=&quot;https://github.com/ubolonton/emacs-tree-sitter&quot;&gt;emacs-tree-sitter&lt;/a&gt; - Faster, fine-grained code highlighting via &lt;a href=&quot;https://github.com/tree-sitter/tree-sitter&quot;&gt;tree-sitter&lt;/a&gt;.&lt;/li&gt; 
 &lt;li&gt;&lt;a href=&quot;https://akrl.sdf.org/gccemacs.html&quot;&gt;gccemacs&lt;/a&gt; - modified Emacs capable of compiling and running Emacs Lisp as native code.&lt;/li&gt; 
&lt;/ul&gt; 
&lt;h2&gt;Contributions&lt;/h2&gt; 
&lt;p&gt;Contributions are very much welcome!&lt;/p&gt; 
&lt;p&gt;&lt;strong&gt;NOTE&lt;/strong&gt; Documentation for clients is generated from doc comments in the clients themselves (see &lt;a href=&quot;https://github.com/emacs-lsp/lsp-mode/raw/master/docs/lsp-doc.el&quot;&gt;lsp-doc.el&lt;/a&gt;) and some metadata (see &lt;a href=&quot;https://github.com/emacs-lsp/lsp-mode/raw/master/docs/lsp-clients.json&quot;&gt;lsp-clients.json&lt;/a&gt;) so please submit corrections accordingly.&lt;/p&gt; 
&lt;h2&gt;Support the project&lt;/h2&gt; 
&lt;p&gt;The &lt;code&gt;emacs-lsp&lt;/code&gt; organization has more than &lt;strong&gt;20,000 lines of code&lt;/strong&gt;, to keep all of this working, we need to implement new features and help the community on a lot of issues.&lt;/p&gt; 
&lt;p&gt;You can help us keep going and improving it by &lt;strong&gt;&lt;a href=&quot;https://github.com/sponsors/emacs-lsp&quot;&gt;supporting the project&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt; 
&lt;p&gt;&lt;a href=&quot;https://opencollective.com/emacs-lsp&quot;&gt;&lt;img src=&quot;https://opencollective.com/emacs-lsp/tiers/backer.svg?sanitize=true&quot; /&gt;&lt;/a&gt;&lt;/p&gt; 
&lt;h3&gt;Members&lt;/h3&gt; 
&lt;p&gt;Here is a list of the current &lt;code&gt;lsp-mode&lt;/code&gt; members and what they are primarily working on/responsible for.&lt;/p&gt; 
&lt;table id=&quot;emacs-lsp-members&quot;&gt; 
 &lt;tbody&gt;
  &lt;tr&gt; 
   &lt;td align=&quot;center&quot;&gt; 
    &lt;div&gt; 
     &lt;a href=&quot;https://github.com/totbwf&quot;&gt; &lt;img src=&quot;https://github.com/totbwf.png&quot; width=&quot;100px;&quot; style=&quot;border-radius: 50%;&quot; alt=&quot;totbwf&quot; /&gt; &lt;br /&gt; &lt;sub&gt;&lt;b&gt;totbwf&lt;/b&gt;&lt;/sub&gt; &lt;/a&gt; 
     &lt;br /&gt; F# 
    &lt;/div&gt; &lt;/td&gt; 
   &lt;td align=&quot;center&quot;&gt; 
    &lt;div&gt; 
     &lt;a href=&quot;https://github.com/brotzeit&quot;&gt; &lt;img src=&quot;https://github.com/brotzeit.png&quot; width=&quot;100px;&quot; style=&quot;border-radius: 50%;&quot; alt=&quot;brotzeit&quot; /&gt; &lt;br /&gt; &lt;sub&gt;&lt;b&gt;brotzeit&lt;/b&gt;&lt;/sub&gt; &lt;/a&gt; 
     &lt;br /&gt; Rust 
    &lt;/div&gt; &lt;/td&gt; 
   &lt;td align=&quot;center&quot;&gt; 
    &lt;div&gt; 
     &lt;a href=&quot;https://github.com/dsyzling&quot;&gt; &lt;img src=&quot;https://github.com/dsyzling.png&quot; width=&quot;100px;&quot; style=&quot;border-radius: 50%;&quot; alt=&quot;dsyzling&quot; /&gt; &lt;br /&gt; &lt;sub&gt;&lt;b&gt;dsyzling&lt;/b&gt;&lt;/sub&gt; &lt;/a&gt; 
     &lt;br /&gt; Scala 
    &lt;/div&gt; &lt;/td&gt; 
   &lt;td align=&quot;center&quot;&gt; 
    &lt;div&gt; 
     &lt;a href=&quot;https://github.com/kurnevsky&quot;&gt; &lt;img src=&quot;https://github.com/kurnevsky.png&quot; width=&quot;100px;&quot; style=&quot;border-radius: 50%;&quot; alt=&quot;kurnevsky&quot; /&gt; &lt;br /&gt; &lt;sub&gt;&lt;b&gt;kurnevsky&lt;/b&gt;&lt;/sub&gt; &lt;/a&gt; 
     &lt;br /&gt; Scala | Rust 
    &lt;/div&gt; &lt;/td&gt; 
   &lt;td align=&quot;center&quot;&gt; 
    &lt;div&gt; 
     &lt;a href=&quot;https://github.com/seagle0128&quot;&gt; &lt;img src=&quot;https://github.com/seagle0128.png&quot; width=&quot;100px;&quot; style=&quot;border-radius: 50%;&quot; alt=&quot;seagle0128&quot; /&gt; &lt;br /&gt; &lt;sub&gt;&lt;b&gt;seagle0128&lt;/b&gt;&lt;/sub&gt; &lt;/a&gt; 
     &lt;br /&gt; Go | Python MS 
    &lt;/div&gt; &lt;/td&gt; 
  &lt;/tr&gt; 
  &lt;tr&gt; 
   &lt;td align=&quot;center&quot;&gt; 
    &lt;div&gt; 
     &lt;a href=&quot;https://github.com/sebastiansturm&quot;&gt; &lt;img src=&quot;https://github.com/sebastiansturm.png&quot; width=&quot;100px;&quot; style=&quot;border-radius: 50%;&quot; alt=&quot;sebastiansturm&quot; /&gt; &lt;br /&gt; &lt;sub&gt;&lt;b&gt;sebastiansturm&lt;/b&gt;&lt;/sub&gt; &lt;/a&gt; 
     &lt;br /&gt; lsp-mode core | C++ 
    &lt;/div&gt; &lt;/td&gt; 
   &lt;td align=&quot;center&quot;&gt; 
    &lt;div&gt; 
     &lt;a href=&quot;https://github.com/vibhavp&quot;&gt; &lt;img src=&quot;https://github.com/vibhavp.png&quot; width=&quot;100px;&quot; style=&quot;border-radius: 50%;&quot; alt=&quot;vibhavp&quot; /&gt; &lt;br /&gt; &lt;sub&gt;&lt;b&gt;vibhavp&lt;/b&gt;&lt;/sub&gt; &lt;/a&gt; 
     &lt;br /&gt; lsp-mode core 
    &lt;/div&gt; &lt;/td&gt; 
   &lt;td align=&quot;center&quot;&gt; 
    &lt;div&gt; 
     &lt;a href=&quot;https://github.com/yyoncho&quot;&gt; &lt;img src=&quot;https://github.com/yyoncho.png&quot; width=&quot;100px;&quot; style=&quot;border-radius: 50%;&quot; alt=&quot;yyoncho&quot; /&gt; &lt;br /&gt; &lt;sub&gt;&lt;b&gt;yyoncho&lt;/b&gt;&lt;/sub&gt; &lt;/a&gt; 
     &lt;br /&gt; lsp-mode core | Java 
    &lt;/div&gt; &lt;/td&gt; 
   &lt;td align=&quot;center&quot;&gt; 
    &lt;div&gt; 
     &lt;a href=&quot;https://github.com/ericdallo&quot;&gt; &lt;img src=&quot;https://github.com/ericdallo.png&quot; width=&quot;100px;&quot; style=&quot;border-radius: 50%;&quot; alt=&quot;ericdallo&quot; /&gt; &lt;br /&gt; &lt;sub&gt;&lt;b&gt;ericdallo&lt;/b&gt;&lt;/sub&gt; &lt;/a&gt; 
     &lt;br /&gt; Dart/Flutter | Clojure 
    &lt;/div&gt; &lt;/td&gt; 
   &lt;td align=&quot;center&quot;&gt; 
    &lt;div&gt; 
     &lt;a href=&quot;https://github.com/danielmartin&quot;&gt; &lt;img src=&quot;https://github.com/danielmartin.png&quot; width=&quot;100px;&quot; style=&quot;border-radius: 50%;&quot; alt=&quot;danielmartin&quot; /&gt; &lt;br /&gt; &lt;sub&gt;&lt;b&gt;danielmartin&lt;/b&gt;&lt;/sub&gt; &lt;/a&gt; 
     &lt;br /&gt; C++ | Swift 
    &lt;/div&gt; &lt;/td&gt; 
  &lt;/tr&gt; 
  &lt;tr&gt; 
   &lt;td align=&quot;center&quot;&gt; 
    &lt;div&gt; 
     &lt;a href=&quot;https://github.com/kiennq&quot;&gt; &lt;img src=&quot;https://github.com/kiennq.png&quot; width=&quot;100px;&quot; style=&quot;border-radius: 50%;&quot; alt=&quot;kiennq&quot; /&gt; &lt;br /&gt; &lt;sub&gt;&lt;b&gt;kiennq&lt;/b&gt;&lt;/sub&gt; &lt;/a&gt; 
     &lt;br /&gt; completions | pwsh 
    &lt;/div&gt; &lt;/td&gt; 
   &lt;td align=&quot;center&quot;&gt; 
    &lt;div&gt; 
     &lt;a href=&quot;https://github.com/nbfalcon&quot;&gt; &lt;img src=&quot;https://github.com/nbfalcon.png&quot; width=&quot;100px;&quot; style=&quot;border-radius: 50%;&quot; alt=&quot;nbfalcon&quot; /&gt; &lt;br /&gt; &lt;sub&gt;&lt;b&gt;nbfalcon&lt;/b&gt;&lt;/sub&gt; &lt;/a&gt; 
     &lt;br /&gt; lsp-mode core | iedit 
    &lt;/div&gt; &lt;/td&gt; 
   &lt;td align=&quot;center&quot;&gt; 
    &lt;div&gt; 
     &lt;a href=&quot;https://github.com/psibi&quot;&gt; &lt;img src=&quot;https://github.com/psibi.png&quot; width=&quot;100px;&quot; style=&quot;border-radius: 50%;&quot; alt=&quot;psibi&quot; /&gt; &lt;br /&gt; &lt;sub&gt;&lt;b&gt;psibi&lt;/b&gt;&lt;/sub&gt; &lt;/a&gt; 
     &lt;br /&gt; Terraform | Nix 
    &lt;/div&gt; &lt;/td&gt; 
   &lt;td align=&quot;center&quot;&gt; 
    &lt;div&gt; 
     &lt;a href=&quot;https://github.com/razzmatazz&quot;&gt; &lt;img src=&quot;https://github.com/razzmatazz.png&quot; width=&quot;100px;&quot; style=&quot;border-radius: 50%;&quot; alt=&quot;razzmatazz&quot; /&gt; &lt;br /&gt; &lt;sub&gt;&lt;b&gt;razzmatazz&lt;/b&gt;&lt;/sub&gt; &lt;/a&gt; 
     &lt;br /&gt; C# | F# 
    &lt;/div&gt; &lt;/td&gt; 
   &lt;td align=&quot;center&quot;&gt; 
    &lt;div&gt; 
     &lt;a href=&quot;https://github.com/jcs090218&quot;&gt; &lt;img src=&quot;https://github.com/jcs090218.png&quot; width=&quot;100px;&quot; style=&quot;border-radius: 50%;&quot; alt=&quot;jcs090218&quot; /&gt; &lt;br /&gt; &lt;sub&gt;&lt;b&gt;jcs090218&lt;/b&gt;&lt;/sub&gt; &lt;/a&gt; 
     &lt;br /&gt; lsp-mode core 
    &lt;/div&gt; &lt;/td&gt; 
  &lt;/tr&gt; 
 &lt;/tbody&gt;
&lt;/table&gt;</description>
      
      <media:content url="https://repository-images.githubusercontent.com/75415169/61c25480-93b5-11e9-9b4b-3161cebdb7fb" medium="image" />
      
    </item>
    
    <item>
      <title>magit/magit</title>
      <link>https://github.com/magit/magit</link>
      <description>&lt;p&gt;It&#39;s Magit! A Git Porcelain inside Emacs.&lt;/p&gt;&lt;p&gt;&lt;img src=&quot;https://mshibanami.github.io/GitHubTrendingRSS/assets/icons/link.png&quot; width=&quot;20&quot; height=&quot;20&quot; alt=&quot;link&quot; style=&quot;margin: 0 8px 0 0; padding: 0; display: inline-block; vertical-align: middle;&quot; /&gt;&lt;a href=&quot;https://magit.vc&quot;&gt;https://magit.vc&lt;/a&gt;&lt;/p&gt;&lt;hr&gt;&lt;p&gt;:other-pages: #+HTML: #+HTML:&lt;/p&gt;
&lt;div align=&quot;center&quot;&gt;
 &lt;img src=&quot;https://magit.vc/assets/magit-168x200px.png&quot; /&gt;
&lt;/div&gt; #+HTML:
&lt;h2 align=&quot;center&quot;&gt;A Git Porcelain inside Emacs&lt;/h2&gt; #+HTML:
&lt;p align=&quot;center&quot;&gt; #+HTML: &lt;a href=&quot;https://magit.vc&quot;&gt;&lt;b&gt;homepage&lt;/b&gt;&lt;/a&gt; | #+HTML: &lt;a href=&quot;https://docs.magit.vc&quot;&gt;&lt;b&gt;manual&lt;/b&gt;&lt;/a&gt; | #+HTML: &lt;a href=&quot;https://docs.magit.vc/magit/FAQ.html&quot;&gt;&lt;b&gt;faq&lt;/b&gt;&lt;/a&gt; | #+HTML: &lt;a href=&quot;https://github.com/magit/magit/wiki&quot;&gt;&lt;b&gt;wiki&lt;/b&gt;&lt;/a&gt; | #+HTML: &lt;a href=&quot;https://fosstodon.org/@tarsius&quot;&gt;&lt;b&gt;mastodon&lt;/b&gt;&lt;/a&gt; #+HTML:&lt;/p&gt; #+HTML:
&lt;hr /&gt; 🔚
&lt;p&gt;&lt;/p&gt; 
&lt;p&gt;Magit is an interface to the version control system [[&lt;a href=&quot;https://git-scm.com&quot;&gt;https://git-scm.com&lt;/a&gt;][Git]], implemented as an [[&lt;a href=&quot;https://www.gnu.org/software/emacs&quot;&gt;https://www.gnu.org/software/emacs&lt;/a&gt;][Emacs]] package. Magit aspires to be a complete Git porcelain. While we cannot (yet) claim that Magit wraps and improves upon each and every Git command, it is complete enough to allow even experienced Git users to perform almost all of their daily version control tasks directly from within Emacs. While many fine Git clients exist, only Magit and Git itself deserve to be called porcelains.&lt;/p&gt; 
&lt;p&gt;:donations: #+HTML:&lt;/p&gt;
&lt;hr /&gt; #+HTML:
&lt;div align=&quot;center&quot;&gt;
  #+HTML: Keeping its users 
 &lt;a href=&quot;https://magit.vc/quotes/&quot;&gt;this excited&lt;/a&gt; #+HTML: is 
 &lt;a href=&quot;https://stats.magit.vc/magit/authors.html&quot;&gt; a lot of work&lt;/a&gt;. #+HTML: If Magit makes you 
 &lt;br /&gt; more productive too, #+HTML: then 
 &lt;b&gt;please consider making a donation&lt;/b&gt;. #+HTML:
&lt;/div&gt; #+HTML:
&lt;div align=&quot;center&quot;&gt;
  #+HTML: 
 &lt;em&gt;Thank you! — Jonas Bernoulli&lt;/em&gt; #+HTML:
&lt;/div&gt; #+HTML:
&lt;br /&gt; #+HTML:
&lt;div align=&quot;center&quot;&gt;
  #+HTML: 
 &lt;a href=&quot;https://github.com/sponsors/tarsius/&quot;&gt; #+HTML: &amp;lt;img title=&quot;Sponsor my work using Github Sponsors&quot; #+HTML: alt=&quot;Sponsor my work using Github Sponsors&quot; #+HTML: src=&quot;https://magit.vc/assets/donate/github-sponsors-50px.png&quot;&amp;gt;&lt;/a&gt; #+HTML: &amp;nbsp;&amp;nbsp; #+HTML: 
 &lt;a href=&quot;https://liberapay.com/magit/&quot;&gt; #+HTML: &amp;lt;img title=&quot;Sponsor my work using Liberapay&quot; #+HTML: alt=&quot;Sponsor my work using Liberapay&quot; #+HTML: src=&quot;https://magit.vc/assets/donate/liberapay-50px.png&quot;&amp;gt;&lt;/a&gt; #+HTML: 
 &lt;br /&gt; #+HTML: 
 &lt;a href=&quot;https://opencollective.com/magit/&quot;&gt; #+HTML: &amp;lt;img title=&quot;Sponsor my work using Opencollective&quot; #+HTML: alt=&quot;Sponsor my work using Opencollective&quot; #+HTML: src=&quot;https://magit.vc/assets/donate/opencollective-50px.png&quot;&amp;gt;&lt;/a&gt; #+HTML: &amp;nbsp;&amp;nbsp; #+HTML: 
 &lt;a href=&quot;https://magit.vc/donate/paypal.html&quot;&gt; #+HTML: &amp;lt;img title=&quot;Sponsor my work using PayPal&quot; #+HTML: alt=&quot;Sponsor my work using PayPal&quot; #+HTML: src=&quot;https://magit.vc/assets/donate/paypal-50px.png&quot;&amp;gt;&lt;/a&gt; #+HTML:
&lt;/div&gt; #+HTML:
&lt;br /&gt; #+HTML:
&lt;div align=&quot;center&quot;&gt;
  #+HTML: Some alternative donation methods are 
 &lt;a href=&quot;https://magit.vc/donate/&quot;&gt;available&lt;/a&gt;. #+HTML:
&lt;/div&gt; #+HTML:
&lt;hr /&gt; 🔚
&lt;p&gt;&lt;/p&gt; 
&lt;p&gt;*** Getting Started&lt;/p&gt; 
&lt;p&gt;If you are new to Magit, then either one of the following two articles should help understanding how it differs from other Git clients.&lt;/p&gt; 
&lt;p&gt;**** [[&lt;a href=&quot;https://emacsair.me/2017/09/01/magit-walk-through&quot;&gt;https://emacsair.me/2017/09/01/magit-walk-through&lt;/a&gt;][Visual Magit walk-through]]&lt;/p&gt; 
&lt;p&gt;If you are completely new to Magit, then this article is a good visual introduction.&lt;/p&gt; 
&lt;p&gt;Almost everything that you see in Magit can be acted on by pressing some key, but that&#39;s not obvious from just seeing how Magit looks. The screenshots and accompanying text of this article explain how to perform a variety of actions on Magit&#39;s output.&lt;/p&gt; 
&lt;p&gt;**** [[&lt;a href=&quot;https://emacsair.me/2017/09/01/the-magical-git-interface&quot;&gt;https://emacsair.me/2017/09/01/the-magical-git-interface&lt;/a&gt;][Magit, the magical Git interface]]&lt;/p&gt; 
&lt;p&gt;Magit differs significantly from other Git interfaces, and its advantages are not immediately obvious simply from looking at a few screenshots as presented in the preceding article.&lt;/p&gt; 
&lt;p&gt;This article discusses Magit&#39;s properties in somewhat more abstract terms.&lt;/p&gt; 
&lt;p&gt;**** Video introductions&lt;/p&gt; 
&lt;p&gt;If you prefer [[&lt;a href=&quot;https://magit.vc/screencasts&quot;&gt;https://magit.vc/screencasts&lt;/a&gt;][video]] introductions, head over to that page, where find a collection of such introductions and other videos about Magit, by various creators.&lt;/p&gt; 
&lt;p&gt;#+HTML:&lt;/p&gt;
&lt;hr /&gt; *** Support and Contributing
&lt;p&gt;&lt;/p&gt; 
&lt;p&gt;Magit has many users and very few maintainers, so we kindly ask to read the appropriate guidelines before getting in contact. — Thanks!&lt;/p&gt; 
&lt;p&gt;Please use your own words. No stochastic parrots.&lt;/p&gt; 
&lt;ul&gt; 
 &lt;li&gt;🆘 [[&lt;a href=&quot;https://github.com/magit/magit/discussions/4630&quot;&gt;https://github.com/magit/magit/discussions/4630&lt;/a&gt;][How to ask for help]]&lt;/li&gt; 
 &lt;li&gt;🪳 [[&lt;a href=&quot;https://github.com/magit/magit/wiki/How-to-report-a-bug&quot;&gt;https://github.com/magit/magit/wiki/How-to-report-a-bug&lt;/a&gt;][How to report a bug]]&lt;/li&gt; 
 &lt;li&gt;💡 [[&lt;a href=&quot;https://github.com/magit/magit/discussions/4631&quot;&gt;https://github.com/magit/magit/discussions/4631&lt;/a&gt;][How to suggest a feature]]&lt;/li&gt; 
 &lt;li&gt;🏗️ [[&lt;a href=&quot;https://github.com/magit/magit/wiki/Pull-request-guidelines&quot;&gt;https://github.com/magit/magit/wiki/Pull-request-guidelines&lt;/a&gt;][Pull request guidelines]]&lt;/li&gt; 
 &lt;li&gt;ℹ️ [[&lt;a href=&quot;https://docs.magit.vc/magit/FAQ.html&quot;&gt;https://docs.magit.vc/magit/FAQ.html&lt;/a&gt;][FAQ]]&lt;/li&gt; 
 &lt;li&gt;ℹ️ [[&lt;a href=&quot;https://docs.magit.vc/magit&quot;&gt;https://docs.magit.vc/magit&lt;/a&gt;][Manual]]&lt;/li&gt; 
&lt;/ul&gt; 
&lt;p&gt;We use [[&lt;a href=&quot;https://github.com/magit/magit/discussions&quot;&gt;https://github.com/magit/magit/discussions&lt;/a&gt;][discussions]] (not issues) for feature requests. Please consider asking other users for help, where ever you like to hang out with other Emacs users. not every question can only be answered by the maintainer.&lt;/p&gt; 
&lt;p&gt;Please consider supporting the maintainer, who makes a living maintaining this and other packages, with a [[&lt;a href=&quot;https://magit.vc/donate&quot;&gt;https://magit.vc/donate&lt;/a&gt;][donation]]. — Thanks!&lt;/p&gt; 
&lt;p&gt;#+HTML:&lt;/p&gt;
&lt;hr /&gt; *** Acknowledgments
&lt;p&gt;&lt;/p&gt; 
&lt;p&gt;Magit was started by [[&lt;a href=&quot;https://github.com/mvollmer&quot;&gt;https://github.com/mvollmer&lt;/a&gt;][Marius Vollmer]], and is now maintained by [[&lt;a href=&quot;https://emacsair.me&quot;&gt;https://emacsair.me&lt;/a&gt;][Jonas Bernoulli]] and [[&lt;a href=&quot;https://kyleam.com&quot;&gt;https://kyleam.com&lt;/a&gt;][Kyle Meyer]]. Former maintainers are [[&lt;a href=&quot;https://github.com/dudebout&quot;&gt;https://github.com/dudebout&lt;/a&gt;][Nicolas Dudebout]], [[&lt;a href=&quot;https://github.com/npostavs&quot;&gt;https://github.com/npostavs&lt;/a&gt;][Noam Postavsky]], [[&lt;a href=&quot;https://github.com/peweisberg-fadv&quot;&gt;https://github.com/peweisberg-fadv&lt;/a&gt;][Peter J. Weisberg]], [[&lt;a href=&quot;https://github.com/philjackson&quot;&gt;https://github.com/philjackson&lt;/a&gt;][Phil Jackson]], [[&lt;a href=&quot;https://github.com/vanicat&quot;&gt;https://github.com/vanicat&lt;/a&gt;][Rémi Vanicat]] and [[&lt;a href=&quot;https://yann.hodique.info&quot;&gt;https://yann.hodique.info&lt;/a&gt;][Yann Hodique]]. Many more people have [[&lt;a href=&quot;https://stats.magit.vc/magit/authors.html&quot;&gt;https://stats.magit.vc/magit/authors.html&lt;/a&gt;][contributed code]], suggested features or made monetary contributions.&lt;/p&gt; 
&lt;p&gt;:badges: #+HTML:&lt;/p&gt;
&lt;hr /&gt; #+HTML:
&lt;div align=&quot;center&quot;&gt;
  #+HTML: 
 &lt;a href=&quot;https://repology.org/project/emacs%3Amagit/versions&quot;&gt;&lt;img alt=&quot;Packaging status&quot; src=&quot;https://repology.org/badge/vertical-allrepos/emacs%3Amagit.svg?header=&amp;amp;columns=4&amp;amp;minversion=4.7&amp;amp;exclude_unsupported=1&quot; /&gt;&lt;/a&gt; #+HTML:
&lt;/div&gt; #+HTML:
&lt;div align=&quot;center&quot;&gt;
  #+HTML: 
 &lt;a href=&quot;https://snapshots.melpa.org/#/magit&quot;&gt;&lt;img alt=&quot;MELPA Snapshots&quot; src=&quot;https://snapshots.melpa.org/packages/magit-badge.svg?sanitize=true&quot; /&gt;&lt;/a&gt; #+HTML: 
 &lt;a href=&quot;https://releases.melpa.org/#/magit&quot;&gt;&lt;img alt=&quot;MELPA Releases&quot; src=&quot;https://releases.melpa.org/packages/magit-badge.svg?sanitize=true&quot; /&gt;&lt;/a&gt; #+HTML: 
 &lt;a href=&quot;https://elpa.nongnu.org/nongnu/magit.html&quot;&gt;&lt;img alt=&quot;NonGNU ELPA&quot; src=&quot;https://emacsair.me/assets/badges/nongnu-elpa.svg?sanitize=true&quot; /&gt;&lt;/a&gt; #+HTML:
&lt;/div&gt; #+HTML:
&lt;div align=&quot;center&quot;&gt;
  #+HTML: 
 &lt;a href=&quot;https://github.com/magit/magit/actions/workflows/compile.yml&quot;&gt;&lt;img alt=&quot;Compile&quot; src=&quot;https://github.com/magit/magit/actions/workflows/compile.yml/badge.svg?sanitize=true&quot; /&gt;&lt;/a&gt; #+HTML: 
 &lt;a href=&quot;https://github.com/magit/magit/actions/workflows/test.yml&quot;&gt;&lt;img alt=&quot;Test&quot; src=&quot;https://github.com/magit/magit/actions/workflows/test.yml/badge.svg?sanitize=true&quot; /&gt;&lt;/a&gt; #+HTML: 
 &lt;a href=&quot;https://github.com/magit/magit/actions/workflows/manual.yml&quot;&gt;&lt;img alt=&quot;Manual&quot; src=&quot;https://github.com/magit/magit/actions/workflows/manual.yml/badge.svg?sanitize=true&quot; /&gt;&lt;/a&gt; #+HTML:
&lt;/div&gt; #+HTML:
&lt;div align=&quot;center&quot;&gt;
  #+HTML: 
 &lt;a href=&quot;https://emacsair.me/human&quot;&gt;&lt;img alt=&quot;human made&quot; src=&quot;https://emacsair.me/assets/badges/human.svg?sanitize=true&quot; /&gt;&lt;/a&gt; #+HTML:
&lt;/div&gt; 🔚
&lt;p&gt;&lt;/p&gt;</description>
      
      <media:content url="https://opengraph.githubassets.com/7d297dafa812b1642e2052e8c42be502b77a9b0baaa5295af7567c34038cd142/magit/magit" medium="image" />
      
    </item>
    
    <item>
      <title>emacs-mirror/emacs</title>
      <link>https://github.com/emacs-mirror/emacs</link>
      <description>&lt;p&gt;Mirror of GNU Emacs&lt;/p&gt;&lt;p&gt;&lt;img src=&quot;https://mshibanami.github.io/GitHubTrendingRSS/assets/icons/link.png&quot; width=&quot;20&quot; height=&quot;20&quot; alt=&quot;link&quot; style=&quot;margin: 0 8px 0 0; padding: 0; display: inline-block; vertical-align: middle;&quot; /&gt;&lt;a href=&quot;http://www.gnu.org/software/emacs/&quot;&gt;http://www.gnu.org/software/emacs/&lt;/a&gt;&lt;/p&gt;&lt;hr&gt;&lt;p&gt;Copyright (C) 2001-2026 Free Software Foundation, Inc. See the end of the file for license conditions.&lt;/p&gt; 
&lt;p&gt;This directory tree holds version 32.0.50 of GNU Emacs, the extensible, customizable, self-documenting real-time display editor.&lt;/p&gt; 
&lt;p&gt;The file INSTALL in this directory says how to build and install GNU Emacs on various systems, once you have unpacked or checked out the entire Emacs file tree.&lt;/p&gt; 
&lt;p&gt;See the file etc/NEWS for information on new features and other user-visible changes in recent versions of Emacs.&lt;/p&gt; 
&lt;p&gt;The file etc/PROBLEMS contains information on many common problems that occur in building, installing and running Emacs.&lt;/p&gt; 
&lt;p&gt;The file CONTRIBUTE contains information on contributing to Emacs as a developer.&lt;/p&gt; 
&lt;p&gt;You may encounter bugs in this release. If you do, please report them; your bug reports are valuable contributions to the FSF, since they allow us to notice and fix problems on machines we don&#39;t have, or in code we don&#39;t use often. Please send bug reports to the mailing list &lt;a href=&quot;mailto:bug-gnu-emacs@gnu.org&quot;&gt;bug-gnu-emacs@gnu.org&lt;/a&gt;. If possible, use M-x report-emacs-bug.&lt;/p&gt; 
&lt;p&gt;See the &quot;Bugs&quot; section of the Emacs manual for more information on how to report bugs. (The file &#39;BUGS&#39; in this directory explains how you can find and read that section using the Info files that come with Emacs.) For a list of mailing lists related to Emacs, see &lt;a href=&quot;https://savannah.gnu.org/mail/?group=emacs&quot;&gt;https://savannah.gnu.org/mail/?group=emacs&lt;/a&gt;. For the complete list of GNU mailing lists, see &lt;a href=&quot;https://lists.gnu.org/&quot;&gt;https://lists.gnu.org/&lt;/a&gt;.&lt;/p&gt; 
&lt;p&gt;The &#39;etc&#39; subdirectory contains several other files, named in capital letters, which you might consider looking at when installing GNU Emacs.&lt;/p&gt; 
&lt;p&gt;The file &#39;configure&#39; is a shell script to acclimate Emacs to the oddities of your processor and operating system. It creates the file &#39;Makefile&#39; (a script for the &#39;make&#39; program), which automates the process of building and installing Emacs. See INSTALL for more detailed information.&lt;/p&gt; 
&lt;p&gt;The file &#39;&lt;a href=&quot;http://configure.ac&quot;&gt;configure.ac&lt;/a&gt;&#39; is the input used by the autoconf program to construct the &#39;configure&#39; script.&lt;/p&gt; 
&lt;p&gt;The shell script &#39;&lt;a href=&quot;http://autogen.sh&quot;&gt;autogen.sh&lt;/a&gt;&#39; generates &#39;configure&#39; and other files by running Autoconf (which in turn uses GNU m4), and configures files in the .git subdirectory if you are using Git. If you want to use it, you will need to install recent versions of these build tools. This should be needed only if you edit files like &#39;&lt;a href=&quot;http://configure.ac&quot;&gt;configure.ac&lt;/a&gt;&#39; that specify Emacs&#39;s autobuild procedure.&lt;/p&gt; 
&lt;p&gt;The file &#39;&lt;a href=&quot;http://Makefile.in&quot;&gt;Makefile.in&lt;/a&gt;&#39; is a template used by &#39;configure&#39; to create &#39;Makefile&#39;.&lt;/p&gt; 
&lt;p&gt;The file &#39;make-dist&#39; is a shell script to build a distribution tar file from the current Emacs tree, containing only those files appropriate for distribution. If you make extensive changes to Emacs, this script will help you distribute your version to others.&lt;/p&gt; 
&lt;p&gt;There are several subdirectories:&lt;/p&gt; 
&lt;p&gt;&#39;src&#39; holds the C code for Emacs (the Emacs Lisp interpreter and its primitives, the redisplay code, and some basic editing functions). &#39;lisp&#39; holds the Emacs Lisp code for Emacs (most everything else). &#39;leim&#39; holds the original source files for the generated files in lisp/leim. These form the library of Emacs input methods, required to type international characters that can&#39;t be directly produced by your keyboard. &#39;lib&#39; holds source code for libraries used by Emacs and its utilities &#39;lib-src&#39; holds the source code for some utility programs for use by or with Emacs, like movemail and etags. &#39;lwlib&#39; holds the sources of the Lucid Widget Library used on X. &#39;oldXMenu&#39; source files from X11R2 XMenu library, used in non-toolkit builds. &#39;etc&#39; holds miscellaneous architecture-independent data files Emacs uses, like the tutorial text and tool bar images. The contents of the &#39;lisp&#39;, &#39;leim&#39;, &#39;info&#39;, and &#39;doc&#39; subdirectories are architecture-independent too. &#39;info&#39; holds the Info documentation tree for Emacs. &#39;doc/emacs&#39; holds the source code for the Emacs Manual. If you modify the manual sources, you will need the &#39;makeinfo&#39; program to produce an updated manual. &#39;makeinfo&#39; is part of the GNU Texinfo package; you need a suitably recent version of Texinfo. &#39;doc/lispref&#39; holds the source code for the Emacs Lisp reference manual. &#39;doc/lispintro&#39; holds the source code for the Introduction to Programming in Emacs Lisp manual. &#39;msdos&#39; holds configuration files for compiling Emacs under MS-DOS. &#39;nextstep&#39; holds instructions and some other files for compiling the Nextstep port of Emacs, for GNUstep and macOS Cocoa. &#39;nt&#39; holds code and documentation for building Emacs on MS-Windows. &#39;test&#39; holds tests for various aspects of Emacs&#39;s functionality. &#39;modules&#39; holds the &lt;a href=&quot;http://modhelp.py&quot;&gt;modhelp.py&lt;/a&gt; helper script. &#39;admin&#39; holds files used by Emacs developers, and Unicode data files. &#39;build-aux&#39; holds auxiliary files used during the build. &#39;m4&#39; holds Autoconf macros used for generating the configure script. &#39;java&#39; holds the Java code for the Emacs port to Android. &#39;cross&#39; holds Makefiles and an additional copy of gnulib used to build Emacs for Android devices. &#39;exec&#39; holds the source code to several helper executables used to run user-installed programs on Android.&lt;/p&gt; 
&lt;p&gt;Building Emacs on non-Posix platforms requires tools that aren&#39;t part of the standard distribution of the OS. The platform-specific README files and installation instructions should list the required tools.&lt;/p&gt; 
&lt;p&gt;NOTE ON COPYRIGHT YEARS&lt;/p&gt; 
&lt;p&gt;In copyright notices where the copyright holder is the Free Software Foundation, then where a range of years appears, this is an inclusive range that applies to every year in the range. For example: 2005-2008 represents the years 2005, 2006, 2007, and 2008.&lt;/p&gt; 
&lt;p&gt;This file is part of GNU Emacs.&lt;/p&gt; 
&lt;p&gt;GNU Emacs is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.&lt;/p&gt; 
&lt;p&gt;GNU Emacs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.&lt;/p&gt; 
&lt;p&gt;You should have received a copy of the GNU General Public License along with GNU Emacs. If not, see &lt;a href=&quot;https://www.gnu.org/licenses/&quot;&gt;https://www.gnu.org/licenses/&lt;/a&gt;.&lt;/p&gt;</description>
      
      <media:content url="https://opengraph.githubassets.com/6908c0fff840d507bb617b1d428c5b8f4f56257d04e63ea9ded6534f80b5bfc7/emacs-mirror/emacs" medium="image" />
      
    </item>
    
    <item>
      <title>doomemacs/core</title>
      <link>https://github.com/doomemacs/core</link>
      <description>&lt;p&gt;An Emacs framework for the stubborn martian hacker&lt;/p&gt;&lt;p&gt;&lt;img src=&quot;https://mshibanami.github.io/GitHubTrendingRSS/assets/icons/link.png&quot; width=&quot;20&quot; height=&quot;20&quot; alt=&quot;link&quot; style=&quot;margin: 0 8px 0 0; padding: 0; display: inline-block; vertical-align: middle;&quot; /&gt;&lt;a href=&quot;https://doomemacs.org&quot;&gt;https://doomemacs.org&lt;/a&gt;&lt;/p&gt;&lt;hr&gt;&lt;div class=&quot;markdown-alert markdown-alert-caution&quot;&gt;
 &lt;p class=&quot;markdown-alert-title&quot;&gt;
  &lt;svg class=&quot;octicon octicon-stop mr-2&quot; viewbox=&quot;0 0 16 16&quot; version=&quot;1.1&quot; width=&quot;16&quot; height=&quot;16&quot; aria-hidden=&quot;true&quot;&gt;
   &lt;path d=&quot;M4.47.22A.749.749 0 0 1 5 0h6c.199 0 .389.079.53.22l4.25 4.25c.141.14.22.331.22.53v6a.749.749 0 0 1-.22.53l-4.25 4.25A.749.749 0 0 1 11 16H5a.749.749 0 0 1-.53-.22L.22 11.53A.749.749 0 0 1 0 11V5c0-.199.079-.389.22-.53Zm.84 1.28L1.5 5.31v5.38l3.81 3.81h5.38l3.81-3.81V5.31L10.69 1.5ZM8 4a.75.75 0 0 1 .75.75v3.5a.75.75 0 0 1-1.5 0v-3.5A.75.75 0 0 1 8 4Zm0 8a1 1 0 1 1 0-2 1 1 0 0 1 0 2Z&quot;&gt;&lt;/path&gt;
  &lt;/svg&gt;Caution&lt;/p&gt;
 &lt;p&gt;&lt;strong&gt;&lt;code&gt;doomemacs.com&lt;/code&gt; is not associated with nor endorsed by this project!&lt;/strong&gt; &lt;code&gt;doomemacs.org&lt;/code&gt; is our one and only domain. &lt;a href=&quot;https://github.com/orgs/doomemacs/discussions/129&quot;&gt;Read our announcement about it here&lt;/a&gt;.&lt;/p&gt; 
&lt;/div&gt; 
&lt;hr /&gt; 
&lt;div align=&quot;center&quot;&gt; 
 &lt;h1&gt;Doom Emacs&lt;/h1&gt; 
 &lt;p&gt;&lt;a href=&quot;https://raw.githubusercontent.com/doomemacs/core/master/#install&quot;&gt;Install&lt;/a&gt; • &lt;a href=&quot;https://raw.githubusercontent.com/doomemacs/core/master/docs/index.org&quot;&gt;Documentation&lt;/a&gt; • &lt;a href=&quot;https://github.com/doomemacs/core/raw/master/docs/faq.org&quot;&gt;FAQ&lt;/a&gt; • &lt;a href=&quot;https://github.com/doomemacs/core/tree/screenshots#emacsd-screenshots&quot;&gt;Screenshots&lt;/a&gt; • &lt;a href=&quot;https://raw.githubusercontent.com/doomemacs/core/master/#contribute&quot;&gt;Contribute&lt;/a&gt;&lt;/p&gt; 
 &lt;p&gt;&lt;img src=&quot;https://img.shields.io/github/tag/doomemacs/core.svg?style=flat-square&amp;amp;label=release&amp;amp;color=58839b&quot; alt=&quot;Made with Doom Emacs&quot; /&gt; &lt;img src=&quot;https://img.shields.io/badge/Supports-Emacs_27.1%E2%80%9331.1-blueviolet.svg?style=flat-square&amp;amp;logo=GNU%20Emacs&amp;amp;logoColor=white&quot; alt=&quot;Supports Emacs 27.1–31.1&quot; /&gt; &lt;img src=&quot;https://img.shields.io/github/last-commit/doomemacs/core?style=flat-square&quot; alt=&quot;Latest commit&quot; /&gt;&lt;/p&gt; 
 &lt;!-- ![Build status: master](https://img.shields.io/github/workflow/status/doomemacs/core/CI/master?style=flat-square) --&gt; 
 &lt;p&gt;&lt;a href=&quot;https://discord.doomemacs.org&quot;&gt;&lt;img src=&quot;https://img.shields.io/discord/406534637242810369?color=738adb&amp;amp;label=Discord&amp;amp;logo=discord&amp;amp;logoColor=white&amp;amp;style=flat-square&quot; alt=&quot;Discord Server&quot; /&gt;&lt;/a&gt; &lt;a href=&quot;https://discuss.doomemacs.org&quot;&gt;&lt;img src=&quot;https://img.shields.io/github/discussions/doomemacs/community?label=Discussions&amp;amp;logo=github&amp;amp;style=flat-square&quot; alt=&quot;Github Discussions&quot; /&gt;&lt;/a&gt;&lt;/p&gt; 
 &lt;p&gt;&lt;img src=&quot;https://raw.githubusercontent.com/doomemacs/core/screenshots/main.png&quot; alt=&quot;Doom Emacs Screenshot&quot; /&gt;&lt;/p&gt; 
&lt;/div&gt; 
&lt;hr /&gt; 
&lt;h3&gt;Table of Contents&lt;/h3&gt; 
&lt;ul&gt; 
 &lt;li&gt;&lt;a href=&quot;https://raw.githubusercontent.com/doomemacs/core/master/#introduction&quot;&gt;Introduction&lt;/a&gt;&lt;/li&gt; 
 &lt;li&gt;&lt;a href=&quot;https://raw.githubusercontent.com/doomemacs/core/master/#features&quot;&gt;Features&lt;/a&gt;&lt;/li&gt; 
 &lt;li&gt;&lt;a href=&quot;https://raw.githubusercontent.com/doomemacs/core/master/#prerequisites&quot;&gt;Prerequisites&lt;/a&gt;&lt;/li&gt; 
 &lt;li&gt;&lt;a href=&quot;https://raw.githubusercontent.com/doomemacs/core/master/#install&quot;&gt;Install&lt;/a&gt;&lt;/li&gt; 
 &lt;li&gt;&lt;a href=&quot;https://raw.githubusercontent.com/doomemacs/core/master/#roadmap&quot;&gt;Roadmap&lt;/a&gt;&lt;/li&gt; 
 &lt;li&gt;&lt;a href=&quot;https://raw.githubusercontent.com/doomemacs/core/master/#getting-help&quot;&gt;Getting help&lt;/a&gt;&lt;/li&gt; 
 &lt;li&gt;&lt;a href=&quot;https://raw.githubusercontent.com/doomemacs/core/master/#contribute&quot;&gt;Contribute&lt;/a&gt;&lt;/li&gt; 
&lt;/ul&gt; 
&lt;h1&gt;Introduction&lt;/h1&gt; 
&lt;a href=&quot;http://ultravioletbat.deviantart.com/art/Yay-Evil-111710573&quot;&gt; &lt;img src=&quot;https://raw.githubusercontent.com/doomemacs/core/screenshots/cacochan.png&quot; align=&quot;right&quot; /&gt; &lt;/a&gt; 
&lt;blockquote&gt; 
 &lt;p&gt;It is a story as old as time. A stubborn, shell-dwelling, and melodramatic vimmer—envious of the features of modern text editors—spirals into despair before he succumbs to the &lt;a href=&quot;https://github.com/emacs-evil/evil&quot;&gt;dark side&lt;/a&gt;. This is his config.&lt;/p&gt; 
&lt;/blockquote&gt; 
&lt;p&gt;Doom is a configuration framework for &lt;a href=&quot;https://www.gnu.org/software/emacs/&quot;&gt;GNU Emacs&lt;/a&gt; tailored for Emacs bankruptcy veterans who want less framework in their frameworks, a modicum of stability (and reproducibility) from their package manager, and the performance of a hand rolled config (or better). It can be a foundation for your own config or a resource for Emacs enthusiasts to learn more about our favorite operating system.&lt;/p&gt; 
&lt;p&gt;Its design is guided by these mantras:&lt;/p&gt; 
&lt;ul&gt; 
 &lt;li&gt;&lt;strong&gt;Gotta go fast.&lt;/strong&gt; Startup and run-time performance are priorities. Doom goes beyond by modifying packages to be snappier and load lazier.&lt;/li&gt; 
 &lt;li&gt;&lt;strong&gt;Close to metal.&lt;/strong&gt; There&#39;s less between you and vanilla Emacs by design. That&#39;s less to grok and less to work around when you tinker. Internals ought to be written as if reading them were part of Doom&#39;s UX, and it is!&lt;/li&gt; 
 &lt;li&gt;&lt;strong&gt;Opinionated, but not stubborn.&lt;/strong&gt; Doom is about reasonable defaults and curated opinions, but use as little or as much of it as you like.&lt;/li&gt; 
 &lt;li&gt;&lt;strong&gt;Your system, your rules.&lt;/strong&gt; You know better. At least, Doom hopes so! It won&#39;t &lt;em&gt;automatically&lt;/em&gt; install system dependencies (and will force plugins not to either). Rely on &lt;code&gt;doom doctor&lt;/code&gt; to tell you what&#39;s missing.&lt;/li&gt; 
 &lt;li&gt;&lt;strong&gt;Nix/Guix is a great idea!&lt;/strong&gt; The Emacs ecosystem is temperamental. Things break and they break often. Disaster recovery should be a priority! Doom&#39;s package management should be declarative and your private config reproducible, and comes with a means to roll back releases and updates (still a WIP).&lt;/li&gt; 
&lt;/ul&gt; 
&lt;p&gt;Check out &lt;a href=&quot;https://github.com/doomemacs/core/raw/master/docs/faq.org&quot;&gt;the FAQ&lt;/a&gt; for answers to common questions about the project.&lt;/p&gt; 
&lt;h1&gt;Features&lt;/h1&gt; 
&lt;ul&gt; 
 &lt;li&gt;Minimalistic good looks inspired by modern editors.&lt;/li&gt; 
 &lt;li&gt;Curated and sane defaults for many packages, (major) OSes, and Emacs itself.&lt;/li&gt; 
 &lt;li&gt;A modular organizational structure for separating concerns in your config.&lt;/li&gt; 
 &lt;li&gt;A standard library designed to simplify your elisp bike shedding.&lt;/li&gt; 
 &lt;li&gt;A declarative &lt;a href=&quot;https://raw.githubusercontent.com/doomemacs/core/master/docs/getting_started.org#package-management&quot;&gt;package management system&lt;/a&gt; (powered by &lt;a href=&quot;https://github.com/radian-software/straight.el&quot;&gt;straight.el&lt;/a&gt;) with a command line interface. Install packages from anywhere, not just (M)ELPA, and pin them to any commit.&lt;/li&gt; 
 &lt;li&gt;Optional vim emulation powered by &lt;a href=&quot;https://github.com/emacs-evil/evil&quot;&gt;evil-mode&lt;/a&gt;, including ports of popular vim plugins like &lt;a href=&quot;https://github.com/justinmk/vim-sneak&quot;&gt;vim-sneak&lt;/a&gt;, &lt;a href=&quot;https://github.com/easymotion/vim-easymotion&quot;&gt;vim-easymotion&lt;/a&gt;, &lt;a href=&quot;https://github.com/tpope/vim-unimpaired&quot;&gt;vim-unimpaired&lt;/a&gt; and &lt;a href=&quot;https://raw.githubusercontent.com/doomemacs/core/master/modules/editor/evil/README.org#ported-vim-plugins&quot;&gt;more&lt;/a&gt;!&lt;/li&gt; 
 &lt;li&gt;Opt-in LSP integration for many languages, using &lt;a href=&quot;https://github.com/emacs-lsp/lsp-mode&quot;&gt;lsp-mode&lt;/a&gt; or &lt;a href=&quot;https://github.com/joaotavora/eglot&quot;&gt;eglot&lt;/a&gt;&lt;/li&gt; 
 &lt;li&gt;Support for &lt;em&gt;many&lt;/em&gt; programming languages. Includes syntax highlighting, linters/checker integration, inline code evaluation, code completion (where possible), REPLs, documentation lookups, snippets, and more!&lt;/li&gt; 
 &lt;li&gt;Support for &lt;em&gt;many&lt;/em&gt; tools, like docker, pass, ansible, terraform, and more.&lt;/li&gt; 
 &lt;li&gt;A Spacemacs-esque &lt;a href=&quot;https://raw.githubusercontent.com/doomemacs/core/master/modules/config/default/+evil-bindings.el&quot;&gt;keybinding scheme&lt;/a&gt;, centered around leader and localleader prefix keys (&lt;kbd&gt;SPC&lt;/kbd&gt; and &lt;kbd&gt;SPC&lt;/kbd&gt;&lt;kbd&gt;m&lt;/kbd&gt; for evil users, &lt;kbd&gt;C-c&lt;/kbd&gt; and &lt;kbd&gt;C-c l&lt;/kbd&gt; for vanilla users).&lt;/li&gt; 
 &lt;li&gt;A rule-based &lt;a href=&quot;https://raw.githubusercontent.com/doomemacs/core/master/modules/ui/popup/README.org&quot;&gt;popup manager&lt;/a&gt; to control how temporary buffers are displayed (and disposed of).&lt;/li&gt; 
 &lt;li&gt;Per-file indentation style detection and &lt;a href=&quot;http://editorconfig.org/&quot;&gt;editorconfig&lt;/a&gt; integration. Let someone else argue about tabs vs &lt;strong&gt;&lt;em&gt;spaces&lt;/em&gt;&lt;/strong&gt;.&lt;/li&gt; 
 &lt;li&gt;Project-management tools and framework-specific minor modes with their own snippets libraries.&lt;/li&gt; 
 &lt;li&gt;Project search (and replace) utilities, powered by &lt;a href=&quot;https://github.com/BurntSushi/ripgrep&quot;&gt;ripgrep&lt;/a&gt; and &lt;a href=&quot;https://github.com/abo-abo/swiper&quot;&gt;ivy&lt;/a&gt; or &lt;a href=&quot;https://github.com/emacs-helm/helm&quot;&gt;helm&lt;/a&gt;.&lt;/li&gt; 
 &lt;li&gt;Isolated and persistent workspaces (also substitutes for vim tabs).&lt;/li&gt; 
 &lt;li&gt;Support for Chinese and Japanese input systems.&lt;/li&gt; 
 &lt;li&gt;Save a snapshot of your shell environment to a file for Emacs to load at startup. No more struggling to get Emacs to inherit your &lt;code&gt;PATH&lt;/code&gt;, among other things.&lt;/li&gt; 
&lt;/ul&gt; 
&lt;h1&gt;Prerequisites&lt;/h1&gt; 
&lt;ul&gt; 
 &lt;li&gt;&lt;strong&gt;Required:&lt;/strong&gt; 
  &lt;ul&gt; 
   &lt;li&gt;GNU Emacs 27.1–31.1 (31.1 is recommended) 
    &lt;ul&gt; 
     &lt;li&gt;Using only Doom&#39;s CLI requires 27.1+&lt;/li&gt; 
     &lt;li&gt;Using Doom as a starter kit requires 29.1+&lt;/li&gt; 
    &lt;/ul&gt; &lt;/li&gt; 
   &lt;li&gt;Git &amp;gt;= 2.23&lt;/li&gt; 
   &lt;li&gt;&lt;a href=&quot;https://github.com/BurntSushi/ripgrep&quot;&gt;ripgrep&lt;/a&gt; &amp;gt;= 11.0&lt;/li&gt; 
  &lt;/ul&gt; &lt;/li&gt; 
 &lt;li&gt;&lt;strong&gt;Optional, but recommended:&lt;/strong&gt; 
  &lt;ul&gt; 
   &lt;li&gt;&lt;a href=&quot;https://github.com/sharkdp/fd&quot;&gt;fd&lt;/a&gt; 7.3.0+ (used to improve file indexing performance)&lt;/li&gt; 
   &lt;li&gt;GNU variants of &lt;code&gt;find&lt;/code&gt;, &lt;code&gt;ls&lt;/code&gt;, and &lt;code&gt;tar&lt;/code&gt; (on MacOS and BSD *nix)&lt;/li&gt; 
   &lt;li&gt;Symbola font (Emacs&#39; fallback font for glyphs it can&#39;t display)&lt;/li&gt; 
  &lt;/ul&gt; &lt;/li&gt; 
&lt;/ul&gt; 
&lt;div class=&quot;markdown-alert markdown-alert-warning&quot;&gt;
 &lt;p class=&quot;markdown-alert-title&quot;&gt;
  &lt;svg class=&quot;octicon octicon-alert mr-2&quot; viewbox=&quot;0 0 16 16&quot; version=&quot;1.1&quot; width=&quot;16&quot; height=&quot;16&quot; aria-hidden=&quot;true&quot;&gt;
   &lt;path d=&quot;M6.457 1.047c.659-1.234 2.427-1.234 3.086 0l6.082 11.378A1.75 1.75 0 0 1 14.082 15H1.918a1.75 1.75 0 0 1-1.543-2.575Zm1.763.707a.25.25 0 0 0-.44 0L1.698 13.132a.25.25 0 0 0 .22.368h12.164a.25.25 0 0 0 .22-.368Zm.53 3.996v2.5a.75.75 0 0 1-1.5 0v-2.5a.75.75 0 0 1 1.5 0ZM9 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z&quot;&gt;&lt;/path&gt;
  &lt;/svg&gt;Warning&lt;/p&gt;
 &lt;p&gt;&lt;strong&gt;Avoid unstable and pre-release builds of Emacs.&lt;/strong&gt; These end in &lt;code&gt;.50&lt;/code&gt;, &lt;code&gt;.60&lt;/code&gt;, or &lt;code&gt;.9X&lt;/code&gt; (e.g. &lt;code&gt;28.1.91&lt;/code&gt;). Doom should generally work on Emacs HEAD (the maintainer dogfoods it), but support lags behind the bleeding edge by at least a month or so.&lt;/p&gt; 
&lt;/div&gt; 
&lt;div class=&quot;markdown-alert markdown-alert-important&quot;&gt;
 &lt;p class=&quot;markdown-alert-title&quot;&gt;
  &lt;svg class=&quot;octicon octicon-report mr-2&quot; viewbox=&quot;0 0 16 16&quot; version=&quot;1.1&quot; width=&quot;16&quot; height=&quot;16&quot; aria-hidden=&quot;true&quot;&gt;
   &lt;path d=&quot;M0 1.75C0 .784.784 0 1.75 0h12.5C15.216 0 16 .784 16 1.75v9.5A1.75 1.75 0 0 1 14.25 13H8.06l-2.573 2.573A1.458 1.458 0 0 1 3 14.543V13H1.75A1.75 1.75 0 0 1 0 11.25Zm1.75-.25a.25.25 0 0 0-.25.25v9.5c0 .138.112.25.25.25h2a.75.75 0 0 1 .75.75v2.19l2.72-2.72a.749.749 0 0 1 .53-.22h6.5a.25.25 0 0 0 .25-.25v-9.5a.25.25 0 0 0-.25-.25Zm7 2.25v2.5a.75.75 0 0 1-1.5 0v-2.5a.75.75 0 0 1 1.5 0ZM9 9a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z&quot;&gt;&lt;/path&gt;
  &lt;/svg&gt;Important&lt;/p&gt;
 &lt;p&gt;Doom is comprised of &lt;a href=&quot;https://raw.githubusercontent.com/doomemacs/core/master/docs/modules.org&quot;&gt;~150 optional modules&lt;/a&gt;, some of which may have additional dependencies. &lt;a href=&quot;https://raw.githubusercontent.com/doomemacs/core/master/docs/modules.org&quot;&gt;Visit their documentation&lt;/a&gt; or run &lt;code&gt;bin/doom doctor&lt;/code&gt; to check for any that you may have missed.&lt;/p&gt; 
&lt;/div&gt; 
&lt;h1&gt;Install&lt;/h1&gt; 
&lt;pre&gt;&lt;code class=&quot;language-sh&quot;&gt;git clone --depth 1 https://github.com/doomemacs/core ~/.config/emacs
~/.config/emacs/bin/doom install
&lt;/code&gt;&lt;/pre&gt; 
&lt;p&gt;Then &lt;a href=&quot;https://raw.githubusercontent.com/doomemacs/core/master/docs/getting_started.org&quot;&gt;read our Getting Started guide&lt;/a&gt; to be walked through installing, configuring and maintaining Doom Emacs.&lt;/p&gt; 
&lt;p&gt;It&#39;s a good idea to add &lt;code&gt;~/.config/emacs/bin&lt;/code&gt; to your &lt;code&gt;PATH&lt;/code&gt;! Other &lt;code&gt;bin/doom&lt;/code&gt; commands you should know about:&lt;/p&gt; 
&lt;ul&gt; 
 &lt;li&gt;&lt;code&gt;doom sync&lt;/code&gt; to synchronize your private config with Doom by installing missing packages, removing orphaned packages, and regenerating caches. Run this whenever you modify your private &lt;code&gt;init.el&lt;/code&gt; or &lt;code&gt;packages.el&lt;/code&gt;, or install/remove an Emacs package through your OS package manager (e.g. mu4e or agda).&lt;/li&gt; 
 &lt;li&gt;&lt;code&gt;doom sync --env&lt;/code&gt; to include a snapshot of your shell environment that Doom will load at startup. This allows Emacs to inherit your &lt;code&gt;PATH&lt;/code&gt;, among other things. This replaces &lt;a href=&quot;https://github.com/purcell/exec-path-from-shell&quot;&gt;exec-path-from-shell&lt;/a&gt;.&lt;/li&gt; 
 &lt;li&gt;&lt;code&gt;doom upgrade&lt;/code&gt; to update Doom to the latest release &amp;amp; all installed packages.&lt;/li&gt; 
 &lt;li&gt;&lt;code&gt;doom doctor&lt;/code&gt; to diagnose common issues with your system and config.&lt;/li&gt; 
&lt;/ul&gt; 
&lt;h1&gt;Roadmap&lt;/h1&gt; 
&lt;p&gt;Doom is an active and ongoing project. To make that development more transparent, its roadmap (and other concerns) are published across three github project boards and a newsletter:&lt;/p&gt; 
&lt;ul&gt; 
 &lt;li&gt;&lt;a href=&quot;https://doomemacs.org/roadmap&quot;&gt;Development Roadmap&lt;/a&gt;&lt;/li&gt; 
 &lt;li&gt;&lt;a href=&quot;https://doomemacs.org/packages-under-review&quot;&gt;Packages under review&lt;/a&gt;: lists plugins we are watching and considering for inclusion, and what their status for inclusion is. Please consult this list before requesting new packages/features.&lt;/li&gt; 
&lt;/ul&gt; 
&lt;ul&gt; 
 &lt;li&gt;&lt;a href=&quot;https://github.com/orgs/doomemacs/projects/7&quot;&gt;Upstream bugs&lt;/a&gt;: lists issues that originate from elsewhere, and whether or not we have local workarounds or temporary fixes for them.&lt;/li&gt; 
 &lt;li&gt;&lt;s&gt;Doom&#39;s newsletter&lt;/s&gt; (not finished) will contain changelogs in between releases.&lt;/li&gt; 
&lt;/ul&gt; 
&lt;h1&gt;Getting help&lt;/h1&gt; 
&lt;p&gt;Emacs is no journey of a mere thousand miles. You &lt;em&gt;will&lt;/em&gt; run into problems and mysterious errors. When you do, here are some places you can look for help:&lt;/p&gt; 
&lt;ul&gt; 
 &lt;li&gt;&lt;a href=&quot;https://raw.githubusercontent.com/doomemacs/core/master/docs/index.org&quot;&gt;Our documentation&lt;/a&gt; covers many use cases. 
  &lt;ul&gt; 
   &lt;li&gt;&lt;a href=&quot;https://raw.githubusercontent.com/doomemacs/core/master/docs/getting_started.org#configuring-doom&quot;&gt;The Configuration section&lt;/a&gt; covers how to configure Doom and its packages.&lt;/li&gt; 
   &lt;li&gt;&lt;a href=&quot;https://raw.githubusercontent.com/doomemacs/core/master/docs/getting_started.org#package-management&quot;&gt;The Package Management section&lt;/a&gt; covers how to install and disable packages.&lt;/li&gt; 
   &lt;li&gt;&lt;a href=&quot;https://raw.githubusercontent.com/doomemacs/core/master/docs/getting_started.org#the-bindoom-utility&quot;&gt;This section&lt;/a&gt; explains the &lt;code&gt;bin/doom&lt;/code&gt; script&#39;s most important commands.&lt;/li&gt; 
   &lt;li&gt;&lt;a href=&quot;https://raw.githubusercontent.com/doomemacs/core/master/docs/getting_started.org#common-mistakes-when-configuring-doom-emacs&quot;&gt;This section&lt;/a&gt; lists some common configuration mistakes new users make, when migrating a config from another distro or their own.&lt;/li&gt; 
   &lt;li&gt;&lt;a href=&quot;https://raw.githubusercontent.com/doomemacs/core/master/docs/faq.org#how-do-i-change-the-theme&quot;&gt;This answer&lt;/a&gt; shows you how to add your own themes to your private config.&lt;/li&gt; 
   &lt;li&gt;&lt;a href=&quot;https://raw.githubusercontent.com/doomemacs/core/master/docs/faq.org#how-do-i-change-the-fonts&quot;&gt;This answer&lt;/a&gt; shows you how to change the default font.&lt;/li&gt; 
   &lt;li&gt;Your issue may be documented in the &lt;a href=&quot;https://github.com/doomemacs/core/raw/master/docs/faq.org&quot;&gt;FAQ&lt;/a&gt;.&lt;/li&gt; 
  &lt;/ul&gt; &lt;/li&gt; 
 &lt;li&gt;With Emacs built-in help system documentation is a keystroke away: 
  &lt;ul&gt; 
   &lt;li&gt;For functions: &lt;kbd&gt;SPC h f&lt;/kbd&gt; or &lt;kbd&gt;C-h f&lt;/kbd&gt;&lt;/li&gt; 
   &lt;li&gt;For variables: &lt;kbd&gt;SPC h v&lt;/kbd&gt; or &lt;kbd&gt;C-h v&lt;/kbd&gt;&lt;/li&gt; 
   &lt;li&gt;For a keybind: &lt;kbd&gt;SPC h k&lt;/kbd&gt; or &lt;kbd&gt;C-h k&lt;/kbd&gt;&lt;/li&gt; 
   &lt;li&gt;To search available keybinds: &lt;kbd&gt;SPC h b b&lt;/kbd&gt; or &lt;kbd&gt;C-h b b&lt;/kbd&gt;&lt;/li&gt; 
  &lt;/ul&gt; &lt;/li&gt; 
 &lt;li&gt;Run &lt;code&gt;bin/doom doctor&lt;/code&gt; to detect common issues with your development environment and private config.&lt;/li&gt; 
 &lt;li&gt;Check out the &lt;a href=&quot;https://github.com/doomemacs/core/raw/master/docs/faq.org&quot;&gt;FAQ&lt;/a&gt; or &lt;a href=&quot;https://github.com/doomemacs/community?tab=readme-ov-file#frequently-asked-questions&quot;&gt;Community FAQs&lt;/a&gt;, in case your question has already been answered.&lt;/li&gt; 
 &lt;li&gt;Search &lt;a href=&quot;https://github.com/doomemacs/core/issues&quot;&gt;Doom&#39;s issue tracker&lt;/a&gt; in case your issue was already reported.&lt;/li&gt; 
 &lt;li&gt;Hop on &lt;a href=&quot;https://discord.doomemacs.org&quot;&gt;our Discord server&lt;/a&gt;; it&#39;s active and friendly! Keep an eye on the #announcements channel, where I announce breaking updates and releases.&lt;/li&gt; 
&lt;/ul&gt; 
&lt;h1&gt;Contribute&lt;/h1&gt; 
&lt;p&gt;&lt;a href=&quot;http://makeapullrequest.com&quot;&gt;&lt;img src=&quot;https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square&quot; alt=&quot;PRs Welcome&quot; /&gt;&lt;/a&gt; &lt;a href=&quot;https://github.com/bbatsov/emacs-lisp-style-guide&quot;&gt;&lt;img src=&quot;https://img.shields.io/badge/elisp-style%20guide-purple?style=flat-square&quot; alt=&quot;Elisp styleguide&quot; /&gt;&lt;/a&gt; &lt;a href=&quot;https://liberapay.com/hlissner/donate&quot;&gt;&lt;img src=&quot;https://img.shields.io/badge/liberapay-donate-1.svg?style=flat-square&amp;amp;logo=liberapay&amp;amp;color=blue&quot; alt=&quot;Donate on liberapay&quot; /&gt;&lt;/a&gt; &lt;a href=&quot;https://paypal.me/hlissner/10&quot;&gt;&lt;img src=&quot;https://img.shields.io/badge/paypal-donate-1?style=flat-square&amp;amp;logo=paypal&amp;amp;color=blue&quot; alt=&quot;Donate on paypal&quot; /&gt;&lt;/a&gt;&lt;/p&gt; 
&lt;p&gt;Doom is a labor of love and incurable madness, but I&#39;m only one guy. Doom wouldn&#39;t be where it is today without your help. I welcome contributions of any kind!&lt;/p&gt; 
&lt;ul&gt; 
 &lt;li&gt;I ❤️ pull requests and bug reports (see the &lt;a href=&quot;https://raw.githubusercontent.com/doomemacs/core/master/docs/contributing.org&quot;&gt;Contributing Guidelines&lt;/a&gt;)!&lt;/li&gt; 
 &lt;li&gt;Don&#39;t hesitate to &lt;a href=&quot;https://github.com/doomemacs/core/issues/new/choose&quot;&gt;tell me my Elisp-fu sucks&lt;/a&gt;, but please tell me why.&lt;/li&gt; 
 &lt;li&gt;Hop on &lt;a href=&quot;https://discord.doomemacs.org&quot;&gt;our Discord server&lt;/a&gt; and say hi! Help others, hang out or talk to me about Emacs, gamedev, programming, physics, pixel art, anime, gaming -- anything you like. Nourish this lonely soul.&lt;/li&gt; 
 &lt;li&gt;If you&#39;d like to support my work financially, buy me a drink through &lt;a href=&quot;https://liberapay.com/hlissner/donate&quot;&gt;liberapay&lt;/a&gt; or &lt;a href=&quot;https://paypal.me/hlissner/10&quot;&gt;paypal&lt;/a&gt;. My work contends with studies, adventures in indie gamedev and freelance work. Donations help me allocate more time to my Emacs and OSS capers.&lt;/li&gt; 
&lt;/ul&gt; 
&lt;h2&gt;LLM Policy&lt;/h2&gt; 
&lt;p&gt;Generative AI is not used in the development of this project (except to test, debug, and improve &lt;a href=&quot;https://github.com/doomemacs/modules/tree/main/modules/tools/llm&quot;&gt;LLM modules&lt;/a&gt;). LLM-generated (or assisted) contributions are &lt;strong&gt;highly&lt;/strong&gt; discouraged, but tolerated so long as they meet the following criteria:&lt;/p&gt; 
&lt;ol&gt; 
 &lt;li&gt;LLM-generated contributions are small,&lt;/li&gt; 
 &lt;li&gt;LLM-use is disclosed,&lt;/li&gt; 
 &lt;li&gt;&lt;a href=&quot;https://github.com/doomemacs/.github/raw/main/.github/ISSUE_TEMPLATE/bug_report.yml&quot;&gt;Issue&lt;/a&gt; and &lt;a href=&quot;https://github.com/doomemacs/.github/raw/main/.github/PULL_REQUEST_TEMPLATE.md&quot;&gt;pull request&lt;/a&gt; templates are followed (it is disruptive when LLMs omit key information and AI disclosures, or follow arbitrary heading structures),&lt;/li&gt; 
 &lt;li&gt;Your &lt;code&gt;M-x doom/info&lt;/code&gt; must be uploaded as a file, not published as text in the issue/PR.&lt;sup class=&quot;footnote-ref&quot;&gt;&lt;a href=&quot;https://raw.githubusercontent.com/doomemacs/core/master/#fn1&quot; id=&quot;fnref1&quot;&gt;[1]&lt;/a&gt;&lt;/sup&gt;&lt;/li&gt; 
 &lt;li&gt;A human responds to reviews and questions.&lt;/li&gt; 
&lt;/ol&gt; 
&lt;p&gt;Failing that, related issues/PRs will be immediately closed and refused with notice. Repeat offenders will be banned.&lt;/p&gt; 
&lt;hr class=&quot;footnotes-sep&quot; /&gt; 
&lt;section class=&quot;footnotes&quot;&gt; 
 &lt;ol class=&quot;footnotes-list&quot;&gt; 
  &lt;li id=&quot;fn1&quot; class=&quot;footnote-item&quot;&gt;&lt;p&gt;A file-upload is used because &lt;code&gt;doom-info&lt;/code&gt;s are filled with keywords that pollute search engine results and make issues harder for users/maintainers to find. &lt;a href=&quot;https://raw.githubusercontent.com/doomemacs/core/master/#fnref1&quot; class=&quot;footnote-backref&quot;&gt;↩︎&lt;/a&gt;&lt;/p&gt; &lt;/li&gt; 
 &lt;/ol&gt; 
&lt;/section&gt;</description>
      
      <media:content url="https://repository-images.githubusercontent.com/21763822/47152a00-a255-11e9-9ca0-37fec3ef82cc" medium="image" />
      
    </item>
    
    <item>
      <title>karthink/gptel</title>
      <link>https://github.com/karthink/gptel</link>
      <description>&lt;p&gt;A simple, extensible LLM client for Emacs&lt;/p&gt;&lt;hr&gt;&lt;p&gt;#+title: gptel: A simple LLM client for Emacs&lt;/p&gt; 
&lt;p&gt;[[&lt;a href=&quot;https://elpa.nongnu.org/nongnu/gptel.html&quot;&gt;https://elpa.nongnu.org/nongnu/gptel.html&lt;/a&gt;][file:&lt;a href=&quot;https://elpa.nongnu.org/nongnu/gptel.svg&quot;&gt;https://elpa.nongnu.org/nongnu/gptel.svg&lt;/a&gt;]] [[&lt;a href=&quot;https://elpa.nongnu.org/nongnu-devel/gptel.html&quot;&gt;https://elpa.nongnu.org/nongnu-devel/gptel.html&lt;/a&gt;][file:&lt;a href=&quot;https://elpa.nongnu.org/nongnu-devel/gptel.svg&quot;&gt;https://elpa.nongnu.org/nongnu-devel/gptel.svg&lt;/a&gt;]] [[&lt;a href=&quot;https://stable.melpa.org/#/gptel&quot;&gt;https://stable.melpa.org/#/gptel&lt;/a&gt;][file:&lt;a href=&quot;https://stable.melpa.org/packages/gptel-badge.svg&quot;&gt;https://stable.melpa.org/packages/gptel-badge.svg&lt;/a&gt;]] [[&lt;a href=&quot;https://melpa.org/#/gptel&quot;&gt;https://melpa.org/#/gptel&lt;/a&gt;][file:&lt;a href=&quot;https://melpa.org/packages/gptel-badge.svg&quot;&gt;https://melpa.org/packages/gptel-badge.svg&lt;/a&gt;]]&lt;/p&gt; 
&lt;p&gt;gptel is a simple Large Language Model chat client for Emacs, with support for multiple models and backends. It works in the spirit of Emacs, available at any time and uniformly in any buffer.&lt;/p&gt; 
&lt;p&gt;&lt;em&gt;General usage&lt;/em&gt;: ([[&lt;a href=&quot;https://www.youtube.com/watch?v=bsRnh_brggM&quot;&gt;https://www.youtube.com/watch?v=bsRnh_brggM&lt;/a&gt;][YouTube Demo]], 18 min) &lt;em&gt;Advanced usage&lt;/em&gt;: ([[&lt;a href=&quot;https://www.youtube.com/watch?v=xHEnWvKmSKM&quot;&gt;https://www.youtube.com/watch?v=xHEnWvKmSKM&lt;/a&gt;][YouTube Demo]], 28 min)&lt;/p&gt; 
&lt;p&gt;&lt;a href=&quot;https://user-images.githubusercontent.com/8607532/230516812-86510a09-a2fb-4cbd-b53f-cc2522d05a13.mp4&quot;&gt;https://user-images.githubusercontent.com/8607532/230516812-86510a09-a2fb-4cbd-b53f-cc2522d05a13.mp4&lt;/a&gt;&lt;/p&gt; 
&lt;p&gt;&lt;a href=&quot;https://user-images.githubusercontent.com/8607532/230516816-ae4a613a-4d01-4073-ad3f-b66fa73c6e45.mp4&quot;&gt;https://user-images.githubusercontent.com/8607532/230516816-ae4a613a-4d01-4073-ad3f-b66fa73c6e45.mp4&lt;/a&gt;&lt;/p&gt; 
&lt;p&gt;&lt;em&gt;In-place usage&lt;/em&gt;&lt;/p&gt; 
&lt;p&gt;#+html: &lt;/p&gt;
&lt;p align=&quot;center&quot;&gt; &lt;a href=&quot;https://github.com/user-attachments/assets/cec11aec-52f6-412e-9e7a-9358e8b9b1bf&quot;&gt;https://github.com/user-attachments/assets/cec11aec-52f6-412e-9e7a-9358e8b9b1bf&lt;/a&gt; #+html: &lt;/p&gt;
&lt;p&gt;&lt;/p&gt; 
&lt;p&gt;&lt;em&gt;Tool use&lt;/em&gt;&lt;/p&gt; 
&lt;p&gt;#+html: &lt;/p&gt;
&lt;p align=&quot;center&quot;&gt; &lt;a href=&quot;https://github.com/user-attachments/assets/5f993659-4cfd-49fa-b5cd-19c55766b9b2&quot;&gt;https://github.com/user-attachments/assets/5f993659-4cfd-49fa-b5cd-19c55766b9b2&lt;/a&gt; #+html: &lt;/p&gt;
&lt;p&gt;&lt;/p&gt; 
&lt;p&gt;#+html: &lt;/p&gt;
&lt;p align=&quot;center&quot;&gt; &lt;a href=&quot;https://github.com/user-attachments/assets/8f57c20b-e1b0-4d86-b972-f46fb90ae1e7&quot;&gt;https://github.com/user-attachments/assets/8f57c20b-e1b0-4d86-b972-f46fb90ae1e7&lt;/a&gt; #+html: &lt;/p&gt;
&lt;p&gt;&lt;/p&gt; 
&lt;p&gt;See also [[&lt;a href=&quot;https://youtu.be/g1VMGhC5gRU&quot;&gt;https://youtu.be/g1VMGhC5gRU&lt;/a&gt;][this youtube demo (2 minutes)]] by Armin Darvish.&lt;/p&gt; 
&lt;h1&gt;&lt;em&gt;Media support&lt;/em&gt;&lt;/h1&gt; 
&lt;h1&gt;#+html: &lt;p align=&quot;center&quot;&gt;&lt;/p&gt;&lt;/h1&gt; 
&lt;h1&gt;&lt;a href=&quot;https://github.com/user-attachments/assets/1fd947e1-226b-4be2-bc68-7b22b2e3215f&quot;&gt;https://github.com/user-attachments/assets/1fd947e1-226b-4be2-bc68-7b22b2e3215f&lt;/a&gt;&lt;/h1&gt; 
&lt;h1&gt;#+html: &lt;p&gt;&lt;/p&gt;&lt;/h1&gt; 
&lt;h1&gt;&lt;em&gt;Multi-LLM support demo&lt;/em&gt;:&lt;/h1&gt; 
&lt;h1&gt;&lt;a href=&quot;https://github-production-user-asset-6210df.s3.amazonaws.com/8607532/278854024-ae1336c4-5b87-41f2-83e9-e415349d6a43.mp4&quot;&gt;https://github-production-user-asset-6210df.s3.amazonaws.com/8607532/278854024-ae1336c4-5b87-41f2-83e9-e415349d6a43.mp4&lt;/a&gt;&lt;/h1&gt; 
&lt;hr /&gt; 
&lt;ul&gt; 
 &lt;li&gt;Interact with LLMs from anywhere in Emacs (any buffer, shell, minibuffer, wherever).&lt;/li&gt; 
 &lt;li&gt;LLM responses are in Markdown or Org markup.&lt;/li&gt; 
 &lt;li&gt;Supports multiple independent conversations, one-off ad hoc interactions and anything in between.&lt;/li&gt; 
 &lt;li&gt;Supports tool-use to equip LLMs with agentic capabilities.&lt;/li&gt; 
 &lt;li&gt;Supports Model Context Protocol (MCP) integration using [[&lt;a href=&quot;https://github.com/lizqwerscott/mcp.el&quot;&gt;https://github.com/lizqwerscott/mcp.el&lt;/a&gt;][mcp.el]].&lt;/li&gt; 
 &lt;li&gt;Supports multi-modal input (include images, documents).&lt;/li&gt; 
 &lt;li&gt;Supports &quot;reasoning&quot; content in LLM responses.&lt;/li&gt; 
 &lt;li&gt;Save chats as regular Markdown/Org/Text files and resume them later.&lt;/li&gt; 
 &lt;li&gt;Edit your previous prompts or LLM responses when continuing a conversation. These will be fed back to the model.&lt;/li&gt; 
 &lt;li&gt;Supports introspection, so you can see /exactly/ what will be sent. Inspect and modify queries before sending them.&lt;/li&gt; 
 &lt;li&gt;Pause multi-stage requests at an intermediate stage and resume them later.&lt;/li&gt; 
 &lt;li&gt;Don&#39;t like gptel&#39;s workflow? Use it to create your own for any supported model/backend with a [[&lt;a href=&quot;https://github.com/karthink/gptel/wiki/Defining-custom-gptel-commands&quot;&gt;https://github.com/karthink/gptel/wiki/Defining-custom-gptel-commands&lt;/a&gt;][simple API]].&lt;/li&gt; 
&lt;/ul&gt; 
&lt;p&gt;gptel uses Curl if available, but falls back to the built-in url-retrieve to work without external dependencies.&lt;/p&gt; 
&lt;p&gt;** Contents :toc:&lt;/p&gt; 
&lt;ul&gt; 
 &lt;li&gt;[[#installation][Installation]] 
  &lt;ul&gt; 
   &lt;li&gt;[[#straight][Straight]]&lt;/li&gt; 
   &lt;li&gt;[[#manual][Manual]]&lt;/li&gt; 
   &lt;li&gt;[[#doom-emacs][Doom Emacs]]&lt;/li&gt; 
   &lt;li&gt;[[#spacemacs][Spacemacs]]&lt;/li&gt; 
  &lt;/ul&gt; &lt;/li&gt; 
 &lt;li&gt;[[#setup][Setup]] 
  &lt;ul&gt; 
   &lt;li&gt;[[#openai][OpenAI]]&lt;/li&gt; 
   &lt;li&gt;[[#other-llm-backends][Other LLM backends]] 
    &lt;ul&gt; 
     &lt;li&gt;[[#optional-securing-api-keys-with-authinfo][(Optional) Securing API keys with =authinfo=]]&lt;/li&gt; 
     &lt;li&gt;[[#optional-reading-api-keys-from-environment-variables][(Optional) Reading API keys from environment variables]]&lt;/li&gt; 
     &lt;li&gt;[[#openai-chatgpt-pluspro-subscription][OpenAI (ChatGPT plus/pro subscription)]]&lt;/li&gt; 
     &lt;li&gt;[[#azure][Azure]]&lt;/li&gt; 
     &lt;li&gt;[[#gpt4all][GPT4All]]&lt;/li&gt; 
     &lt;li&gt;[[#ollama][Ollama]]&lt;/li&gt; 
     &lt;li&gt;[[#open-webui][Open WebUI]]&lt;/li&gt; 
     &lt;li&gt;[[#gemini][Gemini]]&lt;/li&gt; 
     &lt;li&gt;[[#llamacpp-or-llamafile][Llama.cpp or Llamafile]]&lt;/li&gt; 
     &lt;li&gt;[[#kagi-fastgpt--summarizer][Kagi (FastGPT &amp;amp; Summarizer)]]&lt;/li&gt; 
     &lt;li&gt;[[#togetherai][&lt;a href=&quot;http://together.ai&quot;&gt;together.ai&lt;/a&gt;]]&lt;/li&gt; 
     &lt;li&gt;[[#anyscale][Anyscale]]&lt;/li&gt; 
     &lt;li&gt;[[#perplexity][Perplexity]]&lt;/li&gt; 
     &lt;li&gt;[[#anthropic-claude][Anthropic (Claude)]]&lt;/li&gt; 
     &lt;li&gt;[[#groq][Groq]]&lt;/li&gt; 
     &lt;li&gt;[[#mistral-le-chat][Mistral Le Chat]]&lt;/li&gt; 
     &lt;li&gt;[[#openrouter][OpenRouter]]&lt;/li&gt; 
     &lt;li&gt;[[#privategpt][PrivateGPT]]&lt;/li&gt; 
     &lt;li&gt;[[#deepseek][DeepSeek]]&lt;/li&gt; 
     &lt;li&gt;[[#sambanova-deepseek][Sambanova (Deepseek)]]&lt;/li&gt; 
     &lt;li&gt;[[#cerebras][Cerebras]]&lt;/li&gt; 
     &lt;li&gt;[[#novita-ai][Novita AI]]&lt;/li&gt; 
     &lt;li&gt;[[#xai][xAI]]&lt;/li&gt; 
     &lt;li&gt;[[#aiml-api][AI/ML API]]&lt;/li&gt; 
     &lt;li&gt;[[#github-copilotchat][GitHub CopilotChat]]&lt;/li&gt; 
     &lt;li&gt;[[#aws-bedrock][AWS Bedrock]]&lt;/li&gt; 
     &lt;li&gt;[[#moonshot-kimi][Moonshot (Kimi)]]&lt;/li&gt; 
    &lt;/ul&gt; &lt;/li&gt; 
  &lt;/ul&gt; &lt;/li&gt; 
 &lt;li&gt;[[#usage][Usage]] 
  &lt;ul&gt; 
   &lt;li&gt;[[#in-any-buffer][In any buffer:]]&lt;/li&gt; 
   &lt;li&gt;[[#in-a-dedicated-chat-buffer][In a dedicated chat buffer:]] 
    &lt;ul&gt; 
     &lt;li&gt;[[#including-media-images-documents-or-plain-text-files-with-requests][Including media (images, documents or plain-text files) with requests]]&lt;/li&gt; 
     &lt;li&gt;[[#save-and-restore-your-chat-sessions][Save and restore your chat sessions]]&lt;/li&gt; 
    &lt;/ul&gt; &lt;/li&gt; 
   &lt;li&gt;[[#setting-options-backend-model-request-parameters-system-prompts-and-more][Setting options (backend, model, request parameters, system prompts and more)]]&lt;/li&gt; 
   &lt;li&gt;[[#include-more-context-with-requests][Include more context with requests]]&lt;/li&gt; 
   &lt;li&gt;[[#handle-reasoning-content][Handle &quot;reasoning&quot; content]]&lt;/li&gt; 
   &lt;li&gt;[[#tool-use][Tool use]] 
    &lt;ul&gt; 
     &lt;li&gt;[[#defining-gptel-tools][Defining gptel tools]]&lt;/li&gt; 
     &lt;li&gt;[[#selecting-tools][Selecting tools]]&lt;/li&gt; 
     &lt;li&gt;[[#llm-tool-collections][LLM tool collections]]&lt;/li&gt; 
     &lt;li&gt;[[#model-context-protocol-mcp-integration][Model Context Protocol (MCP) integration]]&lt;/li&gt; 
    &lt;/ul&gt; &lt;/li&gt; 
   &lt;li&gt;[[#rewrite-refactor-or-fill-in-a-region][Rewrite, refactor or fill in a region]]&lt;/li&gt; 
   &lt;li&gt;[[#extra-org-mode-conveniences][Extra Org mode conveniences]]&lt;/li&gt; 
   &lt;li&gt;[[#introspection-examine-debug-or-modify-requests][Introspection (examine, debug or modify requests)]]&lt;/li&gt; 
  &lt;/ul&gt; &lt;/li&gt; 
 &lt;li&gt;[[#faq][FAQ]] 
  &lt;ul&gt; 
   &lt;li&gt;[[#chat-buffer-ui][Chat buffer UI]] 
    &lt;ul&gt; 
     &lt;li&gt;[[#i-want-the-window-to-scroll-automatically-as-the-response-is-inserted][I want the window to scroll automatically as the response is inserted]]&lt;/li&gt; 
     &lt;li&gt;[[#i-want-the-cursor-to-move-to-the-next-prompt-after-the-response-is-inserted][I want the cursor to move to the next prompt after the response is inserted]]&lt;/li&gt; 
     &lt;li&gt;[[#i-want-to-change-the-formatting-of-the-prompt-and-llm-response][I want to change the formatting of the prompt and LLM response]]&lt;/li&gt; 
     &lt;li&gt;[[#how-does-gptel-distinguish-between-user-prompts-and-llm-responses][How does gptel distinguish between user prompts and LLM responses?]]&lt;/li&gt; 
    &lt;/ul&gt; &lt;/li&gt; 
   &lt;li&gt;[[#transient-menu-behavior][Transient menu behavior]] 
    &lt;ul&gt; 
     &lt;li&gt;[[#i-want-to-set-gptel-options-but-only-for-this-buffer][I want to set gptel options but only for this buffer]]&lt;/li&gt; 
     &lt;li&gt;[[#i-want-the-transient-menu-options-to-be-saved-so-i-only-need-to-set-them-once][I want the transient menu options to be saved so I only need to set them once]]&lt;/li&gt; 
     &lt;li&gt;[[#using-the-transient-menu-leaves-behind-extra-windows][Using the transient menu leaves behind extra windows]]&lt;/li&gt; 
     &lt;li&gt;[[#can-i-change-the-transient-menu-key-bindings][Can I change the transient menu key bindings?]]&lt;/li&gt; 
     &lt;li&gt;[[#doom-emacs-sending-a-query-from-the-gptel-menu-fails-because-of-a-key-conflict-with-org-mode][(Doom Emacs) Sending a query from the gptel menu fails because of a key conflict with Org mode]]&lt;/li&gt; 
    &lt;/ul&gt; &lt;/li&gt; 
   &lt;li&gt;[[#miscellaneous][Miscellaneous]] 
    &lt;ul&gt; 
     &lt;li&gt;[[#i-want-to-use-gptel-in-a-way-thats-not-supported-by-gptel-send-or-the-options-menu][I want to use gptel in a way that&#39;s not supported by =gptel-send= or the options menu]]&lt;/li&gt; 
     &lt;li&gt;[[#chatgpt-i-get-the-error-http2-429-you-exceeded-your-current-quota][(ChatGPT) I get the error &quot;(HTTP/2 429) You exceeded your current quota&quot;]]&lt;/li&gt; 
     &lt;li&gt;[[#why-another-llm-client][Why another LLM client?]]&lt;/li&gt; 
    &lt;/ul&gt; &lt;/li&gt; 
  &lt;/ul&gt; &lt;/li&gt; 
 &lt;li&gt;[[#additional-configuration][Additional Configuration]] 
  &lt;ul&gt; 
   &lt;li&gt;[[#option-presets][Option presets]] 
    &lt;ul&gt; 
     &lt;li&gt;[[#applying-presets-to-requests-automatically][Applying presets to requests automatically]]&lt;/li&gt; 
    &lt;/ul&gt; &lt;/li&gt; 
  &lt;/ul&gt; &lt;/li&gt; 
 &lt;li&gt;[[#alternatives][Alternatives]] 
  &lt;ul&gt; 
   &lt;li&gt;[[#packages-using-gptel][Packages using gptel]]&lt;/li&gt; 
  &lt;/ul&gt; &lt;/li&gt; 
 &lt;li&gt;[[#acknowledgments][Acknowledgments]]&lt;/li&gt; 
&lt;/ul&gt; 
&lt;p&gt;** Installation&lt;/p&gt; 
&lt;p&gt;Note: gptel requires Transient 0.7.8 or higher. Transient is a built-in package and Emacs does not update it by default. Ensure that =package-install-upgrade-built-in= is true, or update Transient manually.&lt;/p&gt; 
&lt;ul&gt; 
 &lt;li&gt;&lt;em&gt;Release version&lt;/em&gt;: =M-x package-install= ⏎ =gptel= in Emacs.&lt;/li&gt; 
 &lt;li&gt;&lt;em&gt;Development snapshot&lt;/em&gt;: Add MELPA or NonGNU-devel ELPA to your list of package sources, then install with =M-x package-install= ⏎ =gptel=.&lt;/li&gt; 
 &lt;li&gt;&lt;em&gt;Optional:&lt;/em&gt; Install =markdown-mode=.&lt;/li&gt; 
&lt;/ul&gt; 
&lt;p&gt;#+html: &lt;/p&gt;
&lt;details&gt;
 &lt;summary&gt; *** Straight #+html: &lt;/summary&gt; #+begin_src emacs-lisp (straight-use-package &#39;gptel) #+end_src #+html: 
&lt;/details&gt; #+html: 
&lt;details&gt;
 &lt;summary&gt; *** Manual #+html: &lt;/summary&gt; Note: gptel requires Transient 0.7.8 or higher. Transient is a built-in package and Emacs does not update it by default. Ensure that =package-install-upgrade-built-in= is true, or update Transient manually.
 &lt;p&gt;&lt;/p&gt; 
 &lt;p&gt;Clone or download this repository and run =M-x package-install-file⏎= on the repository directory. #+html: &lt;/p&gt;
&lt;/details&gt; #+html: 
&lt;details&gt;
 &lt;summary&gt; *** Doom Emacs #+html: &lt;/summary&gt; In =packages.el=
 &lt;p&gt;&lt;/p&gt; 
 &lt;p&gt;#+begin_src emacs-lisp (package! gptel :recipe (:nonrecursive t)) #+end_src&lt;/p&gt; 
 &lt;p&gt;In =config.el=&lt;/p&gt; 
 &lt;p&gt;#+begin_src emacs-lisp (use-package! gptel :config (setq! gptel-api-key &quot;your key&quot;)) #+end_src&lt;/p&gt; 
 &lt;p&gt;&quot;your key&quot; can be the API key itself, or (safer) a function that returns the key. Setting =gptel-api-key= is optional, you will be asked for a key if it&#39;s not found.&lt;/p&gt; 
 &lt;p&gt;Alternatively, Doom Emacs provides a built-in =:tools llm= [[&lt;a href=&quot;https://github.com/doomemacs/modules/tree/main/modules/tools/llm&quot;&gt;https://github.com/doomemacs/modules/tree/main/modules/tools/llm&lt;/a&gt;][module]] powered by gptel. Enable it in your =init.el= in the =doom!= block:&lt;/p&gt; 
 &lt;p&gt;#+begin_src emacs-lisp (doom! :tools llm) #+end_src&lt;/p&gt; 
 &lt;p&gt;This installs gptel with preconfigured keybindings (=
  &lt;leader&gt;
    o l=), magit integration for generating commit messages (=M-g= in commit buffers), and packages =gptel-quick= and =gptel-magit=. Run =doom/help-modules= (=
   &lt;leader&gt;
     h d m=) and select =:tools llm= for full documentation.
   &lt;/leader&gt;
  &lt;/leader&gt;&lt;/p&gt; 
 &lt;p&gt;#+html: &lt;/p&gt;
&lt;/details&gt; #+html: 
&lt;details&gt;
 &lt;summary&gt; *** Spacemacs #+html: &lt;/summary&gt; In your =.spacemacs= file, add =llm-client= to =dotspacemacs-configuration-layers=.
 &lt;p&gt;&lt;/p&gt; 
 &lt;p&gt;#+begin_src emacs-lisp (llm-client :variables llm-client-enable-gptel t) #+end_src #+html: &lt;/p&gt;
&lt;/details&gt; ** Setup
&lt;p&gt;&lt;/p&gt; 
&lt;p&gt;gptel supports a number of LLM providers:&lt;/p&gt; 
&lt;p&gt;#+html: &lt;/p&gt;
&lt;div align=&quot;center&quot;&gt;
  | LLM Backend | Requires | |----------------------+----------------------------| | OpenAI | [[
 &lt;a href=&quot;https://platform.openai.com/account/api-keys&quot;&gt;https://platform.openai.com/account/api-keys&lt;/a&gt;][API key]] | | OpenAI subscription | ChatGPT plus/pro sub | | Anthropic (Claude) | [[
 &lt;a href=&quot;https://www.anthropic.com/api&quot;&gt;https://www.anthropic.com/api&lt;/a&gt;][API key]] | | Gemini | [[
 &lt;a href=&quot;https://makersuite.google.com/app/apikey&quot;&gt;https://makersuite.google.com/app/apikey&lt;/a&gt;][API key]] | | Ollama | [[
 &lt;a href=&quot;https://ollama.ai/&quot;&gt;https://ollama.ai/&lt;/a&gt;][Ollama running locally]] | | Open WebUI | [[
 &lt;a href=&quot;https://openwebui.com/&quot;&gt;https://openwebui.com/&lt;/a&gt;][Open WebUI running locally]] | | Llama.cpp | [[
 &lt;a href=&quot;https://github.com/ggml-org/llama.cpp/tree/master/tools/server#quick-start&quot;&gt;https://github.com/ggml-org/llama.cpp/tree/master/tools/server#quick-start&lt;/a&gt;][Llama.cpp running locally]] | | Llamafile | [[
 &lt;a href=&quot;https://github.com/Mozilla-Ocho/llamafile#quickstart&quot;&gt;https://github.com/Mozilla-Ocho/llamafile#quickstart&lt;/a&gt;][Local Llamafile server]] | | GPT4All | [[
 &lt;a href=&quot;https://gpt4all.io/index.html&quot;&gt;https://gpt4all.io/index.html&lt;/a&gt;][GPT4All running locally]] | | Kagi FastGPT | [[
 &lt;a href=&quot;https://kagi.com/settings?p=api&quot;&gt;https://kagi.com/settings?p=api&lt;/a&gt;][API key]] | | Kagi Summarizer | [[
 &lt;a href=&quot;https://kagi.com/settings?p=api&quot;&gt;https://kagi.com/settings?p=api&lt;/a&gt;][API key]] | | Azure | Deployment and API key | | Groq | [[
 &lt;a href=&quot;https://console.groq.com/keys&quot;&gt;https://console.groq.com/keys&lt;/a&gt;][API key]] | | Mistral Le Chat | [[
 &lt;a href=&quot;https://console.mistral.ai/api-keys&quot;&gt;https://console.mistral.ai/api-keys&lt;/a&gt;][API key]] | | Perplexity | [[
 &lt;a href=&quot;https://docs.perplexity.ai/docs/getting-started&quot;&gt;https://docs.perplexity.ai/docs/getting-started&lt;/a&gt;][API key]] | | OpenRouter | [[
 &lt;a href=&quot;https://openrouter.ai/keys&quot;&gt;https://openrouter.ai/keys&lt;/a&gt;][API key]] | | AI/ML API | [[
 &lt;a href=&quot;https://aimlapi.com/app/?utm_source=gptel&amp;amp;utm_medium=github&amp;amp;utm_campaign=integration&quot;&gt;https://aimlapi.com/app/?utm_source=gptel&amp;amp;utm_medium=github&amp;amp;utm_campaign=integration&lt;/a&gt;][API key]] | | 
 &lt;a href=&quot;http://together.ai&quot;&gt;together.ai&lt;/a&gt; | [[
 &lt;a href=&quot;https://api.together.xyz/settings/api-keys&quot;&gt;https://api.together.xyz/settings/api-keys&lt;/a&gt;][API key]] | | Anyscale | [[
 &lt;a href=&quot;https://docs.endpoints.anyscale.com/&quot;&gt;https://docs.endpoints.anyscale.com/&lt;/a&gt;][API key]] | | PrivateGPT | [[
 &lt;a href=&quot;https://github.com/zylon-ai/private-gpt#-documentation&quot;&gt;https://github.com/zylon-ai/private-gpt#-documentation&lt;/a&gt;][PrivateGPT running locally]] | | DeepSeek | [[
 &lt;a href=&quot;https://platform.deepseek.com/api_keys&quot;&gt;https://platform.deepseek.com/api_keys&lt;/a&gt;][API key]] | | Sambanova (Deepseek) | [[
 &lt;a href=&quot;https://cloud.sambanova.ai/apis&quot;&gt;https://cloud.sambanova.ai/apis&lt;/a&gt;][API key]] | | Cerebras | [[
 &lt;a href=&quot;https://cloud.cerebras.ai/&quot;&gt;https://cloud.cerebras.ai/&lt;/a&gt;][API key]] | | Novita AI | [[
 &lt;a href=&quot;https://novita.ai/model-api/product/llm-api?utm_source=github_gptel&amp;amp;utm_medium=github_readme&amp;amp;utm_campaign=link&quot;&gt;https://novita.ai/model-api/product/llm-api?utm_source=github_gptel&amp;amp;utm_medium=github_readme&amp;amp;utm_campaign=link&lt;/a&gt;][Token]] | | xAI | [[
 &lt;a href=&quot;https://console.x.ai?utm_source=github_gptel&amp;amp;utm_medium=github_readme&amp;amp;utm_campaign=link&quot;&gt;https://console.x.ai?utm_source=github_gptel&amp;amp;utm_medium=github_readme&amp;amp;utm_campaign=link&lt;/a&gt;][API key]] | | GitHub CopilotChat | GitHub account | | Bedrock | AWS credentials | | Moonshot (Kimi) | API key ([[
 &lt;a href=&quot;https://platform.moonshot.cn/console&quot;&gt;https://platform.moonshot.cn/console&lt;/a&gt;][CN]] or [[
 &lt;a href=&quot;https://platform.moonshot.ai/console&quot;&gt;https://platform.moonshot.ai/console&lt;/a&gt;][Global]]) | #+html: 
&lt;/div&gt;
&lt;p&gt;&lt;/p&gt; 
&lt;p&gt;*** OpenAI Procure an [[&lt;a href=&quot;https://platform.openai.com/account/api-keys&quot;&gt;https://platform.openai.com/account/api-keys&lt;/a&gt;][OpenAI API key]].&lt;/p&gt; 
&lt;p&gt;Optional: Set =gptel-api-key= to the key. Alternatively, you may choose a more secure method such as:&lt;/p&gt; 
&lt;ul&gt; 
 &lt;li&gt;Setting it to a custom function that returns the key.&lt;/li&gt; 
 &lt;li&gt;Leaving it set to the default =gptel-api-key-from-auth-source= function which reads keys from =~/.authinfo=. (See [[#optional-securing-api-keys-with-authinfo][authinfo details]])&lt;/li&gt; 
&lt;/ul&gt; 
&lt;p&gt;*** Other LLM backends&lt;/p&gt; 
&lt;p&gt;An OpenAI backend is configured out of the box. If you want to use other LLM backends (like Ollama, Claude/Anthropic or Gemini) you need to register and configure them first.&lt;/p&gt; 
&lt;p&gt;As an example, registering a backend typically looks like the following:&lt;/p&gt; 
&lt;p&gt;#+begin_src emacs-lisp (gptel-make-anthropic &quot;Claude&quot; :stream t :key gptel-api-key) #+end_src&lt;/p&gt; 
&lt;p&gt;Once this backend is registered, you&#39;ll see model names prefixed by &quot;Claude:&quot; appear in gptel&#39;s menu.&lt;/p&gt; 
&lt;p&gt;See below for details on your preferred LLM provider, including local LLMs.&lt;/p&gt; 
&lt;p&gt;#+html: &lt;/p&gt;
&lt;details&gt;
 &lt;summary&gt; **** (Optional) Securing API keys with =authinfo= #+html: &lt;/summary&gt;
 &lt;p&gt;&lt;/p&gt; 
 &lt;p&gt;You can use Emacs&#39; built-in support for =authinfo= to store API keys required by gptel. Add your API keys to =~/.authinfo=, and leave =gptel-api-key= set to its default. By default, the API endpoint DNS name (e.g. &quot;&lt;a href=&quot;http://api.openai.com&quot;&gt;api.openai.com&lt;/a&gt;&quot;) is used as HOST and &quot;apikey&quot; as USER.&lt;/p&gt; 
 &lt;p&gt;#+begin_src authinfo machine &lt;a href=&quot;http://api.openai.com&quot;&gt;api.openai.com&lt;/a&gt; login apikey password sk-secret-openai-api-key-goes-here machine &lt;a href=&quot;http://api.anthropic.com&quot;&gt;api.anthropic.com&lt;/a&gt; login apikey password sk-secret-anthropic-api-key-goes-here #+end_src&lt;/p&gt; 
 &lt;p&gt;#+html: &lt;/p&gt;
&lt;/details&gt; #+html: 
&lt;details&gt;
 &lt;summary&gt; **** (Optional) Reading API keys from environment variables #+html: &lt;/summary&gt; Alternatively, you can fetch API keys from variables in Emacs&#39; environment (such as =OPENAI_API_KEY=) using a function like this:
 &lt;p&gt;&lt;/p&gt; 
 &lt;p&gt;#+begin_src emacs-lisp (defun gptel-api-key-from-environment (&amp;amp;optional var) (lambda () (getenv (or var ;provided key (thread-first ;or fall back to 
  &lt;type&gt;
   _API_KEY (type-of gptel-backend) (symbol-name) (substring 6) (upcase) (concat &quot;_API_KEY&quot;)))))) #+end_src
  &lt;/type&gt;&lt;/p&gt; 
 &lt;p&gt;Then set the =:key= when defining backend to the appropriate environment variable:&lt;/p&gt; 
 &lt;p&gt;#+begin_src emacs-lisp (gptel-make-anthropic &quot;My-Claude-backend&quot; :key (gptel-api-key-from-environment &quot;ANTHROPIC_API_KEY&quot;)) #+end_src&lt;/p&gt; 
 &lt;p&gt;If no environment variable is provided:&lt;/p&gt; 
 &lt;p&gt;#+begin_src emacs-lisp (gptel-make-gemini &quot;My-Gemini-backend&quot; :key (gptel-api-key-from-environment)) #+end_src&lt;/p&gt; 
 &lt;p&gt;it will try to guess the key from the backend type, /i.e./ try to use =GEMINI_API_KEY= when using the Gemini backend, and so on.&lt;/p&gt; 
 &lt;p&gt;#+html: &lt;/p&gt;
&lt;/details&gt; #+html: 
&lt;details&gt;
 &lt;summary&gt; **** OpenAI (ChatGPT plus/pro subscription) #+html: &lt;/summary&gt;
 &lt;p&gt;&lt;/p&gt; 
 &lt;p&gt;Includes access to OpenAI Codex models. Register a backend with&lt;/p&gt; 
 &lt;p&gt;#+begin_src emacs-lisp (gptel-make-openai-oauth &quot;OpenAI-sub&quot;) ;Any name of your choosing #+end_src&lt;/p&gt; 
 &lt;p&gt;You will be prompted to log into OpenAI as required. (You can also log in manually with =M-x gptel-openai-oauth-login=.)&lt;/p&gt; 
 &lt;p&gt;If you are using it through a proxy, you can specify the host name, protocol etc:&lt;/p&gt; 
 &lt;p&gt;#+begin_src emacs-lisp (gptel-make-openai-oauth &quot;OpenAI-sub&quot; :host &quot;my.openai-proxy.tld&quot; :protocol &quot;http&quot;) #+end_src&lt;/p&gt; 
 &lt;p&gt;Refer to the documentation of =gptel-make-openai-oauth= to set more parameters.&lt;/p&gt; 
 &lt;p&gt;You can pick this backend from the menu when using gptel. (see [[#usage][Usage]]).&lt;/p&gt; 
 &lt;p&gt;***** (Optional) Set as the default gptel backend&lt;/p&gt; 
 &lt;p&gt;The above makes the backend available to select. If you want it to be the default backend for gptel, you can set this as the value of =gptel-backend=. Use this instead of the above:&lt;/p&gt; 
 &lt;p&gt;#+begin_src emacs-lisp (setq gptel-model &#39;gpt-5.4-mini gptel-backend (gptel-make-openai-oauth &quot;OpenAI-sub&quot;)) #+end_src&lt;/p&gt; 
 &lt;p&gt;#+html: &lt;/p&gt;
&lt;/details&gt; #+html: 
&lt;details&gt;
 &lt;summary&gt; **** Azure #+html: &lt;/summary&gt;
 &lt;p&gt;&lt;/p&gt; 
 &lt;p&gt;Register a backend with&lt;/p&gt; 
 &lt;p&gt;#+begin_src emacs-lisp (gptel-make-azure &quot;Azure-1&quot; ;Name, whatever you&#39;d like :protocol &quot;https&quot; ;Optional -- https is the default :host &quot;YOUR_RESOURCE_NAME.openai.azure.com&quot; :endpoint &quot;/openai/deployments/YOUR_DEPLOYMENT_NAME/chat/completions?api-version=2023-05-15&quot; ;or equivalent :stream t ;Enable streaming responses :key #&#39;gptel-api-key :models &#39;(gpt-3.5-turbo gpt-4)) #+end_src&lt;/p&gt; 
 &lt;p&gt;Refer to the documentation of =gptel-make-azure= to set more parameters.&lt;/p&gt; 
 &lt;p&gt;You can pick this backend from the menu when using gptel. (see [[#usage][Usage]]).&lt;/p&gt; 
 &lt;p&gt;***** (Optional) Set as the default gptel backend&lt;/p&gt; 
 &lt;p&gt;The above code makes the backend available to select. If you want it to be the default backend for gptel, you can set this as the value of =gptel-backend=. Use this instead of the above.&lt;/p&gt; 
 &lt;p&gt;#+begin_src emacs-lisp ;; OPTIONAL configuration (setq gptel-model &#39;gpt-3.5-turbo gptel-backend (gptel-make-azure &quot;Azure-1&quot; :protocol &quot;https&quot; :host &quot;YOUR_RESOURCE_NAME.openai.azure.com&quot; :endpoint &quot;/openai/deployments/YOUR_DEPLOYMENT_NAME/chat/completions?api-version=2023-05-15&quot; :stream t :key #&#39;gptel-api-key :models &#39;(gpt-3.5-turbo gpt-4))) #+end_src&lt;/p&gt; 
 &lt;p&gt;#+html: &lt;/p&gt;
&lt;/details&gt; #+html: 
&lt;details&gt;
 &lt;summary&gt; **** GPT4All #+html: &lt;/summary&gt;
 &lt;p&gt;&lt;/p&gt; 
 &lt;p&gt;Register a backend with&lt;/p&gt; 
 &lt;p&gt;#+begin_src emacs-lisp (gptel-make-gpt4all &quot;GPT4All&quot; ;Name of your choosing :protocol &quot;http&quot; :host &quot;localhost:4891&quot; ;Where it&#39;s running :models &#39;(mistral-7b-openorca.Q4_0.gguf)) ;Available models #+end_src&lt;/p&gt; 
 &lt;p&gt;These are the required parameters, refer to the documentation of =gptel-make-gpt4all= for more.&lt;/p&gt; 
 &lt;p&gt;You can pick this backend from the menu when using gptel (see [[#usage][Usage]]).&lt;/p&gt; 
 &lt;p&gt;***** (Optional) Set as the default gptel backend&lt;/p&gt; 
 &lt;p&gt;The above code makes the backend available to select. If you want it to be the default backend for gptel, you can set this as the value of =gptel-backend=. Use this instead of the above. Additionally you may want to increase the response token size since GPT4All uses very short (often truncated) responses by default.&lt;/p&gt; 
 &lt;p&gt;#+begin_src emacs-lisp ;; OPTIONAL configuration (setq gptel-max-tokens 500 gptel-model &#39;mistral-7b-openorca.Q4_0.gguf gptel-backend (gptel-make-gpt4all &quot;GPT4All&quot; :protocol &quot;http&quot; :host &quot;localhost:4891&quot; :models &#39;(mistral-7b-openorca.Q4_0.gguf))) #+end_src&lt;/p&gt; 
 &lt;p&gt;#+html: &lt;/p&gt;
&lt;/details&gt; #+html: 
&lt;details&gt;
 &lt;summary&gt; **** Ollama #+html: &lt;/summary&gt;
 &lt;p&gt;&lt;/p&gt; 
 &lt;p&gt;Register a backend with #+begin_src emacs-lisp (gptel-make-ollama &quot;Ollama&quot; ;Any name of your choosing :host &quot;localhost:11434&quot; ;Where it&#39;s running :stream t ;Stream responses :models &#39;(mistral:latest)) ;List of models #+end_src&lt;/p&gt; 
 &lt;p&gt;These are the required parameters, refer to the documentation of =gptel-make-ollama= for more.&lt;/p&gt; 
 &lt;p&gt;You can pick this backend from the menu when using gptel (see [[#usage][Usage]])&lt;/p&gt; 
 &lt;p&gt;***** (Optional) Set as the default gptel backend&lt;/p&gt; 
 &lt;p&gt;The above code makes the backend available to select. If you want it to be the default backend for gptel, you can set this as the value of =gptel-backend=. Use this instead of the above.&lt;/p&gt; 
 &lt;p&gt;#+begin_src emacs-lisp ;; OPTIONAL configuration (setq gptel-model &#39;mistral:latest gptel-backend (gptel-make-ollama &quot;Ollama&quot; :host &quot;localhost:11434&quot; :stream t :models &#39;(mistral:latest))) #+end_src&lt;/p&gt; 
 &lt;p&gt;#+html: &lt;/p&gt;
&lt;/details&gt;
&lt;p&gt;&lt;/p&gt; 
&lt;p&gt;#+html: &lt;/p&gt;
&lt;details&gt;
 &lt;summary&gt; **** Open WebUI #+html: &lt;/summary&gt;
 &lt;p&gt;&lt;/p&gt; 
 &lt;p&gt;[[&lt;a href=&quot;https://openwebui.com/&quot;&gt;https://openwebui.com/&lt;/a&gt;][Open WebUI]] is an open source, self-hosted system which provides a multi-user web chat interface and an API endpoint for accessing LLMs, especially LLMs running locally on inference servers like Ollama.&lt;/p&gt; 
 &lt;p&gt;Because it presents an OpenAI-compatible endpoint, you use ~gptel-make-openai~ to register it as a backend.&lt;/p&gt; 
 &lt;p&gt;For instance, you can use this form to register a backend for a local instance of Open Web UI served via http on port 3000:&lt;/p&gt; 
 &lt;p&gt;#+begin_src emacs-lisp (gptel-make-openai &quot;OpenWebUI&quot; :host &quot;localhost:3000&quot; :protocol &quot;http&quot; :key &quot;KEY_FOR_ACCESSING_OPENWEBUI&quot; :endpoint &quot;/api/chat/completions&quot; :stream t :models &#39;(&quot;gemma3n:latest&quot;)) #+end_src&lt;/p&gt; 
 &lt;p&gt;Or if you are running Open Web UI on another host on your local network (~box.local~), serving via https with self-signed certificates, this will work:&lt;/p&gt; 
 &lt;p&gt;#+begin_src emacs-lisp (gptel-make-openai &quot;OpenWebUI&quot; :host &quot;box.local&quot; :curl-args &#39;(&quot;--insecure&quot;) ; needed for self-signed certs :key &quot;KEY_FOR_ACCESSING_OPENWEBUI&quot; :endpoint &quot;/api/chat/completions&quot; :stream t :models &#39;(&quot;gemma3n:latest&quot;)) #+end_src&lt;/p&gt; 
 &lt;p&gt;To find your API key in Open WebUI, click the user name in the bottom left, Settings, Account, and then Show by API Keys section.&lt;/p&gt; 
 &lt;p&gt;Refer to the documentation of =gptel-make-openai= for more configuration options.&lt;/p&gt; 
 &lt;p&gt;You can pick this backend from the menu when using gptel (see [[#usage][Usage]])&lt;/p&gt; 
 &lt;p&gt;***** (Optional) Set as the default gptel backend&lt;/p&gt; 
 &lt;p&gt;The above code makes the backend available to select. If you want it to be the default backend for gptel, you can set this as the value of =gptel-backend=. Use this instead of the above.&lt;/p&gt; 
 &lt;p&gt;#+begin_src emacs-lisp ;; OPTIONAL configuration (setq gptel-model &quot;gemma3n:latest&quot; gptel-backend (gptel-make-openai &quot;OpenWebUI&quot; :host &quot;localhost:3000&quot; :protocol &quot;http&quot; :key &quot;KEY_FOR_ACCESSING_OPENWEBUI&quot; :endpoint &quot;/api/chat/completions&quot; :stream t :models &#39;(&quot;gemma3n:latest&quot;))) #+end_src&lt;/p&gt; 
 &lt;p&gt;#+html: &lt;/p&gt;
&lt;/details&gt;
&lt;p&gt;&lt;/p&gt; 
&lt;p&gt;#+html: &lt;/p&gt;
&lt;details&gt;
 &lt;summary&gt; **** Gemini #+html: &lt;/summary&gt;
 &lt;p&gt;&lt;/p&gt; 
 &lt;p&gt;Register a backend with&lt;/p&gt; 
 &lt;p&gt;#+begin_src emacs-lisp ;; :key can be a function that returns the API key. (gptel-make-gemini &quot;Gemini&quot; :key &quot;YOUR_GEMINI_API_KEY&quot; :stream t) #+end_src&lt;/p&gt; 
 &lt;p&gt;These are the required parameters, refer to the documentation of =gptel-make-gemini= for more.&lt;/p&gt; 
 &lt;p&gt;You can pick this backend from the menu when using gptel (see [[#usage][Usage]])&lt;/p&gt; 
 &lt;p&gt;***** (Optional) Set as the default gptel backend&lt;/p&gt; 
 &lt;p&gt;The above code makes the backend available to select. If you want it to be the default backend for gptel, you can set this as the value of =gptel-backend=. Use this instead of the above.&lt;/p&gt; 
 &lt;p&gt;#+begin_src emacs-lisp ;; OPTIONAL configuration (setq gptel-model &#39;gemini-2.5-pro-exp-03-25 gptel-backend (gptel-make-gemini &quot;Gemini&quot; :key &quot;YOUR_GEMINI_API_KEY&quot; :stream t)) #+end_src&lt;/p&gt; 
 &lt;p&gt;#+html: &lt;/p&gt;
&lt;/details&gt;
&lt;p&gt;&lt;/p&gt; 
&lt;p&gt;#+html: &lt;/p&gt;
&lt;details&gt;
  #+html: 
 &lt;summary&gt; **** Llama.cpp or Llamafile #+html: &lt;/summary&gt;
 &lt;p&gt;&lt;/p&gt; 
 &lt;p&gt;(If using a llamafile, run a [[&lt;a href=&quot;https://github.com/Mozilla-Ocho/llamafile#other-example-llamafiles&quot;&gt;https://github.com/Mozilla-Ocho/llamafile#other-example-llamafiles&lt;/a&gt;][server llamafile]] instead of a &quot;command-line llamafile&quot;, and a model that supports text generation.)&lt;/p&gt; 
 &lt;p&gt;Register a backend with&lt;/p&gt; 
 &lt;p&gt;#+begin_src emacs-lisp ;; Llama.cpp offers an OpenAI compatible API (gptel-make-openai &quot;llama-cpp&quot; ;Any name :stream t ;Stream responses :protocol &quot;http&quot; :host &quot;localhost:9931&quot; ;Server location (llama.cpp defaults to 9931, llamafile to 8080) :models &#39;(test)) ;Any names, doesn&#39;t matter for Llama #+end_src&lt;/p&gt; 
 &lt;p&gt;These are the required parameters, refer to the documentation of =gptel-make-openai= for more.&lt;/p&gt; 
 &lt;p&gt;You can pick this backend from the menu when using gptel (see [[#usage][Usage]])&lt;/p&gt; 
 &lt;p&gt;***** (Optional) Set as the default gptel backend&lt;/p&gt; 
 &lt;p&gt;The above code makes the backend available to select. If you want it to be the default backend for gptel, you can set this as the value of =gptel-backend=. Use this instead of the above.&lt;/p&gt; 
 &lt;p&gt;#+begin_src emacs-lisp ;; OPTIONAL configuration (setq gptel-model &#39;test gptel-backend (gptel-make-openai &quot;llama-cpp&quot; :stream t :protocol &quot;http&quot; :host &quot;localhost:9931&quot; :models &#39;(test))) #+end_src&lt;/p&gt; 
 &lt;p&gt;#+html: &lt;/p&gt;
&lt;/details&gt; #+html: 
&lt;details&gt;
 &lt;summary&gt; **** Kagi (FastGPT &amp;amp; Summarizer) #+html: &lt;/summary&gt;
 &lt;p&gt;&lt;/p&gt; 
 &lt;p&gt;Kagi&#39;s FastGPT model and the Universal Summarizer are both supported. A couple of notes:&lt;/p&gt; 
 &lt;ol&gt; 
  &lt;li&gt; &lt;p&gt;Universal Summarizer: If there is a URL at point, the summarizer will summarize the contents of the URL. Otherwise the context sent to the model is the same as always: the buffer text upto point, or the contents of the region if the region is active.&lt;/p&gt; &lt;/li&gt; 
  &lt;li&gt; &lt;p&gt;Kagi models do not support multi-turn conversations, interactions are &quot;one-shot&quot;. They also do not support streaming responses.&lt;/p&gt; &lt;/li&gt; 
 &lt;/ol&gt; 
 &lt;p&gt;Register a backend with&lt;/p&gt; 
 &lt;p&gt;#+begin_src emacs-lisp (gptel-make-kagi &quot;Kagi&quot; ;any name :key &quot;YOUR_KAGI_API_KEY&quot;) ;can be a function that returns the key #+end_src&lt;/p&gt; 
 &lt;p&gt;These are the required parameters, refer to the documentation of =gptel-make-kagi= for more.&lt;/p&gt; 
 &lt;p&gt;You can pick this backend and the model (fastgpt/summarizer) from the transient menu when using gptel.&lt;/p&gt; 
 &lt;p&gt;***** (Optional) Set as the default gptel backend&lt;/p&gt; 
 &lt;p&gt;The above code makes the backend available to select. If you want it to be the default backend for gptel, you can set this as the value of =gptel-backend=. Use this instead of the above.&lt;/p&gt; 
 &lt;p&gt;#+begin_src emacs-lisp ;; OPTIONAL configuration (setq gptel-model &#39;fastgpt gptel-backend (gptel-make-kagi &quot;Kagi&quot; :key &quot;YOUR_KAGI_API_KEY&quot;)) #+end_src&lt;/p&gt; 
 &lt;p&gt;The alternatives to =fastgpt= include =summarize:cecil=, =summarize:agnes=, =summarize:daphne= and =summarize:muriel=. The difference between the summarizer engines is [[&lt;a href=&quot;https://help.kagi.com/kagi/api/summarizer.html#summarization-engines&quot;&gt;https://help.kagi.com/kagi/api/summarizer.html#summarization-engines&lt;/a&gt;][documented here]].&lt;/p&gt; 
 &lt;p&gt;#+html: &lt;/p&gt;
&lt;/details&gt; #+html: 
&lt;details&gt;
 &lt;summary&gt; **** &lt;a href=&quot;http://together.ai&quot;&gt;together.ai&lt;/a&gt; #+html: &lt;/summary&gt;
 &lt;p&gt;&lt;/p&gt; 
 &lt;p&gt;Register a backend with&lt;/p&gt; 
 &lt;p&gt;#+begin_src emacs-lisp ;; &lt;a href=&quot;http://Together.ai&quot;&gt;Together.ai&lt;/a&gt; offers an OpenAI compatible API (gptel-make-openai &quot;TogetherAI&quot; ;Any name you want :host &quot;api.together.xyz&quot; :key &quot;your-api-key&quot; ;can be a function that returns the key :stream t :models &#39;(;; has many more, check &lt;a href=&quot;http://together.ai&quot;&gt;together.ai&lt;/a&gt; mistralai/Mixtral-8x7B-Instruct-v0.1 codellama/CodeLlama-13b-Instruct-hf codellama/CodeLlama-34b-Instruct-hf)) #+end_src&lt;/p&gt; 
 &lt;p&gt;You can pick this backend from the menu when using gptel (see [[#usage][Usage]])&lt;/p&gt; 
 &lt;p&gt;***** (Optional) Set as the default gptel backend&lt;/p&gt; 
 &lt;p&gt;The above code makes the backend available to select. If you want it to be the default backend for gptel, you can set this as the value of =gptel-backend=. Use this instead of the above.&lt;/p&gt; 
 &lt;p&gt;#+begin_src emacs-lisp ;; OPTIONAL configuration (setq gptel-model &#39;mistralai/Mixtral-8x7B-Instruct-v0.1 gptel-backend (gptel-make-openai &quot;TogetherAI&quot;&lt;br /&gt; :host &quot;api.together.xyz&quot; :key &quot;your-api-key&quot;&lt;br /&gt; :stream t :models &#39;(;; has many more, check &lt;a href=&quot;http://together.ai&quot;&gt;together.ai&lt;/a&gt; mistralai/Mixtral-8x7B-Instruct-v0.1 codellama/CodeLlama-13b-Instruct-hf codellama/CodeLlama-34b-Instruct-hf))) #+end_src&lt;/p&gt; 
 &lt;p&gt;#+html: &lt;/p&gt;
&lt;/details&gt; #+html: 
&lt;details&gt;
 &lt;summary&gt; **** Anyscale #+html: &lt;/summary&gt;
 &lt;p&gt;&lt;/p&gt; 
 &lt;p&gt;Register a backend with&lt;/p&gt; 
 &lt;p&gt;#+begin_src emacs-lisp ;; Anyscale offers an OpenAI compatible API (gptel-make-openai &quot;Anyscale&quot; ;Any name you want :host &quot;&lt;a href=&quot;http://api.endpoints.anyscale.com&quot;&gt;api.endpoints.anyscale.com&lt;/a&gt;&quot; :key &quot;your-api-key&quot; ;can be a function that returns the key :models &#39;(;; has many more, check anyscale mistralai/Mixtral-8x7B-Instruct-v0.1)) #+end_src&lt;/p&gt; 
 &lt;p&gt;You can pick this backend from the menu when using gptel (see [[#usage][Usage]])&lt;/p&gt; 
 &lt;p&gt;***** (Optional) Set as the default gptel backend&lt;/p&gt; 
 &lt;p&gt;The above code makes the backend available to select. If you want it to be the default backend for gptel, you can set this as the value of =gptel-backend=. Use this instead of the above.&lt;/p&gt; 
 &lt;p&gt;#+begin_src emacs-lisp ;; OPTIONAL configuration (setq gptel-model &#39;mistralai/Mixtral-8x7B-Instruct-v0.1 gptel-backend (gptel-make-openai &quot;Anyscale&quot; :host &quot;&lt;a href=&quot;http://api.endpoints.anyscale.com&quot;&gt;api.endpoints.anyscale.com&lt;/a&gt;&quot; :key &quot;your-api-key&quot; :models &#39;(;; has many more, check anyscale mistralai/Mixtral-8x7B-Instruct-v0.1))) #+end_src&lt;/p&gt; 
 &lt;p&gt;#+html: &lt;/p&gt;
&lt;/details&gt; #+html: 
&lt;details&gt;
 &lt;summary&gt; **** Perplexity #+html: &lt;/summary&gt;
 &lt;p&gt;&lt;/p&gt; 
 &lt;p&gt;Register a backend with&lt;/p&gt; 
 &lt;p&gt;#+begin_src emacs-lisp (gptel-make-perplexity &quot;Perplexity&quot; ;Any name you want :key &quot;your-api-key&quot; ;can be a function that returns the key :stream t) ;If you want responses to be streamed #+end_src&lt;/p&gt; 
 &lt;p&gt;You can pick this backend from the menu when using gptel (see [[#usage][Usage]])&lt;/p&gt; 
 &lt;p&gt;***** (Optional) Set as the default gptel backend&lt;/p&gt; 
 &lt;p&gt;The above code makes the backend available to select. If you want it to be the default backend for gptel, you can set this as the value of =gptel-backend=. Use this instead of the above.&lt;/p&gt; 
 &lt;p&gt;#+begin_src emacs-lisp ;; OPTIONAL configuration (setq gptel-model &#39;sonar gptel-backend (gptel-make-perplexity &quot;Perplexity&quot; :key &quot;your-api-key&quot; :stream t)) #+end_src&lt;/p&gt; 
 &lt;p&gt;#+html: &lt;/p&gt;
&lt;/details&gt; #+html: 
&lt;details&gt;
 &lt;summary&gt; **** Anthropic (Claude) #+html: &lt;/summary&gt; Register a backend with
 &lt;p&gt;&lt;/p&gt; 
 &lt;p&gt;#+begin_src emacs-lisp (gptel-make-anthropic &quot;Claude&quot; ;Any name you want :stream t ;Streaming responses :key &quot;your-api-key&quot;) #+end_src The =:key= can be a function that returns the key (more secure).&lt;/p&gt; 
 &lt;p&gt;You can pick this backend from the menu when using gptel (see [[#usage][Usage]]).&lt;/p&gt; 
 &lt;p&gt;***** (Optional) Set as the default gptel backend&lt;/p&gt; 
 &lt;p&gt;The above code makes the backend available to select. If you want it to be the default backend for gptel, you can set this as the value of =gptel-backend=. Use this instead of the above.&lt;/p&gt; 
 &lt;p&gt;#+begin_src emacs-lisp ;; OPTIONAL configuration (setq gptel-model &#39;claude-3-sonnet-20240229 ; &quot;claude-3-opus-20240229&quot; also available gptel-backend (gptel-make-anthropic &quot;Claude&quot; :stream t :key &quot;your-api-key&quot;)) #+end_src&lt;/p&gt; 
 &lt;p&gt;***** (Optional) Interim support for Claude 3.7 Sonnet&lt;/p&gt; 
 &lt;p&gt;To use Claude 3.7 Sonnet model in its &quot;thinking&quot; mode, you can define a second Claude backend and select it via the UI or elisp:&lt;/p&gt; 
 &lt;p&gt;#+begin_src emacs-lisp (gptel-make-anthropic &quot;Claude-thinking&quot; ;Any name you want :key &quot;your-API-key&quot; :stream t :models &#39;(claude-sonnet-4-20250514 claude-3-7-sonnet-20250219) :request-params &#39;(:thinking (:type &quot;enabled&quot; :budget_tokens 2048) :max_tokens 4096)) #+end_src&lt;/p&gt; 
 &lt;p&gt;You can set the reasoning budget tokens and max tokens for this usage via the =:budget_tokens= and =:max_tokens= keys here, respectively.&lt;/p&gt; 
 &lt;p&gt;You can control whether/how the reasoning output is shown via gptel&#39;s menu or =gptel-include-reasoning=, see [[#handle-reasoning-content][handling reasoning content]].&lt;/p&gt; 
 &lt;p&gt;#+html: &lt;/p&gt;
&lt;/details&gt; #+html: 
&lt;details&gt;
 &lt;summary&gt; **** Groq #+html: &lt;/summary&gt;
 &lt;p&gt;&lt;/p&gt; 
 &lt;p&gt;Register a backend with&lt;/p&gt; 
 &lt;p&gt;#+begin_src emacs-lisp ;; Groq offers an OpenAI compatible API (gptel-make-openai &quot;Groq&quot; ;Any name you want :host &quot;&lt;a href=&quot;http://api.groq.com&quot;&gt;api.groq.com&lt;/a&gt;&quot; :endpoint &quot;/openai/v1/chat/completions&quot; :stream t :key &quot;your-api-key&quot; ;can be a function that returns the key :models &#39;(gemma-7b-it llama3-8b-8192 mixtral-8x7b-32768 openai/gpt-oss-20b openai/gpt-oss-120b qwen/qwen3.6-27b)) #+end_src&lt;/p&gt; 
 &lt;p&gt;You can pick this backend from the menu when using gptel (see [[#usage][Usage]]). Note that Groq is fast enough that you could set =:stream nil= and still get near-instant responses.&lt;/p&gt; 
 &lt;p&gt;***** (Optional) Set as the default gptel backend&lt;/p&gt; 
 &lt;p&gt;The above code makes the backend available to select. If you want it to be the default backend for gptel, you can set this as the value of =gptel-backend=. Use this instead of the above.&lt;/p&gt; 
 &lt;p&gt;#+begin_src emacs-lisp ;; OPTIONAL configuration (setq gptel-model &#39;mixtral-8x7b-32768 gptel-backend (gptel-make-openai &quot;Groq&quot; :host &quot;&lt;a href=&quot;http://api.groq.com&quot;&gt;api.groq.com&lt;/a&gt;&quot; :endpoint &quot;/openai/v1/chat/completions&quot; :stream t :key &quot;your-api-key&quot; :models &#39;(gemma-7b-it llama3-8b-8192 mixtral-8x7b-32768 openai/gpt-oss-20b openai/gpt-oss-120b qwen/qwen3.6-27b))) #+end_src&lt;/p&gt; 
 &lt;p&gt;#+html: &lt;/p&gt;
&lt;/details&gt; #+html: 
&lt;details&gt;
 &lt;summary&gt; **** Mistral Le Chat #+html: &lt;/summary&gt;
 &lt;p&gt;&lt;/p&gt; 
 &lt;p&gt;Register a backend with&lt;/p&gt; 
 &lt;p&gt;#+begin_src emacs-lisp ;; Mistral offers an OpenAI compatible API (gptel-make-openai &quot;MistralLeChat&quot; ;Any name you want :host &quot;&lt;a href=&quot;http://api.mistral.ai&quot;&gt;api.mistral.ai&lt;/a&gt;&quot; :endpoint &quot;/v1/chat/completions&quot; :protocol &quot;https&quot; :key &quot;your-api-key&quot; ;can be a function that returns the key :models &#39;(&quot;mistral-small&quot;)) #+end_src&lt;/p&gt; 
 &lt;p&gt;You can pick this backend from the menu when using gptel (see [[#usage][Usage]]).&lt;/p&gt; 
 &lt;p&gt;***** (Optional) Set as the default gptel backend&lt;/p&gt; 
 &lt;p&gt;The above code makes the backend available to select. If you want it to be the default backend for gptel, you can set this as the value of =gptel-backend=. Use this instead of the above.&lt;/p&gt; 
 &lt;p&gt;#+begin_src emacs-lisp ;; OPTIONAL configuration (setq gptel-model &#39;mistral-small gptel-backend (gptel-make-openai &quot;MistralLeChat&quot; ;Any name you want :host &quot;&lt;a href=&quot;http://api.mistral.ai&quot;&gt;api.mistral.ai&lt;/a&gt;&quot; :endpoint &quot;/v1/chat/completions&quot; :protocol &quot;https&quot; :key &quot;your-api-key&quot; ;can be a function that returns the key :models &#39;(&quot;mistral-small&quot;))) #+end_src&lt;/p&gt; 
 &lt;p&gt;#+html: &lt;/p&gt;
&lt;/details&gt; #+html: 
&lt;details&gt;
 &lt;summary&gt;&lt;p&gt;&lt;/p&gt; &lt;p&gt;**** OpenRouter #+html: &lt;/p&gt;&lt;/summary&gt;
 &lt;p&gt;&lt;/p&gt; 
 &lt;p&gt;Register a backend with&lt;/p&gt; 
 &lt;p&gt;#+begin_src emacs-lisp ;; OpenRouter offers an OpenAI compatible API (gptel-make-openai &quot;OpenRouter&quot; ;Any name you want :host &quot;&lt;a href=&quot;http://openrouter.ai&quot;&gt;openrouter.ai&lt;/a&gt;&quot; :endpoint &quot;/api/v1/chat/completions&quot; :stream t :key &quot;your-api-key&quot; ;can be a function that returns the key :models &#39;(openai/gpt-3.5-turbo mistralai/mixtral-8x7b-instruct meta-llama/codellama-34b-instruct codellama/codellama-70b-instruct google/palm-2-codechat-bison-32k google/gemini-pro))&lt;/p&gt; 
 &lt;p&gt;#+end_src&lt;/p&gt; 
 &lt;p&gt;You can pick this backend from the menu when using gptel (see [[#usage][Usage]]).&lt;/p&gt; 
 &lt;p&gt;***** (Optional) Set as the default gptel backend&lt;/p&gt; 
 &lt;p&gt;The above code makes the backend available to select. If you want it to be the default backend for gptel, you can set this as the value of =gptel-backend=. Use this instead of the above.&lt;/p&gt; 
 &lt;p&gt;#+begin_src emacs-lisp ;; OPTIONAL configuration (setq gptel-model &#39;mixtral-8x7b-32768 gptel-backend (gptel-make-openai &quot;OpenRouter&quot; ;Any name you want :host &quot;&lt;a href=&quot;http://openrouter.ai&quot;&gt;openrouter.ai&lt;/a&gt;&quot; :endpoint &quot;/api/v1/chat/completions&quot; :stream t :key &quot;your-api-key&quot; ;can be a function that returns the key :models &#39;(openai/gpt-3.5-turbo mistralai/mixtral-8x7b-instruct meta-llama/codellama-34b-instruct codellama/codellama-70b-instruct google/palm-2-codechat-bison-32k google/gemini-pro)))&lt;/p&gt; 
 &lt;p&gt;#+end_src&lt;/p&gt; 
 &lt;p&gt;#+html: &lt;/p&gt;
&lt;/details&gt; #+html: 
&lt;details&gt;
 &lt;summary&gt; **** PrivateGPT #+html: &lt;/summary&gt;
 &lt;p&gt;&lt;/p&gt; 
 &lt;p&gt;Register a backend with&lt;/p&gt; 
 &lt;p&gt;#+begin_src emacs-lisp (gptel-make-privategpt &quot;privateGPT&quot; ;Any name you want :protocol &quot;http&quot; :host &quot;localhost:8001&quot; :stream t :context t ;Use context provided by embeddings :sources t ;Return information about source documents :models &#39;(private-gpt))&lt;/p&gt; 
 &lt;p&gt;#+end_src&lt;/p&gt; 
 &lt;p&gt;You can pick this backend from the menu when using gptel (see [[#usage][Usage]]).&lt;/p&gt; 
 &lt;p&gt;***** (Optional) Set as the default gptel backend&lt;/p&gt; 
 &lt;p&gt;The above code makes the backend available to select. If you want it to be the default backend for gptel, you can set this as the value of =gptel-backend=. Use this instead of the above.&lt;/p&gt; 
 &lt;p&gt;#+begin_src emacs-lisp ;; OPTIONAL configuration (setq gptel-model &#39;private-gpt gptel-backend (gptel-make-privategpt &quot;privateGPT&quot; ;Any name you want :protocol &quot;http&quot; :host &quot;localhost:8001&quot; :stream t :context t ;Use context provided by embeddings :sources t ;Return information about source documents :models &#39;(private-gpt)))&lt;/p&gt; 
 &lt;p&gt;#+end_src&lt;/p&gt; 
 &lt;p&gt;#+html: &lt;/p&gt;
&lt;/details&gt; #+html: 
&lt;details&gt;
 &lt;summary&gt; **** DeepSeek #+html: &lt;/summary&gt;
 &lt;p&gt;&lt;/p&gt; 
 &lt;p&gt;Register a backend with&lt;/p&gt; 
 &lt;p&gt;#+begin_src emacs-lisp (gptel-make-deepseek &quot;DeepSeek&quot; ;Any name you want :stream t ;for streaming responses :key &quot;your-api-key&quot;) ;can be a function that returns the key #+end_src&lt;/p&gt; 
 &lt;p&gt;You can pick this backend from the menu when using gptel (see [[#usage][Usage]]).&lt;/p&gt; 
 &lt;p&gt;***** (Optional) Set as the default gptel backend&lt;/p&gt; 
 &lt;p&gt;The above code makes the backend available to select. If you want it to be the default backend for gptel, you can set this as the value of =gptel-backend=. Use this instead of the above.&lt;/p&gt; 
 &lt;p&gt;#+begin_src emacs-lisp ;; OPTIONAL configuration (setq gptel-model &#39;deepseek-reasoner gptel-backend (gptel-make-deepseek &quot;DeepSeek&quot; :stream t :key &quot;your-api-key&quot;)) #+end_src&lt;/p&gt; 
 &lt;p&gt;#+html: &lt;/p&gt;
&lt;/details&gt; #+html: 
&lt;details&gt;
 &lt;summary&gt;&lt;p&gt;&lt;/p&gt; &lt;p&gt;**** Sambanova (Deepseek) #+html: &lt;/p&gt;&lt;/summary&gt; Sambanova offers various LLMs through their Samba Nova Cloud offering, with Deepseek-R1 being one of them. The token speed for Deepseek R1 via Sambanova is about 6 times faster than when accessed through 
 &lt;a href=&quot;http://deepseek.com&quot;&gt;deepseek.com&lt;/a&gt;
 &lt;p&gt;&lt;/p&gt; 
 &lt;p&gt;Register a backend with&lt;/p&gt; 
 &lt;p&gt;#+begin_src emacs-lisp (gptel-make-openai &quot;Sambanova&quot; ;Any name you want :host &quot;&lt;a href=&quot;http://api.sambanova.ai&quot;&gt;api.sambanova.ai&lt;/a&gt;&quot; :endpoint &quot;/v1/chat/completions&quot; :stream t ;for streaming responses :key &quot;your-api-key&quot; ;can be a function that returns the key :models &#39;(DeepSeek-R1)) #+end_src&lt;/p&gt; 
 &lt;p&gt;You can pick this backend from the menu when using gptel (see [[#usage][Usage]]).&lt;/p&gt; 
 &lt;p&gt;***** (Optional) Set as the default gptel backend The code aboves makes the backend available for selection. If you want it to be the default backend for gptel, you can set this as the value of =gptel-backend=. Add these two lines to your configuration:&lt;/p&gt; 
 &lt;p&gt;#+begin_src emacs-lisp ;; OPTIONAL configuration (setq gptel-model &#39;DeepSeek-R1) (setq gptel-backend (gptel-get-backend &quot;Sambanova&quot;)) #+end_src&lt;/p&gt; 
 &lt;p&gt;#+html: &lt;/p&gt;
&lt;/details&gt; #+html: 
&lt;details&gt;
 &lt;summary&gt;&lt;p&gt;&lt;/p&gt; &lt;p&gt;**** Cerebras #+html: &lt;/p&gt;&lt;/summary&gt;
 &lt;p&gt;&lt;/p&gt; 
 &lt;p&gt;Register a backend with&lt;/p&gt; 
 &lt;p&gt;#+begin_src emacs-lisp ;; Cerebras offers an instant OpenAI compatible API (gptel-make-openai &quot;Cerebras&quot; :host &quot;&lt;a href=&quot;http://api.cerebras.ai&quot;&gt;api.cerebras.ai&lt;/a&gt;&quot; :endpoint &quot;/v1/chat/completions&quot; :stream t ;optionally nil as Cerebras is instant AI :key &quot;your-api-key&quot; ;can be a function that returns the key :models &#39;(llama3.1-70b llama3.1-8b)) #+end_src&lt;/p&gt; 
 &lt;p&gt;You can pick this backend from the menu when using gptel (see [[#usage][Usage]]).&lt;/p&gt; 
 &lt;p&gt;***** (Optional) Set as the default gptel backend&lt;/p&gt; 
 &lt;p&gt;The above code makes the backend available to select. If you want it to be the default backend for gptel, you can set this as the value of =gptel-backend=. Use this instead of the above.&lt;/p&gt; 
 &lt;p&gt;#+begin_src emacs-lisp ;; OPTIONAL configuration (setq gptel-model &#39;llama3.1-8b gptel-backend (gptel-make-openai &quot;Cerebras&quot; :host &quot;&lt;a href=&quot;http://api.cerebras.ai&quot;&gt;api.cerebras.ai&lt;/a&gt;&quot; :endpoint &quot;/v1/chat/completions&quot; :stream nil :key &quot;your-api-key&quot; :models &#39;(llama3.1-70b llama3.1-8b))) #+end_src&lt;/p&gt; 
 &lt;p&gt;#+html: &lt;/p&gt;
&lt;/details&gt; #+html: 
&lt;details&gt;
 &lt;summary&gt; **** Novita AI #+html: &lt;/summary&gt;
 &lt;p&gt;&lt;/p&gt; 
 &lt;p&gt;Register a backend with&lt;/p&gt; 
 &lt;p&gt;#+begin_src emacs-lisp ;; Novita AI offers an OpenAI compatible API (gptel-make-openai &quot;NovitaAI&quot; ;Any name you want :host &quot;&lt;a href=&quot;http://api.novita.ai&quot;&gt;api.novita.ai&lt;/a&gt;&quot; :endpoint &quot;/v3/openai&quot; :key &quot;your-api-key&quot; ;can be a function that returns the key :stream t :models &#39;(;; has many more, check &lt;a href=&quot;https://novita.ai/llm-api&quot;&gt;https://novita.ai/llm-api&lt;/a&gt; gryphe/mythomax-l2-13b meta-llama/llama-3-70b-instruct meta-llama/llama-3.1-70b-instruct)) #+end_src&lt;/p&gt; 
 &lt;p&gt;You can pick this backend from the menu when using gptel (see [[#usage][Usage]])&lt;/p&gt; 
 &lt;p&gt;***** (Optional) Set as the default gptel backend&lt;/p&gt; 
 &lt;p&gt;The above code makes the backend available to select. If you want it to be the default backend for gptel, you can set this as the value of =gptel-backend=. Use this instead of the above.&lt;/p&gt; 
 &lt;p&gt;#+begin_src emacs-lisp ;; OPTIONAL configuration (setq gptel-model &#39;gryphe/mythomax-l2-13b gptel-backend (gptel-make-openai &quot;NovitaAI&quot;&lt;br /&gt; :host &quot;&lt;a href=&quot;http://api.novita.ai&quot;&gt;api.novita.ai&lt;/a&gt;&quot; :endpoint &quot;/v3/openai&quot; :key &quot;your-api-key&quot;&lt;br /&gt; :stream t :models &#39;(;; has many more, check &lt;a href=&quot;https://novita.ai/llm-api&quot;&gt;https://novita.ai/llm-api&lt;/a&gt; mistralai/Mixtral-8x7B-Instruct-v0.1 meta-llama/llama-3-70b-instruct meta-llama/llama-3.1-70b-instruct))) #+end_src&lt;/p&gt; 
 &lt;p&gt;#+html: &lt;/p&gt;
&lt;/details&gt; #+html: 
&lt;details&gt;
 &lt;summary&gt; **** xAI #+html: &lt;/summary&gt;
 &lt;p&gt;&lt;/p&gt; 
 &lt;p&gt;Register a backend with&lt;/p&gt; 
 &lt;p&gt;#+begin_src emacs-lisp (gptel-make-xai &quot;xAI&quot; ; Any name you want :stream t :key &quot;your-api-key&quot;) ; can be a function that returns the key #+end_src&lt;/p&gt; 
 &lt;p&gt;You can pick this backend from the menu when using gptel (see [[#usage][Usage]])&lt;/p&gt; 
 &lt;p&gt;***** (Optional) Set as the default gptel backend&lt;/p&gt; 
 &lt;p&gt;The above code makes the backend available to select. If you want it to be the default backend for gptel, you can set this as the value of =gptel-backend=. Use this instead of the above.&lt;/p&gt; 
 &lt;p&gt;#+begin_src emacs-lisp (setq gptel-model &#39;grok-4.7 gptel-backend (gptel-make-xai &quot;xAI&quot; ; Any name you want :key &quot;your-api-key&quot; ; can be a function that returns the key :stream t)) #+end_src&lt;/p&gt; 
 &lt;p&gt;#+html: &lt;/p&gt;
&lt;/details&gt; #+html: 
&lt;details&gt;
 &lt;summary&gt; **** AI/ML API #+html: &lt;/summary&gt;
 &lt;p&gt;&lt;/p&gt; 
 &lt;p&gt;AI/ML API provides 300+ AI models including Deepseek, Gemini, ChatGPT. The models run at enterprise-grade rate limits and uptimes.&lt;/p&gt; 
 &lt;p&gt;Register a backend with&lt;/p&gt; 
 &lt;p&gt;#+begin_src emacs-lisp ;; AI/ML API offers an OpenAI compatible API (gptel-make-openai &quot;AI/ML API&quot; ;Any name you want :host &quot;&lt;a href=&quot;http://api.aimlapi.com&quot;&gt;api.aimlapi.com&lt;/a&gt;&quot; :endpoint &quot;/v1/chat/completions&quot; :stream t :key &quot;your-api-key&quot; ;can be a function that returns the key :models &#39;(deepseek-chat gemini-pro gpt-4o)) #+end_src&lt;/p&gt; 
 &lt;p&gt;You can pick this backend from the menu when using gptel (see [[#usage][Usage]]).&lt;/p&gt; 
 &lt;p&gt;***** (Optional) Set as the default gptel backend&lt;/p&gt; 
 &lt;p&gt;The above code makes the backend available to select. If you want it to be the default backend for gptel, you can set this as the value of =gptel-backend=. Use this instead of the above.&lt;/p&gt; 
 &lt;p&gt;#+begin_src emacs-lisp ;; OPTIONAL configuration (setq gptel-model &#39;gpt-4o gptel-backend (gptel-make-openai &quot;AI/ML API&quot; :host &quot;&lt;a href=&quot;http://api.aimlapi.com&quot;&gt;api.aimlapi.com&lt;/a&gt;&quot; :endpoint &quot;/v1/chat/completions&quot; :stream t :key &quot;your-api-key&quot; :models &#39;(deepseek-chat gemini-pro gpt-4o))) #+end_src&lt;/p&gt; 
 &lt;p&gt;#+html: &lt;/p&gt;
&lt;/details&gt; #+html: 
&lt;details&gt;
 &lt;summary&gt; **** GitHub CopilotChat #+html: &lt;/summary&gt;
 &lt;p&gt;&lt;/p&gt; 
 &lt;p&gt;Register a backend with&lt;/p&gt; 
 &lt;p&gt;#+begin_src emacs-lisp (gptel-make-gh-copilot &quot;Copilot&quot;) #+end_src&lt;/p&gt; 
 &lt;p&gt;Github copilot is configured to use the public endpoint =api.githubcopilot.com=. Depending on your plan, you may need to use a different host (see [[&lt;a href=&quot;https://github.blog/changelog/2026-02-13-network-configuration-changes-for-copilot-coding-agent/#whats-changing&quot;&gt;https://github.blog/changelog/2026-02-13-network-configuration-changes-for-copilot-coding-agent/#whats-changing&lt;/a&gt;][Copilot plan changes]]):&lt;/p&gt; 
 &lt;ul&gt; 
  &lt;li&gt;Copilot Business: =api.business.githubcopilot.com=&lt;/li&gt; 
  &lt;li&gt;Copilot Enterprise: =api.enterprise.githubcopilot.com=&lt;/li&gt; 
  &lt;li&gt;Copilot Pro and Pro+: =api.individual.githubcopilot.com=&lt;/li&gt; 
 &lt;/ul&gt; 
 &lt;p&gt;You can do this as follows: #+begin_src emacs-lisp (gptel-make-gh-copilot &quot;Copilot&quot; :host &quot;&lt;a href=&quot;http://api.business.githubcopilot.com&quot;&gt;api.business.githubcopilot.com&lt;/a&gt;&quot;) #+end_src&lt;/p&gt; 
 &lt;p&gt;You will be informed to login into =GitHub= as required. (You can also log in manually with =M-x gptel-gh-login=.)&lt;/p&gt; 
 &lt;p&gt;You can pick this backend from the menu when using gptel (see [[#usage][Usage]]).&lt;/p&gt; 
 &lt;p&gt;***** (Optional) Set as the default gptel backend&lt;/p&gt; 
 &lt;p&gt;The above code makes the backend available to select. If you want it to be the default backend for gptel, you can set this as the value of =gptel-backend=. Use this instead of the above.&lt;/p&gt; 
 &lt;p&gt;#+begin_src emacs-lisp ;; OPTIONAL configuration (setq gptel-model &#39;claude-3.7-sonnet gptel-backend (gptel-make-gh-copilot &quot;Copilot&quot;)) #+end_src&lt;/p&gt; 
 &lt;p&gt;#+html: &lt;/p&gt;
&lt;/details&gt; #+html: 
&lt;details&gt;
 &lt;summary&gt; **** AWS Bedrock #+html: &lt;/summary&gt;
 &lt;p&gt;&lt;/p&gt; 
 &lt;p&gt;Register a backend with&lt;/p&gt; 
 &lt;p&gt;#+begin_src emacs-lisp (gptel-make-bedrock &quot;AWS&quot; ;; optionally enable streaming :stream t :region &quot;ap-northeast-1&quot; ;; subset of gptel--bedrock-models :models &#39;(claude-sonnet-4-20250514) ;; Model region for cross-region inference profiles. Required for models such ;; as Claude without on-demand throughput support. One of &#39;apac, &#39;eu or &#39;us. ;; &lt;a href=&quot;https://docs.aws.amazon.com/bedrock/latest/userguide/inference-profiles-use.html&quot;&gt;https://docs.aws.amazon.com/bedrock/latest/userguide/inference-profiles-use.html&lt;/a&gt; :model-region &#39;apac) #+end_src&lt;/p&gt; 
 &lt;p&gt;AWS has numerous credential provisions; we follow this order precedence,&lt;/p&gt; 
 &lt;ul&gt; 
  &lt;li&gt;(argument) ~:aws-bearer-token~&lt;/li&gt; 
  &lt;li&gt;(env. variable) ~AWS_BEARER_TOKEN_BEDROCK~&lt;/li&gt; 
  &lt;li&gt;(argument) ~:aws-profile~ If this option is specified, the Bedrock-backend uses the shared AWS config and credentials files to obtain credentials based on the AWS Profile selected. If ~:aws-profile~ is set to the keyword ~:static~, the IAM credentials are imported without a profile argument.&lt;/li&gt; 
  &lt;li&gt;(env. varible) ~AWS_PROFILE~&lt;/li&gt; 
  &lt;li&gt;(env. varible) ~AWS_ACCESS_KEY_ID~, ~AWS_SECRET_ACCESS_KEY~ and ~AWS_SESSION_TOKEN~&lt;/li&gt; 
 &lt;/ul&gt; 
 &lt;p&gt;&lt;em&gt;NOTE:&lt;/em&gt; The Bedrock backend requires ~gptel-use-curl~ to be set to ~t~. When authenticating with an AWS profile or IAM credentials, =curl= computes a SigV4 signature and version 8.10 or newer is required (see [[&lt;a href=&quot;https://github.com/curl/curl/issues/11794&quot;&gt;https://github.com/curl/curl/issues/11794&lt;/a&gt;][curl issue #11794]]). Bearer token authentication does not have this requirement.&lt;/p&gt; 
 &lt;p&gt;You can pick this backend from the menu when using gptel (see [[#usage][Usage]]).&lt;/p&gt; 
 &lt;p&gt;***** (Optional) Set as the default gptel backend&lt;/p&gt; 
 &lt;p&gt;The above code makes the backend available to select. If you want it to be the default backend for gptel, you can set this as the value of =gptel-backend=. Use this instead of the above.&lt;/p&gt; 
 &lt;p&gt;#+begin_src emacs-lisp ;; OPTIONAL configuration (setq gptel-model &#39;claude-sonnet-4-20250514 gptel-backend (gptel-make-bedrock &quot;AWS&quot; ;; optionally enable streaming :stream t ;; optionally specify the aws profile ;; :profile :region &quot;ap-northeast-1&quot; ;; subset of gptel--bedrock-models :models &#39;(claude-sonnet-4-20250514) ;; Model region for cross-region inference profiles. Required for models such ;; as Claude without on-demand throughput support. One of &#39;apac, &#39;eu or &#39;us. ;; &lt;a href=&quot;https://docs.aws.amazon.com/bedrock/latest/userguide/inference-profiles-use.html&quot;&gt;https://docs.aws.amazon.com/bedrock/latest/userguide/inference-profiles-use.html&lt;/a&gt; :model-region &#39;apac)) #+end_src&lt;/p&gt; 
 &lt;p&gt;#+html: &lt;/p&gt;
&lt;/details&gt; #+html: 
&lt;details&gt;
 &lt;summary&gt; **** Moonshot (Kimi) #+html: &lt;/summary&gt;
 &lt;p&gt;&lt;/p&gt; 
 &lt;p&gt;Register a backend with&lt;/p&gt; 
 &lt;p&gt;#+begin_src emacs-lisp (gptel-make-openai &quot;Moonshot&quot; :host &quot;&lt;a href=&quot;http://api.moonshot.cn&quot;&gt;api.moonshot.cn&lt;/a&gt;&quot; ;; or &quot;&lt;a href=&quot;http://api.moonshot.ai&quot;&gt;api.moonshot.ai&lt;/a&gt;&quot; for the global site :key &quot;your-api-key&quot; :stream t ;; optionally enable streaming :models &#39;(kimi-latest kimi-k2-0711-preview)) #+end_src&lt;/p&gt; 
 &lt;p&gt;See [[&lt;a href=&quot;https://platform.moonshot.ai/docs/pricing/chat&quot;&gt;https://platform.moonshot.ai/docs/pricing/chat&lt;/a&gt;][&lt;a href=&quot;http://Moonshot.ai&quot;&gt;Moonshot.ai&lt;/a&gt; document]] for a complete list of models.&lt;/p&gt; 
 &lt;p&gt;***** (Optional) Use the builtin search tool&lt;/p&gt; 
 &lt;p&gt;Moonshot supports a builtin search tool that does not requires the user to provide the tool implementation. To use that, you first need to define the tool and add to =gptel-tools= (while it does not requires the client to provide the search implementation, it does expects the client to reply a tool call message with its given argument, to be consistent with other tool calls):&lt;/p&gt; 
 &lt;p&gt;#+begin_src emacs-lisp (setq gptel-tools (list (gptel-make-tool :name &quot;$web_search&quot; :function (lambda (&amp;amp;optional search_result) (json-serialize `(:search_result ,search_result))) :description &quot;Moonshot builtin web search. Only usable by moonshot model (kimi), ignore this if you are not.&quot; :args &#39;((:name &quot;search_result&quot; :type object :optional t)) :category &quot;web&quot;))) #+end_src&lt;/p&gt; 
 &lt;p&gt;Then you also need to add the tool declaration via =:request-params= because it needs a special =builtin_function= type:&lt;/p&gt; 
 &lt;p&gt;#+begin_src emacs-lisp (gptel-make-openai &quot;Moonshot&quot; :host &quot;&lt;a href=&quot;http://api.moonshot.cn&quot;&gt;api.moonshot.cn&lt;/a&gt;&quot; ;; or &quot;&lt;a href=&quot;http://api.moonshot.ai&quot;&gt;api.moonshot.ai&lt;/a&gt;&quot; for the global site :key &quot;your-api-key&quot; :stream t ;; optionally enable streaming :models &#39;(kimi-latest kimi-k2-0711-preview) :request-params &#39;(:tools [(:type &quot;builtin_function&quot; :function (:name &quot;$web_search&quot;))])) #+end_src&lt;/p&gt; 
 &lt;p&gt;Now the chat should be able to automatically use search. Try &quot;what&#39;s new today&quot; and you should expect the up-to-date news in response.&lt;/p&gt; 
 &lt;p&gt;#+html: &lt;/p&gt;
&lt;/details&gt; ** Usage
&lt;p&gt;&lt;/p&gt; 
&lt;p&gt;gptel provides a few powerful, general purpose and flexible commands. You can dynamically tweak their behavior to the needs of your task with /directives/ (system prompts), redirection options and more. There is a [[&lt;a href=&quot;https://www.youtube.com/watch?v=bsRnh_brggM&quot;&gt;https://www.youtube.com/watch?v=bsRnh_brggM&lt;/a&gt;][video demo]] showing various uses of gptel -- but =gptel-send= might be all you need.&lt;/p&gt; 
&lt;p&gt;|-------------------+---------------------------------------------------------------------------------------------------| | &lt;em&gt;To send queries&lt;/em&gt; | Description | |-------------------+---------------------------------------------------------------------------------------------------| | =gptel-send= | Send all text up to =(point)=, or the selection if region is active. Works anywhere in Emacs. | | =gptel= | Create a new dedicated chat buffer. Not required to use gptel. | | =gptel-rewrite= | Rewrite, refactor or change the selected region. Can diff/ediff changes before merging/applying. | |-------------------+---------------------------------------------------------------------------------------------------|&lt;/p&gt; 
&lt;p&gt;|---------------------+---------------------------------------------------------------| | &lt;em&gt;To tweak behavior&lt;/em&gt; | | |---------------------+---------------------------------------------------------------| | =C-u= =gptel-send= | Transient menu for preferences, input/output redirection etc. | | =gptel-menu= | /(Same)/ | |---------------------+---------------------------------------------------------------|&lt;/p&gt; 
&lt;p&gt;|------------------+--------------------------------------------------------------------------------------------------------| | &lt;em&gt;To add context&lt;/em&gt; | | |------------------+--------------------------------------------------------------------------------------------------------| | =gptel-add= | Add/remove a region or buffer to gptel&#39;s context. In Dired, add/remove marked files. | | =gptel-add-file= | Add a file (text or supported media type) to gptel&#39;s context. Also available from the transient menu. | |------------------+--------------------------------------------------------------------------------------------------------|&lt;/p&gt; 
&lt;p&gt;|----------------------------+-----------------------------------------------------------------------------------------| | &lt;em&gt;Org mode bonuses&lt;/em&gt; | | |----------------------------+-----------------------------------------------------------------------------------------| | =gptel-org-set-topic= | Limit conversation context to an Org heading. (For branching conversations see below.) | | =gptel-org-set-properties= | Write gptel configuration as Org properties, for per-heading chat configuration. | |----------------------------+-----------------------------------------------------------------------------------------|&lt;/p&gt; 
&lt;p&gt;|----------------------------+-------------------------------------------------------------------------------------------| | &lt;em&gt;Oauth connections&lt;/em&gt; | | |----------------------------+-------------------------------------------------------------------------------------------| | =gptel-gh-login= | Authenticate with GitHub Copilot. (Automatically handled, but can be forced if required.) | | =gptel-openai-oauth-login= | Authenticate with OpenAI (Codex). (Automatically handled, but can be forced if required.) | |----------------------------+-------------------------------------------------------------------------------------------|&lt;/p&gt; 
&lt;p&gt;*** In any buffer:&lt;/p&gt; 
&lt;ol&gt; 
 &lt;li&gt; &lt;p&gt;Call =M-x gptel-send= to send the text up to the cursor. The response will be inserted below. Continue the conversation by typing below the response.&lt;/p&gt; &lt;/li&gt; 
 &lt;li&gt; &lt;p&gt;If a region is selected, the conversation will be limited to its contents.&lt;/p&gt; &lt;/li&gt; 
 &lt;li&gt; &lt;p&gt;Call =M-x gptel-send= with a prefix argument (~C-u~)&lt;/p&gt; 
  &lt;ul&gt; 
   &lt;li&gt;to set chat parameters (model, backend, system message etc) for this buffer,&lt;/li&gt; 
   &lt;li&gt;include quick instructions for the next request only,&lt;/li&gt; 
   &lt;li&gt;to add additional context -- regions, buffers or files -- to gptel,&lt;/li&gt; 
   &lt;li&gt;to read the prompt from or redirect the response elsewhere,&lt;/li&gt; 
   &lt;li&gt;or to replace the prompt with the response.&lt;/li&gt; 
  &lt;/ul&gt; &lt;/li&gt; 
&lt;/ol&gt; 
&lt;p&gt;#+html: &lt;img src=&quot;https://github.com/karthink/gptel/assets/8607532/3562a6e2-7a5c-4f7e-8e57-bf3c11589c73&quot; align=&quot;center&quot; alt=&quot;Emacs displays Julia source code in an upper buffer and gptel-menu below it.  The menu shows options for setting a system message or directive, adding the current region, a buffer, or a file as context, and configuring request parameters.  The selected model is Claude 3.5 Sonnet, the response length is automatic, previous responses are included, and context is included with the system message.  It also offers controls for taking the prompt from the minibuffer or kill ring, responding in place, and sending the response to the echo area, a gptel session, any buffer, or the kill ring.  Pressing RET sends the prompt, and a separate option invokes refactoring.  This illustrates how gptel exposes per-request context, model, prompt-source, response-destination, and editing controls directly in Emacs.&quot; /&gt;&lt;/p&gt; 
&lt;hr /&gt; 
&lt;p&gt;You can use =gptel-highlight-mode= to highlight LLM responses in different ways:&lt;/p&gt; 
&lt;p&gt;#+html: &lt;img width=&quot;1226&quot; height=&quot;764&quot; alt=&quot;&quot; src=&quot;https://github.com/user-attachments/assets/1a3d5411-3cbc-41cf-b9fa-5089a1ffa096&quot; /&gt;&lt;/p&gt; 
&lt;p&gt;You can also define a &quot;preset&quot; bundle of options that are applied together, see [[#option-presets][Option presets]] below.&lt;/p&gt; 
&lt;p&gt;*** In a dedicated chat buffer:&lt;/p&gt; 
&lt;p&gt;&lt;em&gt;Note&lt;/em&gt;: gptel works anywhere in Emacs. The dedicated chat buffer only adds some conveniences.&lt;/p&gt; 
&lt;ol&gt; 
 &lt;li&gt; &lt;p&gt;Run =M-x gptel= to start or switch to the chat buffer. It will ask you for the key if you skipped the previous step. Run it with a prefix-arg (=C-u M-x gptel=) to start a new session.&lt;/p&gt; &lt;/li&gt; 
 &lt;li&gt; &lt;p&gt;In the gptel buffer, send your prompt with =M-x gptel-send=, bound to =C-c RET=.&lt;/p&gt; &lt;/li&gt; 
 &lt;li&gt; &lt;p&gt;Set chat parameters (LLM provider, model, system prompt etc) for the session by calling =gptel-send= with a prefix argument (=C-u C-c RET=):&lt;/p&gt; &lt;/li&gt; 
&lt;/ol&gt; 
&lt;p&gt;#+html: &lt;img src=&quot;https://github.com/karthink/gptel/assets/8607532/eb4867e5-30ac-455f-999f-e17123afb810&quot; align=&quot;center&quot; alt=&quot;An empty Emacs gptel conversation buffer for Claude.  The header shows Claude is ready, the prompt preset is “default,” and the selected model is Claude 3.5 Sonnet.  The gptel query menu is open below.  It lists options to set a system prompt, add a region, buffer or file as context, choose the model, set response length, include previous responses, and include or omit context.  Additional options select the prompt source: minibuffer, kill ring or respond-in-place, and the response destination: echo area, a gptel session, any buffer, or the kill ring.&quot; /&gt;&lt;/p&gt; 
&lt;p&gt;That&#39;s it. You can go back and edit previous prompts and responses if you want.&lt;/p&gt; 
&lt;p&gt;The default mode is =markdown-mode= if available, else =text-mode=. You can set =gptel-default-mode= to =org-mode= if desired.&lt;/p&gt; 
&lt;p&gt;You can use =gptel-highlight-mode= to highlight LLM responses in different ways.&lt;/p&gt; 
&lt;p&gt;You can also define a &quot;preset&quot; bundle of options that are applied together, see [[#option-presets][Option presets]] below.&lt;/p&gt; 
&lt;p&gt;#+html: &lt;/p&gt;
&lt;details&gt;
 &lt;summary&gt; **** Including media (images, documents or plain-text files) with requests #+html: &lt;/summary&gt;
 &lt;p&gt;&lt;/p&gt; 
 &lt;p&gt;gptel supports sending media in Markdown and Org chat buffers, but this feature is disabled by default.&lt;/p&gt; 
 &lt;ul&gt; 
  &lt;li&gt;You can enable it globally, for all models that support it, by setting =gptel-track-media=.&lt;/li&gt; 
  &lt;li&gt;Or you can set it locally, just for the chat buffer, via the header line or gptel&#39;s transient menu:&lt;/li&gt; 
 &lt;/ul&gt; 
 &lt;p&gt;#+html: &lt;img src=&quot;https://github.com/user-attachments/assets/91f6aaab-2ea4-4806-9cc9-39b4b46a8e6c&quot; align=&quot;center&quot; alt=&quot;Screenshot of a gptel chat buffer header line. It features a clickable underlined button reading &#39;[Sending media]&#39; enclosed in a red box, followed by &#39;[Prompt: default]&#39; and &#39;[gpt-4o-mini]&#39; model indicators. Below this, the prompt asks to describe an image, with an attached file path &#39;file:~/Pictures/Mx-butterfly.png&#39; highlighted in blue.&quot; /&gt;&lt;/p&gt; 
 &lt;hr /&gt; 
 &lt;p&gt;There are two ways to include media or plain-text files with requests:&lt;/p&gt; 
 &lt;ol&gt; 
  &lt;li&gt; &lt;p&gt;Add files to gptel&#39;s context with =gptel-add-file=, described further below.&lt;/p&gt; &lt;/li&gt; 
  &lt;li&gt; &lt;p&gt;Include links to media in chat buffers. gptel will annotate the link to indicate that the linked files will be sent along with the prompt. If a link cannot be sent for some reason, that will be indicated too, and the reason will be shown in a tooltip:&lt;/p&gt; &lt;/li&gt; 
 &lt;/ol&gt; 
 &lt;p&gt;#+html: &lt;img width=&quot;848&quot; height=&quot;336&quot; alt=&quot;Image showing a gptel chat buffer with annotated links, two of which are marked with SEND.  A third link will not be sent, and the echo area contains an explanation for why.&quot; src=&quot;https://github.com/user-attachments/assets/00fd0187-f964-4f55-a392-0a1562bb9118&quot; align=&quot;center&quot; /&gt;&lt;/p&gt; 
 &lt;p&gt;Most ways of specifying links to files/URLs are respected by gptel:&lt;/p&gt; 
 &lt;ul&gt; 
  &lt;li&gt;In Markdown mode: 
   &lt;ul&gt; 
    &lt;li&gt;=[](file:///path/to/file.txt)= and =&lt;a href=&quot;https://raw.githubusercontent.com/karthink/gptel/master/path/to/file.txt&quot;&gt;&lt;/a&gt;=&lt;/li&gt; 
    &lt;li&gt;=[Description](file:///path/to/file.txt)= and =&lt;a href=&quot;https://raw.githubusercontent.com/karthink/gptel/master/path/to/file.txt&quot;&gt;Description&lt;/a&gt;=&lt;/li&gt; 
    &lt;li&gt;=&amp;lt;file:///path/to/file.txt&amp;gt;= &quot;Plain&quot; links of the form =file:///path/to/file.txt= will not be recognized.&lt;/li&gt; 
   &lt;/ul&gt; &lt;/li&gt; 
  &lt;li&gt;In Org mode: 
   &lt;ul&gt; 
    &lt;li&gt;=[[file:/path/to/file.txt]]=&lt;/li&gt; 
    &lt;li&gt;=[[file:/path/to/file.txt][Description]]=&lt;/li&gt; 
    &lt;li&gt;=&amp;lt;file:/path/to/file.txt&amp;gt;=&lt;/li&gt; 
    &lt;li&gt;=[[attachment:data.txt]]= &quot;Plain&quot; links of the form =file:/path/to/file.txt= will not be recognized.&lt;/li&gt; 
   &lt;/ul&gt; &lt;/li&gt; 
 &lt;/ul&gt; 
 &lt;p&gt;Support for custom Org link types is planned.&lt;/p&gt; 
 &lt;p&gt;#+html: &lt;/p&gt;
&lt;/details&gt; #+html: 
&lt;details&gt;
 &lt;summary&gt; **** Save and restore your chat sessions #+html: &lt;/summary&gt;
 &lt;p&gt;&lt;/p&gt; 
 &lt;p&gt;Saving the file will save the state of the conversation as well. To resume the chat, open the file and turn on =gptel-mode= before editing the buffer.&lt;/p&gt; 
 &lt;p&gt;#+html: &lt;/p&gt;
&lt;/details&gt; *** Setting options (backend, model, request parameters, system prompts and more)
&lt;p&gt;&lt;/p&gt; 
&lt;p&gt;Most gptel options can be set from gptel&#39;s transient menu, available by calling =gptel-send= with a prefix-argument, or via =gptel-menu=. To change their default values in your configuration, see [[#additional-configuration][Additional Configuration]]. Chat buffer-specific options are also available via the header-line in chat buffers.&lt;/p&gt; 
&lt;h1&gt;TODO Remove this when writing the manual.&lt;/h1&gt; 
&lt;p&gt;Selecting a model and backend can be done interactively via the =-m= command of =gptel-menu=. Available registered models are prefixed by the name of their backend with a string like =ChatGPT:gpt-4o-mini=, where =ChatGPT= is the backend name you used to register it and =gpt-4o-mini= is the name of the model.&lt;/p&gt; 
&lt;p&gt;*** Include more context with requests :PROPERTIES: :CUSTOM_ID: include-context :END:&lt;/p&gt; 
&lt;p&gt;By default, gptel will query the LLM with the active region or the buffer contents up to the cursor. Often it can be helpful to provide the LLM with additional context from outside the current buffer. For example, when you&#39;re in a chat buffer but want to ask questions about a (possibly changing) code buffer and auxiliary project files.&lt;/p&gt; 
&lt;p&gt;You can include additional text regions, buffers or files with gptel&#39;s queries in two ways. The first is via links in chat buffers, as described above (see &quot;Including media with requests&quot;).&lt;/p&gt; 
&lt;p&gt;The second is globally via dedicated context commands: you can add a selected region, buffer or file to gptel&#39;s context from the menu, or call =gptel-add=. To add a file use =gptel-add= in Dired, or use the dedicated =gptel-add-file= command. Directories will have their files added recursively after prompting for confirmation.&lt;/p&gt; 
&lt;p&gt;This additional context is &quot;live&quot; and not a snapshot. Once added, the regions, buffers or files are scanned and included at the time of each query. When using multi-modal models, added files can be of any supported type -- typically images.&lt;/p&gt; 
&lt;p&gt;You can examine the active context from the menu: #+html: &amp;lt;img src=&quot;&lt;a href=&quot;https://github.com/karthink/gptel/assets/8607532/63cd7fc8-6b3e-42ae-b6ca-06ff935bae9c&quot;&gt;https://github.com/karthink/gptel/assets/8607532/63cd7fc8-6b3e-42ae-b6ca-06ff935bae9c&lt;/a&gt;&quot; align=&quot;center&quot; alt=&quot;Screenshot of the gptel transient menu. A red box highlights the Inspect command under the Context section, which allows users to review all currently queued context before sending a prompt. The text of the Inspect Transient option is: &#39;C Inspect (2 regions in 2 buffers, 1 file)&#39;&quot;inspect context&quot; command.&quot;&amp;gt;&lt;/p&gt; 
&lt;p&gt;And then browse through or remove context from the context buffer: #+html: &lt;img src=&quot;https://github.com/karthink/gptel/assets/8607532/79a5ffe8-3d63-4bf7-9bf6-0457ab61bf2a&quot; align=&quot;center&quot; alt=&quot;Screenshot of gptel&#39;s context inspection buffer.  It displays marked deletions (highlighted in green) in a .gitignore file, and selected line ranges from a Julia source file (&#39;base.jl&#39;, lines 26-31) that will be sent to the LLM.&quot; /&gt;&lt;/p&gt; 
&lt;p&gt;By default, files in a version control system that are not project files (&quot;gitignored&quot; files) will not be added to the context. To be able to add these files, set =gptel-context-restrict-to-project-files= to =nil=. Note that remote files are always included, regardless of the value of =gptel-context-restrict-to-project-files=.&lt;/p&gt; 
&lt;p&gt;*** Handle &quot;reasoning&quot; content&lt;/p&gt; 
&lt;p&gt;Some LLMs include in their response a &quot;thinking&quot; or &quot;reasoning&quot; block. This text improves the quality of the LLM’s final output, but may not be interesting to you by itself. You can decide how you would like this &quot;reasoning&quot; content to be handled by gptel by setting the user option =gptel-include-reasoning=. You can include it in the LLM response (the default), omit it entirely, include it in the buffer but ignore it on subsequent conversation turns, or redirect it to another buffer. As with most options, you can specify this behavior from gptel&#39;s transient menu globally, buffer-locally or for the next request only.&lt;/p&gt; 
&lt;p&gt;When included with the response, reasoning content will be delimited by Org blocks or markdown backticks.&lt;/p&gt; 
&lt;p&gt;*** Tool use&lt;/p&gt; 
&lt;p&gt;gptel can provide the LLM with client-side elisp &quot;tools&quot;, or function specifications, along with the request. If the LLM decides to run the tool, it supplies the tool call arguments, which gptel uses to run the tool in your Emacs session. The result is optionally returned to the LLM to complete the task.&lt;/p&gt; 
&lt;p&gt;This exchange can be used to equip the LLM with capabilities or knowledge beyond what is available out of the box -- for instance, you can get the LLM to control your Emacs frame, create or modify files and directories, or look up information relevant to your request via web search or in a local database. Here is a very simple example:&lt;/p&gt; 
&lt;p&gt;#+html: &lt;/p&gt;
&lt;p align=&quot;center&quot;&gt; &lt;a href=&quot;https://github.com/user-attachments/assets/d1f8e2ac-62bb-49bc-850d-0a67aa0cd4c3&quot;&gt;https://github.com/user-attachments/assets/d1f8e2ac-62bb-49bc-850d-0a67aa0cd4c3&lt;/a&gt; #+html: &lt;/p&gt;
&lt;p&gt;&lt;/p&gt; 
&lt;p&gt;To use tools in gptel, you need&lt;/p&gt; 
&lt;ul&gt; 
 &lt;li&gt;a model that supports this usage. All the flagship models support tool use, as do many of the smaller open models.&lt;/li&gt; 
 &lt;li&gt;Tool specifications that gptel understands. gptel does not currently include any tools out of the box.&lt;/li&gt; 
&lt;/ul&gt; 
&lt;p&gt;#+html: &lt;/p&gt;
&lt;details&gt;
 &lt;summary&gt; **** Defining gptel tools #+html: &lt;/summary&gt;
 &lt;p&gt;&lt;/p&gt; 
 &lt;p&gt;Defining a gptel tool requires an elisp function and associated metadata. Here are two simple tool definitions:&lt;/p&gt; 
 &lt;p&gt;&lt;em&gt;To read the contents of an Emacs buffer&lt;/em&gt;:&lt;/p&gt; 
 &lt;p&gt;#+begin_src emacs-lisp (gptel-make-tool :name &quot;read_buffer&quot; ; javascript-style snake_case name :function (lambda (buffer) ; the function that will run (unless (buffer-live-p (get-buffer buffer)) (error &quot;error: buffer %s is not live.&quot; buffer)) (with-current-buffer buffer (buffer-substring-no-properties (point-min) (point-max)))) :description &quot;return the contents of an emacs buffer&quot; :args (list &#39;(:name &quot;buffer&quot; :type string ; :type value must be a symbol :description &quot;the name of the buffer whose contents are to be retrieved&quot;)) :category &quot;emacs&quot;) ; An arbitrary label for grouping #+end_src&lt;/p&gt; 
 &lt;p&gt;Besides the function itself, which can be named or anonymous (as above), the tool specification requires a =:name=, =:description= and a list of argument specifications in =:args=. Each argument specification is a plist with atleast the keys =:name=, =:type= and =:description=.&lt;/p&gt; 
 &lt;p&gt;&lt;em&gt;To create a text file&lt;/em&gt;:&lt;/p&gt; 
 &lt;p&gt;#+begin_src emacs-lisp (gptel-make-tool :name &quot;create_file&quot; ; javascript-style snake_case name :function (lambda (path filename content) ; the function that runs (let ((full-path (expand-file-name filename path))) (with-temp-buffer (insert content) (write-file full-path)) (format &quot;Created file %s in %s&quot; filename path))) :description &quot;Create a new file with the specified content&quot; :args (list &#39;(:name &quot;path&quot; ; a list of argument specifications :type string :description &quot;The directory where to create the file&quot;) &#39;(:name &quot;filename&quot; :type string :description &quot;The name of the file to create&quot;) &#39;(:name &quot;content&quot; :type string :description &quot;The content to write to the file&quot;)) :category &quot;filesystem&quot;) ; An arbitrary label for grouping #+end_src&lt;/p&gt; 
 &lt;p&gt;With some prompting, you can get an LLM to write these tools for you.&lt;/p&gt; 
 &lt;p&gt;Tools can also be asynchronous, use optional arguments and arguments with more structure (enums, arrays, objects etc). See =gptel-make-tool= for details.&lt;/p&gt; 
 &lt;p&gt;#+html: &lt;/p&gt;
&lt;/details&gt; #+html: 
&lt;details&gt;
 &lt;summary&gt; **** Selecting tools #+html: &lt;/summary&gt; Once defined, tools can be selected (globally, buffer-locally or for the next request only) from gptel&#39;s transient menu:
 &lt;p&gt;&lt;/p&gt; 
 &lt;p&gt;#+html: &lt;img src=&quot;https://github.com/user-attachments/assets/fd878596-b313-4385-b675-3d6546909d8b&quot; align=&quot;center&quot; alt=&quot;Screenshot of gptel&#39;s tool selection menu. It displays global settings at the top and categories of available tools, including &#39;filesystem tools&#39; (read_file, create_file, make_directory, list_directory), &#39;Web tools&#39; (get_youtube_meta, read_url), &#39;Emacs tools&#39; (modify_buffer, read_buffer, open_file_or_dir, append_to_buffer, search_local_db), and &#39;Misc tools&#39; (record_summary).  None of the tools are selected.&quot; /&gt;&lt;/p&gt; 
 &lt;p&gt;From here you can also require confirmation for all tool calls, and decide if tool call results should be included in the LLM response.&lt;/p&gt; 
 &lt;p&gt;Alternatively, you can add/remove tools via&lt;/p&gt; 
 &lt;ul&gt; 
  &lt;li&gt;Elisp, see [[#additional-configuration][Additional Configuration]].&lt;/li&gt; 
  &lt;li&gt;gptel presets, see [[#option-presets][Option presets]].&lt;/li&gt; 
 &lt;/ul&gt; 
 &lt;p&gt;#+html: &lt;/p&gt;
&lt;/details&gt; #+html: 
&lt;details&gt;
 &lt;summary&gt; **** LLM tool collections #+html: &lt;/summary&gt;
 &lt;p&gt;&lt;/p&gt; 
 &lt;p&gt;The following repositories provide collections of tools written by gptel users.&lt;/p&gt; 
 &lt;ul&gt; 
  &lt;li&gt;[[&lt;a href=&quot;https://github.com/karthink/gptel-agent&quot;&gt;https://github.com/karthink/gptel-agent&lt;/a&gt;][gptel-agent]] :: A collection of tools meant for agentic LLM use. Includes tools for filesystem access and manipulation, running Bash commands, Emacs introspection and Elisp evaluation, web search and YouTube.&lt;/li&gt; 
  &lt;li&gt;[[&lt;a href=&quot;https://github.com/skissue/llm-tool-collection&quot;&gt;https://github.com/skissue/llm-tool-collection&lt;/a&gt;][llm-tool-collection]] :: A community collection of tools for use with LLM clients in Emacs. Includes LLM tools for interacting with files, Emacs buffers and running system commands.&lt;/li&gt; 
  &lt;li&gt;[[&lt;a href=&quot;https://github.com/iamtoaster/gptel-yatools&quot;&gt;https://github.com/iamtoaster/gptel-yatools&lt;/a&gt;][gptel-yatools]] :: A set of tools for general agentic LLM use. Has filesystem tools, shell access, works over TRAMP, PlantUML diagrams.&lt;/li&gt; 
  &lt;li&gt;[[&lt;a href=&quot;https://github.com/ultronozm/codel.el&quot;&gt;https://github.com/ultronozm/codel.el&lt;/a&gt;][codel.el]] :: A collection of code editing tools.&lt;/li&gt; 
  &lt;li&gt;[[&lt;a href=&quot;https://codeberg.org/bajsicki/gptel-org-tools&quot;&gt;https://codeberg.org/bajsicki/gptel-org-tools&lt;/a&gt;][gptel-org-tools]] :: Tools for interacting with Org files.&lt;/li&gt; 
  &lt;li&gt;[[&lt;a href=&quot;https://github.com/positron-solutions/ragmacs&quot;&gt;https://github.com/positron-solutions/ragmacs&lt;/a&gt;][ragmacs]] :: A collection of tools for Emacs introspection.&lt;/li&gt; 
  &lt;li&gt;[[&lt;a href=&quot;https://github.com/munen/emacs.d?tab=readme-ov-file#tool-use&quot;&gt;https://github.com/munen/emacs.d?tab=readme-ov-file#tool-use&lt;/a&gt;][Alain Lafon’s tool collection]]&lt;/li&gt; 
 &lt;/ul&gt; 
 &lt;p&gt;Additionally, the [[&lt;a href=&quot;https://github.com/karthink/gptel/wiki/Tools-collection&quot;&gt;https://github.com/karthink/gptel/wiki/Tools-collection&lt;/a&gt;][wiki has some examples]] of common tools. These are not maintained, but might serve instructional when writing custom tools.&lt;/p&gt; 
 &lt;p&gt;#+html: &lt;/p&gt;
&lt;/details&gt; #+html: 
&lt;details&gt;
 &lt;summary&gt; **** Model Context Protocol (MCP) integration #+html: &lt;/summary&gt;
 &lt;p&gt;&lt;/p&gt; 
 &lt;p&gt;The [[&lt;a href=&quot;https://modelcontextprotocol.io/introduction&quot;&gt;https://modelcontextprotocol.io/introduction&lt;/a&gt;][Model Context Protocol]] (MCP) is a protocol for providing resources and tools to LLMs, and [[&lt;a href=&quot;https://github.com/appcypher/awesome-mcp-servers&quot;&gt;https://github.com/appcypher/awesome-mcp-servers&lt;/a&gt;][many MCP servers exist]] that provide LLM tools for file access, database connections, API integrations etc. The [[mcp.el]] package for Emacs can act as an MCP client and manage these tool calls for gptel.&lt;/p&gt; 
 &lt;p&gt;To use MCP servers with gptel, you thus need three pieces:&lt;/p&gt; 
 &lt;ol&gt; 
  &lt;li&gt;The [[&lt;a href=&quot;https://github.com/lizqwerscott/mcp.el&quot;&gt;https://github.com/lizqwerscott/mcp.el&lt;/a&gt;][mcp.el]] package for Emacs, [[&lt;a href=&quot;https://melpa.org/#/mcp&quot;&gt;https://melpa.org/#/mcp&lt;/a&gt;][available on MELPA]].&lt;/li&gt; 
  &lt;li&gt;MCP servers configured for and running via mcp.el.&lt;/li&gt; 
  &lt;li&gt;gptel and access to an LLM&lt;/li&gt; 
 &lt;/ol&gt; 
 &lt;p&gt;gptel includes =gptel-integrations=, a small library to make this more convenient. This library is not automatically loaded by gptel, so if you would like to use it you have to require it:&lt;/p&gt; 
 &lt;p&gt;#+begin_src emacs-lisp (require &#39;gptel-integrations) #+end_src&lt;/p&gt; 
 &lt;p&gt;Once loaded, you can run the =gptel-mcp-connect= and =gptel-mcp-disconnect= commands to register and unregister MCP-provided tools in gptel. These will also show up in the tools menu in gptel, accessed via =M-x gptel-menu= or =M-x gptel-tools=:&lt;/p&gt; 
 &lt;p&gt;#+html: &lt;img src=&quot;https://github.com/user-attachments/assets/2cbbf8a0-49c7-49a5-ba24-514ad7e08799&quot; align=&quot;center&quot; alt=&quot;Screenshot of gptel&#39;s tool selection menu highlighting Model Context Protocol (MCP) integration.  A red box points to commands &#39;M+ Add tools from MCP servers&#39; and &#39;M- Remove tools from MCP servers&#39; at the top right, allowing dynamic loading of external toolsets alongside standard gptel tools.  Some unselected filesystem tools are also visible.&quot; /&gt;&lt;/p&gt; 
 &lt;p&gt;MCP-provided tools can be used as normal with gptel. Here is a screencast of the process. (In this example the &quot;github&quot; MCP server is installed separately using npm.)&lt;/p&gt; 
 &lt;p&gt;#+html: &lt;/p&gt;
 &lt;p align=&quot;center&quot;&gt; &lt;a href=&quot;https://github.com/user-attachments/assets/f3ea7ac0-a322-4a59-b5b2-b3f592554f8a&quot;&gt;https://github.com/user-attachments/assets/f3ea7ac0-a322-4a59-b5b2-b3f592554f8a&lt;/a&gt; #+html: &lt;/p&gt;
 &lt;p&gt;&lt;/p&gt; 
 &lt;p&gt;Here&#39;s an example of using these tools:&lt;/p&gt; 
 &lt;p&gt;#+html: &lt;/p&gt;
 &lt;p align=&quot;center&quot;&gt; &lt;a href=&quot;https://github.com/user-attachments/assets/b48a6a24-a130-4da7-a2ee-6ea568e10c85&quot;&gt;https://github.com/user-attachments/assets/b48a6a24-a130-4da7-a2ee-6ea568e10c85&lt;/a&gt; #+html: &lt;/p&gt;
 &lt;p&gt;&lt;/p&gt; 
 &lt;p&gt;With =gptel-mcp-connect= you can register MCP servers and selectively activate MCP tools. It also auto-starts the MCP servers is those are not already started.&lt;/p&gt; 
 &lt;p&gt;#+begin_src emacs-lisp (gptel-mcp-connect &#39;(&quot;fetch&quot; &quot;youtube&quot; (&quot;filesystem&quot; &quot;list_directory&quot; &quot;get_file_info&quot;))) #+end_src&lt;/p&gt; 
 &lt;p&gt;#+html: &lt;/p&gt;
&lt;/details&gt;
&lt;p&gt;&lt;/p&gt; 
&lt;p&gt;*** Rewrite, refactor or fill in a region&lt;/p&gt; 
&lt;p&gt;In any buffer: with a region selected, you can modify text, rewrite prose or refactor code with =gptel-rewrite=. Example with prose:&lt;/p&gt; 
&lt;p&gt;#+html: &lt;/p&gt;
&lt;p align=&quot;center&quot;&gt; &lt;a href=&quot;https://github.com/user-attachments/assets/e3b436b3-9bde-4c1f-b2ce-3f7df1984933&quot;&gt;https://github.com/user-attachments/assets/e3b436b3-9bde-4c1f-b2ce-3f7df1984933&lt;/a&gt; #+html: &lt;/p&gt;
&lt;p&gt;&lt;/p&gt; 
&lt;p&gt;The result is previewed over the original text. By default, the buffer is not modified.&lt;/p&gt; 
&lt;p&gt;Pressing =RET= or clicking in the rewritten region should give you a list of options: you can &lt;em&gt;iterate&lt;/em&gt; on, &lt;em&gt;diff&lt;/em&gt;, &lt;em&gt;ediff&lt;/em&gt;, &lt;em&gt;merge&lt;/em&gt; or &lt;em&gt;accept&lt;/em&gt; the replacement. Example with code:&lt;/p&gt; 
&lt;p&gt;#+html: &lt;/p&gt;
&lt;p align=&quot;center&quot;&gt; &lt;a href=&quot;https://github.com/user-attachments/assets/4067fdb8-85d3-4264-9b64-d727353f68f9&quot;&gt;https://github.com/user-attachments/assets/4067fdb8-85d3-4264-9b64-d727353f68f9&lt;/a&gt; #+html: &lt;/p&gt;
&lt;p&gt;&lt;/p&gt; 
&lt;p&gt;&lt;em&gt;Acting on the LLM response&lt;/em&gt;:&lt;/p&gt; 
&lt;p&gt;If you would like one of these things to happen automatically, you can customize =gptel-rewrite-default-action=.&lt;/p&gt; 
&lt;p&gt;These options are also available from =gptel-rewrite=:&lt;/p&gt; 
&lt;p&gt;#+html: &lt;img src=&quot;https://github.com/user-attachments/assets/589785b9-aa3f-414a-98dd-d26b7509de08&quot; align=&quot;center&quot; alt=&quot;Screenshot of an Emacs buffer containing a Bash script containing gptel-rewrite&#39;s output in an overlay.  The lower window is a Transient menu, showing gptel rewrite options, including the instructions (&#39;Rewrite: Ensure that the history file stays sorted, without duplicates&#39;), diff options, and commands to either diff or ediff the region rewritten by the LLM.&quot; /&gt;&lt;/p&gt; 
&lt;p&gt;And you can call them directly when the cursor is in the rewritten region:&lt;/p&gt; 
&lt;p&gt;#+html: &lt;img src=&quot;https://github.com/user-attachments/assets/f5b3ca47-e146-45fe-8584-f11035fa4dbc&quot; align=&quot;center&quot; alt=&quot;Screenshot of a Bash script buffer showing a pending gptel rewrite. A status bar at the top right reads &#39;[ChatGPT:gpt-4o-mini] REFACTOR READY&#39;, and a red-bordered overlay at the bottom lists keyboard shortcuts (such as C-c C-a to accept, C-c C-k to clear, and C-c C-d for diff) to apply the generated rewrite.&quot; /&gt;&lt;/p&gt; 
&lt;p&gt;*** Extra Org mode conveniences&lt;/p&gt; 
&lt;p&gt;gptel offers a few extra conveniences in Org mode.&lt;/p&gt; 
&lt;p&gt;***** Limit conversation context to an Org heading&lt;/p&gt; 
&lt;p&gt;You can limit the conversation context to an Org heading with the command =gptel-org-set-topic=.&lt;/p&gt; 
&lt;p&gt;(This sets an Org property (=GPTEL_TOPIC=) under the heading. You can also add this property manually instead.)&lt;/p&gt; 
&lt;p&gt;***** Use branching context in Org mode (tree of conversations)&lt;/p&gt; 
&lt;p&gt;You can have branching conversations in Org mode, where each hierarchical outline path through the document is a separate conversation branch. This is also useful for limiting the context size of each query. See the variable =gptel-org-branching-context=.&lt;/p&gt; 
&lt;p&gt;If this variable is non-nil, you should probably edit =gptel-prompt-prefix-alist= and =gptel-response-prefix-alist= so that the prefix strings for org-mode are not Org headings, e.g.&lt;/p&gt; 
&lt;p&gt;#+begin_src emacs-lisp (setf (alist-get &#39;org-mode gptel-prompt-prefix-alist) &quot;@user\n&quot;) (setf (alist-get &#39;org-mode gptel-response-prefix-alist) &quot;@assistant\n&quot;) #+end_src&lt;/p&gt; 
&lt;p&gt;Otherwise, the default prompt prefix will make successive prompts sibling headings, and therefore on different conversation branches, which probably isn&#39;t what you want.&lt;/p&gt; 
&lt;p&gt;Note: using this option requires Org 9.7 or higher to be available. The [[&lt;a href=&quot;https://github.com/ultronozm/ai-org-chat.el&quot;&gt;https://github.com/ultronozm/ai-org-chat.el&lt;/a&gt;][ai-org-chat]] package uses gptel to provide this branching conversation behavior for older versions of Org.&lt;/p&gt; 
&lt;p&gt;***** Save gptel parameters to Org headings (reproducible chats)&lt;/p&gt; 
&lt;p&gt;You can declare the gptel model, backend, temperature, system message and other parameters as Org properties with the command =gptel-org-set-properties=. gptel queries under the corresponding heading will always use these settings, allowing you to create mostly reproducible LLM chat notebooks, and to have simultaneous chats with different models, model settings and directives (system prompts) under different Org headings.&lt;/p&gt; 
&lt;p&gt;*** Introspection (examine, debug or modify requests)&lt;/p&gt; 
&lt;p&gt;Set =gptel-expert-commands= to =t= to display additional options in gptel&#39;s transient menu. #+html: &lt;img width=&quot;800&quot; height=&quot;403&quot; alt=&quot;Screenshot of gptel&#39;s menu with two added sections connected by colored arrows: a red-bordered &#39;Examine prompt&#39; section containing &#39;I Inspect query (Lisp)&#39; and &#39;J Inspect query (JSON)&#39; for dry runs, and a blue-bordered &#39;Examine response&#39; section containing log level settings and log inspection commands.&quot; src=&quot;https://github.com/user-attachments/assets/636ff77c-73d9-449b-9d49-bb792d8abd45&quot; align=&quot;center&quot; /&gt;&lt;/p&gt; 
&lt;p&gt;&lt;em&gt;Examining prompts&lt;/em&gt;: you can examine and edit gptel request payloads before sending them.&lt;/p&gt; 
&lt;ul&gt; 
 &lt;li&gt;Pick one of the &quot;dry run&quot; options in the menu to produce a buffer containing the request payload.&lt;/li&gt; 
 &lt;li&gt;You can edit this buffer as you would like and send the request.&lt;/li&gt; 
 &lt;li&gt;You can also copy a Curl command corresponding to the request and invoke it from the shell.&lt;/li&gt; 
&lt;/ul&gt; 
&lt;p&gt;&lt;em&gt;Examining responses&lt;/em&gt;: You can turn on logging to examine the full response from an LLM.&lt;/p&gt; 
&lt;ul&gt; 
 &lt;li&gt;Set =gptel-log-level= to =info= or =debug=.&lt;/li&gt; 
 &lt;li&gt;Send a request.&lt;/li&gt; 
 &lt;li&gt;Open the log buffer from gptel&#39;s transient menu, or switch to the =&lt;em&gt;gptel-log&lt;/em&gt;= buffer.&lt;/li&gt; 
&lt;/ul&gt; 
&lt;p&gt;** FAQ *** Chat buffer UI #+html: &lt;/p&gt;
&lt;details&gt;
 &lt;summary&gt; **** I want the window to scroll automatically as the response is inserted #+html: &lt;/summary&gt;
 &lt;p&gt;&lt;/p&gt; 
 &lt;p&gt;To be minimally annoying, gptel does not move the cursor by default. Add the following to your configuration to enable auto-scrolling.&lt;/p&gt; 
 &lt;p&gt;#+begin_src emacs-lisp (add-hook &#39;gptel-post-stream-hook &#39;gptel-auto-scroll) #+end_src&lt;/p&gt; 
 &lt;p&gt;#+html: &lt;/p&gt;
&lt;/details&gt; #+html: 
&lt;details&gt;
 &lt;summary&gt; **** I want the cursor to move to the next prompt after the response is inserted #+html: &lt;/summary&gt;
 &lt;p&gt;&lt;/p&gt; 
 &lt;p&gt;To be minimally annoying, gptel does not move the cursor by default. Add the following to your configuration to move the cursor:&lt;/p&gt; 
 &lt;p&gt;#+begin_src emacs-lisp (add-hook &#39;gptel-post-response-functions &#39;gptel-end-of-response) #+end_src&lt;/p&gt; 
 &lt;p&gt;You can also call =gptel-end-of-response= as a command at any time.&lt;/p&gt; 
 &lt;p&gt;#+html: &lt;/p&gt;
&lt;/details&gt; #+html: 
&lt;details&gt;
 &lt;summary&gt; **** I want to change the formatting of the prompt and LLM response #+html: &lt;/summary&gt;
 &lt;p&gt;&lt;/p&gt; 
 &lt;p&gt;Anywhere in Emacs: Turn on =gptel-highlight-mode=. See its documentation for customization options.&lt;/p&gt; 
 &lt;p&gt;In dedicated chat buffers: you can additionally customize =gptel-prompt-prefix-alist= and =gptel-response-prefix-alist=, which are prefixes inserted before the prompt and response. You can set a different pair for each major-mode.&lt;/p&gt; 
 &lt;p&gt;For more custom formatting, use =gptel-pre-response-hook= and =gptel-post-response-functions=.&lt;/p&gt; 
 &lt;p&gt;#+html: &lt;/p&gt;
&lt;/details&gt; #+html: 
&lt;details&gt;
 &lt;summary&gt; **** How does gptel distinguish between user prompts and LLM responses? #+html: &lt;/summary&gt;
 &lt;p&gt;&lt;/p&gt; 
 &lt;p&gt;gptel uses [[&lt;a href=&quot;https://www.gnu.org/software/emacs/manual/html_node/elisp/Text-Properties.html&quot;&gt;https://www.gnu.org/software/emacs/manual/html_node/elisp/Text-Properties.html&lt;/a&gt;][text-properties]] to watermark LLM responses. Thus this text is interpreted as a response even if you copy it into another buffer. In regular buffers (buffers without =gptel-mode= enabled), you can turn off this tracking by unsetting =gptel-track-response=.&lt;/p&gt; 
 &lt;p&gt;When restoring a chat state from a file on disk, gptel will apply these properties from saved metadata in the file when you turn on =gptel-mode=.&lt;/p&gt; 
 &lt;p&gt;gptel does /not/ use any prefix or semantic/syntax element in the buffer (such as headings) to separate prompts and responses. The reason for this is that gptel aims to integrate as seamlessly as possible into your regular Emacs usage: LLM interaction is not the objective, it&#39;s just another tool at your disposal. So requiring a bunch of &quot;user&quot; and &quot;assistant&quot; tags in the buffer is noisy and restrictive. If you want these demarcations, you can customize =gptel-prompt-prefix-alist= and =gptel-response-prefix-alist=. Note that these prefixes are for your readability only and purely cosmetic.&lt;/p&gt; 
 &lt;p&gt;#+html: &lt;/p&gt;
&lt;/details&gt; *** Transient menu behavior #+html: 
&lt;details&gt;
 &lt;summary&gt; **** I want to set gptel options but only for this buffer :PROPERTIES: :ID: 748cbc00-0c92-4705-8839-619b2c80e566 :END: #+html: &lt;/summary&gt;
 &lt;p&gt;&lt;/p&gt; 
 &lt;p&gt;In every menu used to set options, gptel provides a &quot;scope&quot; option, bound to the ~=~ key:&lt;/p&gt; 
 &lt;p&gt;#+html: &lt;img src=&quot;https://github.com/user-attachments/assets/f9904134-2905-4b1d-ad37-b64c777af8ac&quot; align=&quot;center&quot; alt=&quot;Screenshot of gptel&#39;s menu interface with a red box highlighting the &#39;= Scope (global|buffer|oneshot)&#39; option set to &#39;buffer&#39;.  This option determines the &#39;scope&#39; with which the other options in the column will be set.  Other options visible include model selection (ChatGPT:gpt-4.1-mini), response length, context inclusion, reasoning settings, and response destination buffers.&quot; /&gt;&lt;/p&gt; 
 &lt;p&gt;#+html: &lt;img src=&quot;https://github.com/user-attachments/assets/c0950035-bf65-43ae-b649-8e3b651ce3f1&quot; align=&quot;center&quot; alt=&quot;Screenshot of gptel&#39;s system prompt selection menu.  A red box highlights the scope option at the top with allowed values global/buffer/oneshot, followed by a list of available system prompts with the labels Default, Code-Infill, Programmer, Cliwhiz, Emacser, Explain, and Tutor, each with a brief description of its behavior.&quot; /&gt;&lt;/p&gt; 
 &lt;p&gt;#+html: &lt;img src=&quot;https://github.com/user-attachments/assets/fa3b1246-e00f-4c5e-88c7-46557b3507ef&quot; align=&quot;center&quot; alt=&quot;Screenshot of gptel&#39;s preset configuration menu.  A red box highlights the scope option at the top with allowed values global/buffer/oneshot.  Below it, a list of saved configuration presets is displayed, with &#39;p prog&#39; (Claude Sonnet configured for code generation) highlighted in green.  Other presets include sonar-gen, cliwiz, websearch, tutor, explain, pro, demo, and files.&quot; /&gt;&lt;/p&gt; 
 &lt;p&gt;You can flip this switch before setting the option to =buffer= or =oneshot=. You only need to flip this switch once, it&#39;s a persistent setting. =buffer= sets the option buffer-locally, =oneshot= will set it for the next gptel request only. The default scope is global.&lt;/p&gt; 
 &lt;p&gt;#+html: &lt;/p&gt;
&lt;/details&gt; #+html: 
&lt;details&gt;
 &lt;summary&gt; **** I want the transient menu options to be saved so I only need to set them once #+html: &lt;/summary&gt;
 &lt;p&gt;&lt;/p&gt; 
 &lt;p&gt;Any model options you set are saved according to the scope (see previous question). But the redirection options in the menu are set for the next query only:&lt;/p&gt; 
 &lt;p&gt;#+html: &lt;img src=&quot;https://github.com/karthink/gptel/assets/8607532/2ecc6be9-aa52-4287-a739-ba06e1369ec2&quot; alt=&quot;Screenshot of gptel&#39;s configuration menu focusing on prompt/response routing. A red box surrounds the &#39;Prompt:&#39; section (offering minibuffer, kill-ring, and in-place options) and the &#39;Response to:&#39; section (offering minibuffer, new session, existing session, and kill-ring destinations).&quot; /&gt;&lt;/p&gt; 
 &lt;p&gt;You can make them persistent across this Emacs session by pressing ~C-x C-s~:&lt;/p&gt; 
 &lt;p&gt;#+html: &lt;img src=&quot;https://github.com/karthink/gptel/assets/8607532/b8bcb6ad-c974-41e1-9336-fdba0098a2fe&quot; alt=&quot;Screenshot of gptel&#39;s menu showing Transient&#39;s global commands. A red box highlights the &#39;Value commands&#39; section, specifically the &#39;C-x C-s Save&#39; command used for saving current transient option settings. Sticky commands and customization toggles are also visible.&quot; /&gt;&lt;/p&gt; 
 &lt;p&gt;(You can also cycle through presets you&#39;ve saved with ~C-x p~ and ~C-x n~.)&lt;/p&gt; 
 &lt;p&gt;Now these will be enabled whenever you send a query from the transient menu. If you want to use these saved options without invoking the transient menu, you can use a keyboard macro:&lt;/p&gt; 
 &lt;p&gt;#+begin_src emacs-lisp ;; Replace with your key to invoke the transient menu: (keymap-global-set &quot;
  &lt;f6&gt;
   &quot; &quot;C-u C-c 
   &lt;return&gt; 
    &lt;return&gt;
     &quot;) #+end_src
    &lt;/return&gt;
   &lt;/return&gt;
  &lt;/f6&gt;&lt;/p&gt; 
 &lt;p&gt;Or see this [[&lt;a href=&quot;https://github.com/karthink/gptel/wiki/Commonly-requested-features#save-transient-flags&quot;&gt;https://github.com/karthink/gptel/wiki/Commonly-requested-features#save-transient-flags&lt;/a&gt;][wiki entry]].&lt;/p&gt; 
 &lt;p&gt;#+html: &lt;/p&gt;
&lt;/details&gt; #+html: 
&lt;details&gt;
 &lt;summary&gt; **** Using the transient menu leaves behind extra windows #+html: &lt;/summary&gt;
 &lt;p&gt;&lt;/p&gt; 
 &lt;p&gt;If using gptel&#39;s transient menus causes new/extra window splits to be created, check your value of =transient-display-buffer-action=. [[&lt;a href=&quot;https://github.com/magit/transient/discussions/358&quot;&gt;https://github.com/magit/transient/discussions/358&lt;/a&gt;][See this discussion]] for more context.&lt;/p&gt; 
 &lt;p&gt;If you are using Helm, see [[&lt;a href=&quot;https://github.com/magit/transient/discussions/361&quot;&gt;https://github.com/magit/transient/discussions/361&lt;/a&gt;][Transient#361]].&lt;/p&gt; 
 &lt;p&gt;In general, do not customize this Transient option unless you know what you&#39;re doing!&lt;/p&gt; 
 &lt;p&gt;#+html: &lt;/p&gt;
&lt;/details&gt; #+html: 
&lt;details&gt;
 &lt;summary&gt; **** Can I change the transient menu key bindings? #+html: &lt;/summary&gt;
 &lt;p&gt;&lt;/p&gt; 
 &lt;p&gt;Yes, see =transient-suffix-put=. This changes the key to select a backend/model from &quot;-m&quot; to &quot;M&quot; in gptel&#39;s menu: #+begin_src emacs-lisp (transient-suffix-put &#39;gptel-menu (kbd &quot;-m&quot;) :key &quot;M&quot;) #+end_src&lt;/p&gt; 
 &lt;p&gt;#+html: &lt;/p&gt;
&lt;/details&gt; #+html: 
&lt;details&gt;
 &lt;summary&gt; **** (Doom Emacs) Sending a query from the gptel menu fails because of a key conflict with Org mode #+html: &lt;/summary&gt;
 &lt;p&gt;&lt;/p&gt; 
 &lt;p&gt;Doom binds ~RET~ in Org mode to =+org/dwim-at-point=, which appears to conflict with gptel&#39;s transient menu bindings for some reason.&lt;/p&gt; 
 &lt;p&gt;Two solutions:&lt;/p&gt; 
 &lt;ul&gt; 
  &lt;li&gt;Press ~C-m~ instead of the return key.&lt;/li&gt; 
  &lt;li&gt;Change the send key from return to a key of your choice: #+begin_src emacs-lisp (transient-suffix-put &#39;gptel-menu (kbd &quot;RET&quot;) :key &quot;
   &lt;f8&gt;
    &quot;) #+end_src
   &lt;/f8&gt;&lt;/li&gt; 
 &lt;/ul&gt; 
 &lt;p&gt;#+html: &lt;/p&gt;
&lt;/details&gt; *** Miscellaneous #+html: 
&lt;details&gt;
 &lt;summary&gt; **** I want to use gptel in a way that&#39;s not supported by =gptel-send= or the options menu #+html: &lt;/summary&gt;
 &lt;p&gt;&lt;/p&gt; 
 &lt;p&gt;gptel&#39;s default usage pattern is simple, and will stay this way: Read input in any buffer and insert the response below it. Some custom behavior is possible with the transient menu (=C-u M-x gptel-send=).&lt;/p&gt; 
 &lt;p&gt;For more programmable usage, gptel provides a general =gptel-request= function that accepts a custom prompt and a callback to act on the response. You can use this to build custom workflows not supported by =gptel-send=. See the documentation of =gptel-request=, and the [[&lt;a href=&quot;https://github.com/karthink/gptel/wiki/Defining-custom-gptel-commands&quot;&gt;https://github.com/karthink/gptel/wiki/Defining-custom-gptel-commands&lt;/a&gt;][wiki]] for examples.&lt;/p&gt; 
 &lt;p&gt;#+html: &lt;/p&gt;
&lt;/details&gt; #+html: 
&lt;details&gt;
 &lt;summary&gt; **** (ChatGPT) I get the error &quot;(HTTP/2 429) You exceeded your current quota&quot; #+html:&lt;/summary&gt;
 &lt;p&gt;&lt;/p&gt; 
 &lt;p&gt;#+begin_quote (HTTP/2 429) You exceeded your current quota, please check your plan and billing details. #+end_quote&lt;/p&gt; 
 &lt;p&gt;Using the ChatGPT (or any OpenAI) API requires [[&lt;a href=&quot;https://platform.openai.com/account/billing/overview&quot;&gt;https://platform.openai.com/account/billing/overview&lt;/a&gt;][adding credit to your account]].&lt;/p&gt; 
 &lt;p&gt;#+html: &lt;/p&gt;
&lt;/details&gt; #+html: 
&lt;details&gt;
 &lt;summary&gt; **** Why another LLM client? #+html: &lt;/summary&gt;
 &lt;p&gt;&lt;/p&gt; 
 &lt;p&gt;Other Emacs clients for LLMs prescribe the format of the interaction (a comint shell, org-babel blocks, etc). I wanted:&lt;/p&gt; 
 &lt;ol&gt; 
  &lt;li&gt;Something that is as free-form as possible: query the model using any text in any buffer, and redirect the response as required. Using a dedicated =gptel= buffer just adds some visual flair to the interaction.&lt;/li&gt; 
  &lt;li&gt;Integration with org-mode, not using a walled-off org-babel block, but as regular text. This way the model can generate code blocks that I can run.&lt;/li&gt; 
 &lt;/ol&gt; 
 &lt;p&gt;#+html: &lt;/p&gt;
&lt;/details&gt;
&lt;p&gt;&lt;/p&gt; 
&lt;p&gt;** Additional Configuration :PROPERTIES: :ID: f885adac-58a3-4eba-a6b7-91e9e7a17829 :END: #+html: &lt;/p&gt; 
&lt;p&gt;#+begin_src emacs-lisp :exports none :results list (let ((all)) (mapatoms (lambda (sym) (when (and (string-match-p &quot;^gptel-[^-]&quot; (symbol-name sym)) (get sym &#39;variable-documentation)) (push sym all)))) all) #+end_src&lt;/p&gt; 
&lt;p&gt;|-------------------------+--------------------------------------------------------------------| | &lt;em&gt;Connection options&lt;/em&gt; | | |-------------------------+--------------------------------------------------------------------| | =gptel-use-curl= | Use Curl? (default), fallback to Emacs&#39; built-in =url=. | | | You can also specify the Curl path here. | | =gptel-proxy= | Proxy server for requests, passed to curl via =--proxy=. | | =gptel-curl-extra-args= | Extra arguments passed to Curl. | | =gptel-api-key= | Variable/function that returns the API key for the active backend. | |-------------------------+--------------------------------------------------------------------|&lt;/p&gt; 
&lt;p&gt;|-----------------------+---------------------------------------------------------| | &lt;em&gt;LLM request options&lt;/em&gt; | /(Note: not supported uniformly across LLMs)/ | |-----------------------+---------------------------------------------------------| | =gptel-backend= | Default LLM Backend. | | =gptel-model= | Default model to use, depends on the backend. | | =gptel-stream= | Enable streaming responses, if the backend supports it. | | =gptel-system-prompt= | Default system prompt used by gptel, can be a function. | | =gptel-directives= | Alist of system prompts, can switch on the fly. | | =gptel-max-tokens= | Maximum token count (in query + response). | | =gptel-temperature= | Randomness in response text, 0 to 2. | | =gptel-cache= | Cache prompts, system message or tools (Anthropic only) | | =gptel-use-context= | How/whether to include additional context | | =gptel-context= | List of context sources (files/buffers) for queries | | =gptel-use-tools= | Disable, allow or force LLM tool-use | | =gptel-tools= | List of tools to include with requests | |-----------------------+---------------------------------------------------------|&lt;/p&gt; 
&lt;p&gt;|--------------------------------+----------------------------------------------------------------| | &lt;em&gt;Chat UI options&lt;/em&gt; | | |--------------------------------+----------------------------------------------------------------| | =gptel-default-mode= | Major mode for dedicated chat buffers. | | =gptel-highlight-methods= | Response highlighting used by =gptel-highlight-mode= | | =gptel-prompt-prefix-alist= | Text inserted before queries. | | =gptel-response-prefix-alist= | Text inserted before responses. | | =gptel-track-response= | Distinguish between user messages and LLM responses? | | =gptel-track-media= | Send text, images or other media from links? | | =gptel-markdown-validate-link= | Function to validate links to include with queries | | =gptel-confirm-tool-calls= | Confirm all tool calls? | | =gptel-include-tool-results= | Include tool results in the LLM response? | | =gptel-use-header-line= | Display status messages in header-line (default) or minibuffer | | =gptel-display-buffer-action= | Placement of the gptel chat buffer. | |--------------------------------+----------------------------------------------------------------|&lt;/p&gt; 
&lt;p&gt;|-------------------------------+-------------------------------------------------------| | &lt;em&gt;Org mode UI options&lt;/em&gt; | | |-------------------------------+-------------------------------------------------------| | =gptel-org-branching-context= | Make each outline path a separate conversation branch | | =gptel-org-ignore-elements= | Ignore parts of the buffer when sending a query | | =gptel-org-validate-link= | Function to validate links to include with queries | |-------------------------------+-------------------------------------------------------|&lt;/p&gt; 
&lt;p&gt;|------------------------------------+-------------------------------------------------------------| | &lt;em&gt;Hooks for customization&lt;/em&gt; | | |------------------------------------+-------------------------------------------------------------| | =gptel-save-state-hook= | Runs before saving the chat state to a file on disk | | =gptel-prompt-transform-functions= | Runs in a temp buffer to transform text before sending | | =gptel-post-request-hook= | Runs immediately after dispatching a =gptel-request=. | | =gptel-pre-response-hook= | Runs before inserting the LLM response into the buffer | | =gptel-post-response-functions= | Runs after inserting the full LLM response into the buffer | | =gptel-post-stream-hook= | Runs after each streaming insertion | | =gptel-pre-tool-call-functions= | Runs before each tool call, can block or modify it | | =gptel-post-tool-call-functions= | Runs after each tool call, can block or modify results | | =gptel-context-wrap-function= | To include additional context formatted your way | | =gptel-rewrite-default-action= | Automatically diff, ediff, merge or replace refactored text | | =gptel-post-rewrite-functions= | Runs after a =gptel-rewrite= request succeeds | |------------------------------------+-------------------------------------------------------------|&lt;/p&gt; 
&lt;p&gt;#+html: &lt;/p&gt; 
&lt;p&gt;*** Option presets&lt;/p&gt; 
&lt;p&gt;([[&lt;a href=&quot;https://www.youtube.com/watch?v=xHEnWvKmSKM&quot;&gt;https://www.youtube.com/watch?v=xHEnWvKmSKM&lt;/a&gt;][YouTube demo]], 28 min)&lt;/p&gt; 
&lt;p&gt;If you use several LLMs for different tasks with accompanying system prompts (instructions) and tool configurations, manually adjusting =gptel= settings each time can become tedious. Presets are a bundle of gptel settings -- such as the model, backend, system message, and enabled tools -- that you can switch to at once.&lt;/p&gt; 
&lt;p&gt;Once defined, presets can be applied from gptel&#39;s transient menu:&lt;/p&gt; 
&lt;p&gt;#+html: &lt;img src=&quot;https://github.com/user-attachments/assets/e0cf6a32-d999-4138-8369-23512f5e9311&quot; align=&quot;center&quot; alt=&quot;Screenshot of gptel&#39;s menu interface highlighting the gptel preset command. A red box highlights the &#39;(@preset)&#39; tag in the Request Parameters section, and a message at the very bottom of the Emacs echo area reads &#39;Applied gptel preset original&#39;, indicating that a saved preset (configuration profile) has been successfully activated.&quot; /&gt; #+html: &lt;br /&gt;&lt;/p&gt; 
&lt;p&gt;To define a preset, use the =gptel-make-preset= function, which takes a name and keyword-value pairs of settings.&lt;/p&gt; 
&lt;p&gt;Presets can be used to set individual options. Here is an example of a preset to set the system message (and do nothing else): #+begin_src emacs-lisp (gptel-make-preset &#39;explain :system &quot;Explain what this code does to a novice programmer.&quot;) #+end_src&lt;/p&gt; 
&lt;p&gt;More generally, you can specify a bundle of options: #+begin_src emacs-lisp (gptel-make-preset &#39;gpt4coding ;preset name, a symbol :description &quot;A preset optimized for coding tasks&quot; ;for your reference :backend &quot;Claude&quot; ;gptel backend or backend name :model &#39;claude-3-7-sonnet-20250219.1 :system &quot;You are an expert coding assistant. Your role is to provide high-quality code solutions, refactorings, and explanations.&quot; :tools &#39;(&quot;read_buffer&quot; &quot;modify_buffer&quot;)) ;gptel tools or tool names #+end_src&lt;/p&gt; 
&lt;p&gt;Besides a couple of special keys (=:description=, =:parents= to inherit other presets), there is no predefined list of keys. Instead, the key =:foo= corresponds to setting =gptel-foo= (preferred) or =gptel--foo=. So the preset can include the value of any gptel option. For example, the following preset sets =gptel-temperature=, =gptel-use-context= and =gptel-context=, a list of files to include as context:&lt;/p&gt; 
&lt;p&gt;#+begin_src emacs-lisp (gptel-make-preset &#39;proofreader :description &quot;Preset for proofreading tasks&quot; :backend &quot;ChatGPT&quot; :model &#39;gpt-4.1-mini :tools &#39;(&quot;read_buffer&quot; &quot;spell_check&quot; &quot;grammar_check&quot;) :use-context &#39;system ;sets gptel-use-context :context &#39;(&quot;./.grammar_rules.md&quot; &quot;./jargonfile.md&quot;) ;sets gptel-context :temperature 0.2) ;sets gptel-temperature #+end_src&lt;/p&gt; 
&lt;p&gt;Switching to a preset applies the specified settings without affecting other settings. Depending on the scope option (~=~ in gptel&#39;s transient menu), presets can be applied globally, buffer-locally or for the next request only.&lt;/p&gt; 
&lt;p&gt;**** Applying presets to requests automatically&lt;/p&gt; 
&lt;p&gt;You can apply a preset to a /single/ query by including =@preset-name= in the prompt, where =preset-name= is the name of the preset. (The =oneshot= scope option in gptel&#39;s transient menus is another way to do this, [[id:748cbc00-0c92-4705-8839-619b2c80e566][see the FAQ.]])&lt;/p&gt; 
&lt;p&gt;For example, if you have a preset named =websearch= defined which includes tools for web access and search: #+begin_src emacs-lisp (gptel-make-preset &#39;websearch :description &quot;Haiku with basic web search capability.&quot; :backend &quot;Claude&quot; :model &#39;claude-3-5-haiku-20241022 :tools &#39;(&quot;search_web&quot; &quot;read_url&quot; &quot;get_youtube_meta&quot;)) #+end_src&lt;/p&gt; 
&lt;p&gt;The following query is sent with this preset applied:&lt;/p&gt; 
&lt;p&gt;#+begin_quote @websearch Are there any 13&quot; e-ink monitors on the market? Create a table comparing them, sourcing specs and reviews from online sources. Also do the same for &quot;transreflective-LCD&quot; displays -- I&#39;m not sure what exactly they&#39;re called but they&#39;re comparable to e-ink. #+end_quote&lt;/p&gt; 
&lt;p&gt;This =@preset-name= cookie only applies to the final user turn of the coversation that is sent. So the presence of the cookie in past messages/turns is not significant.&lt;/p&gt; 
&lt;p&gt;The =@preset-name= cookie can be anywhere in the prompt. For example: #+begin_quote 
 &lt;long piece of text&gt;&lt;/long&gt;&lt;/p&gt; 
&lt;p&gt;What do you make of the above description, @proofreader? #+end_quote&lt;/p&gt; 
&lt;p&gt;In chat buffers this prefix will be offered as a completion and fontified, making it easy to use and spot.&lt;/p&gt; 
&lt;p&gt;** Alternatives&lt;/p&gt; 
&lt;p&gt;Other LLM clients for Emacs include&lt;/p&gt; 
&lt;p&gt;&lt;em&gt;Libraries&lt;/em&gt;:&lt;/p&gt; 
&lt;ul&gt; 
 &lt;li&gt;[[&lt;a href=&quot;https://github.com/ahyatt/llm&quot;&gt;https://github.com/ahyatt/llm&lt;/a&gt;][llm]]: llm provides a uniform API across language model providers for building LLM clients in Emacs, and is intended as a library for use by package authors. For similar scripting purposes, gptel provides the command =gptel-request=.&lt;/li&gt; 
&lt;/ul&gt; 
&lt;p&gt;&lt;em&gt;Chat clients&lt;/em&gt;:&lt;/p&gt; 
&lt;ul&gt; 
 &lt;li&gt;[[&lt;a href=&quot;https://github.com/s-kostyaev/ellama&quot;&gt;https://github.com/s-kostyaev/ellama&lt;/a&gt;][Ellama]]: A full-fledged LLM client built on llm, that supports many LLM providers (Ollama, Open AI, Vertex, GPT4All and more). Its usage differs from gptel in that it provides separate commands for dozens of common tasks, like general chat, summarizing code/text, refactoring code, improving grammar, translation and so on.&lt;/li&gt; 
 &lt;li&gt;[[&lt;a href=&quot;https://github.com/xenodium/chatgpt-shell&quot;&gt;https://github.com/xenodium/chatgpt-shell&lt;/a&gt;][chatgpt-shell]]: comint-shell based interaction with ChatGPT. Also supports DALL-E, executable code blocks in the responses, and more.&lt;/li&gt; 
 &lt;li&gt;[[&lt;a href=&quot;https://github.com/rksm/org-ai&quot;&gt;https://github.com/rksm/org-ai&lt;/a&gt;][org-ai]]: Interaction through special =#+begin_ai ... #+end_ai= Org-mode blocks. Also supports DALL-E, querying ChatGPT with the contents of project files, and more.&lt;/li&gt; 
 &lt;li&gt;[[&lt;a href=&quot;https://github.com/yibie/superchat&quot;&gt;https://github.com/yibie/superchat&lt;/a&gt;][Superchat]]: A Claude Code style chat UI for gptel in Emacs, focusing on making structured prompts and file‑grounded conversations effortless.&lt;/li&gt; 
&lt;/ul&gt; 
&lt;p&gt;There are several more: [[&lt;a href=&quot;https://github.com/iwahbe/chat.el&quot;&gt;https://github.com/iwahbe/chat.el&lt;/a&gt;][chat.el]], [[&lt;a href=&quot;https://github.com/stuhlmueller/gpt.el&quot;&gt;https://github.com/stuhlmueller/gpt.el&lt;/a&gt;][gpt.el]], [[&lt;a href=&quot;https://github.com/AnselmC/le-gpt.el&quot;&gt;https://github.com/AnselmC/le-gpt.el&lt;/a&gt;][le-gpt]], [[&lt;a href=&quot;https://github.com/stevemolitor/robby&quot;&gt;https://github.com/stevemolitor/robby&lt;/a&gt;][robby]].&lt;/p&gt; 
&lt;p&gt;&lt;em&gt;Coding agents&lt;/em&gt;:&lt;/p&gt; 
&lt;ul&gt; 
 &lt;li&gt;[[&lt;a href=&quot;https://github.com/manzaltu/claude-code-ide.el&quot;&gt;https://github.com/manzaltu/claude-code-ide.el&lt;/a&gt;][claude-code-ide]] and [[&lt;a href=&quot;https://github.com/stevemolitor/claude-code.el&quot;&gt;https://github.com/stevemolitor/claude-code.el&lt;/a&gt;][claude-code.el]]: Emacs interfaces to Claude Code.&lt;/li&gt; 
 &lt;li&gt;[[&lt;a href=&quot;https://github.com/xenodium/agent-shell&quot;&gt;https://github.com/xenodium/agent-shell&lt;/a&gt;][agent-shell]]: Emacs interface to various coding agents, like Claude Code, Gemini, Codex, Opencode, Goose and more.&lt;/li&gt; 
 &lt;li&gt;[[&lt;a href=&quot;https://github.com/MatthewZMD/aidermacs&quot;&gt;https://github.com/MatthewZMD/aidermacs&lt;/a&gt;][Aidermacs]] and [[&lt;a href=&quot;https://github.com/tninja/aider.el&quot;&gt;https://github.com/tninja/aider.el&lt;/a&gt;][aider.el]]: Emacs interfaces to [[&lt;a href=&quot;https://aider.chat/&quot;&gt;https://aider.chat/&lt;/a&gt;][Aider]].&lt;/li&gt; 
&lt;/ul&gt; 
&lt;p&gt;&lt;em&gt;Completion at point&lt;/em&gt;:&lt;/p&gt; 
&lt;ul&gt; 
 &lt;li&gt;[[&lt;a href=&quot;https://github.com/copilot-emacs/copilot.el&quot;&gt;https://github.com/copilot-emacs/copilot.el&lt;/a&gt;][copilot.el]]: Code completion using Copilot.&lt;/li&gt; 
 &lt;li&gt;[[&lt;a href=&quot;https://github.com/milanglacier/minuet-ai.el&quot;&gt;https://github.com/milanglacier/minuet-ai.el&lt;/a&gt;][Minuet]]: Code-completion using LLM. Supports fill-in-the-middle (FIM) completion for compatible models such as DeepSeek and Codestral.&lt;/li&gt; 
&lt;/ul&gt; 
&lt;p&gt;*** Packages using gptel&lt;/p&gt; 
&lt;p&gt;gptel is a general-purpose package for chat and ad-hoc LLM interaction. The following packages use gptel to provide additional or specialized functionality:&lt;/p&gt; 
&lt;p&gt;&lt;em&gt;Lookup helpers&lt;/em&gt;: Calling gptel quickly for one-off interactions&lt;/p&gt; 
&lt;ul&gt; 
 &lt;li&gt;[[&lt;a href=&quot;https://github.com/karthink/gptel-quick&quot;&gt;https://github.com/karthink/gptel-quick&lt;/a&gt;][gptel-quick]]: Quickly look up the region or text at point.&lt;/li&gt; 
&lt;/ul&gt; 
&lt;p&gt;&lt;em&gt;Task-driven workflows&lt;/em&gt;: Different interfaces to specify tasks for LLMs.&lt;/p&gt; 
&lt;p&gt;These differ from full &quot;agentic&quot; use in that the interactions are &quot;one-shot&quot;, not chained.&lt;/p&gt; 
&lt;ul&gt; 
 &lt;li&gt;[[&lt;a href=&quot;https://github.com/dolmens/gptel-aibo/&quot;&gt;https://github.com/dolmens/gptel-aibo/&lt;/a&gt;][gptel-aibo]]: A writing assistant system built on top of gptel.&lt;/li&gt; 
 &lt;li&gt;[[&lt;a href=&quot;https://github.com/daedsidog/evedel&quot;&gt;https://github.com/daedsidog/evedel&lt;/a&gt;][Evedel]]: Instructed LLM Programmer/Assistant.&lt;/li&gt; 
 &lt;li&gt;[[&lt;a href=&quot;https://github.com/lanceberge/elysium&quot;&gt;https://github.com/lanceberge/elysium&lt;/a&gt;][Elysium]]: Request AI-generated changes as you code.&lt;/li&gt; 
 &lt;li&gt;[[&lt;a href=&quot;https://github.com/ISouthRain/gptel-watch&quot;&gt;https://github.com/ISouthRain/gptel-watch&lt;/a&gt;][gptel-watch]]: Automatically call gptel when typing lines that indicate intent.&lt;/li&gt; 
&lt;/ul&gt; 
&lt;p&gt;&lt;em&gt;Agentic use&lt;/em&gt;: Use LLMs as agents, with tool-use&lt;/p&gt; 
&lt;ul&gt; 
 &lt;li&gt;[[&lt;a href=&quot;https://github.com/kmontag/macher&quot;&gt;https://github.com/kmontag/macher&lt;/a&gt;][Macher]]: Project-aware multi-file LLM editing for Emacs.&lt;/li&gt; 
 &lt;li&gt;[[&lt;a href=&quot;https://github.com/karthink/gptel-agent&quot;&gt;https://github.com/karthink/gptel-agent&lt;/a&gt;][gptel-agent]]: Tools, presets and configuration for general agentic LLM use.&lt;/li&gt; 
 &lt;li&gt;[[&lt;a href=&quot;https://github.com/iamtoaster/gptel-yatools&quot;&gt;https://github.com/iamtoaster/gptel-yatools&lt;/a&gt;][gptel-yatools]]: A set of tools for general agentic LLM use.&lt;/li&gt; 
&lt;/ul&gt; 
&lt;p&gt;&lt;em&gt;Text completion&lt;/em&gt;&lt;/p&gt; 
&lt;ul&gt; 
 &lt;li&gt;[[&lt;a href=&quot;https://github.com/JDNdeveloper/gptel-autocomplete&quot;&gt;https://github.com/JDNdeveloper/gptel-autocomplete&lt;/a&gt;][gptel-autocomplete]]: Inline completions using gptel.&lt;/li&gt; 
&lt;/ul&gt; 
&lt;p&gt;&lt;em&gt;Integration with major-modes&lt;/em&gt;&lt;/p&gt; 
&lt;ul&gt; 
 &lt;li&gt;[[&lt;a href=&quot;https://github.com/jwiegley/ob-gptel&quot;&gt;https://github.com/jwiegley/ob-gptel&lt;/a&gt;][ob-gptel]]: Org-babel backend for running gptel queries.&lt;/li&gt; 
 &lt;li&gt;[[&lt;a href=&quot;https://github.com/kamushadenes/ai-blog.el&quot;&gt;https://github.com/kamushadenes/ai-blog.el&lt;/a&gt;][ai-blog.el]]: Streamline generation of blog posts in Hugo.&lt;/li&gt; 
 &lt;li&gt;[[&lt;a href=&quot;https://github.com/lakkiy/gptel-commit&quot;&gt;https://github.com/lakkiy/gptel-commit&lt;/a&gt;][gptel-commit]]: Generate commit messages using gptel.&lt;/li&gt; 
 &lt;li&gt;[[&lt;a href=&quot;https://github.com/douo/magit-gptcommit&quot;&gt;https://github.com/douo/magit-gptcommit&lt;/a&gt;][magit-gptcommit]]: Generate commit messages within magit-status Buffer using gptel.&lt;/li&gt; 
 &lt;li&gt;[[&lt;a href=&quot;https://github.com/ragnard/gptel-magit/&quot;&gt;https://github.com/ragnard/gptel-magit/&lt;/a&gt;][gptel-magit]]: Generate commit messages for magit using gptel.&lt;/li&gt; 
 &lt;li&gt;[[&lt;a href=&quot;https://github.com/ArthurHeymans/gptel-forge-prs&quot;&gt;https://github.com/ArthurHeymans/gptel-forge-prs&lt;/a&gt;][gptel-forge-prs]]: Generate pull request message for forge using gptel.&lt;/li&gt; 
&lt;/ul&gt; 
&lt;p&gt;&lt;em&gt;Chat interface addons&lt;/em&gt;&lt;/p&gt; 
&lt;ul&gt; 
 &lt;li&gt;[[&lt;a href=&quot;https://github.com/rob137/Corsair&quot;&gt;https://github.com/rob137/Corsair&lt;/a&gt;][Corsair]]: Helps gather text to populate LLM prompts for gptel.&lt;/li&gt; 
 &lt;li&gt;[[&lt;a href=&quot;https://github.com/ultronozm/ai-org-chat.el&quot;&gt;https://github.com/ultronozm/ai-org-chat.el&lt;/a&gt;][ai-org-chat]]: Provides branching conversations in Org buffers using gptel. Note that gptel includes this feature as well (see =gptel-org-branching-context=), but requires a recent version of Org mode 9.7 or later to be installed.&lt;/li&gt; 
&lt;/ul&gt; 
&lt;p&gt;&lt;em&gt;Integration with other packages&lt;/em&gt;&lt;/p&gt; 
&lt;ul&gt; 
 &lt;li&gt;[[&lt;a href=&quot;https://github.com/armindarvish/consult-omni&quot;&gt;https://github.com/armindarvish/consult-omni&lt;/a&gt;][consult-omni]]: Versatile multi-source search package. It includes gptel as one of its many sources.&lt;/li&gt; 
&lt;/ul&gt; 
&lt;p&gt;&lt;em&gt;gptel configuration management&lt;/em&gt;&lt;/p&gt; 
&lt;ul&gt; 
 &lt;li&gt;[[&lt;a href=&quot;https://github.com/jwiegley/gptel-prompts&quot;&gt;https://github.com/jwiegley/gptel-prompts&lt;/a&gt;][gptel-prompts]]: System prompt manager for gptel.&lt;/li&gt; 
&lt;/ul&gt; 
&lt;p&gt;** COMMENT Older Breaking Changes&lt;/p&gt; 
&lt;ul&gt; 
 &lt;li&gt; &lt;p&gt;=gptel-post-response-hook= has been renamed to =gptel-post-response-functions=, and functions in this hook are now called with two arguments: the start and end buffer positions of the response. This should make it easy to act on the response text without having to locate it first.&lt;/p&gt; &lt;/li&gt; 
 &lt;li&gt; &lt;p&gt;Possible breakage, see #120: If streaming responses stop working for you after upgrading to v0.5, try reinstalling gptel and deleting its native comp eln cache in =native-comp-eln-load-path=.&lt;/p&gt; &lt;/li&gt; 
 &lt;li&gt; &lt;p&gt;The user option =gptel-host= is deprecated. If the defaults don&#39;t work for you, use =gptel-make-openai= to customize server settings.&lt;/p&gt; &lt;/li&gt; 
 &lt;li&gt; &lt;p&gt;=gptel-api-key-from-auth-source= now searches for the API key using the host address for the active LLM backend, /i.e./ &quot;&lt;a href=&quot;http://api.openai.com&quot;&gt;api.openai.com&lt;/a&gt;&quot; when using ChatGPT. You may need to update your =~/.authinfo=.&lt;/p&gt; &lt;/li&gt; 
&lt;/ul&gt; 
&lt;p&gt;** Acknowledgments&lt;/p&gt; 
&lt;ul&gt; 
 &lt;li&gt;[[&lt;a href=&quot;https://github.com/felipeochoa&quot;&gt;https://github.com/felipeochoa&lt;/a&gt;][Felipe Ochoa]] and [[&lt;a href=&quot;https://github.com/akssri&quot;&gt;https://github.com/akssri&lt;/a&gt;][akssri]] for adding AWS Bedrock support to gptel.&lt;/li&gt; 
 &lt;li&gt;[[&lt;a href=&quot;https://github.com/jwiegley&quot;&gt;https://github.com/jwiegley&lt;/a&gt;][John Wiegley]] for the design of gptel&#39;s presets and gptel-request&#39;s async pipeline, but also for loads of general feedback and advice.&lt;/li&gt; 
 &lt;li&gt;[[&lt;a href=&quot;https://github.com/pabl0&quot;&gt;https://github.com/pabl0&lt;/a&gt;][Henrik Ahlgren]] for a keen eye to detail and polish applied to gptel&#39;s UI.&lt;/li&gt; 
 &lt;li&gt;[[&lt;a href=&quot;https://github.com/psionic-k&quot;&gt;https://github.com/psionic-k&lt;/a&gt;][psionic-k]] for extensive testing of the tool use feature and the design of gptel&#39;s in-buffer tool use records.&lt;/li&gt; 
 &lt;li&gt;[[&lt;a href=&quot;https://github.com/jdtsmith&quot;&gt;https://github.com/jdtsmith&lt;/a&gt;][JD Smith]] for feedback and code assistance with gptel-menu&#39;s redesign&lt;/li&gt; 
 &lt;li&gt;[[&lt;a href=&quot;https://github.com/meain&quot;&gt;https://github.com/meain&lt;/a&gt;][Abin Simon]] for extensive feedback on improving gptel&#39;s directives and UI.&lt;/li&gt; 
 &lt;li&gt;[[&lt;a href=&quot;https://github.com/algal&quot;&gt;https://github.com/algal&lt;/a&gt;][Alexis Gallagher]] and [[&lt;a href=&quot;https://github.com/d1egoaz&quot;&gt;https://github.com/d1egoaz&lt;/a&gt;][Diego Alvarez]] for fixing a nasty multi-byte bug with =url-retrieve=.&lt;/li&gt; 
 &lt;li&gt;[[&lt;a href=&quot;https://github.com/tarsius&quot;&gt;https://github.com/tarsius&lt;/a&gt;][Jonas Bernoulli]] for the Transient library.&lt;/li&gt; 
 &lt;li&gt;[[&lt;a href=&quot;https://github.com/daedsidog&quot;&gt;https://github.com/daedsidog&lt;/a&gt;][daedsidog]] for adding context support to gptel.&lt;/li&gt; 
 &lt;li&gt;[[&lt;a href=&quot;https://github.com/Aquan1412&quot;&gt;https://github.com/Aquan1412&lt;/a&gt;][Aquan1412]] for adding PrivateGPT support to gptel.&lt;/li&gt; 
 &lt;li&gt;[[&lt;a href=&quot;https://github.com/r0man&quot;&gt;https://github.com/r0man&lt;/a&gt;][r0man]] for improving gptel&#39;s Curl integration.&lt;/li&gt; 
&lt;/ul&gt; 
&lt;h1&gt;Local Variables:&lt;/h1&gt; 
&lt;h1&gt;toc-org-max-depth: 4&lt;/h1&gt; 
&lt;h1&gt;eval: (and (fboundp &#39;toc-org-mode) (toc-org-mode 1))&lt;/h1&gt; 
&lt;h1&gt;End:&lt;/h1&gt;</description>
      
      <media:content url="https://repository-images.githubusercontent.com/610038902/2af098f1-9230-4166-ad18-f02cc3ca2a85" medium="image" />
      
    </item>
    
  </channel>
</rss>
