Tork

Feature

Framework Integrations

One governance layer for all your AI. Native adapters for LangChain, CrewAI, AutoGen, OpenAI, and more. Write policies once, enforce everywhere.

Supported Frameworks

LangChain

Native Adapter

Wrap chains, agents, and tools

CrewAI

Native Adapter

Govern crew and agent interactions

AutoGen

Native Adapter

Multi-agent conversation governance

OpenAI

Native Adapter

Direct API integration

Anthropic

Native Adapter

Claude API support

MCP

Protocol Support

Model Context Protocol servers

LlamaIndex

Compatible

RAG pipeline governance

Hugging Face

Compatible

Transformers integration

FastAPI

Middleware

HTTP middleware for any API

AWS Bedrock

Compatible

Bedrock model governance

Mistral

Compatible

Mistral API support

Custom

SDK

Build your own integration

Integration Examples

LangChain

from tork.adapters import LangChainAdapter
from langchain.chains import LLMChain

adapter = LangChainAdapter("policy.yaml")

# Wrap any chain
chain = LLMChain(llm=llm, prompt=prompt)
governed_chain = adapter.wrap(chain)

# Use normally - governance is automatic
result = governed_chain.run("User input here")

CrewAI

from tork.adapters import CrewAIAdapter
from crewai import Crew, Agent

adapter = CrewAIAdapter("policy.yaml")

# Wrap entire crew
crew = Crew(agents=[agent1, agent2], tasks=[task1])
governed_crew = adapter.wrap(crew)

# Agent communications are governed
result = governed_crew.kickoff()

OpenAI Direct

from tork.adapters import OpenAIAdapter
from openai import OpenAI

adapter = OpenAIAdapter("policy.yaml")
client = OpenAI()

# Wrap the client
governed_client = adapter.wrap(client)

# All completions are governed
response = governed_client.chat.completions.create(
    model="gpt-4",
    messages=[{"role": "user", "content": "Hello"}]
)

Why Framework Agnostic?

Write Once, Govern Everywhere

Same policy.yaml works across all frameworks. No rewriting rules when you switch.

Consistent Compliance

Whether using LangChain in prod or testing with raw OpenAI calls, same governance applies.

Easy Migration

Move from one framework to another without rebuilding your compliance layer.

Multi-Framework Support

Running CrewAI for agents and LangChain for RAG? One Tork instance governs both.

Future-Proof

New framework released? Our SDK lets you add governance in hours, not weeks.

Integrate in Minutes

Add governance to your existing AI stack today.

Start Free Trial View on GitHub