Hermes Agent
Graphify with Hermes Agent: install, build and MCP setup
Updated 24 November 2026
Graphify turns a codebase, and optionally its documents, into a graph that an AI assistant can query, and it has an installer that targets Hermes Agent. This page covers what it adds, how to install it, the Hermes setup command, how to build the graph, how to serve your local graph over MCP or connect Hermes to a repository indexed by hosted Graphify, how to check it worked, and which commands you may have seen copied around that do not exist.
Facts come from the Graphify 0.9.118 source and README (github.com/Graphify-Labs/graphify, the v0.9.118 tag), Graphify’s own pages (Hermes integration, MCP server and notes for agents) and the Hermes Agent 0.23.4 documentation (MCP), all read on 24 November 2026. We have not run Graphify ourselves: the commands below were read from its source and documentation, not tested by us. Graphify releases often, so check graphify --version against what you read here.
What Graphify adds to Hermes Agent
Graphify describes itself as shared codebase context for agents and humans. It reads a folder and builds a queryable knowledge graph of what is in it, then writes the result into a graphify-out folder. Its README says it is not a vector index: there are no embeddings and no vector store.
- Code is parsed locally. Graphify parses supported code without a language model. Its parsers use tree-sitter and, for some constructs, regular expressions.
- Documents, PDFs and images need a model. The Hermes skill uses the assistant’s model for that pass by default. If
GEMINI_API_KEYorGOOGLE_API_KEYis set, the skill selects Gemini and needs thegeminiextra in its Python environment. With thevideoextra, the skill can transcribe audio and video before analysing the transcript, while the shell’sgraphify extractskips audio and video. Graphify’s skill text warns that the model pass can cost minutes and tens of thousands of tokens on a large set of files. - Open source. The command line tool is Apache-2.0 licensed, made by Graphify Labs. There is also a separate hosted product from the same company.
Be clear about who provides the Hermes link. Graphify has its own Hermes page and an installer with a Hermes target. The Hermes Agent repository at 0.23.4 never mentions Graphify in the documentation, plugin catalog or skills we searched, so this is Graphify’s integration rather than an official Hermes feature. For how Hermes keeps its own notes, see Hermes Agent memory; a graph is a different thing, a map of a project that you build on demand.
Install Graphify (the package is graphifyy)
The package on PyPI is graphifyy, with two y’s. The command it installs is graphify. Graphify’s documentation points this out because look-alike names exist: other projects called graphify, on GitHub and on package registries, are not from Graphify Labs, and its docs say so directly. Install only the two-y package.
uv tool install graphifyyThe README gives pipx install graphifyy as the alternative. It needs Python 3.11.5 up to 3.14 (requires-python is >=3.11.5,<3.15). If you installed with uv and your shell cannot find graphify, run uv tool update-shell.
Run graphify --version to check what you installed. The release used for this guide prints graphify 0.9.118. Neither install command above pins a release, so you may get a newer one.
The Hermes setup command
The README’s platform table gives the Hermes form as:
graphify install --platform hermesThat installs the skill and its reference files in the default Hermes skills directory: ~/.hermes/skills/graphify/, or %LOCALAPPDATA%\hermes\skills\graphify\ on Windows. It writes there even if you use a named Hermes profile.
Two related commands do different things. graphify hermes install only creates or updates AGENTS.md in the current folder. From the Git repository root, run graphify hermes install --project to install the project skill in .hermes/skills/graphify/ and create or update the Graphify section in AGENTS.md. If you use a named Hermes profile, use the project install, or copy the entire graphify skill folder into that profile’s skills directory. None of these commands set up MCP; that is left to you. If you enable both the skill and MCP, Graphify’s README recommends identifying which graph each one queries and choosing a primary query path.
Hermes 0.23.4 discovers .hermes/skills/ at the Git repository root, but it does not load project skills automatically. Review the installed skill and the change to AGENTS.md. If you trust the repository’s skills, run hermes skills trust from inside it. Run hermes profile to check which profile your shell uses. If your assistant uses a different one, put --profile and that profile’s name immediately after hermes in the trust, login and test commands on this page. Hermes quarantines project skills its scanner marks dangerous. We have not run the installed skill. For how Hermes finds and lists skills, see Hermes Agent skills.
Build the graph
There are two ways to build it, and they are typed in different places.
- In a Hermes session: open a Hermes CLI or TUI session in the project folder with the Graphify skill available, then type
/graphify .in the chat. Graphify’s docs stress this is typed to the assistant, not into a shell. - In a shell: run
graphify extract .from the project folder, which the CLI describes as a headless full extraction for scripts and CI. A plaingraphify .pointed at an existing path is turned intographify extractby the source.
Before you build, know what can leave your machine. Graphify parses code locally. When you include documents, PDFs or images in a semantic extraction, file contents can leave your machine if the selected model runs in the cloud, and the shell CLI can select a cloud provider automatically from credentials already in your environment. Use --code-only to skip that pass. The Kimi backend uses Moonshot’s hosted endpoint by default and accepts a different one through KIMI_BASE_URL.
For an offline build of a code-only project, run:
cd /path/to/your/project
graphify extract . --code-onlyTo include documents, PDFs or images, run graphify extract . with a supported model backend and the extras it needs. Install the pdf extra to extract text from PDFs that have a text layer. For Ollama, install the ollama extra, start your local Ollama instance, make sure the selected model is installed, then use --backend ollama. The default model is qwen2.5-coder:7b. To analyse image contents with Ollama, select an installed vision model with --model and set GRAPHIFY_OLLAMA_VISION=1. To use Claude Code, authenticate its CLI and select --backend claude-cli. Set GRAPHIFY_BACKEND=none to skip model work when you have not selected a backend on the command line.
graphify extract . writes graphify-out/graph.json and an analysis file. From the same folder, run graphify cluster-only . --no-label to generate GRAPH_REPORT.md and, when visualisation is available, graph.html. The chat skill has its own report and visualisation steps. The shell CLI writes to graphify-out/ by default; set GRAPHIFY_OUT to change the shell output directory. The Hermes skill’s build instructions use graphify-out/ for the graph and report. After editing code, run graphify update . to refresh the code graph without a model.
Query logging is off by default in 0.9.118: set GRAPHIFY_QUERY_LOG_ENABLE=1 to log query text and graph paths in plaintext at ~/.cache/graphify-queries.log. GRAPHIFY_QUERY_LOG_DISABLE=1 forces logging off.
The optional MCP server: local or hosted
MCP lets Hermes call Graphify as a set of tools. There are two separate routes. For the general mechanics of MCP in Hermes, see Hermes Agent MCP. Choose one of the two examples below. Add its graphify entry under mcp_servers in the active Hermes profile’s config.yaml, keeping any existing entries. The default file is ~/.hermes/config.yaml on macOS and Linux and %LOCALAPPDATA%\hermes\config.yaml on Windows.
Local server over your own graph
This needs the mcp extra, then the graphify-mcp command:
uv tool install "graphifyy[mcp]"Stdio is the default transport. The server defaults to graphify-out/graph.json, and you can give a graph path explicitly. A stdio entry in Hermes uses command and args. Combining the two documents gives the entry below. Replace the graph path with your actual absolute path. If Hermes cannot find graphify-mcp, put its absolute executable path in command.
mcp_servers:
graphify:
command: "graphify-mcp"
args: ["/absolute/path/to/repo/graphify-out/graph.json"]That entry is our combination of the two documented formats, not a block either project prints, and we have not tested it. With --transport http, the local server defaults to http://127.0.0.1:8080/mcp. Set a non-empty GRAPHIFY_API_KEY or pass a key with --api-key to require one; the HTTP client sends it in the Authorization header as a bearer token or in X-API-Key. Keep the built-in plain-HTTP listener on 127.0.0.1 for this setup. The server’s tools include query_graph, get_node, get_neighbors, god_nodes, graph_stats and shortest_path. Graphify’s docs say ten tools while the source lists eleven, so read the exact list from your installed version.
Hosted server
Graphify’s Hermes page describes a hosted route at https://api.graphify.com/mcp with OAuth sign-in, and says it needs a current Hermes release with MCP OAuth support. Sign in at app.graphify.com and grant Graphify access to the GitHub or GitLab repository you want it to index. Open the repository’s menu, switch on Indexing, and wait for Indexed. Graphify reads the repository to build the hosted graph. Add this entry to the active Hermes profile. Hermes recommends trust: untrusted for servers you do not fully control.
mcp_servers:
graphify:
url: https://api.graphify.com/mcp
auth: oauth
trust: untrustedThen run hermes mcp login graphify from an interactive terminal on the Hermes host. If your browser is on a different machine from Hermes, open the authorisation URL in that browser and approve access. The final redirect may show a connection error, which is expected: copy the full URL from the address bar and paste it into the Hermes terminal when prompted. Hermes saves tokens in the active profile’s mcp-tokens/ directory. Device-code login (--flow device) requires provider support, which Graphify’s setup docs do not confirm.
Check that it worked
Work from the outside in, so you know which layer failed.
graphify --versionprints a version, so the command is installed.- From the project folder, check that
graphify-out/graph.jsonexists. Graphify’s own examples usegraphify query "cluster leiden" --budget 300andgraphify explain "reflect()"; substitute labels from your own graph, because the query matches words in node labels.graphify god-nodesalso inspects the graph without rebuilding it.graphify queryandgraphify explainreturn 3 on ambiguity and 4 when no node matches. - If you added an MCP entry, run
hermes mcp listandhermes mcp test graphify. In an already-open Hermes session, use/reload-mcpafter changing the configuration. - Last, ask Hermes to call Graphify’s
graph_statstool for a local graph. For hosted Graphify, ask it to use Graphify’slist_repositoriestool and confirm that your indexed repository appears in the results.
If step 3 fails, the Hermes MCP guide covers managing and testing servers.
Commands that do not exist
Some guides print commands for this setup that we could not find in Graphify 0.9.118. It has no build, mcp or serve subcommand. If the first word after graphify names an existing path, the CLI treats it as an extraction target. That can make graphify build . or graphify mcp serve appear to work when a path named build or mcp exists. Graphify’s own notes for agents say to use only commands shown in its documentation, so treat these as wrong:
graphify build .: the real command isgraphify extract ., or/graphify .in a chat.graphify mcp serve: there is no MCP dispatch in the CLI. Use the separategraphify-mcpexecutable. Its--portflag takes a number.pip install graphify: the wrong package for this project. Usegraphifyy.- A
.graphify/output folder: the default output directory isgraphify-out/. SetGRAPHIFY_OUTto change it.
python -m graphify.serve starts the same server from the Python environment where graphifyy[mcp] is installed. Run it from the project folder to use the default graph path. If you installed Graphify with uv tool install, use the graphify-mcp launcher from that installation.
Graphify on ReadyHermes
We have not tested running Graphify, or a Graphify MCP server, on ReadyHermes. ReadyHermes runs assistants on our servers and has no screen for adding custom MCP servers, so we cannot describe a supported way to connect the hosted Graphify route, and we do not suggest a workaround. In the self-managed stdio setup above, Hermes needs access to the graphify-mcp executable and graph.json. Building the graph requires the project files, and some tools, such as get_section, also read those files.
To use Graphify with your own project today, run Hermes yourself with the steps above; the guide to installing Hermes Agent covers that. ReadyHermes plans start from US$3.99 a month (Lite) or US$6.99 (Pro), with US$1 of AI included on Lite and US$3 on Pro every month, and a 1-hour free trial.
Questions
What is the Graphify package name?
The PyPI package is graphifyy, with two y's, and it installs the graphify command. Install it with uv tool install graphifyy or pipx install graphifyy. Similarly named projects exist and are not from Graphify Labs, and Graphify's docs say so, so do not install a package called graphify for this.
What is the Hermes setup command for Graphify?
Use graphify install --platform hermes for the default Hermes profile. From the Git repository root, use graphify hermes install --project to install the project skill and update AGENTS.md. The bare graphify hermes install only updates AGENTS.md. Configure MCP separately.
How do I build the graph?
Type /graphify . in a Hermes session in your project with the skill available, or run graphify extract . from the project folder in a shell. The shell command writes graphify-out/graph.json. Run graphify cluster-only . --no-label for the report and optional HTML visualisation. A code-only build can run offline. Shell extraction of documents, PDFs and images needs a model backend.
Does graphify mcp serve exist?
Graphify 0.9.118 has no mcp or serve subcommand. Install the mcp extra with uv tool install "graphifyy[mcp]" and use graphify-mcp. It defaults to graphify-out/graph.json, and you can supply a graph path explicitly. With --transport http, the default port is 8080.
Does Graphify work on ReadyHermes?
We have not tested it. ReadyHermes has no screen for adding your own MCP servers, and we do not suggest a workaround. To try Graphify with Hermes, run Hermes yourself and follow the install, setup and build steps on this page.