This repository contains prototypes for AgentIQ, a next-generation framework focused on ensuring transparency, explainability, and auditability in agentic AI systems. The apps are built using Streamlit and demonstrate features such as agent action simulation, logging, explanations, audit dashboards, and human-in-the-loop feedback.
-
traceagent_app:
The main prototype app. Provides navigation for simulating agent actions, viewing logs, generating explanations, visualizing audit dashboards, and collecting feedback. Uses Streamlit session state to manage logs and feedback. -
traceagent_dashboard.py:
The interactive audit dashboard for AgentIQ, including performance metrics, error detection, SLA breach analysis, and export options (CSV, PDF). -
pdf_utils.py:
Utility for exporting filtered data to PDF. -
Other supporting modules for remediation policy, environment variables, and sample agent logic.
-
Agent Action Simulation:
Simulate tasks such as document classification, risk scoring, fraud detection, and workflow automation. -
Logging:
View and manage logs of agent actions with timestamps, details, and confidence scores. -
Explanations:
Generate natural language justifications for agent decisions using LLMs. -
Audit Dashboard:
Visualize agent workflows, decision distributions, SLA breaches, and error metrics. Includes clickable links for remediation tickets (JIRA integration). -
Data Export:
Export filtered agent action data as CSV or PDF. -
Human-in-the-Loop Feedback:
Submit feedback to improve agent behavior and auditability.
To deploy this app on Streamlit Cloud:
- Push your code (including
requirements.txt) to a public GitHub repository. - Go to Streamlit Cloud and sign in.
- Click "New app" and connect your GitHub repo.
- Set the main file path (e.g.,
AgentIQ). - Click "Deploy".
Streamlit Cloud will automatically install dependencies from requirements.txt and launch your app.
-
Install dependencies:
pip install streamlit pandas matplotlib fpdf
-
Run the main app:
streamlit run traceagent_app
- These are prototype/demo apps using mock data for demonstration purposes.
- You can extend the apps to connect to real agentic AI systems or datasets.
- For PDF export, ensure you have the
fpdfpackage installed.
This project is provided for demonstration and prototyping purposes.