[H-5747] Set up dev harness for Agentic Workflows #8151
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 is the purpose of this PR?
Initial implementation of Mastra-based Named Entity Recognition (NER)
system, establishing foundation for migrating AI inference capabilities
from hash-ai-worker-ts to structured Mastra architecture.
🔗 Related links
apps/hash-ai-agent/docs/mastra-migration-plan.md
🔍 What does this change?
(src/mastra/types/entities.ts)
(src/mastra/shared/)
OpenRouter
Pre-Merge Checklist 🚀
🚢 Has this modified a publishable library?
not need publishing
📜 Does this require a change to the docs?
🕸️ Does this require a change to the Turbo Graph?
None. This is Phase 1 foundation only - does not yet include claims
extraction or full entity proposal pipeline.
🐾 Next steps
Phase 2: Implement claims-based extraction (claim extraction agent →
entity proposal agent → three-step workflow). See docs/NEXT_STEPS.md.
🛡 What tests cover this?
❓ How to test this?
src/mastra/evals/test-entity-extraction.ts