-
Notifications
You must be signed in to change notification settings - Fork 0
oscal agent guardrails.stub
Nicolas Cravino edited this page Apr 15, 2026
·
3 revisions
id: oscal-agent-guardrails name: OSCAL Agent Guardrails repo_path: ~/Documents/sw30labs/repos/oscal-agent-guardrails remote_url: https://github.com/sw30labs/oscal-agent-guardrails.git primary_language: Python framework: LangGraph ingested: 2026-04-11 last_commit_date: 2026-04-11 category: oscal-compliance stacks: [oscal, agentic, langgraph, compliance]
Uses OSCAL profiles as a policy brain to guardrail LLM agents at runtime. The system implements a three-stage workflow where a planner LLM proposes tool calls, a policy enforcer consults the OSCAL profile to allow/deny/request approval for each tool, and a responder LLM explains the outcome to the user.
LangGraph sequential workflow with 3 nodes:
- Planner LLM — proposes tool calls based on user request
- Policy Enforcer — OSCAL engine that checks proposed tool against loaded JSON profile
- Responder LLM — explains allow/deny/approval_needed decision
Policy loaded from JSON profile. Implements a whitelist pattern — unknown tools are denied by default.
- langgraph
- langchain
- langchain-openai
- pydantic
- python-dotenv
GitHub Actions ci.yml
python langgraph langchain oscal nist security compliance