Skip to content

Instantly share code, notes, and snippets.

@shubhamkakkar
Created March 16, 2026 19:22
Show Gist options
  • Select an option

  • Save shubhamkakkar/23ff2aa65e7318426136909ed09fe864 to your computer and use it in GitHub Desktop.

Select an option

Save shubhamkakkar/23ff2aa65e7318426136909ed09fe864 to your computer and use it in GitHub Desktop.
Check Type Description
Streaming Token Monitoring Flag/stop generation if toxic content emerges mid-stream
Agent Action Validation Validate each tool call before execution in agentic flows
Confidence Scoring Pause if model confidence drops below threshold
Loop/Recursion Detection Catch infinite agent loops before they escalate
Budget/Resource Limits Kill long-running LLM chains to prevent runaway costs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment