Skip to main content
Integrate TealTiger with LangSmith to combine governance decisions with LangChain application monitoring.

Why integrate TealTiger with LangSmith?

LangSmith provides debugging and monitoring for LangChain apps. Adding TealTiger gives you:
  • Governance visibility - See policy decisions in LangSmith traces
  • Debug blocked requests - Understand why agents were stopped
  • Cost tracking - Monitor governance overhead
  • Compliance evidence - Audit trails for LangChain workflows

Quick start

Install both packages:
Configure TealTiger to export to LangSmith:

What gets exported?

TealTiger exports governance data as LangSmith runs:

Decision runs

Cost tracking

Complete example with LangChain

Viewing in LangSmith

TealTiger decisions appear in LangSmith:
  1. Run view - See governance decisions in the run tree
  2. Inputs/Outputs - Policy evaluation details
  3. Metadata - Reason codes, risk scores, policy IDs
  4. Cost tracking - Governance costs alongside LLM costs
  5. Filtering - Filter runs by decision action

Debugging with LangSmith

Use LangSmith to debug policy decisions:

View blocked requests

Filter runs by tealtiger.decision = DENY to see all blocked requests.

Analyze patterns

Group by reason_codes to see common blocking reasons.

Cost analysis

Compare costs before and after adding TealTiger governance.

Best practices

  1. Use project names - Organize by application
  2. Export costs - Track governance overhead
  3. Link runs - Connect TealTiger decisions to LangChain runs
  4. Monitor denials - Create alerts for high denial rates
  5. Debug in LangSmith - Use the UI to understand policy behavior

Next steps

Langfuse integration

Alternative LLM observability

LangChain integration

LangChain governance guide

Audit schema

Learn about audit events

Other integrations

View all integrations