-
Notifications
You must be signed in to change notification settings - Fork 0
LangChain
Integration pattern:
- wrap tools with Coherence Ops governance
- capture spans/telemetry via callback handler
- stamp episodes automatically
Goal: Every tool/action call becomes budgeted, TTL-gated, verifiable, sealable.
The GovernanceCallbackHandler enforces DTE constraints mid-chain. It intercepts on_llm_start, on_tool_start, and on_tool_end callbacks to check budget, TTL, scope, and model allowlists before execution proceeds.
Three violation modes:
-
raise -- abort with
DTEViolationError - log -- emit a warning and continue
- degrade -- trigger the Degrade Ladder for a safer fallback
Composes cleanly with ExhaustCallbackHandler -- pass both in the callback list.
See LangChain Governance for full API reference, configuration, and comparison with the LangGraph DTETracker.
The langchain-deepsigma pip package repackages the enterprise adapters into a standalone distribution with optional AgentSession integration. Install with pip install langchain-deepsigma.
Exports: ExhaustCallbackHandler, GovernanceCallbackHandler, DTEViolationError, LangGraphExhaustTracker, LangGraphConnector.
See SDK Packages for full usage docs.
Σ OVERWATCH — Coherence Ops Platform • Current release: v2.1.0 • DeepSigma
- Start
- Core
- Schemas
- FEEDS + Exhaust
- Integrations
- Reference Layer
- Ops
- Excel-First
- EDGE + ABP
- Domain Modes
- Governance
- Meta