> ## Documentation Index
> Fetch the complete documentation index at: https://docs.rotascale.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Integrations overview

> Four ways to get an agent's work under governance, eleven runtimes with a one-line adapter, and the rule for choosing between them.

RotaGrant governs the **action**, not the framework. You keep whatever
orchestration you already chose; these adapters exist so you do not write the
same wiring twice.

## Four ways in

They differ in one thing that matters more than convenience: whether the check
is *on the causal path* or beside it.

> [card] [SDK](https://docs.rotascale.com/sdk/python.md)
>
> A few lines. You decide where authority is asked for, which means you can
> also decide not to — enforcement here is cooperative.

> [card] [Middleware](https://docs.rotascale.com/sdk/middleware.md)
>
> One line per runtime. Captures what your framework was already doing, so
> the trajectory fills in without hand-instrumenting each call.

> [card] [MCP proxy](https://docs.rotascale.com/sdk/mcp-proxy.md)
>
> Zero code in the agent. It sits **between** the decision and the tool call,
> so an agent cannot route around a check it never makes.

> [card] [OpenTelemetry](https://docs.rotascale.com/guides/capture-with-otel.md)
>
> Nothing deployed alongside the agent. Point a collector at the receiver and
> existing spans become governed records.

> [!NOTE]
>
> **Capture and enforcement are different questions.** Middleware and OTel
> capture what happened. Only the proxy — and a resource verifying a capability
> token — can refuse an action the agent did not ask permission for. Choosing an
> adapter is choosing how much you record; choosing the proxy is choosing what
> can be stopped.

## Supported runtimes

> [card] [OpenAI](https://docs.rotascale.com/integrations/openai.md)
>
> `watch_openai`

> [card] [Anthropic](https://docs.rotascale.com/integrations/anthropic.md)
>
> `watch_anthropic`

> [card] [Google Gemini](https://docs.rotascale.com/integrations/gemini.md)
>
> `watch_gemini`

> [card] [AWS Bedrock](https://docs.rotascale.com/integrations/bedrock.md)
>
> `watch_bedrock`

> [card] [LangChain](https://docs.rotascale.com/integrations/langchain.md)
>
> `watch_langchain`

> [card] [LangGraph](https://docs.rotascale.com/integrations/langgraph.md)
>
> `watch_langgraph`

> [card] [Google ADK](https://docs.rotascale.com/integrations/adk.md)
>
> `watch_adk`

> [card] [CrewAI](https://docs.rotascale.com/integrations/crewai.md)
>
> `watch_crew`

> [card] [AWS Strands](https://docs.rotascale.com/integrations/strands.md)
>
> `watch_strands`

> [card] [AutoGen](https://docs.rotascale.com/integrations/autogen.md)
>
> `watch_autogen`

> [card] [MCP](https://docs.rotascale.com/integrations/mcp.md)
>
> `watch_mcp`

## Function reference

Everything below is exported from `rotascale.middleware`.

| Function | Wraps | Runtime |
| - | - | - |
| `watch_openai` | `chat.completions.create` | OpenAI |
| `watch_anthropic` | `messages.create` | Anthropic |
| `watch_gemini` | `generate_content` | Google Gemini |
| `watch_bedrock` | `converse` and `invoke_model` | AWS Bedrock |
| `watch_langchain` | the callback interface | LangChain |
| `watch_langgraph` | the graph callback interface | LangGraph |
| `watch_adk` | an ADK agent, in place | Google ADK |
| `watch_crew` | a `Crew` | CrewAI |
| `watch_strands` | a Strands agent | AWS Strands |
| `watch_autogen` | a `GroupChat` | AutoGen |
| `watch_mcp` | an MCP client session | MCP |

## What they all do, and what none of them do

Every adapter **records steps**: model calls, tool calls, retrievals and
delegations, written onto the open trajectory with taint propagated.

None of them asks for authority. That stays an explicit call, because a
middleware that silently authorised would make an import into a spend decision:

```python theme={"system"}
with client.witness(agent) as trajectory:
    trajectory.authorize(GRANT, {{"tools": ["issue_refund"]}}, amount_minor=4_500)
    issue_refund(...)
```

Capture **fails open** and enforcement **fails closed**. Losing a record must
never stop the work; losing a decision must never let it through.

## Content capture

Every adapter takes `capture_content=False`, which records shape and metadata —
model, latency, token counts, tool names — and not the text.

Use it where the prompt or the response is the sensitive part. The governance
record is just as complete: what an agent *did* is the governed fact, and the
words it used to do it are usually the part you are least able to store.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.