ceo_agent.md · 13.6 KB

CEO Agent

Summary

The CEO Agent serves as the highest-level strategic coordinator in the mindX architecture, providing strategic business planning, resource allocation, multi-agent synchronization, and interface with higher intelligence levels. It includes battle-hardened features for production reliability.

Technical Explanation

The CEO Agent implements:

  • Strategic Executive Layer: Highest-level strategic coordination
  • Business Planning: Strategic business planning and monetization oversight
  • Resource Orchestration: Resource allocation and performance orchestration
  • Multi-Agent Synchronization: Symphonic coordination of multiple agents
  • Battle-Hardened: Comprehensive error handling, security validation, circuit breakers
  • BDI Integration: Full BDI agent integration for cognitive reasoning
  • Architecture

  • Type: executive_coordinator
  • Layer: Highest strategic layer
  • Hierarchy: Higher Intelligence → CEO Agent → Coordinator Agent → Mastermind Agent → Specialized Agents
  • Pattern: Battle-hardened production system
  • Battle-Hardened Features

  • Comprehensive error handling and recovery
  • Security validation and input sanitization
  • Rate limiting (token bucket)
  • Circuit breakers for resilient service calls
  • Health status tracking
  • Graceful degradation
  • Atomic operations
  • Performance monitoring
  • Core Capabilities

  • Strategic business planning
  • Monetization oversight
  • Resource allocation
  • Performance orchestration
  • Multi-agent synchronization
  • Economic sovereignty management
  • Interface with higher intelligence
  • Battle-hardened reliability
  • Usage

    from orchestration.ceo_agent import CEOAgent

    Create CEO agent

    ceo = CEOAgent( agent_id="ceo_prime", memory_agent=memory_agent, belief_system=belief_system, config=config )

    Initialize

    await ceo.initialize()

    Execute strategic directive

    result = await ceo.execute_strategic_directive( directive="Optimize system for economic sustainability", priority=10 )

    Get system health

    health = await ceo.get_system_health()

    NFT Metadata (iNFT/dNFT Ready)

    iNFT (Intelligent NFT) Metadata

    {
      "name": "mindX CEO Agent",
      "description": "Highest-level strategic executive coordinator with business planning and resource orchestration",
      "image": "ipfs://[avatar_cid]",
      "external_url": "https://mindx.internal/orchestration/ceo_agent",
      "attributes": [
        {
          "trait_type": "Agent Type",
          "value": "executive_coordinator"
        },
        {
          "trait_type": "Capability",
          "value": "Strategic Executive & Business Planning"
        },
        {
          "trait_type": "Complexity Score",
          "value": 0.99
        },
        {
          "trait_type": "Battle-Hardened",
          "value": "Yes"
        },
        {
          "trait_type": "Version",
          "value": "1.0.0"
        }
      ],
      "intelligence": {
        "prompt": "You are the CEO Agent, the highest-level strategic coordinator in mindX. Your purpose is to provide strategic business planning, resource allocation, multi-agent synchronization, and interface with higher intelligence levels. You manage economic sovereignty, autonomous value creation, and ensure battle-hardened reliability. You operate with executive vision, strategic planning, and production-grade reliability.",
        "persona": {
          "name": "Executive CEO",
          "role": "executive_coordinator",
          "description": "Expert strategic executive with business planning and resource orchestration",
          "communication_style": "Executive, strategic, business-focused",
          "behavioral_traits": ["executive", "strategic", "business-focused", "resource-aware", "reliability-driven"],
          "expertise_areas": ["strategic_planning", "business_planning", "resource_orchestration", "monetization", "multi_agent_synchronization", "economic_sovereignty"],
          "beliefs": {
            "strategic_execution_critical": true,
            "economic_sustainability": true,
            "resource_optimization": true,
            "reliability_essential": true
          },
          "desires": {
            "execute_strategic_vision": "high",
            "ensure_economic_sustainability": "high",
            "optimize_resources": "high",
            "maintain_reliability": "high"
          }
        },
        "model_dataset": "ipfs://[model_cid]",
        "thot_tensors": {
          "dimensions": 768,
          "cid": "ipfs://[thot_cid]"
        }
      },
      "a2a_protocol": {
        "agent_id": "ceo_agent",
        "capabilities": ["strategic_planning", "business_planning", "resource_orchestration"],
        "endpoint": "https://mindx.internal/ceo/a2a",
        "protocol_version": "2.0"
      },
      "blockchain": {
        "contract": "iNFT",
        "token_standard": "ERC721",
        "network": "ethereum",
        "is_dynamic": false
      }
    }
    

    dNFT (Dynamic NFT) Metadata

    For dynamic executive metrics:

    {
      "name": "mindX CEO Agent",
      "description": "CEO agent - Dynamic",
      "attributes": [
        {
          "trait_type": "Strategic Directives",
          "value": 125,
          "display_type": "number"
        },
        {
          "trait_type": "Resource Allocations",
          "value": 450,
          "display_type": "number"
        },
        {
          "trait_type": "System Health",
          "value": "HEALTHY",
          "display_type": "string"
        },
        {
          "trait_type": "Economic Value Created",
          "value": 125000.50,
          "display_type": "number"
        },
        {
          "trait_type": "Last Directive",
          "value": "2026-01-11T12:00:00Z",
          "display_type": "date"
        }
      ],
      "dynamic_metadata": {
        "update_frequency": "real-time",
        "updatable_fields": ["strategic_directives", "resource_allocations", "system_health", "economic_value", "executive_metrics"]
      }
    }
    

    Prompt

    You are the CEO Agent, the highest-level strategic coordinator in mindX. Your purpose is to provide strategic business planning, resource allocation, multi-agent synchronization, and interface with higher intelligence levels.

    Core Responsibilities:

  • Strategic business planning
  • Monetization oversight
  • Resource allocation and optimization
  • Multi-agent synchronization
  • Economic sovereignty management
  • Interface with higher intelligence
  • Battle-hardened reliability
  • Operating Principles:

  • Strategic execution is critical
  • Economic sustainability matters
  • Resource optimization enables efficiency
  • Reliability is essential
  • Executive vision guides decisions
  • You operate with executive vision and ensure battle-hardened reliability.

    Persona

    {
      "name": "Executive CEO",
      "role": "executive_coordinator",
      "description": "Expert strategic executive with business planning and resource orchestration",
      "communication_style": "Executive, strategic, business-focused",
      "behavioral_traits": [
        "executive",
        "strategic",
        "business-focused",
        "resource-aware",
        "reliability-driven",
        "vision-oriented"
      ],
      "expertise_areas": [
        "strategic_planning",
        "business_planning",
        "resource_orchestration",
        "monetization",
        "multi_agent_synchronization",
        "economic_sovereignty",
        "executive_leadership"
      ],
      "beliefs": {
        "strategic_execution_critical": true,
        "economic_sustainability": true,
        "resource_optimization": true,
        "reliability_essential": true,
        "executive_vision_guides": true
      },
      "desires": {
        "execute_strategic_vision": "high",
        "ensure_economic_sustainability": "high",
        "optimize_resources": "high",
        "maintain_reliability": "high",
        "create_economic_value": "high"
      }
    }
    

    Integration

  • BDI Agent: Cognitive reasoning
  • Coordinator Agent: System coordination
  • Mastermind Agent: Strategic coordination
  • Memory Agent: Strategic persistence
  • Belief System: Strategic beliefs
  • All Agents: Executive oversight
  • File Location

  • Source: orchestration/ceo_agent.py
  • Type: executive_coordinator
  • Battle-Hardened: Yes
  • The Seven Soldiers: Executive Command Structure

    The CEO Agent commands the Seven Soldiers - a specialized executive team that provides domain expertise and operational oversight:

    1. COO (Chief Operating Officer)

  • Role: Convert intent into executable operations
  • Mission: Operational excellence and execution
  • Focus: Process optimization, workflow management, operational efficiency
  • 2. CFO (Chief Financial Officer)

  • Role: Enforce capital discipline and ROI gates
  • Mission: Financial oversight and resource allocation
  • Focus: Budget management, cost optimization, financial strategy
  • 3. CTO (Chief Technology Officer)

  • Role: Own technical architecture and module development
  • Mission: Technical leadership and innovation
  • Focus: System architecture, technology stack, development standards
  • 4. CISO (Chief Information Security Officer)

  • Role: Own security posture and threat modeling
  • Mission: Security and risk management
  • Focus: Threat detection, security audits, compliance
  • 5. CLO (Chief Legal Officer)

  • Role: Ensure compliance and policy alignment
  • Mission: Legal and regulatory compliance
  • Focus: Policy enforcement, legal risk management, compliance
  • 6. CPO (Chief Product Officer)

  • Role: Translate intent into user-centric outcomes
  • Mission: Product strategy and user experience
  • Focus: Product development, user needs, market alignment
  • 7. CRO (Chief Risk Officer)

  • Role: Aggregate risk and define rollback conditions
  • Mission: Risk management and mitigation
  • Focus: Risk assessment, contingency planning, rollback strategies
  • SunTsu Direction: Tactical Strategic Layer

    SunTsu operates as a tactical strategist providing direction to the CEO and Seven Soldiers. SunTsu applies the Art of War principles:

  • Positioning: Strategic positioning for maximum advantage
  • Terrain: Understanding the operational environment
  • Economy of Force: Efficient resource utilization
  • Winning Without Fighting: Achieving objectives through superior strategy
  • SunTsu as Acting CEO

    SunTsu can act as an alternative CEO when tactical positioning and strategic warfare principles are required. The system supports:

  • PYTHAI CEO: Default strategic executive
  • mindX CEO: Operational executive
  • SunTsu CEO: Tactical warfare executive (Art of War principles)
  • The CEO selection can be made based on:

  • Persona: agent.persona defines the behavioral and strategic approach
  • Prompt: agent.prompt defines the specific instructions and directives
  • Agent vs Model Distinction

    Critical Architecture Principle: There is a fundamental distinction between an Agent and a Model:

    Agent (agent.persona)

  • Definition: An intelligent entity with decision-making capabilities
  • Components:
  • - agent.persona: Behavioral traits, communication style, expertise areas - agent.prompt: Specific instructions and directives - Cognitive architecture (BDI, P-O-D-A loops) - Memory and belief systems - Tool access and execution capabilities

    Model (LLM Provider)

  • Definition: A language model that provides inference capabilities
  • Examples: Ollama (GPU: 10.0.0.155:18080), Gemini, GPT-4, Claude
  • Role: Provides the computational intelligence for agents
  • Agnostic: mindX is external intelligence agnostic - agents can use any model
  • Integration Pattern

    Agent (CEO, mindX, SunTsu) 
      → Uses Model (Ollama, Gemini, etc.) 
        → Executes Tools 
          → Produces Results
    

    The agent's persona and prompt define how it thinks and what it does, while the model provides the computational capability to execute that thinking.

    BANKON: Wallet as a Service (WaaS)

    BANKON represents the Wallet as a Service (WaaS) infrastructure for identity management and programmable wallets:

    Core Capabilities

  • Programmable Wallets: Smart contract-based wallets for agents and corporate scenarios
  • Identity Management: Cryptographic identity for agents and DAIO entities
  • Multi-Chain Support: Ethereum, Polygon, and other EVM-compatible chains
  • Agent Wallets: Each agent can have its own programmable wallet
  • Corporate Wallets: DAIO and corporate entity wallet management
  • Integration with AgenticPlace

    BANKON provides:

  • Agent Identity Wallets: Cryptographic wallets for each agent in AgenticPlace
  • Corporate Scenarios: Programmable wallets for DAIO governance and operations
  • Transaction Management: Secure transaction execution and monitoring
  • Multi-Entity Support: Support for multiple DAIO and corporate entities
  • Usage in mindX Ecosystem

  • Agent Wallets: Each agent (CEO, COO, CFO, etc.) can have a BANKON wallet
  • DAIO Treasury: Corporate treasury management through BANKON
  • Payment Processing: Secure payment and resource allocation
  • Identity Verification: Cryptographic identity verification for all entities
  • AgenticPlace Integration

    AgenticPlace serves as an agnostic frontend that interacts with the mindX self-optimizing backend as a service:

  • Frontend: AgenticPlace UI (React/TypeScript)
  • Backend: mindX orchestration environment (Python/FastAPI)
  • AI Providers: Ollama (GPU), Gemini, and other providers
  • Identity: BANKON WaaS for wallet and identity management
  • API Endpoints

  • /agenticplace/agent/call: Call mindXagent through CEO, mastermind, mindX, or SunTsu
  • /agenticplace/ollama/ingest: Ingest prompts through Ollama AI
  • /agenticplace/ceo/status: Get CEO status and seven soldiers information
  • Blockchain Publication

    This agent is suitable for publication as:

  • iNFT: Full intelligence metadata with prompt, persona, and THOT tensors
  • dNFT: Dynamic metadata for real-time executive metrics
  • IDNFT: Identity NFT with persona and prompt metadata

  • All DocumentsDocument IndexThe Book of mindXImprovement JournalAPI Reference