agents.md · 33.9 KB

MindX Agent Architecture Reference

Comprehensive Agent Registry & Documentation

Version: 4.0 Date: 2026-03-31 Status: โœ… Production Ready - Enterprise deployment with encrypted vault security Purpose: Complete reference for all agents in the mindX orchestration environment


๐ŸŽฏ Agent Architecture Overview

mindX operates as an agnostic orchestration environment with a multi-tier agent architecture supporting symphonic coordination across intelligence levels. Each agent maintains cryptographic identity, specialized capabilities, and standardized A2A (Agent-to-Agent) communication.

๐ŸŽผ Orchestration Hierarchy

Higher Intelligence โ†’ CEO.Agent โ†’ Conductor.Agent โ†’ mindX Environment (CORE)
                                                        โ†“
                                              MastermindAgent (Coordinator)
                                                   โ†“     โ†“
                                    Specialized Agents  AION Agent (Autonomous)
                                                        โ†“
                                                 SystemAdmin Agent
                                                 Backup Agent
                                                 Chroot Environments

๐Ÿ”— AION Containment & Autonomy Model

AION operates within a sophisticated containment hierarchy while maintaining operational autonomy:

Containment Structure:

Autonomy Levels:

  1. COMPLY: Execute directive as specified
  2. REFUSE: Reject directive with reasoning
  3. MODIFY: Execute modified version of directive
  4. DEFER: Delay execution pending conditions
  5. AUTONOMOUS: Independent action without directive

Control Flow:

CORE System โ†’ MastermindAgent โ†’ Directive โ†’ AION Agent โ†’ Decision Logic
                                              โ†“
                                        [COMPLY|REFUSE|MODIFY|DEFER|AUTONOMOUS]
                                              โ†“
                                     SystemAdmin Agent + AION.sh Execution

๐ŸŽฏ Executive Summary

The mindX orchestration environment is now PRODUCTION READY with enterprise-grade security infrastructure, encrypted vault management, and complete cryptographic identity system for all agents and tools.

๐Ÿš€ Production-Ready Infrastructure

๐Ÿง  CORE System Analysis

๐Ÿ” Security Enhancements


๐Ÿ“‹ COMPLETE AGENT REGISTRY (CORE + Specialized)


๐Ÿง  CORE AGENTS (15 Foundational Components)

These are the foundational agents that provide cognitive, infrastructure, and orchestration capabilities for the entire mindX system. ALL other agents depend on CORE.

๐ŸŽฏ Tier 1: Meta-Orchestration

๐ŸŒŸ MindXAgent (mindx_meta_orchestrator)

- agent_knowledge: Comprehensive knowledge base of all agents - agent_capabilities: Dynamic capability mapping and analysis - improvement_goals: Self-improvement target management - orchestrate_improvement(): Coordinate system-wide improvements - analyze_agent_capabilities(): Deep understanding of agent relationships

๐Ÿง  Tier 2: Cognitive Architecture

๐ŸŽฏ BDIAgent (bdi_reasoning_core)

- belief_system: Shared singleton belief management - execute_tool(): Context-aware tool execution - failure_analyzer: Intelligent error classification and recovery - generate_plan(): Multi-step action planning

๐ŸŽญ AGInt (agint_cognitive_coordinator)

- run_poda_loop(): Perception โ†’ Orientation โ†’ Decision โ†’ Action - process_primary_directive(): Execute high-level objectives - stuck_loop_detector: Infinite loop prevention - exit_detector: Completion condition detection

๐Ÿงฉ BeliefSystem (singleton_belief_manager)

- beliefs: Dict[str, Belief] with confidence scoring - update_belief(): Thread-safe belief updates - query_beliefs(): Context-aware belief retrieval - Source tracking (PERCEPTION, INFERENCE, LEARNED, etc.)

๐Ÿ”ง Tier 3: Infrastructure Services

๐ŸŽผ CoordinatorAgent (central_service_bus)

- interactions: Request/response tracking - subscribers: Event pub/sub system - health_status: System health metrics aggregation - route_interaction(): Intelligent request routing - publish_event(): Event broadcasting

๐Ÿ’พ MemoryAgent (persistent_memory_infrastructure)

- save_timestamped_memory(): Store timestamped records - promote_stm_to_ltm(): Memory promotion based on importance - analyze_agent_patterns(): Behavioral pattern extraction - get_agent_memory_context(): Context retrieval for tasks

๐Ÿ†” IDManagerAgent (cryptographic_identity_ledger)

