Manuscript Offprint
arXiv:2610.35592GEAR: Feature-Based Configuration and Code Generation for Agentic Systems
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Brell Sanwouo*, Nada Zine*, Paul Temple†,
Clément Quinton*‡, Romain Rouvoy*
*Univ. Lille, CNRS, Inria, UMR 9189 CRISTAL, Lille, France
†Univ. Rennes, CNRS, Inria, IRISA, Rennes, France
‡Institut Universitaire de France (IUF), Paris, France
{brell.sanwouo,nada.zine,paul.temple,clement.quinton,romain.rouvoy}@inria.fr
Abstract—Engineering Multi-Agent System (MAS) requires choosing agents, orchestration strategies, communication mechanisms, reasoning approaches, and memory configurations. These choices depend on framework-specific capabilities and abstractions, requiring developers to learn different APIs when exploring alternative implementations. We present GEAR, an open-source tool for configuring MASs and generating framework-specific implementations from a common specification. GEAR uses a feature-based representation to make configuration options and their constraints explicit, enabling users to validate specifications before code generation. Through connectors for ten agentic frameworks, users generate projects from the same specification and can then inspect reports describing framework-specific adaptations. A preliminary assessment of mapping feasibility identifies translation strategies for 271 of 320 evaluated feature–framework pairs (84.69%). GEAR supports developers prototyping agentic systems and researchers exploring MAS configurations across frameworks. GEAR is available as open-source software at https://github.com/brellsanwouo/gear-framework and a video demo is available at https://youtu.be/iwNi-oC2tCw.
Index Terms—Multi-Agent Systems, Feature Models, Variability, Configuration
I. INTRODUCTION
Nowadays, developers and researchers increasingly build multi-agent applications using frameworks such as CrewAI [1], Google ADK [2], and AutoGen [3]. Although these frameworks provide similar capabilities (like definition of agents, memory, reasoning, or orchestration), they expose them through different abstractions, terminology, and APIs [4], [5], [6]. As a result, developers and researchers must both navigate a large configuration space and continuously learn framework-specific concepts and implementation choices making the design process time-consuming, error-prone, and difficult to reason about.
Software engineering has addressed similar problems in highly configurable systems through variability modeling [7]. In particular, Feature Models (FMs) provide explicit representations of configuration spaces and their constraints, together with automated reasoning capabilities for validating configurations [8], [9]. However, to the best of our knowledge, no existing tool has leveraged FMs to explicitly design and manage the variability of Multi-Agent Systems (MASs).
In this paper, we present GEAR, an open-source tool that provides a common, framework-independent language for describing configurable MASs. Users specify their agents, modules, workflows, and configuration choices once, and GEAR validates this specification and generates executable implementations for selected target frameworks. This allows developers to reuse the same MAS specification when exploring different target frameworks. GEAR connector-based architecture also separates the common specification from the implementation logic, enabling the integration of emerging frameworks and capabilities. A preliminary assessment across the 10 supported frameworks identifies translation strategies for 271 of 320 evaluated feature–framework pairs (84.69%).
Envisioned users: GEAR targets both developers building or prototyping LLM-based MASs and researchers studying agentic system designs. Developers can use GEAR to explore configuration choices, detect invalid configurations before implementation, and generate executable implementations for different frameworks from the same specification. Researchers can use the common representation to systematically vary MAS designs, compare their implementations across frameworks, and reproduce experimental setups without manually reimplementing each system.
Variability Modeling. Variability modeling has been widely used to capture and manage configuration choices in software systems, and has also been applied to machine learning systems [16]. More recently, it has been also used to study the configuration of Large Language Models (LLMs) [17]. Yoshimura et al. study variability in industrial AI agents for root-cause analysis, illustrating the value of explicitly managing variations across equipment, models, data, and operational contexts [18]. While their work focuses on adapting a domain-specific agent to different operational contexts, GEAR addresses variability at the MAS level through a common, framework-independent representation that supports configuration, validation, and generation across heterogeneous agentic frameworks.
III. THE GEAR FRAMEWORK
A. GEAR Core Features and Workflow
GEAR provides a five-step workflow from MAS configuration to execution across different target frameworks, as shown in Fig. 1. We illustrate this workflow with a log-analysis system comprising two agents: LogParser, which parses logs, and LogAnalyzer, which analyzes them to identify potential causes.
Configure. Users define a framework-independent specification through GEAR Studio. The specification comprises three main elements: (i) agents, with properties such as their model, task, tools, memory, and execution controls; (ii) modules, which define reusable orchestration structures such as parallel or iterative execution; and (iii) workflows, which connect agents and modules and define their execution flow. In our example, the user configures the two agents and groups them into a DiagnosisLoop module used in the workflow.
Validate. GEAR automatically validates agents, modules, and workflows, reporting errors such as references to undefined agents or incompatible configuration options. Users can then correct these errors before proceeding to framework selection. In our example, the user selects both parallel and loop execution for DiagnosisLoop. Because these strategies are mutually exclusive, GEAR reports the conflict and asks the user to select a single strategy.
Select Target Frameworks. Users select one of the ten target frameworks supported by GEAR for each generation. The same specification can then be reused to generate implementations for other frameworks. In our example, the user first selects CrewAI and then repeats the generation with Google ADK, obtaining two implementations from the same log-analysis specification.
Generate. GEAR generates a separate executable project for each selected framework from the validated specification using templates. Each project contains source code, a configuration file and an execution entry point. In our example, the same log-analysis system can be generated for both CrewAI and Google ADK using the same specification.
Inspect and Execute. Users can inspect the generated project to determine whether it meets their application requirements. They can then execute it through the command line or through GEAR when execution is available.

