Skip to main content

Core Concept Relationships

The power of the BREIGN system comes from the carefully designed relationships between its core concepts, forming a cohesive architecture for AI orchestration:

Entity Relationships​

  1. Brain β†’ Agent:

    • One Brain can have multiple Agent instances
    • Agents inherit the Brain's capabilities, persona, and prompt initialization
    • Different Agents can represent the same Brain with varied deployment configurations
  2. Agent β†’ Chat:

    • One Agent can participate in multiple Chat sessions
    • Each Chat is linked to exactly one Agent
    • Chat sessions maintain their independent context and history
  3. Chat β†’ Message:

    • A Chat contains an ordered sequence of Messages
    • Messages within a Chat form a conversational history
    • Each Message may reference Flow nodes and Tool results
  4. Brain β†’ Flow:

    • A Brain can have an optional Flow associated with it
    • The Flow controls the conversation structure and progression
    • Flow nodes dictate available Tools and response behavior
  5. Brain β†’ Module:

    • A Brain can incorporate multiple Modules
    • Modules extend the Brain's capabilities
    • Different types of Modules (External, ContextualKnowledge) provide distinct functionalities
  6. Brain/Agent β†’ Guardian:

    • Guardians can be applied at Brain or organization level
    • Multiple Guardian types can be combined for layered protection
    • Guardians filter both incoming and outgoing content
  7. Module β†’ Tool:

    • Modules expose their functionality through Tools
    • Tools are invoked during conversations based on context
    • Tool results are incorporated into the Brain's responses

Conceptual Schema​

This schema illustrates the hierarchical and compositional relationships between the core entities in the BREIGN system, with each entity accompanied by a brief description of its purpose. The connections represent functional relationships where entities work together to create the complete AI orchestration experience. The arrangement shows how the Brain serves as the central concept, with Modules, Guardians, and Flows extending its capabilities, while Agents instantiate it for deployment, leading to Chats that contain Messages.