DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to rename Python symbols correctly with language server tools with Oh My Hermes

Enable OMH's opt-in lsp_tools so renames use the language server instead of text search.

Short answer: Open the OMH plugin settings; then turn on lsp_tools (it is off by default); ask Hermes to rename a function or class across the project. All steps.

Who it is forA Python developer whose agent renames break aliases and re-exports.

The problemText search renames miss aliases, re-exports and shadowed names, and small models suffer most.

The outcomeRenames done through lsp_definition, lsp_references and lsp_rename, so every real use changes.

What you need first

  • Hermes Agent installed
  • macOS or Linux (install script) or Windows PowerShell 5.1+
  • Accounts or keys for the model providers you want in each lane

Steps

  1. Open the OMH plugin settings
  2. Turn on lsp_tools (it is off by default)
  3. Ask Hermes to rename a function or class across the project
  4. Run your tests to confirm nothing broke

Prompt for your agent

Enable lsp_tools in rlaope/oh-my-hermes, then rename <symbol> to <new name> across this Python project with lsp_rename and run the test suite.

Caveat. This card is written from the rlaope/oh-my-hermes README, not from a test run by Deduped. Before you start, make sure you have Hermes Agent installed. Check the repo for newer instructions before you rely on these steps.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for rlaope/oh-my-hermes and "Rename Python symbols correctly with language server tools"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer