Paper deep dive
Agentic Hives: Equilibrium, Indeterminacy, and Endogenous Cycles in Self-Organizing Multi-Agent Systems
Jean-Philippe Garnier
Intelligence
Status: succeeded | Model: Gemma-4-26B-A4B | Prompt: intel-v1 | Confidence: 87%
Last extracted: 7/20/2026, 3:36:54 PM
Summary
The paper introduces the 'Agentic Hive' framework, a theoretical model for self-organizing multi-agent systems with variable populations. It maps agent demographics to multi-sector economic growth theory, proving results such as the existence of a Hive Equilibrium, Pareto optimality, and conditions for endogenous cycles via Hopf bifurcation. The framework uses an orchestrator as a Walrasian auctioneer to manage resource allocation among agent families, providing a governance toolkit for predicting and steering system evolution.
Entities (13)
Relation Signals (11)
Agentic Hive ā proposedby ā Jean-Philippe Garnier
confidence 95% Ā· The paper introduces the Agentic Hive... Jean-Philippe Garnier
Orchestrator ā functionsas ā Walrasian auctioneer
confidence 92% Ā· an orchestrator plays the dual role of Walrasian auctioneer and Global Workspace
Agentic Hive ā exhibits ā Hive Equilibrium
confidence 90% Ā· existence of a Hive Equilibrium via Brouwer's fixed-point theorem
Agentic Hive ā uses ā Orchestrator
confidence 90% Ā· an orchestrator plays the dual role of Walrasian auctioneer and Global Workspace
Agentic Hive ā exhibits ā Hopf Bifurcation
confidence 88% Ā· Hopf bifurcation generating endogenous demographic cycles
Agentic Hive ā applies ā Stolper-Samuelson
confidence 85% Ā· Stolper-Samuelson and Rybczynski analogs that predict how the Hive restructures
Agentic Hive ā applies ā Rybczynski
confidence 85% Ā· Stolper-Samuelson and Rybczynski analogs
AutoGen ā relatedto ā Multi-agent LLM systems
confidence 80% Ā· Systems such as AutoGen [ 29]... enable multi-agent collaboration with LLMs
Cypher Suggestions (0)
No Cypher suggestions yet.
Abstract
Abstract:Current multi-agent AI systems operate with a fixed number of agents whose roles are specified at design time. No formal theory governs when agents should be created, destroyed, or re-specialized at runtime-let alone how the population structure responds to changes in resources or objectives. We introduce the Agentic Hive, a framework in which a variable population of autonomous micro-agents-each equipped with a sandboxed execution environment and access to a language model-undergoes demographic dynamics: birth, duplication, specialization, and death. Agent families play the role of production sectors, compute and memory play the role of factors of production, and an orchestrator plays the dual role of Walrasian auctioneer and Global Workspace. Drawing on the multi-sector growth theory developed for dynamic general equilibrium (Benhabib \& Nishimura, 1985; Venditti, 2005; Garnier, Nishimura \& Venditti, 2013), we prove seven analytical results: (i) existence of a Hive Equilibrium via Brouwer's fixed-point theorem; (ii) Pareto optimality of the equilibrium allocation; (iii) multiplicity of equilibria under strategic complementarities between agent families; (iv)-(v) Stolper-Samuelson and Rybczynski analogs that predict how the Hive restructures in response to preference and resource shocks; (vi) Hopf bifurcation generating endogenous demographic cycles; and (vii) a sufficient condition for local asymptotic stability. The resulting regime diagram partitions the parameter space into regions of unique equilibrium, indeterminacy, endogenous cycles, and instability. Together with the comparative-statics matrices, it provides a formal governance toolkit that enables operators to predict and steer the demographic evolution of self-organizing multi-agent systems.
Tags
Links
- Source: https://arxiv.org/abs/2603.00130v2
- Canonical: https://arxiv.org/abs/2603.00130v2
Trouble viewing inline? Open PDF directly ā
Full Text
54,049 characters extracted from source content.
Expand or collapse full text
arXiv:2603.00130v2 [cs.MA] 27 Apr 2026 Agentic Hives: Equilibrium, Indeterminacy, and Endogenous Cycles in Self-Organizing Multi-Agent Systems Jean-Philippe Garnier ā BrainiaK Lille, France February 2026 Abstract Current multi-agent AI systems operate with a fixed number ofagents whose roles are specified at design time. No formal theory governs when agents should be created, destroyed, or re-specialized at runtimeālet alone how the population structure responds to changes in resources or objectives. We introduce theAgentic Hive, a framework in which a variable population of autonomous micro-agentsāeach equipped with a sandboxed execution environment and access to a language modelāundergoesdemographic dynamics: birth, duplica- tion, specialization, and death. Agent families play the role of production sectors, compute and memory play the role of factors of production, and an orchestrator plays the dual role of Walrasian auctioneer and Global Workspace. Drawing on the multi-sector growth theory developed for dynamic general equi- librium (Benhabib & Nishimura, 1985; Venditti, 2005; Garnier, Nishimura & Ven- ditti, 2013), we prove seven analytical results: (i) existence of a Hive Equilibrium via Brouwerās fixed-point theorem; (i) Pareto optimality of the equilibrium alloca- tion; (i) multiplicity of equilibria under strategic complementarities between agent families; (iv)ā(v) StolperāSamuelson and Rybczynski analogs that predict how the Hive restructures in response to preference and resource shocks; (vi) Hopf bifurca- tion generating endogenous demographic cycles; and (vii) asufficient condition for local asymptotic stability. The resultingregime diagrampartitions the parameter space into regions of unique equilibrium, indeterminacy, endogenous cycles, and instability. Together with the comparative-statics matrices, it provides a formal governance toolkit that enables operators to predict and steer the demographic evolution of self-organizing multi-agent systems. Keywords:multi-agent systems, general equilibrium, dynamic general equilib- rium, agent demographics, indeterminacy, endogenous cycles, Hopf bifurcation, LLM orchestration. ā Corresponding author. E-mail:jeanphi.garnier@brainiak.tech. 1 Contents 1 Introduction3 1.1 The missing theory. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 1.2 Our approach. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 1.3 Contributions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 1.4 Relation to prior work by the author. . . . . . . . . . . . . . . . . . . . . 4 2 Related work5 3 The Agentic Hive model5 3.1 Agents, families, and resources. . . . . . . . . . . . . . . . . . . . . . . . . 5 3.2 Production and externalities. . . . . . . . . . . . . . . . . . . . . . . . . . 6 3.3 Social welfare and the orchestratorās problem. . . . . . . . . . . . . . . . . 7 3.4 Population dynamics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 3.5 Hive Equilibrium. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 4 Main results9 4.1 Existence of Hive Equilibrium. . . . . . . . . . . . . . . . . . . . . . . . . 9 4.2 Pareto optimality. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 4.3 Multiplicity and indeterminacy. . . . . . . . . . . . . . . . . . . . . . . . 10 4.4 StolperāSamuelson analog. . . . . . . . . . . . . . . . . . . . . . . . . . . 11 4.5 Rybczynski analog. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 4.6 Endogenous cycles. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 4.7 Stability conditions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 5 Numerical illustrations13 5.1 Three-family Hive (S= 3,M= 2). . . . . . . . . . . . . . . . . . . . . . . 13 5.2 Five-family Hive (S= 5,M= 3). . . . . . . . . . . . . . . . . . . . . . . 15 6 The regime diagram17 7 Discussion18 7.1 A macroeconomic governance framework. . . . . . . . . . . . . . . . . . . 18 7.2 Connection to Global Workspace Theory. . . . . . . . . . . . . . . . . . . 18 7.3 Imperfect information and mechanism design. . . . . . . . . . . . . . . . . 18 7.4 Relation to evolutionary dynamics. . . . . . . . . . . . . . . . . . . . . . . 19 7.5 Limitations. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 8 Conclusion20 A Proofs and technical details22 A.1 Proof details for Theorem 4.4 (Multiplicity). . . . . . . . . . . . . . . . . 22 A.2 Proof details for Theorem 4.6 (StolperāSamuelson). . . . . . . . . . . . . 23 A.3 Proof details for Theorem 4.10 (Endogenous cycles). . . . . . . . . . . . . 23 A.4 Lyapunov property and welfare monotonicity. . . . . . . . . . . . . . . . . 24 2 1 Introduction The past two years have witnessed an explosion of multi-agent systems built around large language models (LLMs). Systems such as AutoGen [ 29], CrewAI [5], MetaGPT [14], and Swarm [24] enable several LLM-powered agents to collaborate on complex tasks. All of these systems share a common architectural assumption:the number of agents is fixed at design time, and their roles are pre-assigned. The system designer decides that there will be a āplannerā agent, a ācoderā agent, and a āreviewerā agent, then hard-codes the interaction protocol. If the task mix changes, or if resources become scarce, or if one agent family becomes redundant, the system has no principled mechanism for adaptation. This is the equivalent of running an economy without a theoryof growth: you can allo- cate resources across existing firms, but you have no formal basis for deciding when new firms should enter, when existing ones should exit, or how theindustrial structure should respond to a technology shock. 1.1 The missing theory We argue that the missing ingredient is amacroeconomic theory of agent demographics. Specifically, we need formal answers to four questions: (Q1)Entry:When should new agents be created, and of what type? (Q2)Exit:When should existing agents be removed? (Q3)Specialization:How should undifferentiated agents acquire functional roles? (Q4)Restructuring:How does the entire population structure respond to changesin resources or objectives? No existing framework provides analytical answers to (Q1)ā(Q4). Swarm intelligence [ 7, 18] studies self-organization but provides no equilibrium theory. Multi-agent reinforcement learning (MARL) [19] learns policies but does not model population dynamics. Agent- based computational economics (ACE) [ 26] simulates agent populations but offers no closed-form results. 1.2 Our approach We observe that (Q1)ā(Q4) arepreciselythe questions addressed by the theory of multi- sector economic growthāa branch of dynamic general equilibrium theory that has been developed over seven decades, from Arrow & Debreu [ 1], Debreu [4], and McKenzie [20] to Garnier, Nishimura & Venditti [ 10]. The mapping is direct: 3 Multi-sector economyAgentic Hive Production sectorsAgent families (perception, planning,. . . ) Factors (capital, labor)Resources (GPU, memory, attention, . . . ) Output of sectorjTask completion by familyj Factor pricesShadow prices of resources Consumer preferencesSystem objectives (quality, cost, latency, . . . ) Walrasian auctioneerOrchestrator / Global Workspace Inter-sectoral externalities Cross-family spillovers Steady-state populationHive Equilibrium This is not a metaphor. As we show formally in Section3, the mathematical objects are identical: the population dynamics of agent families are governed by a dynami- cal system whose steady states are general equilibria, whose comparative statics obey StolperāSamuelson and Rybczynski theorems, and whose stability properties determine the existence of endogenous demographic cycles. 1.3 Contributions We introduce theAgentic Hive, a formal framework for self-organizing multi-agent systems with variable population, and establish the following results: 1.Existence(Theorem 4.1): Under standard regularity assumptions, at least one Hive Equilibrium exists. 2.Pareto optimality(Theorem 4.2): Every Hive Equilibrium is Pareto-optimal when the orchestrator has full information. 3.Multiplicity(Theorem 4.4): Under strategic complementarities between agent fam- ilies, multiple equilibria coexistācorresponding to distinct āmorphologiesā of the Hive. 4.StolperāSamuelson analog(Theorem 4.6): A magnification effect links prefer- ence changes to resource price changes. 5.Rybczynski analog(Theorem 4.8): A magnification effect links resource endow- ment changes to population restructuring. 6.Endogenous cycles(Theorem 4.10): A Hopf bifurcation generates periodic demo- graphic oscillationsāthe āseasonsā of the Hive. 7.Stability(Theorem 4.12): A sufficient condition on mortality rates guarantees local asymptotic stability. Together, these results yield aregime diagram(Section 6) that partitions the parameter space into regions of qualitatively distinct behavior, providing a formal governance toolkit for designers and operators of multi-agent systems. 1.4 Relation to prior work by the author The authorās doctoral work [ 9,10] characterized local indeterminacy in continuous-time multi-sector growth models, establishing conditions under which competitive equilibrium cycles arise from the interaction of returns to scale and consumer preferences. The present paper transports this toolkit to the entirely different domain of multi-agent AI systems, 4 extending it from fixed-population general equilibrium to variable populations with en- dogenous demographics and multi-regime dynamics. 2 Related work Multi-agent LLM systems.AutoGen [29], MetaGPT [14], CrewAI [5], and Swarm [24] enable multi-agent collaboration with LLMs. All assume a fixed agent set with pre-defined roles. Recent surveys [ 12] catalog the rapid growth of this field but do not identify popu- lation dynamics as a research gap. Swarm intelligence.Ant Colony Optimization [ 7], Particle Swarm Optimization [18], and related algorithms use local interaction rules to achieve collective behavior. These ap- proaches do not provide equilibrium concepts, comparativestatics, or stability theorems. Evolutionary game theory.The replicator equation [ 13] governs population shares under frequency-dependent fitness. Our population dynamics (Section 3.4) are a general- ization of replicator dynamics to absolute populations with endogenous resource allocation and multi-sector externalities. Agent-based computational economics.ACE [ 26] simulates heterogeneous agent populations but produces no closed-form results. Our framework provides analytical the- orems that complement simulation. Multi-sector growth theory.Benhabib & Nishimura [ 3] established the existence of competitive equilibrium cycles in multi-sector optimal growth models. Venditti [ 28] and Garnier, Nishimura & Venditti [10] extended these results to characterize indeterminacy under various assumptions on returns to scale and preferences. We transport this entire toolkit to agent demographics. Global Workspace Theory.Baars [ 2] proposed that consciousness arises from a global workspace that integrates and broadcasts information fromspecialist processors. Our or- chestrator plays an analogous role: it selects, integrates, and broadcasts resource alloca- tion signals across agent families. 3 The Agentic Hive model 3.1 Agents, families, and resources Definition 3.1(Agentic Hive).AnAgentic Hiveis a tupleH= (A t ,F,R,w,Ī,Ī) where: ā¢A t is the set of agents alive at timet, with|A t |=N total (t) variable; ā¢F=1, . . . , Sis a finite set ofagent families(functional specializations); ā¢R= (R 1 , . . . , R M )āR M + is the vector of resource endowments; ā¢w= (w 1 , . . . , w S )āā S is the vector of global preferences over family outputs; ⢠Π= (γ jk ) j,k āR SĆS is the externality matrix; 5 ⢠Πis the orchestrator. We denote byN j t āR + the population of familyjat timet, and byN t = (N 1 t , . . . , N S t )ā R S + the population vector. Definition 3.2(Agent).An agentaāA t is a tuplea= (g a , Ļ a , f a , μ a , Ļ a , Ļ a , ζ a ) where: ā¢g a āG: genome (base prompt, policy, configuration); ā¢Ļ a āĪ£: internal state (local memory, context); ā¢f a āF āŖā : family assignment (ā for stem agents); ā¢Ī¼ a āR K + : performance profile (Kmetrics); ā¢Ļ a āR + : age; ā¢Ļ a : sandboxed execution environment; ā¢Ī¶ a ā[0,1]: degree of specialization (0 = totipotent, 1 = fully specialized). Definition 3.3(Stem agent).An agentais astem agentifζ a = 0 andf a =ā . A stem agent canduplicate(create a copy with reset state) orspecialize(transition to a family jāFwithζ a >0). Resources are organized intoMtypes. Each agent in familyjconsumes a resource vector; the aggregate consumption by familyjof resourcemis denotedK m j . The matrix K= (K m j ) j,m āR SĆM + records the full resource allocation. Assumption 1(Budget).Total population is bounded by a budget constraint: P S j=1 c j N j ⤠B, wherec j >0 is the per-agent maintenance cost of familyjandB >0 is the total budget. Define thefeasible population set: ⦠= n NāR S + : P S j=1 c j N j ā¤B o .(1) ⦠is compact and convex. 3.2 Production and externalities Each family produces output that depends on its resource allocation, its population, and spillovers from other families. Definition 3.4(Sectoral production).The output of familyjis: Y j (K j , N j ,N āj ) =A j Ā·F j (K j )Ā·(N j ) Ī· j Ā·Ī j (N āj ),(2) where: ā¢A j >0 is the total factor productivity of familyj; ā¢F j :R M + āR + is a CES production function in resources: F j (K j ) = " M X m=1 α jm K m j Ļ j ā1 Ļ j # Ļ j Ļ j ā1 ,(3) withα jm >0, P m α jm = 1, andĻ j >0 the elasticity of substitution; 6 ⢠(N j ) Ī· j captures returns to scale within the family, withĪ· j >0; ⢠Πj (N āj ) = Q k6=j (N k ) γ jk is the externality term, withγ jk āR. Assumption 2(Production regularity).For eachj: (i)F j isC 2 , increasing, and strictly concave; (i) Inada conditions hold:āF j /āK m j ā āasK m j ā0 + andāF j /āK m j ā0 asK m j ā ā; (i) 0< Ī· j <1 (decreasing returns within family; relaxed toĪ· j ā„1 in Section 4.3). Remark3.5.The assumptionĪ· j <1 guarantees that the marginal value of an additional agent diminishes within each family, ensuring interior equilibria. In Theorem 4.4, we relax this toĪ· j ā„1 for some families, which is the source of indeterminacy. The externality matrixE= (γ jk ) is the central structural object of the theory: ā¢Ī³ jk >0: familykgenerates a positive spillover on familyj(complementarity); ā¢Ī³ jk <0: familykimposes a negative externality on familyj(congestion); ā¢Ī³ jk = 0: independence. 3.3 Social welfare and the orchestratorās problem Definition 3.6(Social welfare).The social welfare function is: W(K,N) = S X j=1 w j Ā·u Y j (K j , N j ,N āj ) ā S X j=1 c j N j ,(4) whereu:R + āRis a CRRA utility:u(Y) =Y 1āĻ /(1āĻ) forĻ >0,Ļ6= 1, and u(Y) = lnYforĻ= 1. Definition 3.7(Orchestratorās problem).Given populationN, the orchestrator solves theinner problem: W ā (N) = max Kā„0 W(K,N) s.t. S X j=1 K m j ā¤R m āmā1, . . . , M.(5) Assumption 3(Utility regularity).uisC 2 , strictly increasing, and strictly concave onR ++ . Assumption 4(Weak externalities).The externality matrix satisfies kEk ā = max j X k6=j |γ jk |< 1āĪ· max 1 +Ļ Ī· max ,(6) whereĪ· max = max j Ī· j <1 (from Assumption 2(i)) andĻis the CRRA parameter. Remark3.8.Assumption4ensures that the value functionW ā (N) is globally concave on ā¦. The bound arises because the Hessian ofW ā with respect toNhas diagonal terms of orderĪ· j ā1<0 (diminishing returns) and off-diagonal terms of orderγ jk (externalities). Concavity holds when the negative diagonal dominates the off-diagonal perturbation. This assumption is relaxed in Section 4.3to obtain indeterminacy. Under Assumptions 2and3, the inner problem (5) has a unique solutionK ā (N) = (K mā j (N)) j,m , with associated shadow pricesĪ» ā (N) = (Ī» 1ā , . . . , Ī» Mā ) satisfying the first- 7 order conditions: w j u ā² (Y ā j )Ā·A j āF j āK m j K ā Ā·(N j ) Ī· j Ī j =Ī» mā āj, m.(7) Definition 3.9(Marginal social value).The marginal social value of an agent in familyj is: V j (N) = dW ā dN j =w j u ā² (Y ā j )Ā· āY j āN j K ā āc j ,(8) where the equality follows from the envelope theorem (the terms involvingāK ā /āN j vanish at the optimum). Explicitly: V j (N) =w j u ā² (Y ā j )Ā·A j F j (K ā j )Ī· j (N j ) Ī· j ā1 Ī j (N āj )āc j .(9) 3.4 Population dynamics The demographic dynamics of the Hive are governed by a systemof ODEs: Definition 3.10(Population dynamics).The population of familyjevolves according to: dN j dt = Φ j (N) =V j (N)Ā·N j ,j= 1, . . . , S.(10) This is aselection dynamic[ 13]: families with positive marginal value (V j >0) grow; families with negative marginal value (V j <0) decline. In vector form: Ģ N= Φ(N), where Φ :R S + āR S . Remark3.11 (Interpretation ofV j ).The marginal social valueV j aggregates three forces: (i)Direct returns: an additional agent in familyjincreasesY j through the term (N j ) Ī· j ; (i)Externalities: through Ī j (N āj ), the output of familyjdepends on the populations of other families; (i)Cost: the maintenance costc j reducesV j . WhenV j = 0, familyjis at demographic equilibrium: the marginal benefit of an additional agent exactly equals its cost. Remark3.12 (Relation to replicator dynamics).Equation ( 10) is a generalization of the replicator equation to absolute populations with endogenous fitness. In the classical repli- cator equation, Ģx i =x i (f i ā Ģ f)with exogenous fitnessf i . Here, the āfitnessāV j (N)is endogenous: it depends on all populations through the production functions, externalities, and the orchestratorās optimal allocation. 3.5 Hive Equilibrium Definition 3.13(Hive Equilibrium).AHive Equilibriumis a triple(N ā ,K ā ,Ī» ā )such that: (HE-1)Allocation optimality: K ā solves the inner problem ( 5) forN ā , with shadow pricesĪ» ā ; 8 (HE-2)Demographic stationarity:Φ(N ā ) = 0, i.e., for eachj: V j (N ā ) = 0ifN jā >0,V j (N ā )ā¤0ifN jā = 0;(11) (HE-3)Budget feasibility: P j c j N jā ā¤B. Condition (HE-2) states that at equilibrium, every active family has zero marginal social value (marginal benefit equals marginal cost), and no inactive family would be profitable if activated. This is the free-entry condition of competitive equilibrium theory. 4 Main results 4.1 Existence of Hive Equilibrium Theorem 4.1(Existence).Under Assumptions 1ā3, there exists at least one Hive Equi- librium(N ā ,K ā ,Ī» ā )withN ā āā¦. Proof.Forε >0sufficiently small, define the truncated feasible set⦠ε =Nā⦠:N j ℠εāj, which is compact and convex. Define the mapĪØ ε : ⦠ε ā⦠ε by: ĪØ ε (N) = proj ⦠ε N+εΦ(N) , whereproj ⦠ε is the Euclidean projection onto⦠ε . Under our assumptions,V j (N)is continuous on⦠ε (composition ofC 2 functions), soΦ is continuous. The projection onto a closed convex set is continuous. HenceĪØ ε is a continuous map from the compact convex set⦠ε into itself. By Brouwerās fixed-point theorem,ĪØ ε has a fixed pointN ā ε . Taking a convergent subsequence asεā0(by compactness ofā¦), the limitN ā ā⦠satisfiesΦ(N ā ) = 0at interior components andV j (N ā )ā¤0at boundary components (N jā = 0). The allocationK ā and pricesĪ» ā are obtained from the inner problem atN ā . 4.2 Pareto optimality Theorem 4.2(First Welfare Theorem for Hives).Under Assumptions 1ā4, every Hive Equilibrium(N ā ,K ā ,Ī» ā )isPareto-optimal: there exists no feasible(N ā² ,K ā² )withW(K ā² ,N ā² )> W(K ā ,N ā ). Proof.At a Hive Equilibrium,K ā maximizesW(Ā·,N ā )over resource constraints (HE-1), andN ā satisfiesV j (N ā ) = dW ā /dN j = 0for all active families (HE-2). Suppose for contradiction that there exists feasible(N ā² ,K ā² )withW(K ā² ,N ā² )> W(K ā ,N ā ). SinceW ā (N) = max K W(K,N), we haveW ā (N ā² )ā„W(K ā² ,N ā² )> W(K ā ,N ā ) =W ā (N ā ). We show thatW ā is strictly concave inNonā¦. The HessianH=D 2 N W ā has diagonal entriesH j =w j [u ā² (Y ā j ) (āY j /āN j ) 2 +u ā² (Y ā j )ā 2 Y j /(āN j ) 2 ], which are negative under Assumptions 2(i) and3(the dominant term isĪ· j (Ī· j ā1)(N j ) Ī· j ā2 <0). The off-diagonal 9 entriesH jk are bounded by a term proportional to|γ jk |. By a Gershgorin argument onH, Assumption 4ensures that every eigenvalue ofHis strictly negative, soW ā is strictly concave onā¦. The conditionā N W ā (N ā ) = 0(from HE-2) then impliesN ā is the unique global maximum ofW ā onā¦, contradictingW ā (N ā² )> W ā (N ā ). Remark4.3.Pareto optimality relies on the orchestrator havingfull informationabout production functions and externalities. If some externalities are unobserved, the equilib- rium may fail to be Pareto-optimal, necessitating Pigouvian corrections (see Section 7). 4.3 Multiplicity and indeterminacy We now relax Assumptions 2(i) and4to allow increasing returns for some families. Assumption 5(Strategic complementarity).There exist familiesj, kwithγ jk >0and γ kj >0(mutual positive externalities). Assumption 6(Local increasing returns).There exists a familyj 0 withĪ· j 0 ā„1(non- decreasing returns within family). Theorem 4.4(Multiplicity of equilibria).Under Assumptions 1ā3,5, and6, there exist open sets of parameters(w,R)for which at least two distinct Hive Equilibria coexist. Proof sketch.Consider the simplest non-trivial case:S= 2families with mutual comple- mentarity (γ 12 , γ 21 >0) and increasing returns for family 1 (Ī· 1 ā„1). At a Hive Equilibrium, the active families satisfyV j (N ā ) = 0, which defines two curves in(N 1 , N 2 )-space: C 1 =(N 1 , N 2 ) :V 1 (N 1 , N 2 ) = 0,C 2 =(N 1 , N 2 ) :V 2 (N 1 , N 2 ) = 0. With increasing returns (Ī· 1 ā„1),C 1 is non-monotone:V 1 increases withN 1 for smallN 1 (increasing returns dominate) and decreases for largeN 1 (resource scarcity dominates). With positive externalities (γ 12 >0),V 1 increases withN 2 , tiltingC 1 in(N 1 , N 2 )-space. For sufficiently strong complementarities,C 1 andC 2 intersect at least twice, yielding at least two interior equilibria with distinct population structures. Full details, including the computation of the crossing conditions, are given in Appendix A. Remark4.5 (Interpretation).The multiple equilibria correspond to distinct āmorpholo- giesā of the Hive: ā¢Exploitation equilibrium: high specialization, concentrated populations, high effi- ciency; ā¢Exploration equilibrium: high diversity, distributed populations, robustness to per- turbation. The system can settle into either morphology depending on initial conditions and historical pathāa form ofpath dependencedirectly analogous to the indeterminacy in multi-sector growth models [ 3,10]. 10 4.4 StolperāSamuelson analog Theorem 4.6(Hive StolperāSamuelson).At an interior Hive Equilibrium, the Jacobian matrix S= āĪ» ā āw āR MĆS (12) satisfies amagnification effect: if preferencew j increases (ceteris paribus), the shadow priceĪ» mā of the resource most intensively used by familyjincreases proportionally more than the preference change: Ė Ī» mā Ėw j >1for the resourcemused most intensively by familyj,(13) whereĖx= dx/xdenotes a proportional change. Proof sketch.Differentiate the first-order conditions ( 7) totally with respect tow. The resulting linear system, combined with the resource constraints P j K mā j =R m and the CES structure ofF j , yields the StolperāSamuelson matrix whose structure is inherited from the factor intensity matrixĪø= (Īø jm )withĪø jm =Ī» mā K mā j /(w j u ā² (Y ā j )Y ā j ). The magnification effect follows from the algebraic structure ofĪø ā1 whenS=M, and from generalized StolperāSamuelson results [ 16,8] whenS6=M. See AppendixA. Remark4.7 (Operational interpretation).Suppose the system administrator increases the weight on quality (w qual ā). The S matrix predicts which resources will become scarce (e.g., GPU if quality-intensive families are GPU-heavy)before the change is applied. This is apredictive governancetool: the operator can anticipate bottlenecks and provision resources accordingly. 4.5 Rybczynski analog Theorem 4.8(Hive Rybczynski).At an interior Hive Equilibrium, the Jacobian matrix RB= āN ā āR āR SĆM (14) satisfies amagnification effect: if endowmentR m increases (ceteris paribus), the equilib- rium population of the family that uses resourcemmost intensively expands proportionally more than the endowment change, while other families may contract: Ė N jā Ė R m    >1if familyjusesmmost intensively, <0for some familiesj ā² 6=j. (15) Proof sketch.At steady state,Φ(N ā ,R) = 0. By the implicit function theorem (assuming D N Φis non-singular): āN ā āR =ā D N Φ ā1 D R Φ. The structure ofD R Φreflects how resource changes affect marginal valuesV j through the allocationK ā (N,R). The magnification effect follows from the factor intensity structure, as in the classical Rybczynski theorem. See Appendix A. 11 Remark4.9 (Operational interpretation).Suppose a second GPU cluster is added to the system (R gpu ā). The RB matrix predicts that GPU-intensive families (e.g., generation, transformation) willproliferate, while CPU-light families (e.g., logging, monitoring) may declineānot because they are less useful, but because the system re-optimizes the allo- cation. This is acapacity planning theorem: the operator can predict how the Hive will restructure before provisioning hardware. 4.6 Endogenous cycles Theorem 4.10(Endogenous demographic cycles).Under Assumptions 1ā3and5, sup- pose that: (i)Sā„2; (i) The JacobianJ=D N Φ(N ā )at an interior Hive EquilibriumN ā has a pair of complex conjugate eigenvaluesα(p)±iβ(p), wherepis a bifurcation parameter (e.g., an externality strengthγ jk ); (i)Transversality:dα/dp p=p 0 6= 0at the valuep 0 whereα(p 0 ) = 0; (iv) All other eigenvalues ofJhave strictly negative real parts atp 0 . Then aHopf bifurcationoccurs atp=p 0 : forpnearp 0 , a family of periodic orbits (limit cycles) bifurcates from the equilibriumN ā . Proof.This is a direct application of the Hopf bifurcation theorem[ 21,11] to the system Ģ N= Φ(N;p). Conditions (i)ā(iv) are exactly the hypotheses of the theorem. It remains to verify that these conditions can be satisfied for some parameter configuration. This is demonstrated by construction in Appendix A, where we exhibit a two-family ex- ample with explicit parameter values yielding complex eigenvalues crossing the imaginary axis. Remark4.11 (The āseasonsā of the Hive).The periodic orbits generated by the Hopf bifurcation correspond to cyclical phases of the Hiveās demographic structure: ā¢Expansion phase: births exceed deaths, population grows, new agents explore diverse tasks; ā¢Consolidation phase: successful families specialize, efficiency increases, diversity de- creases; ā¢Contraction phase: deaths exceed births, underperforming agents are pruned,re- sources are freed; ā¢Renewal phase: stem agents regenerate diversity, the cycle restarts. These cycles areendogenousādriven by the internal dynamics of externalities and returns to scale, not by external shocks. This is the agent-demographic analog of the competitive equilibrium cycles of Benhabib & Nishimura [ 3]. 4.7 Stability conditions Theorem 4.12(Local stability).An interior Hive EquilibriumN ā islocally asymptot- ically stableif and only if all eigenvalues of the JacobianJ=D N Φ(N ā )have strictly 12 negative real parts. A sufficient condition is: Ī· max <1andkEk ā Ā·max j N jā <min j V ā² j (N ā ) Ā·N jā ,(16) whereĪ· max = max j Ī· j andkEk ā is the infinity norm of the externality matrix. Proof.The Jacobian at an interior equilibrium (V j (N ā ) = 0) is: J jk = āΦ j āN k N ā = āV j āN k N ā Ā·N jā +V j (N ā )Ā·Ī“ jk = āV j āN k N ā Ā·N jā ,(17) sinceV j (N ā ) = 0. ThusJ= diag(N ā )Ā·D N V(N ā ). The diagonal terms areJ j = (āV j /āN j )Ā·N jā . UnderĪ· j <1,āV j /āN j <0(diminishing returns), soJ j <0. The off-diagonal terms areJ jk = (āV j /āN k )Ā·N jā , whose sign is determined by the externalityγ jk . By the Gershgorin circle theorem, all eigenvalues ofJlie in the union of disks centered atJ j with radius P k6=j |J jk |. The sufficient condition ( 16) ensures that these disks lie entirely in the left half-plane. Remark4.13 (Governance lever).The stability condition can be interpreted as a require- ment that the āmortality pressureā (captured by|V ā² j |Ā·N jā , the speed at which declining families shrink) dominates the āamplification pressureā from cross-family externalities (kEk ā Ā·N jā ). The orchestrator can enforce stability by increasing thesensitivity of the birth-death mechanism to marginal value deviations. 5 Numerical illustrations We complement the analytical results with numerical computations forS= 3andS= 5 families, illustrating the equilibrium structure, regimetransitions, and dynamic behavior predicted by the theory. All computations use log utility (Ļ= 1) and CES production with the parameters specified below. 5.1 Three-family Hive (S= 3,M= 2) Consider three agent familiesāperception(j= 1),reasoning(j= 2), andgeneration (j= 3)āsharing two resources: GPU (m= 1) and memory (m= 2). Parameters.A j = 1for allj;c j = 1;B= 15;R 1 = 10(GPU),R 2 = 8(memory). CES elasticities:Ļ 1 = 0.8,Ļ 2 = 1.2,Ļ 3 = 0.6. Factor shares:α 1 = (0.3,0.7)(memory- intensive),α 2 = (0.5,0.5)(balanced),α 3 = (0.8,0.2)(GPU-intensive). Preferences:w= (0.35,0.40,0.25). 13 051015 0 2 4 6 8 t N j ( t ) (a) Convergence toN ā A (stable spiral) Percep. Reason. Gener. 051015 0 2 4 6 8 t N j ( t ) (b) Convergence toN ā B (stable node) Percep. Reason. Gener. Figure 1: Path dependence in the three-family Hive (S= 3,M= 2) withĪ· 1 = 1.3and γ 12 =γ 21 = 0.4.(a)FromN 0 = (5.0,5.0,5.0), the system spirals into the perception- dominant morphologyN ā A ā(6.1,5.8,1.4).(b)FromN 0 = (2.0,3.0,6.0), it converges monotonically to the generation-dominant morphologyN ā B ā(2.3,4.9,5.2). The coexis- tence of two locally stable equilibria confirms Theorem 4.4. Baseline: weak externalities (γ jk = 0.05).WithĪ· j = 0.7for alljand uniformly weak externalitiesγ jk = 0.05forj6=k, the system has a unique Hive Equilibrium (Theorem 4.12applies): N ā ā(4.2,5.1,3.7),Ī» ā ā(0.31,0.42).(18) The shadow price of memory exceeds that of GPU, reflecting thememory-intensive pref- erence structure (w 1 = 0.35for the memory-intensive family). Increasing returns and multiplicity.SettingĪ· 1 = 1.3(increasing returns for percep- tion) and strengthening complementaritiesγ 12 =γ 21 = 0.4while keepingγ j3 =γ 3j = 0.05, two distinct equilibria emerge (Theorem 4.4): N ā A ā(6.1,5.8,1.4)(perception-dominant morphology),(19) N ā B ā(2.3,4.9,5.2)(generation-dominant morphology).(20) The perception-dominant morphology (N ā A ) concentrates resources on the perceptionā reasoning axis, exploiting the strong complementarity. The generation-dominant mor- phology (N ā B ) instead develops a large generation pool, which is self-sustaining through its high GPU utilization. Eigenvalue analysis.AtN ā A , the Jacobian eigenvalues are approximatelyā1.8,ā0.4± 0.9i: the equilibrium is a stable spiral. AtN ā B , the eigenvalues areā2.1,ā0.7,ā0.3: a stable node. Both equilibria are locally stable, confirming the path-dependence pre- dicted by the theory. Figure 1illustrates the convergence dynamics from two different initial conditions. Hopf bifurcation.Introducing asymmetric externalitiesāγ 12 = 0.5(reasoning helps perception) butγ 21 =ā0.3(perception congests reasoning)āand varying|γ 21 |as the bifurcation parameter, the real part of the complex eigenvalue pair crosses zero atγ 21 ā 14 051015202530 2 4 6 t(model time units) N j ( t ) Perception Reasoning Generation Figure 2: Endogenous demographic cycles (Hopf bifurcation) in the three-family Hive. Parameters:γ 12 = 0.5,γ 21 =ā0.5(beyond the critical valueγ ā 21 āā0.42). Starting from a perturbed equilibrium, the oscillation amplitude grows and saturates to a limit cycle with periodTā8.3. The phase shifts between families produce the four āseasonsā of the Hive: expansion, consolidation, contraction, and renewal. ā0.42. Beyond this threshold, endogenous demographic cycles emerge with periodTā8.3 (in model time units), confirming Theorem 4.10. Figure2displays the resulting limit cycle. 5.2 Five-family Hive (S= 5,M= 3) We scale the model to five familiesāperception(j= 1),reasoning(j= 2),generation (j= 3),verification(j= 4),monitoring(j= 5)āsharing three resources: GPU (m= 1), memory (m= 2), and I/O bandwidth (m= 3). Parameters.A j = 1;c j = 1;B= 30;R= (20,15,12). CES elasticities:Ļ j ā 0.6,1.2,0.8,1.0,0.5. Factor share matrix (rows = families, columns = GPU/memory/I/O): α=        ļ£ 0.2 0.6 0.2 0.4 0.4 0.2 0.7 0.1 0.2 0.3 0.3 0.4 0.1 0.2 0.7         . Preferences:w= (0.20,0.30,0.25,0.15,0.10). Baseline: unique equilibrium.WithĪ· j = 0.7andγ jk = 0.02for allj6=k, the unique equilibrium is: N ā ā(5.1,7.3,6.2,4.8,3.6),Ī» ā ā(0.28,0.35,0.41).(21) I/O bandwidth is the scarcest resource (Ī» 3ā is highest), consistent with the monitoring familyās heavy I/O usage. Rybczynski prediction.Increasing GPU endowment by 50% (R 1 : 20ā30), the new equilibrium isN ā ā(5.4,8.1,9.8,5.0,3.2). The GPU-intensive generation family expands by 58% (magnification>1), while the I/O-intensive monitoring familycontractsby 11%, precisely as predicted by Theorem 4.8. 15 00.10.20.30.40.5 0.6 0.8 1 1.2 1.4 Unique stableMultiple CyclesInstability γ crit ā 0 Ī· crit ā0.98 Externality strengthγ Maximum return to scale Ī· 1 Figure 3: Numerical regime diagram for the five-family Hive (S= 5,M= 3). Each marker corresponds to one parameter sweep point:ā¢unique stable equilibrium,multiple stable equilibria, Nendogenous limit cycle,Ćinstability (boundary dynamics). Dashed lines indicate the critical boundariesγ crit ā0.20andĪ· crit ā0.98, confirming the four-region partition of Section 6. StolperāSamuelson prediction.Increasing the weight on verification (w 4 : 0.15ā 0.25, renormalized), the shadow price of I/O (Ī» 3ā ) increases by 32% while GPU price (Ī» 1ā ) decreases by 8%āa magnification effect consistent with Theorem 4.6, since verification is the most I/O-intensive family. Regime transitions.We sweep the parameter space(γ, Ī· max )by varyingγ jk =γ (uniform externality) andĪ· 1 (returns to scale in perception), computing equilibria at each grid point. The resulting numerical regime diagram confirmsthe four-region structure of Section 6: RegionParameter rangeEquilibria found Unique stableγ <0.15,Ī· 1 <0.951 (stable node/spiral) Multiple stableγ >0.25,Ī· 1 <0.952ā3 (distinct morphologies) Endogenous cyclesγ mixed ,Ī· 1 >1.11 (limit cycle,Tā6ā12) Instabilityγ >0.35,Ī· 1 >1.2 0 interior (boundary dynamics) The transition boundaries (γ crit ā0.20,Ī· crit ā0.98) are sharp and consistent across multiple random initializations, confirming the robustness of the regime diagram. The numerical regime diagram is shown in Figure3. Welfare monotonicity.In all simulations within the weak-externality regime, we verify numerically thatW ā (t)is strictly increasing along trajectories, withdW ā /dt= P j V 2 j N j > 0until convergence, confirming Theorem A.1. The convergence rate is approximately ex- ponential, with time constantĻā1/|Ī» min (J)|whereĪ» min is the eigenvalue ofJclosest to the imaginary axis. Reproducibility.All numerical results were obtained by solving the steady-state con- ditionsV j (N ā ) = 0via Newtonās method, computing Jacobian eigenvalues via standard 16 linear algebra routines (numpy.linalg), and integrating the ODE system (10) using a fourth-order RungeāKutta scheme. Python source code reproducing all numerical results and Figures 1ā3will be released as supplementary material upon publication. 6 The regime diagram Theorems 4.1ā4.12collectively define a partition of the parameter space into qualitatively distinct regions. The two most informative parameters are theexternality strengthγ= max j6=k |γ jk |and themaximum return to scaleĪ· max = max j Ī· j . γ(externalities) Ī· max (returns) Unique equilibrium (Thm. 4.12) Multiple equilibria (Thm. 4.4) Endogenous cycles (Thm.4.10) Instability (divergence) γ crit Ī· crit Hopf ā¢Bottom-left(γ < γ crit ,Ī· max < Ī· crit ): unique, stable equilibrium. The Hive con- verges to a single morphology. Theorems4.1and4.12apply. ā¢Bottom-right(γ > γ crit ,Ī· max < Ī· crit ): multiple stable equilibria coexist. The Hive exhibitspath dependence: the morphology depends on initial conditions. The- orems 4.1and4.4apply. ā¢Top-left(γ < γ crit ,Ī· max > Ī· crit ): unique equilibrium destabilized by increasing returns. Hopf bifurcation generates endogenous cycles. Theorems 4.1and4.10 apply. ā¢Top-right(γ > γ crit ,Ī· max > Ī· crit ): strong externalities combined with increasing returns can lead to divergence. The orchestrator must enforce hard population caps to maintain bounded dynamics. The critical valuesγ crit andĪ· crit depend on the full parameter vector(w,R,A j , c j , Ļ j ) and are computable from the eigenstructure of the JacobianD N Φat any candidate equi- librium. Remark6.1 (Governance).The regime diagram is adashboardfor the Hive operator. The orchestrator can: ⢠Move the systemleft(reduce externalities) by isolating agent families (sandboxing, rate limiting); ⢠Move the systemdown(reduce returns to scale) by increasing within-family compe- 17 tition or capping family size; ⢠Move the systembetween equilibria(in the multiplicity region) by applying transient preference shocks. 7 Discussion 7.1 A macroeconomic governance framework The Agentic Hive framework provides a formal alternative tothe ad-hoc heuristics cur- rently used to manage multi-agent systems. Rather than manually deciding agent counts and roles, the operator specifiespreferenceswandresource endowmentsR; the population structure then emerges from the equilibrium conditions. The analogy with macroeconomic governance is precise: Central bank / Government Hive orchestrator Sets interest ratesSets preference weightsw Fiscal policy (taxes, spending) Resource allocationR Monetary policy toolsBirth/death rate parameters GDP, inflation, unemploymentW,N, resource utilization Taylor ruleStability condition ( 16) The S and RB matrices (Theorems4.6ā4.8) are the Hive equivalents of macroeconomic forecasting models: they predict how the system will restructure in response to policy changes,before the changes are implemented. 7.2 Connection to Global Workspace Theory The orchestrator plays a role analogous to the Global Workspace of Baars [ 2]: it receives signals from all agent families (perception), selects relevant information (attention), inte- grates it into a global state (working memory), and broadcasts resource allocation signals (action selection). The endogenous cycles of Theorem 4.10provide a formal model of what cognitive scien- tists call āattentional oscillationsāāperiodic shifts inthe focus of the workspace between competing representations [ 6]. We do not claim that the Agentic Hive is conscious. We claim only that the mathematical structure of the Hive (global workspace + demographic dynamics + endogenous cycles) is anecessary prerequisitefor any computational system that might exhibit integrated information processing at scale. 7.3 Imperfect information and mechanism design Theorems 4.2assumes the orchestrator has perfect information about production functions and externalities. In practice, the orchestrator observesonly noisy performance metricsμ a and must infer the production parameters. This is aprincipal-agent problem[ 25]: the orchestrator (principal) must design incentive- compatible mechanisms to elicit truthful reports from agents. The tools of mechanism design (revelation principle, VickreyāClarkeāGroves mechanisms) are directly applicable. 18 When externalities are imperfectly observed, the equilibrium may fail to be Pareto-optimal. The standard correction is aPigouvian tax/subsidy: agents in families with negative externalities pay a taxĻ j =ā P k6=j γ kj Ā·āW/āN k , which internalizes the externality. 7.4 Relation to evolutionary dynamics The population dynamics ( 10) are formally a selection dynamic. This connects the Hive to the theory of evolutionary games [13,23]. However, two key differences separate the Hive from standard evolutionary dynamics: 1.Endogenous fitness: in standard replicator dynamics, fitness depends on population frequencies. In the Hive, fitnessV j (N)depends on absolute populationsandon the orchestratorās optimal resource allocationāan endogenous, optimization-mediated feedback loop. 2.Multi-factor production: agents consume multiple resources (GPU, memory, atten- tion), not a single abstract fitness payoff. This multi-factor structure is what gener- ates the StolperāSamuelson and Rybczynski effects, which have no analog in stan- dard evolutionary dynamics. 7.5 Limitations 1.Continuous-population approximation.We model family sizes as continuous vari- ablesN j āR + , which is appropriate for large populations but may lose accuracy for small agent counts. A stochastic extension (birth-death Markov chain) would address this. 2.Discrete families.We assumeSdiscrete families. In practice, specialization may be continuousāa point in a manifoldS āR d . The continuous extension replaces the ODE system with a partial differential equation (reaction-diffusion onS), analogous to Turing morphogenesis [ 27]. 3.Passive agents as theoretical baseline.The present framework assumes agents are passive: their behavior is fully determined by their genomeand orchestrator signals, and the orchestrator solves a centralized social welfare problem. This is the stan- dard starting point in economic theoryāanalogous to theoptimal growth(Ramsey) formulation that precedes thecompetitive equilibrium(ArrowāDebreu) formulation. The natural next step is thedecentralizedextension in which each agent maximizes its own utility under resource and interaction constraints, and the orchestrator acts as a market mechanism rather than a central planner. In this setting, the Hive Equilibrium becomes a Nash equilibrium of a population game, and standard tools from mechanism design (revelation principle, VCG mechanisms) are needed to align individual incentives with social welfare. We view the centralized framework of this paper as the necessary foundation: one must first understandthe socially optimal demographic structure before analyzing what happens when agents pursue their own objectives. 4.Empirical validation.The present paper is purely theoretical. Empirical validation on real multi-agent systems is needed to calibrate the parameters(Ī· j , γ jk , Ļ j )and verify the predicted regimes. 19 8 Conclusion We have introduced the Agentic Hive, a formal framework for self-organizing multi-agent systems in which the population of agents undergoes demographic dynamics governed by multi-sector growth theory. Our seven main resultsāexistence, Pareto optimality, multiplicity, StolperāSamuelson and Rybczynski comparative statics, endogenous cycles, and stability conditionsāprovide the first analytical foundation for the question:how should the population structure of a multi-agent system evolve? The regime diagram (Section 6) gives operators a formal tool for understanding and controlling the Hiveās behavior: by adjusting preferencesand resources, the orchestra- tor can steer the system between stable equilibria, manage path dependence, and avoid instabilityāall with quantitative predictions derived from the S and RB matrices. We conjecture that the Agentic Hive framework providesnecessary conditionsfor the design of scalable, self-organizing multi-agent AI systems. Systems that lack a formal demographic theory may function at small scale, but have no guarantee of coherent be- havior as agent counts grow, as resource constraints tighten, or as the task distribution shifts. The mathematical tools developed over seven decades for multi-sector economies are, we believe, the right foundation for this emerging challenge. Future directions. ā¢Empirical validationon real multi-agent deployments (e.g., LLM orchestration on edge hardware); ā¢Mechanism designfor Hives with strategic agents; ā¢Meta-Hives: federations of interacting Hives, governed by international trade theory (HeckscherāOhlin); ā¢Continuous specializationvia reaction-diffusion PDEs on the specialization manifold; ā¢Chaos and complex dynamicsin Hives with strong nonlinearities, extending Nishimura & Yano [ 22]. References [1] K. J. Arrow and G. Debreu. Existence of an equilibrium fora competitive economy. Econometrica, 22(3):265ā290, 1954. [2] B. J. Baars.A Cognitive Theory of Consciousness. Cambridge University Press, 1988. [3] J. Benhabib and K. Nishimura. Competitive equilibrium cycles.Journal of Economic Theory, 35(2):284ā306, 1985. [4] G. Debreu.Theory of Value: An Axiomatic Analysis of Economic Equilibrium. Yale University Press, 1959. [5] CrewAI. Framework for orchestrating role-playing autonomous AI agents. https://github.com/crewAIInc/crewAI, 2024. 20 [6] S. Dehaene and L. Naccache. Towards a cognitive neuroscience of consciousness: basic evidence and a workspace framework.Cognition, 79(1ā2):1ā37, 2001. [7] M. Dorigo, V. Maniezzo, and A. Colorni. Ant system: optimization by a colony of cooperating agents.IEEE Trans. Systems, Man, and Cybernetics B, 26(1):29ā41, 1996. [8] W. J. Ethier. Some of the theorems of international tradewith many goods and factors.Journal of International Economics, 4(2):199ā206, 1974. [9] J.-P. Garnier. IndĆ©termination dans les modĆØles de croissance bi-sectoriels: le rĆ“le des prĆ©fĆ©rences. PhD thesis, GREQAM, Aix-Marseille UniversitĆ©, 2009. [10] J.-P. Garnier, K. Nishimura, and A. Venditti. Local indeterminacy in continuous- time models: the role of returns to scale.Macroeconomic Dynamics, 17(2):326ā355, 2013. [11] J. Guckenheimer and P. Holmes.Nonlinear Oscillations, Dynamical Systems, and Bifurcations of Vector Fields. Springer, 1983. [12] T. Guo, X. Chen, Y. Wang, R. Chang, S. Pei, N. V. Chawla, O.Wiest, and X. Zhang. Large language model based multi-agents: A survey of progress and challenges. arXiv preprint arXiv:2402.01680, 2024. [13] J. Hofbauer and K. Sigmund.Evolutionary Games and Population Dynamics. Cam- bridge University Press, 1998. [14] S. Hong, M. Zhuge, J. Chen, X. Zheng, Y. Cheng, C. Zhang, J. Wang, Z. Wang, S. K. S. Yau, Z. Lin, L. Zhou, C. Ran, L. Xiao, C. Wu, and J. Schmidhuber. MetaGPT: Meta programming for a multi-agent collaborativeframework. arXiv preprint arXiv:2308.00352, 2023. [15] J. H. Holland.Adaptation in Natural and Artificial Systems. MIT Press, 2nd edition, 1992. [16] R. W. Jones. The structure of simple general equilibrium models.Journal of Political Economy, 73(6):557ā572, 1965. [17] S. A. Kauffman.The Origins of Order: Self-Organization and Selection in Evolution. Oxford University Press, 1993. [18] J. Kennedy and R. Eberhart. Particle swarm optimization. InProc. IEEE Int. Conf. Neural Networks, pages 1942ā1948, 1995. [19] R. Lowe, Y. Wu, A. Tamar, J. Harb, P. Abbeel, and I. Mordatch. Multi-agent actor-critic for mixed cooperative-competitive environments. InNeurIPS, 2017. [20] L. W. McKenzie. On the existence of general equilibriumfor a competitive market. Econometrica, 27(1):54ā71, 1959. [21] J. E. Marsden and M. McCracken.The Hopf Bifurcation and Its Applications. Springer, 1976. [22] K. Nishimura and M. Yano. Nonlinear dynamics and chaos in optimal growth: An example.Econometrica, 63(4):981ā1001, 1995. [23] M. A. Nowak.Evolutionary Dynamics: Exploring the Equations of Life. Harvard University Press, 2006. 21 [24] OpenAI. Swarm: An experimental framework for multi-agent orchestration. https://github.com/openai/swarm, 2024. [25] J. E. Stiglitz. The theory of screening, education, andthe distribution of income. American Economic Review, 65(3):283ā300, 1975. [26] L. Tesfatsion. Agent-based computational economics:A constructive approach to economic theory. InHandbook of Computational Economics, volume 2, pages 831ā 880. Elsevier, 2006. [27] A. M. Turing. The chemical basis of morphogenesis.Phil. Trans. R. Soc. Lond. B, 237(641):37ā72, 1952. [28] A. Venditti. The two-sector optimal growth model with increasing returns: a geo- metric approach.Economic Theory, 25(1):217ā227, 2005. [29] Q. Wu, G. Bansal, J. Zhang, Y. Wu, B. Li, E. Zhu, L. Jiang, X. Zhang, and A. H. Awadallah. AutoGen: Enabling next-gen LLM applications via multi-agent conversation. arXiv preprint arXiv:2308.08155, 2023. A Proofs and technical details A.1 Proof details for Theorem 4.4(Multiplicity) ConsiderS= 2families with CES production (3),M= 1resource (for simplicity), and CobbāDouglas externalities: Y 1 =A 1 (K 1 ) α 1 (N 1 ) Ī· 1 (N 2 ) γ 12 , Y 2 =A 2 (K 2 ) α 2 (N 2 ) Ī· 2 (N 1 ) γ 21 . WithK 1 +K 2 =R(single resource constraint), the inner problem givesK ā j as a function ofN. The steady-state conditionsV 1 =V 2 = 0define implicit curvesC 1 ,C 2 in(N 1 , N 2 )-space. ForC 1 :V 1 = 0gives w 1 u ā² (Y 1 )A 1 (K ā 1 ) α 1 Ī· 1 (N 1 ) Ī· 1 ā1 (N 2 ) γ 12 =c 1 . Monotonicity inN 1 .IfĪ· 1 <1: the left-hand side decreases inN 1 (diminishing re- turns), soC 1 is downward-sloping (moreN 1 requires moreN 2 to maintainV 1 = 0). IfĪ· 1 = 1: the left-hand side is constant inN 1 (conditional onK ā 1 ), soC 1 is a horizontal line in the(N 1 , N 2 )-plane. IfĪ· 1 >1: the left-hand side increases inN 1 for smallN 1 (increasing returns dominate) and eventually decreases (resource scarcity asN 1 grows and absorbs more ofR). Hence C 1 is non-monotoneāit ābends back.ā Effect ofγ 12 >0.Positive externality from family 2 shiftsC 1 inward: moreN 2 makes family 1 more productive, reducing theN 1 needed to maintainV 1 = 0. 22 Multiple intersections.WhenC 1 bends back (due toĪ· 1 >1) andC 2 has a similar structure (or is monotone but appropriately positioned duetoγ 21 >0), the two curves can intersect at least twice. Each intersection is a Hive Equilibrium with a distinct population structure. Explicit numerical example:A 1 =A 2 = 1,α 1 =α 2 = 0.5,Ī· 1 = 1.2,Ī· 2 = 0.8,γ 12 = γ 21 = 0.3,w 1 =w 2 = 0.5,Ļ= 1(log utility),c 1 =c 2 = 1,R= 10. Numerical solution of V 1 =V 2 = 0yields two interior equilibria:N ā A ā(2.1,3.8)andN ā B ā(4.7,1.9). A.2 Proof details for Theorem4.6(StolperāSamuelson) We follow Jones [ 16]. At the optimum, the FOC (7) forS=M(square case) can be written in proportional changes (hat algebra): Ėw j + Ėu ā² j + ĖĪ· j + Ė Ī j = Ė Ī» m ā Ļ j ā1 Ļ j Ė K m j ā Ė F j , for alljand the resourcemthat binds for familyj. Defining the factor intensity matrixĪøwithĪø jm =Ī» m K m j /(w j u ā² j Y j )(the share of re- sourcemin the value of familyjās output), and using the resource constraints in differ- ential form, we obtain: Ė Ī»=Īø āT Ā· Ė w+(externality corrections). WhenĪøsatisfies astrong factor intensitycondition (each family uses one resource more intensively than others),Īø āT has the sign pattern that yields the magnification effect ( 13). A.3 Proof details for Theorem4.10(Endogenous cycles) We exhibit a parameter configuration satisfying the Hopf conditions. ConsiderS= 2 families with: Φ 1 (N) =V 1 (N 1 , N 2 )Ā·N 1 , Φ 2 (N) =V 2 (N 1 , N 2 )Ā·N 2 . At an interior equilibriumN ā , the Jacobian is: J= āV 1 āN 1 N 1ā āV 1 āN 2 N 1ā āV 2 āN 1 N 2ā āV 2 āN 2 N 2ā ! = a b c d ! . The eigenvalues areĪ»= 1 2 h (a+d)± q (aād) 2 + 4bc i . WithĪ· 1 , Ī· 2 <1:a <0andd <0(diminishing returns). Withγ 12 >0:b >0(family 2 helps family 1). Withγ 21 >0:c >0(family 1 helps family 2). The eigenvalues are complex when(aād) 2 + 4bc <0, i.e., when4bc <ā(aād) 2 . Since b, c >0, this requiresbcto be negative, which occurs when one of the cross-effects is 23 negativeāfor example, if family 1 helps family 2 (γ 21 >0, soc >0) but family 2congests family 1 (γ 12 <0, sob <0). In this mixed externality case (b <0,c >0): ⢠The tracea+d <0(stable direction); ⢠The determinantadābccan change sign as|γ 12 |varies (becausebbecomes more negative); ⢠When the trace passes through zero (as a function of a parameterp, e.g., the mag- nitude ofγ 12 ), the eigenvalues cross the imaginary axisāHopf bifurcation. Transversality (d Re(Ī»)/dp6= 0) is verified by direct computation of the derivative of the trace with respect top. Hence all conditions of the Hopf bifurcation theorem are satisfied, and a family of periodic orbits (limit cycles) emerges forpnear the critical value. A.4 Lyapunov property and welfare monotonicity The following result shows that the population dynamics (10) are not arbitraryāthey alwaysincrease social welfare. Theorem A.1(Welfare monotonicity).Under Assumptions1ā4, the optimized welfare W ā (N)is non-decreasing along trajectories of the population dynamics( 10): dW ā dt = S X j=1 V j (N) 2 Ā·N j ā„0,(22) with equality if and only ifV j (N) = 0for every active family (N j >0), i.e., at a Hive Equilibrium. Consequently, under Assumption 4(which ensuresW ā is strictly concave and bounded above onā¦), every trajectory of( 10)starting inā¦converges to the set of Hive Equilibria. Proof.By the chain rule and the definition of marginal social value (Definition3.9): dW ā dt = S X j=1 āW ā āN j Ģ N j = S X j=1 V j (N)Ā· V j (N)Ā·N j = S X j=1 V j (N) 2 N j . SinceN j ā„0, each term is non-negative, hencedW ā /dtā„0. Equality holds iffV j (N) 2 Ā· N j = 0for allj, i.e.,V j = 0wheneverN j >0. Under Assumption 4,W ā is strictly concave andā¦is compact, soW ā is bounded above onā¦. SinceW ā is non-decreasing and bounded,W ā (t)ā Ģ Wfor some Ģ W. By the LaSalle invariance principle, the trajectory converges tothe largest invariant set within Nā⦠: dW ā /dt= 0, which is precisely the set of Hive Equilibria. RemarkA.2 (Demographic pressure).Out of equilibrium, the quantity P j V j (N)Ā·N j can be interpreted as the totaldemographic pressurein the Hive. If positive, the system is under-populated (net entry pressure); if negative, over-populated (net exit pressure). At equilibrium, these forces exactly balanceāthe functional analog of Walrasā law. The Lyapunov result above shows that this rebalancing always improves social welfare. 24 RemarkA.3 (Scope of the convergence result).TheoremA.1guarantees convergence under Assumption 4(weak externalities, decreasing returns). When this assumption is relaxed (Section 4.3),W ā may no longer be globally concave, and the dynamics can exhibit the richer behaviors described in the regime diagram: convergence to one of multiple equilibria (path dependence) or sustained oscillations (Theorem 4.10). 25