How manojkesani/accessibility-agent-system works
This is a Streamlit-driven accessibility auditing and remediation system. A user submits a GitHub repository; the workflow clones and scans its source, locates issues, delegates proposed fixes to HTML/CSS/JavaScript experts, critiques them, applies approved changes, and generates reports. GitHub branch and pull-request operations are a distinct delivery stage. The graph preserves documented workflow capabilities, but several stage-to-stage links are supported by the README rather than complete workflow excerpts; code.py is included as a core module, with its role and connections not inferred.
Main entry points: accessibility_workflow.py Workflow orchestrator · base_agent.py Agent foundation · manager_agent.py Fix manager · github_handler.py Repository operations
Components 19
User interface
- Streamlit UI
app.py
Audit workflow
- Workflow orchestrator
workflows/accessibility_workflow.py - Runtime configuration
config.py
Analysis and agents
- Accessibility analyzer
agents/accessibility_analyzer.py - Issue locator
agents/issue_locator.py - Fix manager
agents/manager_agent.py - HTML expert
agents/domain_experts.py - CSS expert
agents/domain_experts.py - JavaScript expert
agents/domain_experts.py - Fix critic
agents/critic_agent.py - Agent foundation
agents/base_agent.py
Fixes and reporting
- Repository operations
utils/github_handler.py - GitHub agent
agents/github_agent.py - Report generator
utils/report_generator.py
Other components
- Repository user
- Target repository
- Groq LLM
- GitHub service
- Core code module
code.py
Connections 24
- Repository user → Streamlit UI: submits repository
README.md - Streamlit UI → Workflow orchestrator: starts workflow
app.py - Workflow orchestrator → Repository operations: clones repository
workflows/accessibility_workflow.py - Target repository → Repository operations: provides source
utils/github_handler.py - Workflow orchestrator → Accessibility analyzer: runs scan
README.md - Workflow orchestrator → Issue locator: locates issues
README.md - Workflow orchestrator → Fix manager: delegates fixes
workflows/accessibility_workflow.py - Fix manager → HTML expert: delegates HTML
agents/manager_agent.py - Fix manager → CSS expert: delegates CSS
agents/manager_agent.py - Fix manager → JavaScript expert: delegates JavaScript
agents/manager_agent.py - Workflow orchestrator → Fix critic: reviews fixes
README.md - Workflow orchestrator → GitHub agent: applies approved fixes
workflows/accessibility_workflow.py - GitHub agent → Repository operations: invokes operations
agents/github_agent.py - Repository operations → GitHub service: pushes and opens PR
utils/github_handler.py - Workflow orchestrator → Report generator: generates reports
workflows/accessibility_workflow.py - Streamlit UI → Report generator: displays reports
app.py - Agent foundation → Groq LLM: configures model
agents/base_agent.py - Accessibility analyzer → Agent foundation: inherits from
agents/accessibility_analyzer.py - Issue locator → Agent foundation: inherits from
agents/issue_locator.py - Fix manager → Agent foundation: inherits from
agents/manager_agent.py - Fix critic → Agent foundation: inherits from
agents/critic_agent.py - GitHub agent → Agent foundation: inherits from
agents/github_agent.py - Repository operations → Runtime configuration: reads settings
utils/github_handler.py - Agent foundation → Runtime configuration: reads model settings
agents/base_agent.py