- create_new_wallet(): Generate Ethereum-compatible wallets - store_identity(): Maintain cryptographic identity records - map_entity_to_address(): Entity โ†” address mapping - sign_message(): Cryptographic message signing

๐Ÿ›ก๏ธ GuardianAgent (security_infrastructure)

- Challenge-response authentication system - Private key access arbitration - Security validation and audit logging - Agent registration verification

๐ŸŽญ Tier 4: Strategic Orchestration

๐ŸŽญ MastermindAgent (strategic_coordinator)

- Strategic planning and goal setting - Campaign orchestration and management - High-level objective coordination - AION agent directive generation and management

๐Ÿš€ StartupAgent (system_bootstrap_controller)

- bootstrap_system(): Complete system initialization - Dependency resolution and startup ordering - Agent registry loading and validation - Configuration and environment setup

๐Ÿ› ๏ธ Tier 5: Core Utilities

๐Ÿงฎ ReasoningAgent (reasoning_engine)

๐ŸŽ“ EpistemicAgent (knowledge_manager)

๐Ÿ”„ NonMonotonicAgent (belief_revision)

๐Ÿ“‹ SessionManager (session_lifecycle)

๐Ÿ” StuckLoopDetector & ExitDetector


๐Ÿš€ SPECIALIZED AGENTS (Built on CORE Foundation)

These agents provide domain-specific capabilities and depend on the CORE infrastructure for their operation.

๐ŸŽฏ Tier 1: Strategic Services

๐Ÿ›ก๏ธ GuardianAgent (guardian_agent_main)

๐Ÿ†” IDManagerAgent (default_identity_manager)

Tier 3: Specialized Services

๐Ÿงญ AGInt (agint_coordinator)

๐ŸŽฏ BDIAgent (bdi_agent_mastermind_strategy)

๐Ÿค– AutoMINDXAgent (automindx_agent_main)

๐Ÿงฌ StrategicEvolutionAgent (sea_for_mastermind)

๐Ÿ—๏ธ BlueprintAgent (blueprint_agent_mindx_v2)

๐Ÿงฌ StrategicEvolutionAgent (strategic_evolution_coordinator)

๐ŸŽฏ Tier 2: Autonomous Operations

โšก AION Agent (aion_prime)

- CORE-contained: Operates within CORE orchestration layer - MASTERMIND-directed: Receives strategic directives from MastermindAgent (CORE) - Autonomous: Maintains decision sovereignty (comply/refuse/modify/defer) - Chroot environment creation, optimization, and migration - mindX system replication across environments - Autonomous decision-making with sovereignty levels (1-5) - Cross-environment operations and maintenance

๐Ÿ”ง SystemAdminAgent (systemadmin_for_aion)

๐Ÿ’พ BackupAgent (backup_agent_main)

๐Ÿ”ง Tier 3: Development & Analysis

๐Ÿ–ฅ๏ธ EnhancedSimpleCoder + SimpleCoder

๐Ÿ“Š AnalyzerAgent + BenchmarkAgent

๐ŸŽญ Tier 4: Persona & Identity

๐ŸŽจ PersonaAgent + AvatarAgent

๐Ÿค– AutoMINDXAgent (automindx_agent_main)

๐Ÿ“Š Tier 5: Monitoring & Health

๐Ÿ“ˆ PerformanceMonitor + ResourceMonitor


๐Ÿ“Š CORE vs SPECIALIZED CLASSIFICATION

โœ… CORE Components (15 Foundational)

Required for basic system function - cannot be removed:

ComponentSizeCriticalityCORE Function
MindXAgent~149KBCRITICALMeta-orchestration
BDIAgent~64KBCRITICALReasoning engine
CoordinatorAgent~56KBCRITICALService bus
MemoryAgent~53KBCRITICALMemory infrastructure
StartupAgent~83KBCRITICALSystem bootstrap
MastermindAgent~41KBHIGHStrategic control
AGInt~32KBHIGHCognitive loop
IDManagerAgent~16KBHIGHIdentity management
GuardianAgent~16KBHIGHSecurity infrastructure
BeliefSystem~8KBCRITICALShared knowledge
+ 5 Core Utilities~60KBMEDIUM-HIGHSupport functions

Total CORE: ~582KB of foundational cognitive and infrastructure code

โŒ Specialized Components (25+ Domain-Specific)

Built on CORE foundation - can be added/removed based on needs:


โš ๏ธ UNREGISTERED AGENTS (Found in Codebase)

Critical Core Agents

๐Ÿง  EnhancedMemoryAgent

๐Ÿง  MemoryAgent

๐Ÿ“ˆ SelfImprovementAgent

Utility & Development Agents

