Important
This branch consist of new proposal of architecture, Instead of parallel agents, I went with Layers of Agents approach. v1 will be available in old branch.
A sophisticated recursive architecture that spawns and manages LLM-driven agents via a master-delegator model in a form of layers (just like a neural layers), with task-specific prompt tuning, execution constraints, and multi-agent recursion without human intervention.
This uses a concept where a primary agent creates specialized sub-agents on demand. Each agent is dynamically generated with task-specific prompting and execution parameters, enabling efficient problem-solving without human intervention while not having a bias and having opinions from various agents instead of deciding on its own. Uses Ensemble technique.
The system follows a recursive workflow:
Master Agentanalyzes the input task and generates a comprehensive task breakdown with dependency structure.- For each subtask, the
Master Agentcreates a specializedChild Agentwith custom fine-tuned prompts with dependencies. Child Agentswork on their assigned tasks and can create their ownSub-Child Agentswhen further specialization is neededChild Agentsare rearranged based on the dependency graph and co-ordinates with other agents while sharing contextResults flow back up the hierarchy for integration and final output- Results flow through layers of agents with context and intreprets a final output.
The key innovation is that agent creation and prompt engineering happen automatically at runtime in layers, with no predefined agent structures or human-designed prompts.
As you see, this runs on recrusive layers method. building agents upon agents as it needs. This can result in building an agent layer network as shown below

The recursive nature of this system creates potential challenges:
- Resource Management: Each additional agent consumes computational resources
- Runtime Concerns: Deep agent layers can significantly impact completion time as it becomes sequential after a time
While the system offers powerful flexibility by giving control to the Master Agent, careful monitoring is recommended for resource-intensive tasks.
rao.mp4
-
Emergence AI's 2025 Orchestrator Automatically creates agents and assembles multi-agent systems with minimal human intervention... continuously refining tools through recursive self-improvement
-
ReDel's Recursive Systems (2024) Introduces systems where a root agent "decomposes tasks into subtasks then delegates to sub-agents" rather than using human-defined agent graphs.
-
Beyond Better's Orchestrator (2025) Implements "sub-agents created with specialized capabilities for token efficiency and parallel processing" through dynamic task analysis.
This project is licensed under the GNU General Public License (GPL).
