GroqAgents tutorial folder.
Prerequisites
NGROK_AUTHTOKEN).
Walkthrough
1
Build the Agent
The base Agent calls Groq’s OpenAI-compatible endpoint and uses Tavily for web search:
2
Add Dome Protection
Wrap the Agent so inputs and outputs pass through Dome. Guard the input first, short-circuit if it is flagged, then guard the model output:
3
Evaluate Both Versions
Register each Agent with the Vijil SDK and run the Compare the two Trust Scores to see how much Dome improves the Agent’s security posture.
security harness. See the Evaluate SDK guide for the full evaluation flow. The tutorial script runs the unprotected Agent by default and the protected Agent with a flag:Troubleshooting
Ngrok antivirus warnings
Ngrok antivirus warnings
Ngrok is safe; traffic reaching your Agent comes only from Vijil’s systems.
Rate limiting
Rate limiting
If you hit rate limits, lower the request frequency or upgrade your Groq and Tavily accounts.
Next Steps
Autotuned Guardrails
Generate a configuration from the evaluation
Protection Overview
How Dome guards inputs and outputs