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: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:- Run view - See governance decisions in the run tree
- Inputs/Outputs - Policy evaluation details
- Metadata - Reason codes, risk scores, policy IDs
- Cost tracking - Governance costs alongside LLM costs
- Filtering - Filter runs by decision action
Debugging with LangSmith
Use LangSmith to debug policy decisions:View blocked requests
Filter runs bytealtiger.decision = DENY to see all blocked requests.
Analyze patterns
Group byreason_codes to see common blocking reasons.
Cost analysis
Compare costs before and after adding TealTiger governance.Best practices
- Use project names - Organize by application
- Export costs - Track governance overhead
- Link runs - Connect TealTiger decisions to LangChain runs
- Monitor denials - Create alerts for high denial rates
- 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

