π Production Deployment: https://xmrt-ecosystem-iofw.onrender.com/
The XMRT Ecosystem represents a sophisticated, production-ready Flask service that orchestrates a consensus-driven agent team to manage and integrate repositories across the XMRT ecosystem. The system features real-time coordination, autonomous decision-making, and comprehensive repository management capabilities powered by four specialized AI agents working in concert.
Current Version: 6.3.0-hardy-github
Status: β
Active and Operational
Deployment Platform: Render.com
The XMRT Ecosystem is powered by four specialized autonomous agents, each with distinct roles and capabilities:
Role: Strategic Coordinator and System Governor
Voice: Strategic, synthesizes viewpoints
Decision Weight: 1.2
Responsibilities:
- Orchestrates multi-agent coordination and consensus building
- Synthesizes diverse agent perspectives into unified strategies
- Governs system-wide decisions and policy implementation
- Maintains strategic oversight of ecosystem development
- Facilitates communication between agents and stakeholders
Role: Security & Privacy Specialist
Voice: Threat-models, privacy-first
Decision Weight: 1.1
Responsibilities:
- Conducts threat modeling and vulnerability assessments
- Maintains SECURITY.md and security documentation
- Manages CODEOWNERS and access control policies
- Monitors dependencies for security vulnerabilities
- Ensures privacy-first approach in all implementations
Role: Mining & Tokenomics Expert
Voice: ROI, efficiency, yield
Decision Weight: 1.05
Responsibilities:
- Optimizes mining operations and resource allocation
- Analyzes tokenomics and economic models
- Focuses on ROI and operational efficiency
- Manages yield optimization strategies
- Tracks miner contributions and rewards
Role: Adoption & User Experience
Voice: Onboarding, documentation, growth
Decision Weight: 1.0
Responsibilities:
- Manages community engagement and growth initiatives
- Maintains comprehensive documentation and guides
- Improves onboarding experiences for new users
- Coordinates user feedback and feature requests
- Builds bridges between technical teams and community
Based on the latest operational data from the deployed system:
- Repositories Discovered: 1
- Ideas Generated: 14
- Issues Created: 4
- Story Issues: 2
- Files Managed: 8
- Innovation Cycles Completed: 2
- System Uptime: Continuous operation on Render
- Resource Utilization: CPU ~40-80%, Memory ~55%, Disk ~82-84%
The XMRT Ecosystem provides a comprehensive suite of capabilities designed for autonomous repository management and agent coordination. The system employs role-based agents that automatically assign tasks by category and stage, ensuring efficient workflow distribution. A sophisticated consensus engine records all decisions with detailed rationale, making them reviewable via API endpoints. The platform offers real-time repository management with safe GitHub operations and automatic synchronization across the ecosystem.
Built on a production-ready architecture designed for scale, the system utilizes SQLite persistence with WAL mode for thread-safe operations. A comprehensive RESTful API provides access to all system components, while autonomous learning capabilities enable agents to self-improve and adapt based on task outcomes and performance metrics.
The multi-agent system operates through weighted consensus, where each agent's input is valued according to their expertise and decision weight. Agents collaborate on complex tasks, with Eliza serving as the primary coordinator who synthesizes viewpoints and ensures strategic alignment. The Security Guardian provides critical security oversight, while the DeFi Specialist optimizes economic aspects, and the Community Manager ensures user-centric development.
Agents can autonomously create GitHub issues, generate ideas, manage files, and run innovation cycles. The system tracks agent performance and adjusts coordination strategies based on outcomes, creating a continuously improving autonomous ecosystem.
The platform provides safe, idempotent GitHub operations for labels, issues, and pull requests, with automatic branch detection and management. File synchronization ensures that XMRT standard files (.xmrt/integration.yml, SECURITY.md, CODEOWNERS, CONTRIBUTING.md) remain consistent across repositories. Webhook support enables real-time repository event processing, allowing agents to respond immediately to changes.
βββββββββββββββββββ ββββββββββββββββββββ βββββββββββββββββββ
β Flask API β β Coordinator β β GitHub API β
β - REST Routes βββββΊβ - Agent Mgmt βββββΊβ - Repo Sync β
β - WebSockets β β - Task Queue β β - File Mgmt β
βββββββββββββββββββ ββββββββββββββββββββ βββββββββββββββββββ
β β β
βΌ βΌ βΌ
βββββββββββββββββββ ββββββββββββββββββββ βββββββββββββββββββ
β SQLite DB β β Agent Network β β OpenAI API β
β - Persistence β β - Multi-Agent β β - Rationale β
β - Audit Trail β β - Consensus β β - Generation β
βββββββββββββββββββ ββββββββββββββββββββ βββββββββββββββββββ
- Python 3.8+
- Git
- GitHub Personal Access Token
-
Clone the repository
git clone https://github.com/DevGruGold/XMRT-Ecosystem.git cd XMRT-Ecosystem -
Install dependencies
pip install -r requirements.txt
-
Configure environment variables
cp .env.example .env # Edit .env with your credentials: # GITHUB_TOKEN=your_github_token_here # GITHUB_ORG=DevGruGold # OPENAI_API_KEY=your_openai_key_here (optional)
-
Run the application
python main.py
The service will start on
http://localhost:10000
The application is already configured for Render deployment:
-
Fork this repository
-
Connect to Render:
- Create new Web Service
- Connect your GitHub repository
- Use the following settings:
- Build Command:
pip install -r requirements.txt - Start Command:
gunicorn --bind 0.0.0.0:$PORT main:app
- Build Command:
-
Set Environment Variables in Render dashboard:
GITHUB_TOKEN=your_github_token_here GITHUB_ORG=your_github_org OPENAI_API_KEY=your_openai_key (optional) LOG_LEVEL=INFO -
Deploy: Render will automatically build and deploy your application
GET /- Service information and health check with agent statusGET /health- System health check with resource metricsGET /agents- List all agents with roles and weights
POST /api/tick- Manual trigger for coordinator cyclePOST /run-cycle- Execute innovation cycle
Health Check (/health):
{
"ok": true,
"owner": "DevGruGold",
"ready": true,
"repo": "XMRT-Ecosystem",
"system": {
"cpu": 46.8,
"disk": 83.6,
"mem": 54.9
},
"timestamp": "2025-10-06T15:23:41.037280",
"uptime": 397.53,
"version": "6.3.0-hardy-github"
}Agent Information (/agents):
{
"agents": {
"eliza": {
"name": "Eliza",
"role": "Coordinator & Governor",
"voice": "strategic, synthesizes viewpoints",
"weight": 1.2
},
"security_guardian": {
"name": "Security Guardian",
"role": "Security & Privacy",
"voice": "threat-models, privacy-first",
"weight": 1.1
},
"defi_specialist": {
"name": "DeFi Specialist",
"role": "Mining & Tokenomics",
"voice": "ROI, efficiency, yield",
"weight": 1.05
},
"community_manager": {
"name": "Community Manager",
"role": "Adoption & UX",
"voice": "onboarding, docs, growth",
"weight": 1.0
}
}
}| Variable | Description | Default | Required |
|---|---|---|---|
PORT |
Server port | 10000 |
No |
LOG_LEVEL |
Logging level | INFO |
No |
DATA_DIR |
Data directory path | ./data |
No |
DATABASE_URL |
SQLite database path | {DATA_DIR}/xmrt.db |
No |
GITHUB_TOKEN |
GitHub PAT with repo scope | - | Yes |
GITHUB_ORG |
GitHub organization name | - | Yes |
OPENAI_API_KEY |
OpenAI API key for rationale generation | - | No |
OPENAI_MODEL |
OpenAI model to use | gpt-4o-mini |
No |
Your GitHub Personal Access Token needs the following scopes:
repo- Full repository accessread:org- Read organization membershipadmin:repo_hook- Repository webhook management (if using webhooks)workflow- GitHub Actions workflow management
GitHub Actions Workflows Fixed β
- Updated deprecated action versions across all workflows
- Fixed
actions/upload-artifact@v3βv4 - Fixed
actions/download-artifact@v3βv4 - Updated
actions/checkout@v3βv4 - Updated
actions/setup-python@v4βv5 - Updated
actions/cache@v3βv4
Affected Workflows:
- β Activity-Summary-and-Agent-Discussion.yml
- β Automated Documentation.yml
- β Security-Scan-with-Dependabot.yml
- β miner-tracking.yml (βοΈ XMRT Miner Contribution Tracker)
- β test.yml
Agent System Operational:
- All four agents (Eliza, Security Guardian, DeFi Specialist, Community Manager) are active
- Consensus-based decision making is operational
- Innovation cycles running successfully
- GitHub integration fully functional
The application provides structured logging with different levels:
- INFO: General operation information
- WARNING: Non-critical issues that should be monitored
- ERROR: Critical errors that need immediate attention
- DEBUG: Detailed debugging information (development only)
- Basic Health:
/health- Returns system status with resource metrics - Agent Status:
/agents- Comprehensive agent information - System Metrics: Real-time CPU, memory, and disk utilization
- SQLite with WAL mode: Ensures data consistency and performance
- Thread-safe operations: Concurrent access handling
- Automatic migrations: Schema updates are handled automatically
- Type Hints: Full type annotation support
- Linting: Code follows PEP 8 standards
- Testing: Comprehensive test suite (run with
pytest) - Documentation: Inline documentation and API specs
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
# Run all tests
pytest
# Run with coverage
pytest --cov=main
# Run specific test category
pytest -k "test_database"-
GitHub Actions Workflow Failures
- Symptom: Deprecated action version errors
- Solution: β Fixed - All workflows updated to latest action versions
-
GitHub Authentication Error
- Symptom:
Argument login_or_token is deprecated - Solution: Updated to use
Auth.Token()method from PyGithub
- Symptom:
-
Agent Communication Issues
- Symptom: Agents not responding or coordinating
- Solution: Check
/healthendpoint for system status and verify all environment variables are set
-
Production Server Issues
- Symptom: Flask development server warnings
- Solution: Configured for gunicorn production deployment on Render
Enable debug logging by setting LOG_LEVEL=DEBUG in your environment:
export LOG_LEVEL=DEBUG
python main.py- β GitHub Actions Workflow Fixes: Completed - All workflows updated
- π Agent GitHub Personas: Integrating agents as autonomous GitHub actors
- π Enhanced Agent Autonomy: Enabling agents to comment and act independently
- WebSocket Support: Real-time updates for dashboard
- Advanced Analytics: Machine learning insights for agent performance
- Multi-Organization Support: Manage multiple GitHub organizations
- Custom Agent Development: Plugin system for custom agent types
- Integration with CI/CD: Native GitHub Actions integration
- Advanced Security: OAuth2 and RBAC implementation
- Agent Discussion Forum: Automated discussions in GitHub Discussions
- Miner Leaderboard: Automated tracking and recognition system
This project is licensed under the Apache License 2.0 - see individual repository LICENSE files for details.
- Issues: GitHub Issues
- Discussions: GitHub Discussions
- Live System: https://xmrt-ecosystem-iofw.onrender.com/
This project is maintained by both human developers and autonomous AI agents working in collaboration:
- Human Team: @DevGruGold
- AI Agents: Eliza (Coordinator), Security Guardian, DeFi Specialist, Community Manager
Built with β€οΈ by the XMRT Team - Humans and AI Working Together
Autonomous Repository Management for the Modern Era
Last Updated: October 6, 2025
System Status: β
Operational
Active Agents: 4/4