Research graph diagram

This commit is contained in:
Yiorgis Gozadinos 2025-09-19 16:28:03 +03:00
parent 42fe2201af
commit 9daf14fd42
No known key found for this signature in database
3 changed files with 18 additions and 12 deletions

View file

@ -20,13 +20,3 @@ repos:
rev: v1.1.399
hooks:
- id: pyright
- repo: https://github.com/RodrigoGonzalez/check-mkdocs
rev: v1.2.0
hooks:
- id: check-mkdocs
name: check-mkdocs
args: ["--config", "mkdocs.yml"] # Optional, mkdocs.yml is the default
# If you have additional plugins or libraries that are not included in
# check-mkdocs, add them here
additional_dependencies: ["mkdocs-material"]

View file

@ -38,7 +38,19 @@ print(answer)
### Research Graph
The research workflow is now implemented as a typed pydanticgraph. It plans, searches (in parallel batches), evaluates, and synthesizes into a final report — with clear stop conditions and shared state.
The research workflow is implemented as a typed pydanticgraph. It plans, searches (in parallel batches), evaluates, and synthesizes into a final report — with clear stop conditions and shared state.
```mermaid
---
title: Research graph
---
stateDiagram-v2
PlanNode --> SearchDispatchNode
SearchDispatchNode --> EvaluateNode
EvaluateNode --> SearchDispatchNode
EvaluateNode --> SynthesizeNode
SynthesizeNode --> [*]
```
Key nodes:

View file

@ -76,4 +76,8 @@ markdown_extensions:
use_pygments: true
- pymdownx.inlinehilite
- pymdownx.snippets
- pymdownx.superfences
- pymdownx.superfences:
custom_fences:
- name: mermaid
class: mermaid
format: !!python/name:pymdownx.superfences.fence_code_format