Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Comment on lines 253 to +255
- `verify_badge` — `@tool`-decorated function for agent-driven badge verification
- `resolve_agent_card` — `@tool`-decorated function for agent card resolution

Expand Down Expand Up @@ -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).
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
Loading