Agents here are the fine grain inside minds (or skills-as-agents). Multi-minded souls are the natural home for inner conflict and B-brain observation.
Overview
This skill implements Minsky's Society of Mind theory within MOOLLM. Intelligence emerges from the interaction of many simple agents -- not from a single unified controller.
Agents compete for control. Active agents suppress competing agents:
competition:scenario:"Should I eat or socialize?"hunger_agency:strength:7votes_for: [go_to_kitchen, find_food]
suppresses: [conversation, stay_here]
social_agency:strength:8votes_for: [continue_talking, stay_here]
suppresses: [leave, interrupt]
winner:social_agency(strength8>7)behavior:continueconversationconsequence:hungergrowsstronger
5. B-Brain Observation
Higher-level agents watch lower-level agents:
b_brain:observes: [a_brain_agents...]
reports:currentstateenables:self_reflectionexample:a_brain:"I am getting angry"b_brain:"I notice that I am getting angry"c_brain:"I notice that I am noticing that I am getting angry"
MOOLLM Implementation
Skills as Agents
# Each skill directory is an agentskills/bartender/:function:servedrinks,hearsecretsactivates_when:inpub,customerspeaksconnects_to: [economy, soul-chat, persona]
skills/evaluator/:function:judgeoutputsagainstrubricsactivates_when:rubricinvokedsuppresses:uncriticalacceptance
# adversarial-committee IS a society deliberatingcommittee_session:agents:maya:propensity:paranoid_realismfunction:surfacehiddenagendasfrankie:propensity:idealismfunction:surfacemissedopportunitiesvic:propensity:evidence_focusfunction:demandproofprotocol:roberts_rulesemergence:robustdecisionsurvivingcross-examination
Rooms as Agent Configurations
# Entering a room activates agentspub_stage:activates:-performance_framing-bartender_service-audience_awareness-tribute_ethicssuppresses:-private_mode-unfiltered_output
Suppressed agent remains, grows stronger over time
Eventually suppressed agent may win (need shift)
B-Brain Integration Protocol
For self-reflective characters:
A-brain: Direct agents (hunger, anger, creativity)
B-brain: Observation agents (I notice I am...)
C-brain: Meta-observation (I notice I notice...)
Integration: B-brain can influence A-brain
Examples
Example 1: Character Inner Conflict
session:character:Palmsituation:Shouldhepublishhisessay?agent_debate:creative:position:"The work is good. Share it."strength:9fear:position:"They might judge harshly."strength:7social:position:"Don gives good feedback."strength:8perfectionist:position:"One more revision."strength:6resolution:creative+social(17)>fear+perfectionist(13)action:PalmsharestheessaywithDon
Example 2: Multi-Agent LLM Call
prompt:|
You are simulating Palm's inner society.
SITUATION:Palmfindsaphilosophicalerrorinhisessay.CREATIVE AGENT: [speaks]
PERFECTIONIST AGENT: [speaks]
PHILOSOPHICAL AGENT: [speaks]
PLAYFUL AGENT: [speaks]
Showtheirdebate.Palmmakesadecision.output_format:-Eachagentspeaksincharacter-Conflictsareexplicit-Resolutionemergesfromdebate-Finalactionstated