Skip to main content
Open on GitHub

Permit

Permit.io offers fine-grained access control and policy enforcement. With LangChain, you can integrate Permit checks to ensure only authorized users can access or retrieve data in your LLM applications.

Installation and Setupโ€‹

pip install langchain-permit
pip install permit

Set environment variables for your Permit PDP and credentials:

export PERMIT_API_KEY="your_permit_api_key"
export PERMIT_PDP_URL="http://localhost:7766" # or your real PDP endpoint

Make sure your PDP is running and configured. See Permit Docs for policy setup.

Toolsโ€‹

See detail on available tools here.

Retrieversโ€‹

See detail on available retrievers here.


Was this page helpful?