mindXagent.md · 8.2 KB

MindX Agent Documentation

Summary

The MindX Agent is the meta-agent that serves as the "execution mind" of the mindX Gödel machine. It understands all agents' roles, capabilities, and powers, and orchestrates them for continuous self-improvement of the mindX system itself. It is subservient to higher intelligence and acts as the sovereign intelligence that knows and improves the entire mindX system.

Technical Explanation

The MindX Agent implements:

Architecture

Core Components

  1. Agent Knowledge Base: Dictionary mapping agent_id to AgentKnowledge
  2. Agent Capabilities Map: Detailed capability analysis for each agent
  3. Agent Relationship Graph: Understanding of agent interactions
  4. Registry Integration: Connection to Registry Manager Tool
  5. Identity Tracking: Connection to ID Manager Agent
  6. Agent Builder Integration: Monitors Agent Builder Agent for new agents
  7. Memory Integration: Gets feedback from Memory Agent
  8. Monitoring Integration: Uses monitoring agents for health tracking

Usage

from agents.core.mindXagent import MindXAgent

Get MindX Agent instance

mindx_agent = await MindXAgent.get_instance( agent_id="mindx_meta_agent", config=config, memory_agent=memory_agent, belief_system=belief_system )

Build comprehensive agent knowledge base

all_agents = await mindx_agent.understand_all_agents()

Orchestrate self-improvement

result = await mindx_agent.orchestrate_self_improvement( "Improve system performance and reliability" )

Get memory feedback

memory_context = await mindx_agent.get_memory_feedback("system improvement")

Monitor system health

health = await mindx_agent.monitor_system_health()

Analyze results

analysis = await mindx_agent.analyze_actual_results(task_id)

Key Methods

Agent Knowledge Management

Self-Improvement Orchestration

Memory and Feedback

Integration Points

Registry and Identity

Agent Builder

Memory System

Orchestration Agents

Monitoring Agents

Self-Improvement Workflow

  1. Goal Definition: Define improvement goal for mindX system
  2. Agent Analysis: Analyze which agents are needed (including newly created agents)
  3. Memory Context: Get context from Memory Agent and data/ folder
  4. Campaign Creation: Use SEA to create improvement campaign
  5. BDI Planning: Use BDI for detailed planning
  6. Mastermind Coordination: Use Mastermind for strategic coordination
  7. Execution: Coordinate execution through appropriate agents
  8. Monitoring: Use monitoring agents to track progress and actual results
  9. Result Analysis: Analyze actual results vs expected outcomes
  10. Memory Feedback: Collect feedback from Memory Agent
  11. Evaluation: Assess improvement results with real-world performance data
  12. Learning: Update knowledge base with lessons learned
  13. Continuous Improvement: Use feedback loop to continuously improve

Agent Knowledge Structure

Each agent in the knowledge base contains:

Gödel Machine Aspects

File Location

NFT Metadata

Integration with Agent Builder Agent

The MindX Agent integrates with Agent Builder Agent to track newly created agents:

  1. Agent Builder Agent creates new agent from prompt/request
  2. Agent Builder Agent registers agent with Registry Manager Tool
  3. Agent Builder Agent notifies MindX Agent
  4. MindX Agent adds new agent to knowledge base
  5. MindX Agent analyzes new agent's capabilities
  6. MindX Agent updates agent relationship graph
  7. MindX Agent monitors new agent's performance

Continuous Self-Improvement

The MindX Agent continuously improves mindX by:

  1. Understanding all agents and their capabilities
  2. Identifying improvement opportunities
  3. Orchestrating improvement campaigns using appropriate agents
  4. Monitoring actual results vs expected outcomes
  5. Learning from memory feedback and results
  6. Adapting improvement strategies based on what works
  7. Tracking newly created agents and incorporating them into improvements

Last Updated: 2026-01-13 Status: ✅ Active Version: 1.0.0


All DocumentsDocument IndexThe Book of mindXImprovement JournalAPI Reference