Tutorials
In Get Started your agent made one protected call to an LLM provider and you proved the full enforcement path. Tutorials make that setup yours. Working through them in order, you will:
- Protect a real API - put Caracal in front of an HTTP service you actually run, and prove Caracal denies what policy does not allow.
- Make your runs identifiable - label the calls your code makes, so you can tell one agent’s work from another’s in the audit trail.
- Debug on your own - follow any request through the decision trail and answer “why was this allowed or denied?” without guessing.
- Choose your production path - pick the one integration guide that matches how you will deploy for real.
Each tutorial builds on the previous one and tells you what to expect after every step. None of them repeats installation or first-call setup.
Tutorial Path
Section titled “Tutorial Path”flowchart LR API[Protect a real API] SDK[Make runs identifiable] Trace[Debug a request] Path[Choose production path] API --> SDK --> Trace --> Path
| You will be able to… | Tutorial |
|---|---|
| Put Caracal in front of one HTTP service you own, and prove both the allow and the deny. | Protect Your First Real API |
| Tell your agents’ runs apart in the audit trail using labels. | Make Runs Identifiable with Labels |
| Explain any request’s outcome from its decision trace. | Trace One Protected Request |
| Commit to one production integration boundary. | Choose Your Production Integration Path |
Before You Begin
Section titled “Before You Begin”You need the working setup from Get Started:
- a running stack - if you cleaned up earlier, run
caracal upand wait forcaracal status --ready; - your zone, the Anton application, and its active policy;
- the working SDK example and
caracal.tomlprofile from Add SDK to Your App.
After Tutorials
Section titled “After Tutorials”Use Guides for task-specific implementation details, SDKs for package APIs, and Concepts when you need the reference model behind policy, delegation, revocation, or audit.

