Multi-Agent System for Business Firewall Rule Management

Objective

The customer had a well-established set of business firewall rules, rules that, when respected, automatically approve invoices. However, updating and maintaining these rules was a manual, time-consuming process for developers. The goal was to create an intelligent assistant that could expedite the development of these rules by leveraging existing Groovy and JSON code templates, ensuring consistency and faster rule generation.

Solution

Mythril Tech developed a multi-agent system designed to assist developers in creating and updating business firewall rules more efficiently. The system integrates with the existing codebase in two parts: Groovy Agent: This agent interacts with the legacy Groovy code, extracting relevant patterns and logic from established rules. JSON Agent: This agent focuses on generating and validating the new JSON code snippets that correspond to the firewall rules. A central Planner Agent orchestrates the process by analyzing developer inputs and suggesting rule modifications or new rules based on pre-existing templates. The agents work collaboratively, generating code that developers can quickly review and integrate into their systems. This approach minimizes manual coding, reduces errors, and accelerates the process of rule creation—ensuring that invoices are automatically accepted when the rules are met.

Results

Accelerated Development: Reduced the time needed to develop and update firewall rules by automating the generation of code snippets. Increased Consistency: Ensured that all newly created rules adhere to the established Groovy and JSON standards, maintaining uniformity across the system. Enhanced Developer Efficiency: Empowered developers with an intelligent assistant that significantly cut down on manual coding efforts and debugging time.

Technologies used

Azure OpenAI
Chainlit
LangChain
Groovy
JSON