A powerful, production-ready flow-based agent framework for Nim with advanced LLM integration, RAG capabilities, and comprehensive orchestration features.
Main module that re-exports all PocketFlow functionality
Shared context for passing data between nodes in a flow
Node, BatchNode, and ParallelBatchNode implementations
Flow, BatchFlow, and ParallelBatchFlow orchestration
Multi-provider LLM client (OpenAI, Anthropic, Google, Ollama)
Token counting and cost tracking utilities
LRU caching for LLM responses and embeddings
ConditionalNode, LoopNode, TimeoutNode, MapNode
Structured logging, metrics, and tracing spans
State capture, save, load, and restore functionality
Custom exception types for error handling
Performance benchmarking utilities