Initial Release
Core Features
StreamParser for parsing LangGraph stream outputs into typed events
- Typed event classes:
ContentEvent, ToolCallStartEvent, ToolCallEndEvent, ToolExtractedEvent, InterruptEvent, StateUpdateEvent, CompleteEvent, ErrorEvent
- Tool lifecycle tracking (start → end)
- Extensible extractor system with built-in
ThinkToolExtractor and TodoExtractor
- Interrupt handling with
create_resume_input() and prepare_agent_input()
- Async support via
aparse()
- Legacy dict-based API for backward compatibility
Display Adapters
BaseAdapter abstract class for building custom display adapters
PrintAdapter for plain text output in any Python environment
CLIAdapter for styled terminal output with ANSI colors and spinner animation
JupyterDisplay for rich notebook display with live updates
- Configurable
reflection_types and todo_types for custom tool rendering
Installation
pip install langgraph-stream-parser
# With Jupyter support
pip install langgraph-stream-parser[jupyter]