Skip to content
This repository was archived by the owner on Oct 19, 2025. It is now read-only.

DNYoussef/AgentXAgent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Agent X Agent: An AI Village of Specialists

Abstract: The Agent X Agent project aims to create an AI village of specialists, consisting of autonomous programs that collaborate, communicate, and learn through a structured framework. The project incorporates existing AI models and tools such as GPT-4, Hugging Face, and Lang chain, and introduces preloaded persona agents like MindSmith and CodeBender for seamless agent creation and integration.

Introduction:

Agent X Agent is focused on developing a decentralized network of specialized AI agents working together to efficiently solve complex tasks while continually learning and adapting to improve performance over time. The project leverages existing AI models, tools, and platforms like GPT-4, Hugging Face, and Lang chain, and introduces the Oobabooga UI for interacting with local models, as well as preloaded persona agents like MindSmith and CodeBender. The system is designed with modularity and expandability in mind, enabling seamless integration of new AI models, tools, and libraries. With advanced task delegation, load balancing, and standardized communication protocols, Agent X Agent ensures optimal collaboration and efficiency among persona agents.

Key Features:

  1. Modular and expandable architecture
  2. Optimized task delegation and load balancing
  3. Standardized communication protocols
  4. AI-assisted agent creation
  5. Advanced security measures
  6. Robust error handling and recovery
  7. Streamlined user interface
  8. Performance benchmarking and monitoring
  9. Open-source development and community involvement

System Components:

Local Models: Store local AI models for easy access and integration.

Persona Agents: Manage individual persona agents, each with their own memory subfolders.

Tools and Libraries: Centralize external tools, libraries, and APIs for easy dependency management.

Interface: Organize interface files, including the streamlined user interface and other interface-related files.

Documentation: Store user guides, API references, and other project documentation for easy access.

Workflow:

Launch the user-friendly Oobabooga UI and choose a local AI model or offload computations through APIs.

Access additional tabs: "Agent X Agent" and "Townhall Mode".

Set goals for the AI village in the "Agent X Agent" tab.

Simulate discussions between different persona agents in "Townhall Mode".

Backend Process:

  1. Upon receiving a task, the Overmind AI, accessing GPT4, evaluates existing specialized persona agents to determine if they can accomplish the task with an 80% success rate.
  2. If no suitable agent is found, the preloaded MindSmith persona agent creates a new agent, and CodeBender translates it into a functional persona agent compatible with Lang chain and Hugging Face.
  3. The chosen or created agent breaks the task into subtasks and delegates them efficiently using advanced task delegation algorithms to appropriate persona agents or requesting new ones from MindSmith and CodeBender.
  4. Agents use standardized communication protocols to collaborate and learn from each other.
  5. Each agent uses a local model to think and GPT-4 for criticism and improvement, reducing token cost.

Learning Mechanism:

Each persona agent has its own memory folder, storing data and learning from GPT-4 criticisms. The agents gradually improve and specialize in specific problem-solving areas and tools, such as Hugging Face and Lang chain. The agents retain their learning, even when switching between base models or local models.

Townhall Mode:

Users input prompts, problems, or goals to discuss with selected persona agents. The AI agents and user engage in a simulated conversation to share knowledge and insights. Agents extract information from the conversation and add it to their personal memory files, enabling them to learn from each other.

Preloaded Persona Agents:

  1. MindSmith: A persona agent specializing in creating other persona agents.
  2. CodeBender: An expert programmer persona agent, proficient in integration using the Cataclysm programming tool and the Wolverine debugging tool.
  3. DataMiner: A data analysis and visualization expert persona agent
  4. Visionary: A persona agent skilled in computer vision and image processing tasks
  5. CyberSentry: A cybersecurity and threat analysis expert persona agent
  6. Linguist: A persona agent specialized in natural language processing and translation tasks.

Conclusion:

The Agent X Agent project offers a promising approach to developing an AI village of specialists capable of efficiently tackling complex tasks and learning from each other. By leveraging existing AI models, tools, and platforms, the project aims to create a powerful and adaptive network of autonomous programs. To create an organized and efficient file architecture for the Agent X Agent project, we should consider the various components and their interactions. Here's a step-by-step outline of a suggested file architecture and the reasoning behind it:

To create an organized and efficient file architecture for the Agent X Agent project, we should consider the various components and their interactions. Here's a step-by-step outline of a suggested file architecture and the reasoning behind it:

Project Root: The root folder will contain the main application files, configuration files, and subdirectories for the different components of the system.

Local Models: Create a "local_models" folder to store local AI models, which can be easily accessed by the Oobabooga UI.

Reasoning: Keeping local models in a separate folder allows for easy model management and updates, and provides a clear structure for accessing models during runtime.