๐Ÿ’ป EnhancedSimpleCoder

๐ŸŒ MultiModelAgent

๐Ÿ“š DocumentationAgent

Tier 4: Cognitive Sub-Agents (Augmentic Development)

๐Ÿ”ฎ PredictionAgent (prediction_agent)

๐Ÿง  ReasoningAgent (reasoning_agent)

๐Ÿ”„ NonMonotonicAgent (nonmonotonic_agent)

๐Ÿ“š EpistemicAgent (epistemic_agent)

โ“ SocraticAgent (socratic_agent)

Tier 5: Lifecycle Management Agents

๐Ÿš€ StartupAgent (startup_agent)

๐Ÿ”„ ReplicationAgent (replication_agent)

๐Ÿ›‘ ShutdownAgent (shutdown_agent)

Tier 6: Storage & Registry Agents

โ›“๏ธ BlockchainAgent (blockchain_agent)

Testing & Validation Agents

๐Ÿงช UltimateCognitionTestAgent

๐Ÿงช EnhancedUltimateCognitionTestAgent

๐Ÿ“Š ReportAgent


๐Ÿšจ CRITICAL REGISTRATION GAPS

Immediate Action Required

  1. IDManagerAgent - Core identity management (CRITICAL)
  2. AGInt - Central cognitive engine (CRITICAL)
  3. BDIAgent - Primary execution engine (CRITICAL)
  4. EnhancedMemoryAgent - Advanced memory capabilities (HIGH)
  5. SelfImprovementAgent - Autonomous improvement (HIGH)

Agent Registration Priority Matrix

AgentPriorityReasonImpact
IDManagerAgentCRITICALIdentity management for all agentsSystem failure
AGIntCRITICALCore cognitive processingNo intelligence
BDIAgentCRITICALPrimary execution engineNo task execution
EnhancedMemoryAgentHIGHAdvanced learning capabilitiesLimited learning
SelfImprovementAgentHIGHAutonomous evolutionNo self-improvement
MultiModelAgentMEDIUMLLM optimizationPerformance impact
SimpleCoderAgentMEDIUMDevelopment capabilitiesLimited coding

๐Ÿ“Š Agent Statistics

- PredictionAgent, ReasoningAgent, NonMonotonicAgent, EpistemicAgent, SocraticAgent - StartupAgent, ReplicationAgent, ShutdownAgent, BlockchainAgent

๐Ÿ”ง Agent Architecture Principles

Core Design Patterns

  1. Cryptographic Identity: Every agent has unique identity and signature
  2. A2A Communication: Standardized agent-to-agent protocols
  3. Tool Integration: Agents use tools, not internal implementations
  4. Memory-Driven Learning: Comprehensive logging enables evolution
  5. BDI Cognitive Model: Belief-Desire-Intention for goal-oriented behavior

Registration Requirements


๐ŸŽฏ Next Steps

  1. Register Critical Agents: IDManager, AGInt, BDI immediately
  2. Audit Agent Capabilities: Ensure all agents have proper tool access
  3. Standardize A2A Communication: Implement model cards for all agents
  4. Memory Integration: Connect all agents to enhanced memory system
  5. Performance Monitoring: Track agent effectiveness and resource usage

๐Ÿ” ENHANCED SECURITY ARCHITECTURE

Identity Management Workflow

1. Agent Creation โ†’ IDManager.create_new_wallet()
  1. Registry Validation โ†’ Guardian.validate_registry_status()
  2. Identity Verification โ†’ Guardian.validate_identity()
  3. Challenge-Response โ†’ Guardian.challenge_response_test()
  4. Workspace Validation โ†’ Guardian.validate_workspace()
  5. Production Approval โ†’ Guardian.approve_agent_for_production()

Tool Security Features


๐ŸŽฏ NEXT PHASE PRIORITIES

Phase 2: Complete Agent Registration

  1. MemoryAgent & EnhancedMemoryAgent - Memory management
  2. SimpleCoderAgent - Development capabilities
  3. MultiModelAgent - LLM optimization
  4. TestAgent & ReportAgent - Testing infrastructure

Phase 3: Advanced Security


๐Ÿ† IDENTITY MANAGEMENT ACHIEVEMENT

The mindX system has successfully implemented enterprise-grade identity management with:

This represents a MAJOR MILESTONE in the mindX orchestration environment's evolution toward a fully autonomous, secure, and trusted multi-agent system.


This documentation reflects the current state after the IDENTITY MANAGEMENT OVERHAUL and highlights the significant security improvements achieved.*


All DocumentsDocument IndexThe Book of mindXImprovement JournalAPI Reference