Fig. 1: User workflow for the log-analysis demonstration in GEAR Studio: (1) configure LogParser and LogAnalyzer and connect them sequentially; (2) validate the specification; (3) generate projects for CrewAI and Google ADK.
B. GEAR Architecture and Implementation
Fig. 2 presents the architecture and processing pipeline supporting the workflow described above. GEAR separates the common specification of a MAS from the mechanisms required to transform it into framework-specific implementations.
Specification Layer. The specification layer (highlighted in blue in Fig. 2) relies on feature modeling to represent the

Fig. 2: Architecture and processing pipeline of GEAR.

openai APIKey
ollama BaseURL
APIKey openai v OtherProvider
ExecutionControl DelegationControl v CodeExecutionControl v AsyncExecutionControl v HumanInteractionControl v VerbosityControl v CachingControl
Fig. 3: Excerpt of GEAR's feature model.
configurable properties of agents, modules, and workflows. A feature model organizes these properties hierarchically and specifies whether they are mandatory, optional, or alternative, together with dependencies and constraints governing their combinations [8]. Fig. 3 illustrates an excerpt of GEAR's common variability representation. In particular, 32 features encode MAS concepts identified through a review of the literature and an analysis of ten agentic frameworks, selected based on their availability, documentation, active maintenance, Python support, and ability to compose agents into workflows [4], [5], [6]. In addition, the feature model covers agent identity, model and task configuration, tools, memory, reasoning, execution controls, and orchestration. Overall, it exhibits 53 features and encodes approximately valid configurations.
Processing Layer. The processing layer (highlighted in brown in Fig. 2) transforms this specification into framework-specific implementations. During the validation phase, GEAR checks the specification structure, feature-model constraints, and workflow consistency, and normalizes valid configurations into a common intermediate representation. During the translation phase, a connector for each target framework applies explicit feature mappings and provides the manifest, templates, and assembly logic required by that framework. The Assembly engine then deterministically generates the executable artifacts, including source code, configuration files, and execution entry points. A conversion report records how selected features were mapped, adapted or unresolved, preserving traceability between the common specification and each generated implementation.

