System Diagnostics
Diagnostics & Monitoring
Monitor agent workflows, execution traces, and system performance
Total Executions
5
All time agent runs
Completed
4
Successful runs
Failed
0
Error count
Avg Duration
49.3s
Average runtime
Project: pr-back-cenotaph-25
Last 7 days of traces
Features
• Execution traces
• Token usage
• Latency metrics
Debugging
• Input/output logs
• Error tracking
• State snapshots
Analytics
• Performance charts
• Cost analysis
• Run comparisons
Monitoring
• Real-time traces
• Alert triggers
• Usage reports
LangSmith is automatically enabled for all agent executions. Traces are uploaded in real-time during execution.
Research Agent Workflow
Iterative LangGraph state machine for HOA discovery with target-based completion
1
parse
Parse Input
2
search
Search
3
extract
Extract
4
check
?
Check Target
Target not reached
5
refine
Refine Query
Loop back to Search
Target reached ✓
6
save
Save & Complete
END
1
Parse Input
Parse input criteria and build initial search query from target persona
2
Search
Search for HOAs using Tavily API with advanced web search
3
Extract
Use Claude AI to extract structured HOA data from search results
4
Check Target
Evaluate if target HOA count is reached or max iterations exceeded
5
Refine Query
Use AI to refine search query and try different variations
6
Save & Complete
Persist all extracted HOA records and finalize execution
Iterative Search Loop
The agent continues searching and refining until it reaches the target HOA count or maximum iterations:
- • Target HOA Count: User-specified goal (default: 10)
- • Max Iterations: Automatically calculated (min 5, or target/2)
- • AI Refinement: Claude adjusts search queries between iterations
- • Cumulative Progress: HOAs are saved incrementally across iterations
State Channels
personaId
campaignId
targetCriteria
targetHoaCount
searchQuery
searchResults
extractedHoas
searchIteration
savedHoaIds
messages
currentStep
● New iteration-related state channels
AI Models
Primary Model:Claude Sonnet 4.5
Temperature:0
Provider:Anthropic
Search Integration
Search Provider:Tavily API
Search Depth:Advanced
Max Results:10 per query