Skip to content

feat: Agent interaction model — Mentorship, Peer Influence, Team Competition, Community Corporation #2

@daocoding

Description

@daocoding

Overview

AGORA's current agent model has static relationship edges but no dynamic inter-agent influence during simulation rounds. This issue tracks the implementation of AGORA's four-layer social physics.


The Four Layers

1. Mentorship (partially implemented)

Mentor's belief/habit state directly influences mentee each round.

  • Higher mentor belief → bigger boost to mentee belief
  • Mentor inactivity → mentee drift downward
  • Relationship strength changes dynamically based on contact frequency

2. Peer Influence

Agents at the same stage observe each other's results each round.

  • Peer breakthrough → INSPIRED_BY edge generated dynamically → belief jump
  • Peer dropout → belief dip for nearby agents
  • Event attendance amplifies: one story reaches the whole community simultaneously (the 'convention effect')

3. Team Competition

Agents within the same team track relative position each round.

  • High belief agents: competition accelerates them
  • Low belief agents: competition discourages them (dropout risk)
  • Recognition events (top performer, first promotion) = positive shock to entire team

4. Community Corporation

The community itself is an active force — equivalent to the 'platform layer' in OASIS.

Promotions:

  • Agent hits milestone criteria → community recognizes publicly
  • Effect: belief spike for promoted agent + INSPIRED_BY cascade to team
  • Failed promotion attempt → setback arc (belief dip + recovery test)

Company Events (scheduled, affect all agents or subsets):

  • Annual convention → whole-community belief boost
  • Regional training → targeted habit development
  • Recognition ceremony → feeds competition + inspiration dynamics
  • New program/system launch → opportunity signal, restarts dormant agents

Institutional Rules:

  • Promotion criteria (the milestone thresholds)
  • Event calendar (scheduled community events)
  • Recognition system (who gets recognized, for what, when)

Extended Relationship Dynamics

Beyond the four layers, AGORA should model:

Household / Family Unit

  • HouseholdSupportAgent: non-member agent that influences member belief level (spouse/partner support or skepticism)
  • GenerationalAgent: inherits starting belief from parent's trajectory history

External Shocks

  • ExternalShock: typed events (CATALYST | DISRUPTOR) that hit agents mid-simulation
    • Examples: job loss, new family member, financial windfall, health crisis
    • Effect depends on current belief level at time of impact

Emotional Contagion

  • ContagionEvent: propagates sentiment through team graph
    • Public breakthrough → positive wave
    • Public dropout → fear spread
    • Distinct from competition (about energy, not ranking)

Trust Network / Inner Circle

  • TrustNetworkAgent: competing influence source outside the community
    • Skeptical family member or friend whose opinion competes with mentor's
    • Models why some people plateau despite good mentorship

Implementation Notes

All of the above should use generic language in code and prompts — no domain-specific terms. The Toastmasters demo should be updated to exercise these dynamics after implementation.


Labels: enhancement, simulation, core

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions