Refactor Agent Management System to Support Database-Driven Configuration#153
Merged
Ashad001 merged 7 commits intoFireBird-Technologies:mainfrom Jun 17, 2025
Merged
Conversation
ArslanS1997
pushed a commit
that referenced
this pull request
Mar 17, 2026
…tion (#153) * Default Agents now loaded from DB * Deep Agents Integrated with DB * Syntax Errors Fixed * Backend Bug Fixed - Working version 1.0 * Backend Testing - working v2 * Bug Fixes v1 * remove extra files
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces a comprehensive overhaul of the agent management system in the backend, focusing on database-driven agent configuration and improved user preference handling. Key changes include the removal of hardcoded agent dictionaries, the introduction of database-backed agent templates, and updates to the API and scripts to support these changes.
Agent Management System Overhaul
Database-Driven Agent Loading: Removed hardcoded agent dictionaries (
AVAILABLE_AGENTS,PLANNER_AGENTS) and updated the system to dynamically load agents from the database based on user preferences. This ensures a more flexible and maintainable approach to managing agents (auto-analyst-backend/app.py).Deep Analyzer Enhancements: Updated the deep analyzer initialization to load user-enabled agents from the database, with a fallback to default agents if no preferences are set or an error occurs (
auto-analyst-backend/app.py).Infrastructure Updates
populate_agent_templates.pyscript executable to support the initialization of agent templates during container setup (auto-analyst-backend/Dockerfile).Miscellaneous
.gitignorefile to ignore all.dbfiles, ensuring database files are excluded from version control (auto-analyst-backend/.gitignore).