[PR #630] [CLOSED] feat: add OpenAI-powered CRM agent with YAML policy governance #7624

Closed
opened 2026-06-03 21:46:00 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

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

Base: mainHead: feat/ai-agent-governance-aegis-v2


📝 Commits (1)

  • 87779a3 feat: add OpenAI-powered CRM agent with YAML policy governance

📊 Changes

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

View changed files

📝 README.md (+1 -0)
advanced_ai_agents/single_agent_apps/ai_agent_governance_aegis/README.md (+90 -0)
advanced_ai_agents/single_agent_apps/ai_agent_governance_aegis/aegis_governance_app.py (+507 -0)
advanced_ai_agents/single_agent_apps/ai_agent_governance_aegis/requirements.txt (+4 -0)

📄 Description

Summary

  • Streamlit app where GPT-4o-mini autonomously selects and calls CRM tools via OpenAI function calling
  • Every tool call is evaluated against editable YAML policy rules (using agent-aegis) before execution
  • Blocked actions feed governance feedback back to the LLM, which suggests safer alternatives
  • Rework of #626 — addresses feedback from @awesomekoder: the app now makes real OpenAI API calls every turn

Note: The existing ai_agent_governance tutorial builds a policy engine from scratch. This tutorial takes a different approach — it uses a library (agent-aegis) to add governance to an OpenAI agent in a few lines, focusing on the CRM domain with a chat UI and live policy editing.

How it works

  1. User enters a natural language request (e.g., "Delete all inactive customers")
  2. GPT-4o-mini decides which tools to call via function calling (real API calls)
  3. agent-aegis evaluates each tool call against YAML policy rules
  4. Allowed → execute and feed result back to LLM | Blocked → LLM suggests alternative
  5. Governance log + audit trail displayed in side panel

🔄 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/630 **Author:** [@Acacian](https://github.com/Acacian) **Created:** 3/23/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `feat/ai-agent-governance-aegis-v2` --- ### 📝 Commits (1) - [`87779a3`](https://github.com/Shubhamsaboo/awesome-llm-apps/commit/87779a3379c2e0335fc0c46b4fd47f9c8154b5ac) feat: add OpenAI-powered CRM agent with YAML policy governance ### 📊 Changes **4 files changed** (+602 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` (+90 -0) ➕ `advanced_ai_agents/single_agent_apps/ai_agent_governance_aegis/aegis_governance_app.py` (+507 -0) ➕ `advanced_ai_agents/single_agent_apps/ai_agent_governance_aegis/requirements.txt` (+4 -0) </details> ### 📄 Description ## Summary - Streamlit app where GPT-4o-mini autonomously selects and calls CRM tools via OpenAI function calling - Every tool call is evaluated against editable YAML policy rules (using agent-aegis) before execution - Blocked actions feed governance feedback back to the LLM, which suggests safer alternatives - Rework of #626 — addresses feedback from @awesomekoder: the app now makes real OpenAI API calls every turn **Note:** The existing `ai_agent_governance` tutorial builds a policy engine from scratch. This tutorial takes a different approach — it uses a library ([agent-aegis](https://github.com/Acacian/aegis)) to add governance to an OpenAI agent in a few lines, focusing on the CRM domain with a chat UI and live policy editing. ## How it works 1. User enters a natural language request (e.g., "Delete all inactive customers") 2. GPT-4o-mini decides which tools to call via function calling (real API calls) 3. agent-aegis evaluates each tool call against YAML policy rules 4. Allowed → execute and feed result back to LLM | Blocked → LLM suggests alternative 5. Governance log + audit trail displayed in side panel --- <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-06-03 21:46:01 -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#7624