AutotunedGuardrails tutorial folder.
Prerequisites
Install the dependencies and set your keys:NGROK_AUTHTOKEN), which Vijil uses to create a private HTTPS endpoint to your Agent. Premium users can skip this.
Walkthrough
1
Evaluate the Baseline Agent
Run safety and security harnesses against your unprotected Agent. When the evaluation completes, note its evaluation ID from the logs or from the Vijil Console.
2
Build Guardrails From the Evaluation
Dome.create_from_vijil_evaluation fetches the recommended configuration for that evaluation and returns a ready-to-use Dome:3
Optimize for Latency
Pass a In code, the same argument is available on the factory:
latency_threshold (in seconds) to bias the recommendation toward faster Guards:Troubleshooting
Next Steps
Configure Guardrails
Fine-tune the recommended configuration
Understand Results
Read the evaluation that drives the configuration