Skip to content

Use Examples

Examples show Caracal integrated into concrete applications and automation scripts. Use them after the first tutorials when you want runnable code that matches a specific integration job. All examples live in the dedicated Caracal examples repository; clone it once and every guide below runs from that checkout:

Terminal window
git clone https://github.com/Garudex-Labs/examples.git caracal-examples
  • Complete First Protected Call and know whether you are integrating an application or a resource server.
  • Use an isolated development zone and synthetic credentials.
  • Run the example’s offline tests before connecting it to a live runtime.
GoalStart hereCode path
Need a local protected target for the first Gateway call.Run Echo UpstreamechoUpstream
Want to automate zone setup from a script or pipeline through the Control API.Bootstrap Control StatecontrolBootstrap
Need to prove a provider-backed resource is ready.Check Provider ReadinessproviderPreflight
Need to turn a denial into a safe policy fix.Iterate Policy SafelypolicyIterate
Want to launch a plain CLI agent with injected provider credentials.Launch Research AgentResearchAgent
Want a full app reference lab with agents, providers, Gateway, STS, and Console inspection.Run Lynx CapitallynxCapital
  1. Start with Run Echo Upstream if you have not completed a Gateway-mediated request yet.
  2. Use Bootstrap Control State when automation should own zone setup instead of manual Console clicks.
  3. Run Check Provider Readiness before the first real provider-backed Gateway call.
  4. Use Iterate Policy Safely when an audit denial needs to become a tested policy change.
  5. Try Launch Research Agent to see caracal run inject provider-native credentials into an existing-style CLI process.
  6. Study Run Lynx Capital when you need a full app topology and live Console inspection path.
  • Start Caracal through the released runtime and Console path described by the example.
  • Use the web console for zones, applications, providers, resources, policies, control keys, and launch bindings.
  • Keep example fixtures inside their own example directory in the examples repository.
  • Run each example’s offline tests before adapting it.
  • Do not commit provider secrets, admin tokens, or real third-party credentials.

Expected result: each example proves one job and leaves a request ID, test output, or drift report. Examples are not production libraries and must be adapted with your own identity, secret, retry, timeout, and deployment controls.

Choose one row in Choose an example; do not run the full reference lab when a smaller example proves the required boundary.