Guides

How-to guides for common UndoLog workflows.

Guide What it covers
Annotating tools Using @undolog_tool to mark effects, configure tiers, and register compensations
Integrating with LangGraph Wiring UndoLogSession into a LangGraph agent graph
Integrating with CrewAI Protecting CrewAI crews with three-tier safety and approval polling
Integrating with Semantic Kernel Wrapping Semantic Kernel plugin functions with UndoLog
Integrating with LlamaIndex Running LlamaIndex tools inside UndoLog sessions with approval gating
Migrating session injection Moving from explicit _session threading to run_with_session
Writing compensations Best practices for idempotent, safe compensation handlers
Writing proxy plugins Authoring custom request interceptors, failure policies, and chain ordering
Configuring approval gates Setting up manual or automated approval steps before high-risk effects
Deploying with Docker Running the full stack with Docker Compose
Helm installation Deploying on Kubernetes with the Helm chart
OpenTelemetry setup Configuring distributed tracing with OTLP and Grafana
Running in production Advisory lock tuning, connection pooling, partition management
PostgreSQL High Availability WAL streaming, read replicas, health checks, and connection pooling for production deployments
Capacity planning Pool sizing, replica scaling, retention and partition levers, and storage forecasting