Raw Ticket
The input remains a messy operational object: text, priority, component, environment, and user signal.
Context TriageFinance Demo
A review pipeline where parser, quality inspector and knowledge matcher collaborate through structured state.

Clickable pattern simulator
This simulator does not replace the CLI run, but it makes each step, state, log, gate and final output visible in the browser.
The input remains a messy operational object: text, priority, component, environment, and user signal.
Context TriageThe parser converts prose into structured JSON so the rest of the graph can reason on fields.
Tool DispatchThe quality role checks reproduction steps, environment, expected behavior, and evidence completeness.
Adversarial ReviewThe knowledge role searches related tickets and detects duplicates or known incidents.
RAG PipelineParallel findings are gathered into one decision state with score, risks, and routing reason.
Fan-out/GatherWeak, duplicate, or high-priority cases are escalated instead of auto-closed.
Approval Gate
| Pattern | Design role |
|---|---|
| Handoff Chain | Each agent owns one responsibility and passes a structured report. |
| Fan-out/Gather | Quality and knowledge checks can run in parallel and merge later. |
| Adversarial Review | A second role challenges ticket completeness and priority claims. |
| RAG Pipeline | Historical ticket knowledge is retrieved as evidence, not guessed. |
| Approval Gate | Risk tier determines auto-pass, revision, or human review. |
Do not add agents first; decide whether work should be sequential, parallel, or review-gated.
The key collaboration surface is structured state, not free-form conversation.
The system is useful because it decides what can move and what needs attention.
cd workshops/workshop2-ticket-review
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
cd src
python main.py
# optional visual walkthrough
open ../visual/index.htmlworkshops/workshop2-ticket-review/README.mdimages/training/visual/workshop2-pattern-blueprint.png