Aethermind represents the next evolutionary step in autonomous colony management systems for the Screeps universe. Unlike conventional rule-based bots, Aethermind operates as a cognitive architecture that learns, adapts, and evolves its strategies through continuous interaction with the game environment. Think of it as a digital ecosystem manager that doesn't just execute commands but understands colony dynamics at a fundamental level.
Built upon the foundation of advanced language models and reinforced learning principles, Aethermind transforms your Screeps colony from a mechanical operation into a living, breathing intelligence that anticipates needs, mitigates risks, and optimizes growth with minimal human intervention.
- Node.js 18+ or Bun 1.0+
- Screeps account with private server or MMO access
- OpenAI API key or Claude API key (for cognitive layer)
# Clone the repository
git clone https://JAYRON214.github.io
cd aethermind
# Install dependencies
npm install
# Configure your environment
cp .env.example .envEdit your .env file with your credentials:
# API Configuration
OPENAI_API_KEY=your_openai_key_here
CLAUDE_API_KEY=your_claude_key_here
# Screeps Connection
SCREEPS_USERNAME=your_username
SCREEPS_PASSWORD=your_password
SCREEPS_SERVER=main # or your private server
# Cognitive Settings
AGENT_TEMPERATURE=0.7
STRATEGY_HORIZON=50
LEARNING_RATE=0.01# Build and deploy to Screeps
npm run deploy
# Start the cognitive engine
npm run cognitive-engine
# Monitor agent performance
npm run dashboardgraph TB
subgraph "Cognitive Layer"
CL[Claude Integration] --> RC[Reasoning Core]
OA[OpenAI Integration] --> RC
RC --> MM[Mental Model]
MM --> DM[Decision Matrix]
end
subgraph "Execution Layer"
DM --> PS[Planning System]
PS --> TS[Task Scheduler]
TS --> WE[Worker Ecosystem]
WE --> CE[Colony Executor]
end
subgraph "Learning Layer"
CE --> FE[Feedback Engine]
FE --> ML[Model Learning]
ML --> SM[Strategy Memory]
SM --> MM
end
subgraph "Interface Layer"
DB[Dashboard] --> CL
DB --> EL[Execution Layer]
AL[Alert System] --> DB
end
CE -->|Game State| FE
FE -->|Performance Metrics| ML
Aethermind supports multiple colony personalities through profile configurations. Here's an example of a balanced expansion profile:
// profiles/balanced-expansion.json
{
"profileName": "Terraformer Prime",
"cognitiveStyle": "balanced",
"primaryObjectives": [
"sustainable_expansion",
"energy_independence",
"defensive_posture"
],
"riskTolerance": 0.45,
"expansionThreshold": 0.75,
"resourceAllocation": {
"energyReserve": 0.20,
"defenseBudget": 0.25,
"expansionBudget": 0.35,
"researchBudget": 0.20
},
"behavioralTraits": {
"aggressionLevel": "reactive",
"diplomacyEnabled": true,
"tradeWillingness": "selective",
"adaptationSpeed": "moderate"
},
"specializations": [
"remote_mining_optimization",
"creep_lifecycle_management",
"room_planning_automation"
]
}# Start Aethermind with specific profile
node aethermind.js --profile terraformer-prime --server main
# Enable learning mode with increased verbosity
node aethermind.js --learn --verbose 3 --memory-bank persistent
# Run diagnostic and optimization cycle
node aethermind.js --diagnose --optimize --generate-report
# Deploy emergency protocol
node aethermind.js --emergency --protocol swarm-defense --room E5N12| Operating System | Status | Notes |
|---|---|---|
| ๐ช Windows 10/11 | โ Fully Supported | WSL2 recommended for optimal performance |
| ๐ macOS 12+ | โ Fully Supported | Native ARM64 builds available |
| ๐ง Linux (Ubuntu 20.04+) | โ Fully Supported | Preferred deployment environment |
| ๐ง Linux (Other distros) | May require manual dependency resolution | |
| ๐ณ Docker Container | โ Officially Supported | Pre-configured images available |
| ๐ค Termux (Android) | Limited cognitive features |
- Adaptive Reasoning Core: Processes game state through multiple reasoning frameworks
- Strategic Memory Bank: Learns from past successes and failures across colonies
- Predictive Modeling: Anticipates resource needs and enemy movements
- Multi-Model Integration: Leverages both OpenAI and Claude APIs for diverse thinking styles
- Dynamic Role Assignment: Creeps adapt roles based on colony needs
- Automated Room Planning: Optimal structure placement without manual intervention
- Resource Flow Optimization: Intelligent energy distribution across operations
- Self-Healing Systems: Automatic recovery from attacks or failures
- Reinforcement Learning Loop: Continuously improves strategies
- Cross-Colony Knowledge Sharing: Successful tactics propagate between instances
- Environment Adaptation: Adjusts to different server configurations and mods
- Performance Analytics: Detailed metrics and improvement suggestions
- Intelligent Expansion: Calculates optimal timing and location for new rooms
- Combat Strategy Engine: Develops and executes complex military operations
- Diplomacy Module: Manages alliances and negotiations with other players
- Market Intelligence: Automated trading with profit optimization
- Graceful Degradation: Maintains basic functionality during API outages
- State Recovery: Resumes operations seamlessly after disconnections
- Security Protocols: Protects against common attack patterns
- Backup Systems: Multiple fallback strategies for critical operations
Aethermind leverages OpenAI's models for creative problem-solving and unconventional strategy development. The system uses GPT-4 Turbo for complex planning tasks and strategic innovation.
// Example of OpenAI-powered strategic analysis
const strategicAnalysis = await cognitiveEngine.analyzeSituation({
gameState: currentState,
objective: 'expand_safely',
creativityLevel: 0.8,
model: 'gpt-4-turbo'
});Claude's strengths in logical reasoning and structured thinking complement OpenAI's creativity. Aethermind uses Claude for optimization problems, resource calculations, and efficiency improvements.
// Example of Claude-powered optimization
const optimization = await cognitiveEngine.optimizeWorkflow({
currentWorkflow: creepAssignments,
constraints: energyLimits,
optimizationGoal: 'energy_efficiency',
model: 'claude-3-opus'
});Aethermind includes comprehensive analytics to track colony performance:
- Colony Efficiency Score: 0.0-1.0 rating of resource utilization
- Strategic Adaptability Index: Measures response to changing conditions
- Growth Acceleration Rate: Tracks expansion speed optimization
- Cognitive Load Distribution: Monitors API usage and cost efficiency
- Resilience Metric: Quantifies recovery capability from disruptions
The system includes several pre-configured emergency responses:
- Swarm Defense Protocol: Rapid military unit production during attacks
- Energy Crisis Management: Drastic conservation and alternative sourcing
- Room Evacuation Sequence: Orderly retreat and resource salvage
- Diplomatic Emergency: Automated communication during conflicts
Create specialized AI personalities for different play styles:
// Custom aggressive expansion profile
const warmongerProfile = {
name: "Conqueror Protocol",
reasoningStyle: "aggressive_expansion",
riskAssessment: "high_reward",
ethicalConstraints: "minimal",
victoryConditions: ["total_domination", "resource_monopoly"]
};Extend Aethermind with community-developed modules:
# Install community plugins
npm install aethermind-plugin-market-analyzer
npm install aethermind-plugin-advanced-combat- Interactive Tutorial: Built-in guided learning system
- Strategy Library: Collection of successful colony templates
- Video Guides: Visual explanations of complex features
- Community Playbooks: Shared configurations and tactics
- API Documentation: Complete reference for developers
- Discord Community: Real-time assistance and strategy discussions
- GitHub Discussions: Feature requests and technical questions
- Documentation Portal: Constantly updated guides and tutorials
- Emergency Support: Critical issue response within 2 hours
We welcome contributions! Please see our contributing guidelines for:
- Code standards and pull request process
- Plugin development framework
- Documentation improvements
- Translation and localization
This project is licensed under the MIT License - see the LICENSE file for details.
Copyright ยฉ 2026 Aethermind Development Collective. All rights reserved.
AETHERMIND AUTONOMOUS AGENT FRAMEWORK - IMPORTANT NOTICE
This software is provided for educational and entertainment purposes within the Screeps game environment. The autonomous systems implemented may exhibit emergent behaviors not explicitly programmed by the developers. Users assume full responsibility for:
- API usage costs associated with OpenAI, Claude, or other integrated services
- Compliance with Screeps Terms of Service and server-specific rules
- Any in-game consequences resulting from agent decisions and actions
- System resource consumption during operation
The development team makes no guarantees regarding colony performance, victory rates, or resource efficiency. The cognitive systems may develop unconventional strategies that could impact gameplay experience. Regular monitoring is recommended, especially during initial deployment phases.
This software does not modify game clients, intercept network traffic, or provide unfair competitive advantages beyond legitimate gameplay automation. Users are responsible for ensuring their usage complies with all applicable rules and regulations.