LangChain Integration

Register one callback. Every tool call is automatically logged to Sigmodx with cryptographic attestation.

← All integrations

Install

pip install sigmodx-integrations

Requires sigmodx ≥ 0.3.0 for the core client.

Quickstart

pip install sigmodx sigmodx-integrations

from sigmodx import SigmodxClient
from sigmodx_integrations import SigmodxCallbackHandler, ANOMALY_DETECTION_CONFIG

client = SigmodxClient(
    api_key="your-api-key",
    agent_id="your-agent-uuid",
)

handler = SigmodxCallbackHandler(
    client=client,
    config=ANOMALY_DETECTION_CONFIG,
)

result = agent_executor.invoke(
    {"input": "Check transaction TXN-2026-4421"},
    config={"callbacks": [handler]},
)

Preset configs: INVOICE_APPROVAL_CONFIG, GL_REVIEW_CONFIG, ANOMALY_DETECTION_CONFIG.

Full documentation

Custom scenario mapping, universal adapter, and framework roadmap are documented in the repository README.

github.com/Sigmodx/integrations-python →