[PR #626] [CLOSED] feat: add AI Agent Governance with Aegis #15307

Closed
opened 2026-07-15 07:17:25 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Shubhamsaboo/awesome-llm-apps/pull/626
Author: @Acacian
Created: 3/22/2026
Status: Closed

Base: mainHead: feat/add-aegis-governance-agent


📝 Commits (1)

  • a744086 feat: add AI Agent Governance with Aegis

📊 Changes

4 files changed (+300 additions, -0 deletions)

View changed files

📝 README.md (+1 -0)
advanced_ai_agents/single_agent_apps/ai_agent_governance_aegis/README.md (+59 -0)
advanced_ai_agents/single_agent_apps/ai_agent_governance_aegis/aegis_governance_app.py (+238 -0)
advanced_ai_agents/single_agent_apps/ai_agent_governance_aegis/requirements.txt (+2 -0)

📄 Description

Summary

  • Adds a Streamlit app demonstrating policy-based governance for AI agent tool calls using Aegis
  • YAML policies control approval gates (auto, approve, block) with risk classification and full audit logging
  • No API keys required — the demo uses a simulated agent executor so reviewers can run it immediately

What is Aegis?

Aegis (pip install agent-aegis) adds governance to AI agents in one line. Define YAML policies that intercept tool calls, classify risk, enforce approval gates, and log every decision. Works with LangChain, CrewAI, OpenAI Agents SDK, Anthropic, and MCP.

Files Added

File Description
advanced_ai_agents/single_agent_apps/ai_agent_governance_aegis/aegis_governance_app.py Streamlit app with 3 agent scenarios and editable YAML policy
advanced_ai_agents/single_agent_apps/ai_agent_governance_aegis/README.md Setup instructions and explanation
advanced_ai_agents/single_agent_apps/ai_agent_governance_aegis/requirements.txt Dependencies (agent-aegis, streamlit)
README.md Added entry under Advanced AI Agents

How to Run

cd advanced_ai_agents/single_agent_apps/ai_agent_governance_aegis
pip install -r requirements.txt
streamlit run aegis_governance_app.py

Test Plan

  • pip install -r requirements.txt installs cleanly
  • streamlit run aegis_governance_app.py launches without errors
  • All three scenarios (CRM, Email, Data) produce correct results
  • Editing the YAML policy changes agent behavior in real time
  • Delete actions are blocked by policy and show in audit trail

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Shubhamsaboo/awesome-llm-apps/pull/626 **Author:** [@Acacian](https://github.com/Acacian) **Created:** 3/22/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `feat/add-aegis-governance-agent` --- ### 📝 Commits (1) - [`a744086`](https://github.com/Shubhamsaboo/awesome-llm-apps/commit/a744086030a6e157d25f43b913eaf43f8fc9cb64) feat: add AI Agent Governance with Aegis ### 📊 Changes **4 files changed** (+300 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+1 -0) ➕ `advanced_ai_agents/single_agent_apps/ai_agent_governance_aegis/README.md` (+59 -0) ➕ `advanced_ai_agents/single_agent_apps/ai_agent_governance_aegis/aegis_governance_app.py` (+238 -0) ➕ `advanced_ai_agents/single_agent_apps/ai_agent_governance_aegis/requirements.txt` (+2 -0) </details> ### 📄 Description ## Summary - Adds a Streamlit app demonstrating **policy-based governance for AI agent tool calls** using [Aegis](https://github.com/Acacian/aegis) - YAML policies control approval gates (auto, approve, block) with risk classification and full audit logging - No API keys required — the demo uses a simulated agent executor so reviewers can run it immediately ## What is Aegis? Aegis (`pip install agent-aegis`) adds governance to AI agents in one line. Define YAML policies that intercept tool calls, classify risk, enforce approval gates, and log every decision. Works with LangChain, CrewAI, OpenAI Agents SDK, Anthropic, and MCP. ## Files Added | File | Description | |------|-------------| | `advanced_ai_agents/single_agent_apps/ai_agent_governance_aegis/aegis_governance_app.py` | Streamlit app with 3 agent scenarios and editable YAML policy | | `advanced_ai_agents/single_agent_apps/ai_agent_governance_aegis/README.md` | Setup instructions and explanation | | `advanced_ai_agents/single_agent_apps/ai_agent_governance_aegis/requirements.txt` | Dependencies (agent-aegis, streamlit) | | `README.md` | Added entry under Advanced AI Agents | ## How to Run ```bash cd advanced_ai_agents/single_agent_apps/ai_agent_governance_aegis pip install -r requirements.txt streamlit run aegis_governance_app.py ``` ## Test Plan - [ ] `pip install -r requirements.txt` installs cleanly - [ ] `streamlit run aegis_governance_app.py` launches without errors - [ ] All three scenarios (CRM, Email, Data) produce correct results - [ ] Editing the YAML policy changes agent behavior in real time - [ ] Delete actions are blocked by policy and show in audit trail --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-07-15 07:17:25 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/awesome-llm-apps#15307