Hermes Agent
OpenViking for Hermes Agent: setup and memory checks
Updated 1 December 2026
OpenViking lets Hermes Agent keep useful information from past chats and search a knowledge base. In Hermes Agent 0.23.5 you install it from the plugin catalog, then choose where OpenViking runs. You can let the wizard set up a local copy, connect to Volcengine’s managed service or run the server separately.
This guide uses the Hermes Agent 0.23.5 memory provider documentation and catalog source, the pinned OpenViking Hermes plugin 2.1.2 guide and the OpenViking server 0.5.6 documentation. We read these sources on 30 November 2026.
What OpenViking adds to Hermes
OpenViking is an open-source context database for AI agents from Volcengine, part of ByteDance. It organises resources, memories and skills like folders and files, with addresses beginning with viking://. An agent can use a directory abstract (L0) or overview (L1) to locate relevant material, then load the full detail (L2) when needed. The server uses the AGPL-3.0 licence and the Hermes plugin uses the MIT licence.
OpenViking used to ship with Hermes. In 0.23.5, Volcengine maintains it as a community memory provider in the Hermes plugin catalog. Hermes can select one external memory provider at a time. Its built-in notes in MEMORY.md and USER.md are the simpler fit for short notes and preferences. OpenViking makes sense when you want to search documents and extract memories from conversations for use in later chats.
The provider overview describes the built-in stores as always active. That is the default. The built-in memory configuration guide documents the opt-out. Set both memory_enabled and user_profile_enabled under memory to false to turn off the built-in stores while keeping the external provider’s tools. See Hermes Agent memory for how the built-in notes and conversation history work.
Install the plugin and choose a connection
Use Hermes Agent 0.23.5 for this walkthrough. The catalog minimum is Hermes 0.21.4. Older releases that still bundle OpenViking load their bundled copy first. Quick Local becomes available once that copy is removed. The plugin requires Python 3.11 or newer in the Hermes environment.
The plugin can send chat turns, tool inputs and results, and successful edits made through Hermes’s built-in memory tool to the OpenViking server you choose. Memory extraction can also use a remote model.
Review the pinned plugin source before installing. If you’re switching servers, remove the old server’s OPENVIKING_EXTRA_HEADERS from this profile’s .env file and clear it from your shell environment before running setup. The wizard can send those headers to the new server while checking the connection.
Run the commands below in your terminal and accept the dependency prompt if it appears. The --enable flag immediately selects OpenViking as this profile’s external memory provider, replacing any existing selection.
To use a named profile, put -p followed by the profile name immediately after hermes in each Hermes command on this page, including when you start the test chat.
hermes plugins install openviking --enable
hermes memory setup openvikingThe Hermes guide shows hermes memory setup followed by choosing OpenViking. The provider argument above skips that picker.
Personal Agent automatically recalls common memory and, when a message comes through a gateway, its sender’s memory. It keeps your conversation history settings. Shared Agent automatically recalls common memory and all senders’ memories under the same OpenViking user across chats. It asks before enabling shared conversation history within each group or thread. If you confirm and finish setup, restart the gateway to apply those history settings.
Both presets use the same access permissions. Direct calls to viking_search use the configured assistant view in either preset. Use separate OpenViking users and keys when people need separate access.
If the wizard finds a saved OpenViking profile, choose Use existing OpenViking profile to reuse it, or Create new OpenViking profile to see the three options below.
- Quick Local. The wizard installs and starts a private server and downloads a local embedding model for search. It reuses the language model configured in this Hermes profile for memory extraction. Check Quick Local model support for compatible static API-key connections and local llama.cpp. If your connection uses OAuth or another unsupported sign-in method, use Custom with its own model configuration. If you use a static key, setup copies it to the profile’s private server configuration, and extraction can still call a remote model. Setup selects a compatible OpenViking 0.5.x package from PyPI when you run it. Downloads need access to PyPI, GitHub and Hugging Face, and setup uses more than 1 GB of disk space per Hermes profile. Check the supported platforms. If setup offers to build from source, you’ll need development tools. You can choose Custom instead.
- OpenViking Service (VolcEngine Cloud). Activate the managed service and create its key under User Management → API Key in the OpenViking console. Choose this connection in the wizard and paste the service key. Volcengine runs the service and the wizard skips local model configuration.
- Custom. For an existing server, enter its URL and any required credentials. The plugin documents OpenViking 0.2.14 or newer for Custom. To create your own server first, follow the next section. The wizard checks
/healthbefore asking for a key. If your gateway returns401or403on that check, use the manual setup below.
The server-first steps in the tagged Hermes guide apply to Custom. Use the pinned plugin’s wizard for the other two modes, which handle the server for you.
When creating a Custom or managed connection, choose where to save it at Save OpenViking config. Keep in Hermes only saves the connection in the Hermes profile’s .env. Mirror to OpenViking store asks for a name, writes ~/.openviking/ovcli.conf.<name> and links that file to the Hermes profile. After setup, start a fresh chat with hermes.
Set up your own OpenViking server for Custom
For the standalone Python install, use a separate environment. OpenViking 0.5.6 declares Python 3.10 or newer for the server package. If you need uv, see the OpenViking quickstart. Then run the install and setup command from the OpenViking README. The command leaves the package version unpinned.
uv tool install openviking --upgrade && openviking-server initChoose Local (127.0.0.1) for a test when Hermes and OpenViking share the same localhost interface.
The wizard writes JSON to ~/.openviking/ov.conf by default. If OPENVIKING_CONFIG_FILE is set, it writes to that path. The wizard prompts separately for an embedding model for search and a vision-language model (VLM) for processing content. The server configuration guide shows embedding → dense with api_base, api_key, provider, dimension and model. Under vlm it shows api_base, api_key, provider and model. Model credentials depend on the provider. Hosted model calls can incur provider charges. The standalone wizard can also set up Codex OAuth for openai-codex, where vlm.api_key is optional if Codex OAuth is available.
After saving, accept the validation prompt. If you skip validation or it reports a problem, decline Start the server now? Run the check below and fix any reported configuration, model access or authentication problems before starting the server.
openviking-server doctorIf the server is still stopped once the checks pass, start it.
openviking-serverKeep that terminal open. The default address is http://127.0.0.1:1933. In another terminal, check the local server and look for healthy set to true in the response.
curl -f http://127.0.0.1:1933/healthIn Hermes, choose Custom and enter the server address. If Hermes can reach a local development server on the same machine, use http://127.0.0.1:1933 and choose the credential option for unauthenticated local development. If you changed the port, use it in both the health check and the Hermes address. Keep the development server private. It grants root access to anyone who can reach it, including through a reverse proxy.
Before publishing a remote endpoint, enable authentication, use HTTPS and keep the backend port private. In API key mode, give Hermes a User or Admin key for the intended OpenViking account and reserve the root key for administration. The server authentication walkthrough explains how to create a User or Admin key for an authenticated setup.
To start the server with a different config file, use openviking-server --config /path/to/ov.conf or set OPENVIKING_CONFIG_FILE to the path to that file.
Set the endpoint and credentials by hand
Quick Local uses its own saved connection and ignores manual connection settings. To switch a profile that uses Quick Local, run hermes memory setup openviking and finish setting up Custom or OpenViking Service before editing the connection settings. If the Custom wizard stalls at the health check, use a separate Hermes profile for manual setup.
In a profile without Quick Local, install the plugin if needed and run hermes config set memory.provider openviking to select it. Add the connection values to ~/.hermes/.env for the default profile or ~/.hermes/profiles/<profile>/.env for a named profile. Start a new Hermes session after editing the file. For the default local Custom server, use this endpoint.
OPENVIKING_ENDPOINT=http://127.0.0.1:1933- Set
OPENVIKING_API_KEYto the credential for a server that requires a key. In API key mode, the User or Admin key determines the account and user. Keep servers indevmode local. For this mode, clear any API key from the Hermes environment and any linkedovcli.conf. OPENVIKING_ACCOUNTandOPENVIKING_USERare for local or trusted mode and both default todefault. For remote trusted mode, use a gateway that authenticates callers, controls which account, user and role headers reach the server, and blocks direct access to the backend. Give the root key only to trusted clients. For a trusted Hermes client, setOPENVIKING_API_KEYto the server’s root key. Hermes sends the configured account and user as identity headers.- If the gateway requires extra authentication headers, provide them as a JSON object in
OPENVIKING_EXTRA_HEADERSor asextra_headersin the linkedovcli.conf. Hermes first checks/healthwithout credentials. A retry requires a configured OpenViking API key and a401or403response. Hermes sends the key and extra headers on that retry. - For separate assistant context on Custom or managed connections, set
OPENVIKING_AGENTor use the optionalmemory.openviking.agentsetting inconfig.yaml. The Hermes overview describes the default without a peer ID. The pinned plugin configuration guide gives the Quick Local exception. It useshermesas the peer ID.
ov.conf configures the server, including its models and storage. ovcli.conf holds client values such as url and api_key. The default client file is ~/.openviking/ovcli.conf and OPENVIKING_CLI_CONFIG_FILE can point to another file. For regular connections, the plugin checks the profile environment, the linked client file, Hermes YAML, then defaults. Store API keys in profile secrets or the linked client file. When changing servers, update the endpoint, API key and any gateway headers together before reconnecting. See the pinned plugin configuration guide.
What gets stored and which tools Hermes can use
By default the plugin asks OpenViking to commit the conversation at 20,000 pending tokens, at session end and when switching sessions. OpenViking can use that material to save or update memories such as preferences, project context and reusable experience in the OpenViking user’s memory space. Search can also cover knowledge resources you have added, such as documents and code.
Use the docs for your server version to check its built-in memory types. The OpenViking 0.5.6 list includes preferences, trajectories and experiences. The server memory guide explains that extraction depends on the input and server configuration. The server’s context layer guide gives default budgets for generated resource directory summaries of 256 characters for the L0 abstract and 4,000 for the L1 overview. A summary can exceed its budget to keep a sentence intact.
Hermes calls the plugin’s tools from chat.
viking_searchsearches memories and added knowledge.viking_readopens content at aviking://address and can read the available layers.viking_browselists directories and files.viking_remembersubmits a fact for extraction.viking_forgetdeletes a memory file at its exact address.viking_add_resourceadds a URL or document to the knowledge base.
Check that a memory can be recalled
To use ov for the health or extraction checks below, follow OpenViking’s CLI setup and connect it to the same server and OpenViking user as Hermes. For Quick Local, set OPENVIKING_CLI_CONFIG_FILE to the path to openviking/ovcli.conf inside the active Hermes profile directory.
- Run
hermes memory statusand check that the selected provider isopenviking. A status ofavailablemeans Hermes found a configured endpoint. Check server health separately before testing memory. For Quick Local, runhermes openviking local status. For a local Custom server, use the health check from the server setup section. For a remote server, runov healthafter connecting the CLI. - Open Hermes in the same profile. Ask it to use
viking_rememberto save a harmless test preference, such as “For the fictional Juniper project, label draft checklists Green Folder.” Asubmittedresult means OpenViking accepted the fact for extraction. It may create a memory, merge the fact into an existing memory or skip it. If Hermes reports a task ID, runov task status <task_id>with that ID. Wait forcompleted. If the task ends asfailedorcancelled, inspect the reported error or cancellation reason. - Once extraction finishes, open a fresh session in the same profile. Ask Hermes to use
viking_searchto look up the checklist label for Juniper. Take the matchingviking://address from the search result and ask Hermes to open it withviking_readat thefulldetail level. Check that the stored text contains the test fact.
Fix installation, connection and recall problems
OpenViking is missing after an update. If the profile used the old bundled provider, hermes update or agent startup can try to install the catalog version. With security.allow_lazy_installs set to false, startup prints the manual install command. Run the install step in the affected profile, then check hermes plugins list and hermes memory status.
A local Custom server is unreachable. Check the URL and port. If you started the server, check its terminal output. If Hermes tried to start it, check logs/openviking-server.log in the Hermes profile directory. Hermes can start a local Custom server when openviking-server is on its PATH and the configured port is free. The Hermes guide describes that process as inheriting the full Hermes environment except PYTHONPATH. The pinned launcher code applies Hermes’s credential filter before starting the server. The catalog says it filters bot, gateway, GitHub and dashboard credentials and can still pass model and tool keys. Follow the pinned code for this behaviour. Start Custom yourself to control which credentials its process receives.
The server responds but memory search is empty. Check that the two chats use the same profile and OpenViking identity. A healthy connection can precede extraction, and ordinary chat turns need a commit first. On Custom, rerun openviking-server doctor to check model access and authentication. On Quick Local, rerun setup if you changed the Hermes model or its key. Turns that finish while the server is starting or recovering are skipped. Once hermes openviking local status reports ready, repeat the memory test.
Quick Local keeps running after you leave Hermes. Use hermes openviking local stop to stop it. A running session or gateway can start it again when memory is used, so close those sessions and stop the gateway first if you want it to stay stopped. To disable the external provider in that profile, run hermes memory off.
OpenViking on ReadyHermes
ReadyHermes does not offer a choice of memory provider. We have not tested OpenViking or other external memory providers on ReadyHermes. Installing catalog plugins on a ReadyHermes assistant is unsupported.
ReadyHermes runs your own Hermes Agent on our servers, with AI included in the 30-minute free trial.
Questions
Is OpenViking built into Hermes Agent 0.23.5?
It used to ship with Hermes. In 0.23.5 it is a separately installed community memory provider in the Hermes catalog. Review the pinned plugin source, then run hermes plugins install openviking --enable and hermes memory setup openviking in the intended profile.
Does OpenViking need a separate server?
OpenViking runs as a server. Quick Local installs and starts it from the Hermes wizard. OpenViking Service connects to Volcengine’s managed server using a service key. With Custom, you supply the URL and any required credentials for your own server.
What is OPENVIKING_API_KEY used for?
It authenticates Hermes to an OpenViking server that requires a key. A self-managed server configures its embedding model and vision-language model separately in ov.conf. Model credentials depend on the provider. Keep servers in dev mode local. For this mode, clear any API key from the Hermes environment and any linked ovcli.conf.
How do you check that OpenViking memory works in Hermes?
Check the selected provider with hermes memory status and check server health separately. Ask Hermes to submit a test preference with viking_remember. After extraction, use viking_search in a fresh session in the same profile, then open the matching address with viking_read and check the stored text.
Can you use OpenViking on ReadyHermes?
ReadyHermes does not offer a choice of memory provider. OpenViking and other external memory providers have not been tested on ReadyHermes. Installing catalog plugins on a ReadyHermes assistant is unsupported.