Skip to main content

AgentLock authorization middleware for LangChain tool calls.

Project description

langchain-agentlock

AgentLock authorization middleware for LangChain tool calls.

Three integration surfaces:

  1. AgentLockToolkit wraps existing BaseTool instances.
  2. @authorized_tool decorator builds authorized tools from functions.
  3. AgentLockCallbackHandler provides audit and enforce modes via LangChain callbacks.

Apache 2.0.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

langchain_agentlock-0.1.0.tar.gz (11.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

langchain_agentlock-0.1.0-py3-none-any.whl (11.1 kB view details)

Uploaded Python 3

File details

Details for the file langchain_agentlock-0.1.0.tar.gz.

File metadata

  • Download URL: langchain_agentlock-0.1.0.tar.gz
  • Upload date:
  • Size: 11.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for langchain_agentlock-0.1.0.tar.gz
Algorithm Hash digest
SHA256 46995d79fc1d0d443d46a2135d485477c5aa271f318432c8f3a6882124e27b61
MD5 94e9ffed71cab697a1381fe562845f62
BLAKE2b-256 2d0bfe70870b604ff20c63028176d5cf722513d442a4839d5cb062046b356ae2

See more details on using hashes here.

File details

Details for the file langchain_agentlock-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for langchain_agentlock-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5d51dee2ecd7e063ab6bd1a676b913818e3947ef6061f7f5520cae278ee1d4a2
MD5 0588d0b9ae52846daee1661f5711b4db
BLAKE2b-256 c926146c24236d5a00f9d4d31f596307b5e7cce77de48a4d5688e1c45f31f747

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page