Fig. 4: Coverage of identified mappings between GEAR features and target frameworks (% of features mapped per framework).
IV. PRELIMINARY MAPPING ASSESSMENT
We conducted a preliminary mapping assessment across the ten frameworks, listed in Figure 4. For each of the 32 evaluated GEAR features, we examined whether a framework-specific implementation was feasible, yielding 320 feature–framework pairs. We considered a mapping as identified when we could determine how the feature could be implemented in the target framework, using a native mechanism, an adaptation, or synthesized code. Otherwise, we marked the mapping as unresolved, particularly when the feature was not exposed by the framework or remained implicit in its internal mechanisms. The identified mappings were then used to define and extend the framework-specific connectors of GEAR.
Figure 4 presents the mapping results for 320 feature–framework pairs, obtained by evaluating each of the 32 GEAR features against the ten selected frameworks. Overall, mappings were identified for 271 pairs (84.69%), while 49 (15.31%) remained unresolved. CrewAI achieved the highest coverage, with mappings identified for 31 GEAR features (96.88%) and one unresolved, followed by Google ADK with 30 (93.75%) and two, respectively. At the other end, Microsoft Agent Framework had 24 identified mappings (75.00%) and eight unresolved, while PydanticAI had 23 (71.88%) and nine. A given GEAR feature may be mapped to some frameworks while remaining unresolved in others.
To further assess GEAR, we are conducting an ongoing user study in which participants use the tool to specify and generate MASs. We evaluate usability, effort, and the difficulties they encounter.
V. LIMITATIONS & FUTURE WORK
While GEAR demonstrates its ability to facilitate the configuration, validation, translation, generation, and execution of MAS across different frameworks, several limitations remain. First, the current implementation focuses on the core abstractions and functionalities shared by the considered frameworks. More advanced capabilities, such as multimodal inputs and streaming are currently out of scope. Many of these capabilities are highly framework-specific and were intentionally excluded to preserve a common abstraction level and enable a controlled comparison across frameworks.
Second, support for a new target framework currently requires manually defining the corresponding connectors and mappings between GEAR's framework-independent specification and framework-specific concepts. Although these mappings are reusable once implemented, their initial development requires both engineering effort and knowledge of the target framework. Reducing this effort, for instance through partially automated connector generation or mapping inference, is therefore an important direction for future work.
GEAR validates specifications against encoded constraints and reports target-specific translation limitations. Unresolved properties are omitted, so generated projects may differ from the requested specification. Future work should therefore investigate these behavioral differences more systematically, extend the range of supported features, and evaluate GEAR on larger and more representative real-world multi-agent applications.
VI. Conclusion
In this paper, we presented GEAR, an open-source tool for configuring and generating MASs across heterogeneous agentic frameworks. By separating the specification of a MAS from its framework-specific implementation, GEAR allows users to reuse the same MAS specification across different frameworks through framework-specific connectors. It also makes configuration choices explicit through its feature-based model and makes the support of new frameworks easier through its connector-based design. Overall, GEAR contributes to bridging variability modeling with MAS, and opens new directions for their study and evaluation. Data Availability GEAR is open-source and available at https://github.com/brellsanwouo/gear-framework. A demonstration video presenting an end-to-end case study is also available at https://youtu.be/iwNi-oC2tCw.
REFERENCES
[1] C. Inc., “Crewai: Framework for orchestrating role-playing ai agents,” https://github.com/crewAIInc/crewAI, 2024.
[2] Google, “Agent development kit (adk),” https://google.github.io/adk-docs/, 2025.
[3] Q. Wu et al., “Autogen: Enabling next-gen llm applications via multi-agent conversations,” in First conference on language modeling, 2024.
[4] L. Wang et al., “A survey on large language model based autonomous agents,” Frontiers of Computer Science, vol. 18, no. 6, p. 186345, 2024.
[5] H.-a. Gao et al., “A survey of self-evolving agents: What, when, how, and where to evolve on the path to artificial super intelligence,” arXiv preprint arXiv:2507.21046, 2025.
[6] T. Guo et al., “Large language model based multi-agents: A survey of progress and challenges,” arXiv preprint arXiv:2402.01680, 2024.
[7] I. Schaefer et al., “Software diversity: state of the art and perspectives,” International Journal on Software Tools for Technology Transfer, vol. 14, pp. 477–495, 2012.
[8] K. Czarnecki and A. Wasowski, “Feature diagrams and logics: There and back again,” in 11th International Software Product Line Conference (SPLC 2007). IEEE, 2007, pp. 23–34.
[9] D. Benavides, S. Segura, and A. Ruiz-Cortés, “Automated analysis of feature models 20 years later: A literature review,” Information systems, vol. 35, no. 6, pp. 615–636, 2010.
[10] G. Li et al., “Camel: Communicative agents for” mind” exploration of large language model society,” Advances in neural information processing systems, vol. 36, pp. 51991–52008, 2023.
[11] S. Hong et al., “Metagpt: Meta programming for a multi-agent collaborative framework,” in The twelfth international conference on learning representations, 2023.
[12] Oracle, “Open agent specification,” https://github.com/oracle/agent-spec, 2025.
[13] Nextmoca, “Agent definition language (adl),” https://github.com/nextmoca/adl, 2026.
[14] P. Wang et al., “Agentspex: An agent specification and execution language,” arXiv preprint arXiv:2604.13346, 2026.
[15] F. Härer, “Specification and evaluation of multi-agent llm systems-prototype and cybersecurity applications,” in International Conference on Cybersecurity and AI-Based Systems, 2025, pp. 340–347.
[16] M. Gomez-Vazquez and J. Cabot, “Exploring the use of software product lines for the combination of machine learning models,” in Proceedings of the 28th International Systems and SPL Conference, 2024, pp. 26–29.
[17] N. Zine, C. Quinton, and R. Rouvoy, “Pimp my llm: Leveraging variability modeling to tune inference hyperparameters,” arXiv preprint arXiv:2602.17697, 2026.
[18] K. Yoshimura et al., “Managing variability in industrial ai agents for manufacturing: Experiences at hitachi,” in Proceedings of the 5th International Conference on AI Engineering, 2026, pp. 299–303.