Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NousResearch/hermes-agent-self-evolution
/ types & classes
Types & classes
42 in github.com/NousResearch/hermes-agent-self-evolution
⨍
Functions
195
◇
Types & classes
42
↳
Endpoints
1
↓ 12 callers
Class
ConstraintResult
Result of constraint validation.
evolution/core/constraints.py:16
↓ 10 callers
Class
EvalExample
A single evaluation example.
evolution/core/dataset_builder.py:21
↓ 5 callers
Class
EvalDataset
Train/val/holdout split of evaluation examples.
evolution/core/dataset_builder.py:44
↓ 4 callers
Class
EvolutionConfig
Configuration for a self-evolution optimization run.
evolution/core/config.py:10
↓ 2 callers
Class
ConstraintValidator
Validates evolved artifacts against hard constraints.
evolution/core/constraints.py:24
↓ 1 callers
Class
FitnessScore
Multi-dimensional fitness score.
evolution/core/fitness.py:15
↓ 1 callers
Class
RelevanceFilter
Use LLM-as-judge to determine which messages are relevant to a skill. Two-stage pipeline: 1. Cheap heuristic pre-filter (_is_relevant_to_sk
evolution/core/external_importers.py:422
↓ 1 callers
Class
SkillModule
A DSPy module that wraps a skill file for optimization. The skill text (body) is the parameter that GEPA optimizes. On each forward pass, the
evolution/skills/skill_module.py:84
↓ 1 callers
Class
SyntheticDatasetBuilder
Generate evaluation datasets using a strong LLM. Reads the target artifact (skill file, tool description, etc.) and generates realistic (task
evolution/core/dataset_builder.py:89
Class
ClaudeCodeImporter
Import user prompts from Claude Code history.jsonl. Claude Code stores a flat JSONL of user messages at ~/.claude/history.jsonl. Each line ha
evolution/core/external_importers.py:157
Class
CopilotImporter
Import conversations from GitHub Copilot session events. Copilot stores sessions at ~/.copilot/session-state/<session-id>/. Each session has
evolution/core/external_importers.py:210
Class
GenerateTestCases
Generate realistic evaluation test cases for an agent skill or tool. Given the full text of a skill/tool description, generate diverse test c
evolution/core/dataset_builder.py:96
Class
GoldenDatasetLoader
Load hand-curated evaluation datasets from JSONL files.
evolution/core/dataset_builder.py:172
Class
HermesSessionImporter
Import conversations from Hermes Agent session files. Hermes stores session transcripts as JSON files in ~/.hermes/sessions/. Each file conta
evolution/core/external_importers.py:334
Class
JudgeSignature
Evaluate an agent's response against an expected behavior rubric. Score the response on three dimensions (0.0 to 1.0 each): 1. correc
evolution/core/fitness.py:41
Class
LLMJudge
LLM-as-judge scorer with rubric-based evaluation. Scores agent outputs on multiple dimensions and provides textual feedback that GEPA can use
evolution/core/fitness.py:34
Class
ScoreRelevance
Score whether a user message is relevant to a specific agent skill. Return a JSON object with: - relevant: boolean (true if the messa
evolution/core/external_importers.py:430
Class
TaskWithSkill
Complete a task following the provided skill instructions. You are an AI agent following specific skill instructions to complete a task.
evolution/skills/skill_module.py:94
Class
TestBuildDataset
Test the main orchestration function.
tests/core/test_external_importers.py:693
Class
TestCLI
Test the Click CLI entry point using CliRunner.
tests/core/test_external_importers.py:1152
Class
TestClaudeCodeImporter
tests/core/test_external_importers.py:257
Class
TestCopilotHelpers
tests/core/test_external_importers.py:426
Class
TestCopilotImporter
tests/core/test_external_importers.py:323
Class
TestEndToEndRoundtrip
Verify the full pipeline: fake files -> import -> filter -> save -> reload. This is the most important test. It proves that output from build
tests/core/test_external_importers.py:806
Class
TestEvalExampleFormat
tests/core/test_external_importers.py:1203
Class
TestGrowthConstraints
tests/core/test_constraints.py:33
Class
TestHermesSessionImporter
tests/core/test_external_importers.py:470
Class
TestLoadSkill
tests/skills/test_skill_module.py:32
Class
TestLoadSkillText
tests/core/test_external_importers.py:914
Class
TestMinDatasetSizeWarning
Verify MIN_DATASET_SIZE warning in build_dataset_from_external.
tests/core/test_external_importers.py:1116
Class
TestNonEmpty
tests/core/test_constraints.py:53
Class
TestReassembleSkill
tests/skills/test_skill_module.py:66
Class
TestRelevanceFilter
Test RelevanceFilter with mocked LLM calls.
tests/core/test_external_importers.py:590
Class
TestRelevanceHeuristics
Verify cheap pre-filter catches obvious matches and rejects non-matches.
tests/core/test_external_importers.py:159
Class
TestScoringJsonParser
Verify _parse_scoring_json handles various LLM output formats.
tests/core/test_external_importers.py:205
Class
TestSecretDetection
Verify that known secret formats are caught and normal text is not.
tests/core/test_external_importers.py:48
Class
TestSizeConstraints
tests/core/test_constraints.py:14
Class
TestSkillNameMatching
Verify that short skill names match via exact full-name check.
tests/core/test_external_importers.py:562
Class
TestSkillStructure
tests/core/test_constraints.py:67
Class
TestValidateAll
tests/core/test_constraints.py:89
Class
TestValidateEvalExample
Verify _validate_eval_example normalizes, rejects, and caps fields.
tests/core/test_external_importers.py:949
Class
TestValidationIntegration
Verify validation is wired correctly into RelevanceFilter.
tests/core/test_external_importers.py:1035