Skip to content

Conversation

@terraboops
Copy link
Owner

Add optional integration with LangSmith to trace Claude Agent SDK calls.
This allows users to monitor and debug navigator queries in LangSmith.

Changes:

  • Add langsmith as optional peer dependency
  • Implement lazy initialization of LangSmith tracing
  • Wrap query execution with traceable when LANGSMITH_TRACING=true
  • Add environment variable support: LANGSMITH_TRACING, LANGSMITH_API_KEY, LANGSMITH_PROJECT
  • Update README with LangSmith setup instructions

The integration is completely optional - Autonav works normally without it.
When enabled, traces capture conversation history, tool calls, model parameters,
and response validation.

Add optional integration with LangSmith to trace Claude Agent SDK calls.
This allows users to monitor and debug navigator queries in LangSmith.

Changes:
- Add langsmith as optional peer dependency
- Implement lazy initialization of LangSmith tracing
- Wrap query execution with traceable when LANGSMITH_TRACING=true
- Add environment variable support: LANGSMITH_TRACING, LANGSMITH_API_KEY, LANGSMITH_PROJECT
- Update README with LangSmith setup instructions

The integration is completely optional - Autonav works normally without it.
When enabled, traces capture conversation history, tool calls, model parameters,
and response validation.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants