feat: add file reference support for custom personalities in config.yaml#1564
Closed
dafunction wants to merge 1 commit into
Closed
feat: add file reference support for custom personalities in config.yaml#1564dafunction wants to merge 1 commit into
dafunction wants to merge 1 commit into
Conversation
Contributor
|
Thanks for the contribution! However, this use case is already covered by SOUL.md — you can place a Closing as the existing mechanism already handles this. |
teknium1
pushed a commit
that referenced
this pull request
Mar 17, 2026
Adds session:end hook emitted before session:reset, giving hook authors a clean teardown signal to persist data or clean up resources before the session is destroyed. Based on PR #1564 by bayrakdarerdem (session:start portion was already on main).
angelburgosrosado
pushed a commit
to angelburgosrosado/hermes-agent
that referenced
this pull request
Apr 28, 2026
Adds session:end hook emitted before session:reset, giving hook authors a clean teardown signal to persist data or clean up resources before the session is destroyed. Based on PR NousResearch#1564 by bayrakdarerdem (session:start portion was already on main).
CumulusService
pushed a commit
to Cumulus-Service-GmbH/hermes-agent
that referenced
this pull request
May 30, 2026
Adds session:end hook emitted before session:reset, giving hook authors a clean teardown signal to persist data or clean up resources before the session is destroyed. Based on PR NousResearch#1564 by bayrakdarerdem (session:start portion was already on main).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
This extends the functionality of personalities by allowing for more verbose personality profiles defined in separate files (e.g.
~/.hermes/personalities/my_verbose_personality_profile.md). This maintains backwards compatibility with the currently described personality definition process and keeps theconfig.yamlfile relatively clean so that a single verbosely defined personality profile doesn't dominate the entire config.I believe this splits the difference of SOUL.md and personalities by offering the canvas of a dedicated file for defining a personality, while allowing for a the flexibility of a session level personality overlay.
Related Issue
No existing issue.
Type of Change
Changes Made
cli.pygateway/run.pytests/test_personality_none.pyHow to Test
.mdfile (for example:~/.hermes/personalities/my_verbose_personality_profile.md)config.yamllike normal, but add thefilekey and point to the directory you chose to put your personality profilepython cli.pyto launch the agent/personality my_verbose_personality_profile. You should get a confirmation that the personality loaded like any other personality, with the addition of an the first 60 characters of the resolved profile.Checklist
Code
fix(scope):,feat(scope):, etc.)pytest tests/ -qand all tests passDocumentation & Housekeeping
docs/, docstrings) — or N/Acli-config.yaml.exampleif I added/changed config keys — or N/ACONTRIBUTING.mdorAGENTS.mdif I changed architecture or workflows — or N/AFor New Skills
hermes --toolsets skills -q "Use the X skill to do Y"Screenshots / Logs
Example of a personality profile loading from file:
