Security scanner for LangGraph agent workflows — powered by AgentSentinel on SingularityNET
Project description
agentsentinel-langgraph
Security scanner for LangGraph agent workflows.
Powered by AgentSentinel on SingularityNET mainnet.
Install
pip install agentsentinel-langgraph
Quick Start
from langgraph.graph import StateGraph, START, END
from agentsentinel_langgraph import scan_graph, SecureGraph
builder = StateGraph(MyState)
builder.add_node("agent", my_agent_fn)
builder.add_node("tools", tool_node)
builder.add_edge(START, "agent")
# Scan builder before compiling
report = scan_graph(builder)
report.print()
# Or compile then scan + invoke securely
graph = builder.compile(checkpointer=MemorySaver())
secure = SecureGraph(graph, block_on="CRITICAL")
secure.scan()
# Use graph normally after scan
result = graph.invoke({"messages": [HumanMessage(content="hello")]})
What It Checks
- AGT04 — No human-in-the-loop interrupt points (fully autonomous)
- AGT08 — High recursion limit / infinite loop risk
- AGT03 — No checkpointer (cannot audit or rollback)
- AGT02 — Shell/exec nodes in graph
- AGT05 — Credential patterns in config
Links
MIT License — © 2026 NeuralSentinel
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file agentsentinel_langgraph-0.1.0.tar.gz.
File metadata
- Download URL: agentsentinel_langgraph-0.1.0.tar.gz
- Upload date:
- Size: 5.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f1a1cf997da3348cb1ebc0a02985907e6832b7b33fa5fb09512f154cfd400cb1
|
|
| MD5 |
fd3005881ab8589ff52e3038856ab7ed
|
|
| BLAKE2b-256 |
b91844388a278f6b273aa1d7246ab72457d3593d42ebe8d78cbc80c3b2e93264
|
File details
Details for the file agentsentinel_langgraph-0.1.0-py3-none-any.whl.
File metadata
- Download URL: agentsentinel_langgraph-0.1.0-py3-none-any.whl
- Upload date:
- Size: 6.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
824b5ce5be244cf0ce35fde31ed37c02819613ce715f6f1156294fb6d297e1d7
|
|
| MD5 |
e7e38fe234115d3b000e980c487566ca
|
|
| BLAKE2b-256 |
03762d32e6c8bc704249f626599139f141480e16557358919aa6ca97981b803a
|