hermes - ✅(Solved) Fix [Feature]: Implement Diversity-Aware Generation (DAG) for Creative Ideation [1 pull requests, 1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
NousResearch/hermes-agent#17115Fetched 2026-04-29 06:37:13
View on GitHub
Comments
0
Participants
1
Timeline
5
Reactions
0
Author
Participants
Timeline (top)
labeled ×4cross-referenced ×1

Fix Action

Fixed

PR fix notes

PR #17122: feat(skill): implement SSoT-based diversity for creative-ideation

Description (problem / solution / changelog)

What does this PR do?

This PR upgrades the creative-ideation skill with the String Seed of Thought (SSoT) protocol to improve response variance and exploration depth. By introducing this Probabilistic Instruction Following (PIF) layer, the agent now produces significantly more diverse project plans and architectural suggestions.

Key Breakthrough: Breaking Deterministic Policy

This is particularly effective for small models (3B) that otherwise struggle to "think outside the box" without explicit entropy-guided prompts. SSoT forces the model into a high-fidelity reasoning state (CoT) through the simpler task of entropy generation, which then carries over into a successful creative pivot.

References:

Related Issue

Fixes #17115

Type of Change

  • 🐛 Bug fix (non-breaking change that fixes an issue)
  • ✨ New feature (non-breaking change that adds functionality)
  • 🔒 Security fix
  • 📝 Documentation update
  • ✅ Tests (adding or improving test coverage)
  • ♻️ Refactor (no behavior change)
  • 🎯 New skill (bundled or hub)

Changes Made

  • skills/creative/creative-ideation/SKILL.md: Modified to include a mandatory Entropy-to-Archetype mapping instruction.
  • Randomness Extraction Logic: Instructs the agent to:
    1. Output a 16-character <random_string>.
    2. Use a <thinking> block to perform an ASCII-sum modulo 3 operation.
    3. Select a specific Structural Archetype based on the result.

How to Test

  1. Switch to the feat/ssot-diversity branch.
  2. Run hermes chat -q "Write a 2-line horror story." (Benchmark Test) or use the creative-ideation skill.
  3. Observe the unique <random_string> and structural variation (see Empirical Evidence below).

Checklist

Code

  • I've read the Contributing Guide
  • My commit messages follow Conventional Commits (fix(scope):, feat(scope):, etc.)
  • I searched for existing PRs to make sure this isn't a duplicate
  • My PR contains only changes related to this fix/feature (no unrelated commits)
  • I've run pytest tests/ -q and all tests pass
  • I've added tests for my changes (required for bug fixes, strongly encouraged for features)
  • I've tested on my platform: Ubuntu 24.04 (Linux)

Documentation & Housekeeping

  • I've updated relevant documentation (SKILL.md)
  • I've updated cli-config.yaml.example if I added/changed config keys — or N/A
  • I've updated CONTRIBUTING.md or AGENTS.md if I changed architecture or workflows — or N/A
  • I've considered cross-platform impact (Windows, macOS) per the compatibility guide — or N/A
  • I've updated tool descriptions/schemas if I changed tool behavior — or N/A

For New Skills

  • This skill is broadly useful to most users (if bundled) — see Contributing Guide
  • SKILL.md follows the standard format (frontmatter, trigger conditions, steps, pitfalls)
  • No external dependencies that aren't already available
  • I've tested the skill end-to-end: hermes --toolsets skills -q "Use the creative-ideation skill to do Z"

Screenshots / Logs

Empirical Evidence: The "Horror Story" Benchmark

We tested the hermes chat -q "Write a 2-line horror story." prompt to verify the diversity engine.

Baseline (Main Branch - Repetitive):

"I woke up to hear someone knocking on my glass door. Then I realized the knocking was coming from inside the room."

SSoT Branch (Seed: zT2!mX5%pL$7$Aq9 - Cyber-Horror Pivot):

"The Arduino's status LED continued its rhythmic, crimson pulse in the pitch-black room. I looked down at the workbench and saw the USB cable and battery pack were both still disconnected."

This confirms that the ASCII-modulo-3 logic successfully forces the model to pivot into unconventional archetypes (Cyber-Horror) that are inaccessible via standard deterministic policies.

cc @teknium1

Changed files

  • skills/creative/creative-ideation/SKILL.md (modified, +3/-0)
RAW_BUFFERClick to expand / collapse

Problem or Use Case

The creative-ideation skill currently exhibits high deterministic bias, often collapsing into a small set of "Safe" or "Common" archetypes (e.g., suggesting a standard CLI or a basic Web App) regardless of the prompt nuance. I'm trying to use Hermes for open-ended brainstorming and architectural ideation, but currently, there's no way to force the model to explore unconventional structural plans without manually engineering high-temperature prompts that often degrade quality.

Proposed Solution

Integrate the SSoT (String Seed of Thought) protocol directly into the creative-ideation skill definition. This should work by adding a mandatory Diversity-Aware Generation section to the skill's instructions:

  1. Entropy Generation: Instruct the agent to first output a 16-character <random_string>.
  2. Randomness Extraction: Instruct the agent to use a <thinking> block to calculate the sum of the string's ASCII values modulo 3.
  3. Policy Pivot: The result of the modulo operation should be used to select one of three structural archetypes (e.g., 0=Minimalist, 1=Comprehensive, 2=Experimental), forcing the agent to deviate from its default deterministic policy while maintaining logical coherence.

Alternatives Considered

No response

Feature Type

Performance / reliability

Scope

None

Contribution

  • I'd like to implement this myself and submit a PR

Debug Report (optional)

extent analysis

TL;DR

Integrating the SSoT protocol into the creative-ideation skill by adding a Diversity-Aware Generation section may help reduce deterministic bias and encourage more open-ended brainstorming.

Guidance

  • Review the proposed SSoT protocol integration steps to understand how entropy generation, randomness extraction, and policy pivot can influence the model's output.
  • Consider testing the impact of the Diversity-Aware Generation section on the model's performance and output quality.
  • Evaluate the trade-offs between introducing randomness and maintaining logical coherence in the generated architectural plans.
  • Investigate how the modulo operation's result affects the selection of structural archetypes and whether this aligns with the desired level of diversity.

Example

No code snippet is provided as the issue does not contain sufficient technical details for a concrete implementation.

Notes

The effectiveness of the proposed solution depends on the specific implementation and the model's underlying architecture. Further testing and evaluation are necessary to determine the optimal approach.

Recommendation

Apply the proposed workaround by integrating the SSoT protocol into the creative-ideation skill, as it may help reduce deterministic bias and improve the model's performance in open-ended brainstorming and architectural ideation.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING