Observed since 20 Oct, 22:07 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
Runtime security firewall for LangChain agents — intercepts tool calls, enforces YAML policy, logs to SQLite.
Runtime security firewall for LangChain agents. Intercepts every tool call, checks it against a YAML policy, blocks disallowed calls, and logs everything to SQLite.
pip install agentguard-runtime
1. Write a policy file (policy.yml):
agent: pr-summarizer
rules:
- tool: GitHubTool
allow: [read]
block: [admin, write]
- tool: SlackTool
allow: [write]
- tool: "*"
block: [exec, delete]
2. Add one line to your agent:
from agentguard_runtime import AgentFirewall
agent = initialize_agent(
tools=[GitHubTool, SlackTool, ShellTool()],
llm=llm,
callbacks=[AgentFirewall(policy="policy.yml")]
)
If ShellTool tries to call exec, the agent gets a PolicyViolation and the event is logged.
# Show last 20 audit events
agentguard-runtime logs
# Start dashboard API on port 7070
agentguard-runtime dashboard
| Endpoint | Description |
|---|---|
GET /events | Recent audit events (filterable by ?decision=block&agent=x) |
GET /summary | Allowed vs blocked counts per tool today |
allow list: only these actions are permitted on this toolblock list: these actions are always rejected"*" tool: catch-all wildcard for unmatched toolsEvents are stored at ~/.agentguard/audit.db (SQLite).
id | timestamp | agent | tool | action | input_preview | decision | reason
git clone <repo>
cd agentguard2
pip install -e ".[dev]"
pytest
MIT
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 0.1.0 | 25 May 2026 | 10 |
This describes our collected data; it is not a security assessment.
Shared repository data · GitHub
Observed since 20 Oct, 22:07 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:c6f2836c6f7720aaccb335ba8c71382d348f3be312484fd9ca3d0f0dfd269cb9