diff --git a/README.md b/README.md index 87c8a0c..20c752d 100644 --- a/README.md +++ b/README.md @@ -60,6 +60,9 @@ guard = CapiscioGuard(mode="log") # Log only `CapiscioGuard` is a LangChain `Runnable` — compose it with any chain or agent via the `|` operator: +> **Note**: The example below uses [LangGraph](https://langchain-ai.github.io/langgraph/). +> Install it separately: `pip install langgraph` + ```python from langchain_capiscio import CapiscioGuard from langgraph.prebuilt import create_react_agent @@ -249,7 +252,7 @@ set_capiscio_context(CapiscioRequestContext( ### Tool Enforcement -- `CapiscioTool(tool, mode, identity, api_key)` — Wrap a LangChain `Tool` with trust enforcement +- `CapiscioTool(tool, *, identity=None, config=None, mode="block", api_key=None)` — Wrap a LangChain `Tool` with trust enforcement - `verify_badge` — `@tool`-decorated function for agent-driven badge verification - `resolve_agent_card` — `@tool`-decorated function for agent card resolution @@ -292,4 +295,4 @@ Apache License 2.0 ## Contributing -See [CONTRIBUTING.md](CONTRIBUTING.md) for guidelines. +Contributions welcome! Please open an issue or pull request on [GitHub](https://github.com/capiscio/langchain-capiscio). diff --git a/pyproject.toml b/pyproject.toml index dca613f..d359499 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -28,12 +28,13 @@ classifiers = [ dependencies = [ "capiscio-sdk>=2.6.0", "langchain-core>=0.3", + "pydantic>=2.0", ] [project.urls] Homepage = "https://capisc.io" Repository = "https://github.com/capiscio/langchain-capiscio" -Documentation = "https://docs.capisc.io/integrations/langchain" +Documentation = "https://docs.capisc.io/how-to/integrations/langchain/" Issues = "https://github.com/capiscio/langchain-capiscio/issues" [tool.hatch.build.targets.wheel]