Skip to content

Guides

Use Guides after Get Started when you have a concrete integration job. These pages teach complete application-integrator and resource-server workflows; package and API pages remain the source for signatures and wire fields.

  • Application integrators start with an SDK guide, then route outbound calls through Gateway or caracal run.
  • Resource-server integrators start with Gateway routing or the adapter matching their server framework.
  • Platform integrators use the modeling, resource/provider, policy, testing, and audit workflows before production traffic.
TaskStart with
Map your architecture onto CaracalModel Your Application in Caracal
Serve many of your own customers from one deploymentServe Your Own Customers
Define protected targets and upstream credentialsDefine Resources and Providers and Provider Recipes
Write and activate authorization logicAuthor Policy Data and Activate a Policy Set
Debug an authorization resultDebug Authorization Decisions
Add Caracal to app codeTypeScript SDK, Python SDK, or Go SDK
Run an existing process with Caracal tokensRun an Agent with caracal run
Protect a Gateway-routed HTTP upstreamProtect a Gateway-Routed HTTP API
Protect a resource server in processExpress, FastAPI, FastMCP, Go net/http, or MCP server
Add Delegation, audit export, or ApprovalDelegation, Audit Stream, or Human Approval
Notify approvers when a hold is raisedApproval Notifications
Make retries safe for side-effecting actionsSafe Retries and Idempotency
Test an integration without a live stackTest Caracal Integrations
Govern LangChain, LangGraph, or CrewAIGovern Agent Frameworks
Plan a production integrationProduction Integration Patterns
flowchart LR
  Model["Model app"]
  Resource["Define resources and providers"]
  Policy["Author policy"]
  Activate["Activate policy"]
  App["Integrate app"]
  Protect["Protect boundary"]
  Debug["Trace and debug"]

  Model --> Resource --> Policy --> Activate --> App --> Protect --> Debug

Use the right surface for each task:

SurfaceUse for
caracal up, down, status, upgrade, purge, allowlist, and runLocal runtime lifecycle, Console sign-in admission, and subprocess injection.
ConsoleHuman-facing zone, application, provider, resource, policy, session, audit, explanation, delegation, and diagnostic workflows.
Admin API and @caracalai/adminAutomation for the same control-plane objects.
SDKs and adaptersApplication integration, context propagation, mandate exchange, and mandate verification.

You need a running Caracal runtime, a zone, an application, at least one resource, and an active policy set. First Protected Call creates that baseline.

After following one path through the table, an allowed call reaches exactly one protected resource, a denied call fails before protected work runs, and both outcomes can be found by request ID in Audit.

Choose the first unfinished job in Choose by Task. For a new integration, start with Model Your Application in Caracal.