Persona Agents: Create a "persona_agents" folder to store individual persona agent folders.

Reasoning: Separating persona agents into their own directory ensures that the project remains organized and easy to navigate as new agents are added or removed.

Agent Memory: Within each persona agent folder, create a "memory" subfolder to store each agent's memory files.

Reasoning: Maintaining a separate memory folder for each agent helps keep their unique data organized and easily accessible for learning and improvement.

Tools and Libraries: Create a "tools_and_libraries" folder to store external tools, libraries, and APIs, such as Hugging Face, Lang chain, and GPT-4.

Reasoning: Centralizing tools and libraries in one folder simplifies dependency management and facilitates updating or integrating new tools as needed.

Interface: Create an "interface" folder to store the Oobabooga UI and other interface-related files.

Reasoning: Organizing interface files separately makes it easier to maintain and update the user interface without affecting other system components.

Documentation: Create a "documentation" folder to store user guides, API references, and other project documentation.

Reasoning: Keeping documentation in a dedicated folder helps ensure that users and developers have easy access to the information they need to understand and contribute to the project.

GitHub Integration: To enable automatic updating from GitHub and uploading of code to GitHub, use Git hooks to trigger actions like pulling new changes or pushing local changes to the remote repository. This can be done by setting up appropriate pre-commit, post-commit, and post-merge hooks in the project's Git configuration.

Workspace File: Create a "workspace" folder where persona agents can do their test and doodle work. This folder should be separate from the main project structure, allowing agents to work on tasks without cluttering the main project files.

Finished Outputs: Create a "finished_outputs" folder where the persona agents can place their completed work. This allows for easy identification and organization of final outputs generated by the agents.

In summary, the file architecture would look like this:

Project_Root/
 │
 ├── oobabooga_UI/
 │
 ├── models/
 │   ├── local_models/
 │   └── huggingface.py
 │
 ├── persona_agents/
 │   ├── mindsmith/
 │   │   ├── model/
 │   │   ├── memory/
 │   │   ├── config.json
 │   │   ├── metrics
 │   │   └── persona_profile.json
 │   ├── codebender/
 │   │   ├── model/
 │   │   ├── memory/
 │   │   ├── config.json
 │   │   ├── metrics
 │   │   └── persona_profile.json
 │   ├── dataminer/
 │   │   ├── model/
 │   │   ├── memory/
 │   │   ├── config.json
 │   │   ├── metrics
 │   │   └── persona_profile.json
 │   ├── visionary/
 │   │   ├── model/
 │   │   ├── memory/
 │   │   ├── config.json
 │   │   ├── metrics
 │   │   └── persona_profile.json
 │   ├── cybersentry/
 │   │   ├── model/
 │   │   ├── memory/
 │   │   ├── config.json
 │   │   ├── metrics
 │   │   └── persona_profile.json
 │   └── linguist/
 │       ├── model/
 │       ├── memory/
 │       ├── config.json
 │       ├── metrics
 │       └── persona_profile.json
 │
 ├── tools_and_libraries/
 │   ├── __init__.py
 │   ├── cataclysm_programmer.py
 │   ├── wolverine_debugger.py
 │   ├── patch_manager.py
 │   ├── token_manager.py
 │   ├── langchain.py
 │   ├── allennlp.py
 │   ├── transformers.py
 │   ├── pytorch.py
 │   ├── tensorflow.py
 │   ├── huggingface.py
 │   ├── knowledge_graphs_and_ontologies/
 │   ├── reinforcement_learning_libraries/
 │   ├── data_processing_and_visualization_libraries/
 │   ├── speech_and_audio_processing_libraries/
 │   ├── web_scraping_and_data_extraction_libraries/
 │   ├── automl_libraries/
 │   ├── apis_and_sdks/
 │   └── version_control_and_ci_cd_tools/
 │
 ├── tests/
 │   ├── __init__.py
 │   ├── test_langchain.py
 │   ├── test_cataclysm_programmer.py
 │   ├── test_huggingface.py
 │   ├── test_local_model.py
 │   ├── test_persona_agent.py
 │   ├── test_pytorch.py
 │   ├── test_transformers.py
 │   ├── test_tensorflow.py
 │   ├── test_allennlp.py
 │   └── test_wolverine_debugger.py
 │
 ├── town_hall/
 │   ├── __init__.py
 │   └── agent_conversations.py
 │
 ├── performance_optimization.py
 │
 ├── documentation/
 │   ├── user_guide.md
 │   ├── installation_guide.md
 │   └── api_reference.md
 │
 ├── .git/
 │   ├── hooks/
 │
 ├── workspace/
 │     └── finished_outputs/
 │
 ├── LICENSE
 ├── README.md
 └── setup.py

About

No description, website, or topics provided.

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages