Skip to content

Added CoherenceEvaluator#125

Merged
poshinchen merged 1 commit intostrands-agents:mainfrom
poshinchen:feat/add-CoherenceEvaluator
Feb 10, 2026
Merged

Added CoherenceEvaluator#125
poshinchen merged 1 commit intostrands-agents:mainfrom
poshinchen:feat/add-CoherenceEvaluator

Conversation

@poshinchen
Copy link
Contributor

Description

Added Coherence evaluator which evaluates the logical cohesion and reasoning quality of agent responses with five-level scoring:

  • NOT_AT_ALL = "Not At All"
  • NOT_GENERALLY = "Not Generally"
  • NEUTRAL_MIXED = "Neutral/Mixed"
  • GENERALLY_YES = "Generally Yes"
  • COMPLETELY_YES = "Completely Yes"

The evaluator is trace_level, which only contains the last prompt and the response.

Related Issues

#101

Documentation PR

TBD

Type of Change

New feature

Testing

How have you tested the change? Verify that the changes do not break functionality or introduce warnings in consuming repositories: agents-docs, agents-tools, agents-cli

  • I ran hatch run prepare

Checklist

  • I have read the CONTRIBUTING document
  • I have added any necessary tests that prove my fix is effective or my feature works
  • I have updated the documentation accordingly
  • I have added an appropriate example to the documentation to outline the feature, or no new docs are needed
  • My changes generate no new warnings
  • Any dependent changes have been merged and published

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@poshinchen poshinchen changed the title (WIP) Added CoherenceEvaluator Added CoherenceEvaluator Feb 9, 2026
@poshinchen poshinchen force-pushed the feat/add-CoherenceEvaluator branch from d247656 to 7a995db Compare February 9, 2026 17:18
@poshinchen poshinchen force-pushed the feat/add-CoherenceEvaluator branch from 7a995db to cbd2097 Compare February 9, 2026 17:35
@poshinchen poshinchen force-pushed the feat/add-CoherenceEvaluator branch from cbd2097 to 9aab139 Compare February 10, 2026 17:58
@poshinchen poshinchen merged commit fc30eb8 into strands-agents:main Feb 10, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants