Metadata-Version: 2.4
Name: langchain-agentlock
Version: 0.1.0
Summary: AgentLock authorization middleware for LangChain tool calls.
Author: AgentLock contributors
License: Apache-2.0
Project-URL: Homepage, https://agentlock.dev
Project-URL: Source, https://github.com/webpro255/langchain-agentlock
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Python: >=3.9
Description-Content-Type: text/markdown
Requires-Dist: agentlock>=1.2.1
Requires-Dist: langchain-core>=0.3
Provides-Extra: dev
Requires-Dist: pytest>=7; extra == "dev"
Requires-Dist: pytest-asyncio>=0.23; extra == "dev"
Requires-Dist: ruff>=0.5; extra == "dev"

# 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.
