A simple 3-node LangGraph StateGraph that demonstrates AUGMANITAI term lookup in a structured workflow.
The workflow follows a linear pipeline pattern:
The AugmanitaiState TypedDict tracks:
query: User’s research questionquery_terms: Extracted term names (output of parser)retrieved_terms: Full term records from the database (output of retriever)response: Final formatted response (output of composer)state.py — State TypedDict definitionnodes.py — Node function implementations and mock LLMstategraph_example.py — Graph construction and invocationtest_example.py — Pytest testsrun_example.py — CLI runner for manual testingrequirements.txt — DependenciesInstall dependencies:
pip install -r requirements.txt
Run example:
python run_example.py
Run tests:
pytest test_example.py -v
To extend this example:
SimpleLLM class in nodes.py with a real LLM (e.g., Anthropic’s Claude)AugmanitaiDB.search() for terminology lookupBound by the Ethical Disclaimer §1–§20 (DISCLAIMER.md) and the repository licenses (LICENSE). Contact and provider: IMPRESSUM.md.