Book 5 · Lesson 5.7
LangGraph-style agent and tools
- Walk parse → score → stamp pipeline
- Contrast heuristic vs OPENAI_API_KEY scoring
- Read enrichment_notes on output event
Prerequisites: 5.6
Pipeline: parse → score → stamp → publish JSON
graph.py — sequential nodes (LangGraph-style without external dependency for default path).
Heuristic keywords in enrich.py: POSITIVE / NEGATIVE / RISK word lists.
Teach-back prompt
When would you add a fourth node for Jira tool calls?
Enrichment graph trace
Lab complete — nice work.