Build intelligent AI agents with skill-based architecture, emotional awareness, and enterprise-grade security
Documentation โข Quick Start โข Features โข Architecture โข API Reference
SYMindX is a production-ready AI agent framework that creates intelligent agents with emotional awareness, persistent memory, and multi-platform capabilities. Built with a modular skill-based architecture and powered by AI SDK v5, agents provide sophisticated responses through a reactive design pattern.
Current Version: v2.1.0 - Major architectural refactoring with enhanced security and skill-based extensions
SYMindX now features a revolutionary skill-based architecture where each extension is composed of specialized skills:
Extensions/
โโโ ๐ฌ Slack Extension
โ โโโ Messaging Skill
โ โโโ Channel Management Skill
โ โโโ Thread Management Skill
โ โโโ Reaction Management Skill
โ โโโ Workspace Management Skill
โ
โโโ ๐ฆ Twitter Extension
โ โโโ Tweet Skill
โ โโโ Engagement Skill
โ โโโ Analytics Skill
โ โโโ Relationship Skill
โ โโโ Trends Skill
โ
โโโ ๐ฑ Telegram Extension
โ โโโ Direct Messaging Skill
โ โโโ Group Management Skill
โ โโโ Content Sharing Skill
โ โโโ Community Building Skill
โ โโโ Moderation Skill
โ
โโโ ๐ฎ RuneLite Extension
โ โโโ Skill Trainer
โ โโโ Quest Manager
โ โโโ Economic Manager
โ โโโ PvP Manager
โ โโโ Social Manager
โ
โโโ ๐ MCP Server Extension
โโโ Agent Communication Skill
โโโ Memory Management Skill
symindx/
โโโ ๐ฏ .kiro/ # Architecture & Steering Documents
โ โโโ specs/ # Technical specifications
โ โ โโโ symindx-architecture-cleanup/
โ โ โโโ design.md # Architectural design decisions
โ โ โโโ requirements.md # System requirements
โ โ โโโ tasks.md # Implementation tasks
โ โโโ steering/ # Project governance
โ โโโ product.md # Product vision & roadmap
โ โโโ structure.md # Organizational structure
โ โโโ tech.md # Technical strategy
โ
โโโ ๐ง mind-agents/ # Core Agent Runtime
โ โโโ src/
โ โ โโโ ๐๏ธ core/ # Core Systems
โ โ โ โโโ runtime.ts # Main orchestrator
โ โ โ โโโ registry.ts # Enhanced type-safe registry
โ โ โ โโโ event-bus.ts # Improved event system
โ โ โ โโโ activity-scheduler.ts # New activity system
โ โ โ โโโ cross-platform-learning-engine.ts
โ โ โ โโโ goal-management-system.ts
โ โ โ โโโ unified-context-system.ts
โ โ โ โโโ ๐ก๏ธ security/ # Enterprise Security
โ โ โ โโโ jwt-auth.ts
โ โ โ โโโ https-server.ts
โ โ โ โโโ input-validator.ts
โ โ โ โโโ config-manager.ts
โ โ โ โโโ secure-server-example.ts
โ โ โ
โ โ โโโ ๐งฉ modules/ # AI Modules
โ โ โ โโโ ๐พ memory/ # Memory Providers
โ โ โ โ โโโ agentic-rag-provider.ts # NEW RAG provider
โ โ โ โ โโโ providers/
โ โ โ โโโ ๐ญ emotion/ # Streamlined Emotions
โ โ โ โ โโโ happy/
โ โ โ โ โโโ sad/
โ โ โ โ โโโ angry/
โ โ โ โ โโโ confident/
โ โ โ โ โโโ neutral/
โ โ โ โโโ ๐ง cognition/ # Enhanced Cognition
โ โ โ โโโ enhanced-unified-cognition.ts
โ โ โ
โ โ โโโ ๐ extensions/ # Skill-Based Extensions
โ โ โ โโโ ๐ฌ slack/ # Full Slack integration
โ โ โ โ โโโ skills/
โ โ โ โโโ ๐ฆ twitter/ # Twitter bot with skills
โ โ โ โ โโโ skills/
โ โ โ โโโ ๐ฑ telegram/ # Enhanced Telegram
โ โ โ โ โโโ skills/
โ โ โ โโโ ๐ฎ runelite/ # Game integration
โ โ โ โ โโโ skills/
โ โ โ โ โโโ communication/
โ โ โ โโโ ๐ฌ communication/ # Context management
โ โ โ โ โโโ skills/
โ โ โ โโโ ๐ mcp-server/ # MCP with skills
โ โ โ โโโ skills/
โ โ โ
โ โ โโโ ๐ portals/ # Streamlined AI Providers
โ โ โ โโโ streamlined-portal-manager.ts
โ โ โ โโโ [15+ AI providers]
โ โ โ
โ โ โโโ ๐ types/ # Comprehensive Type System
โ โ โโโ Enhanced type definitions
โ โ
โ โโโ ๐ scripts/ # Build & Utility Scripts
โ โโโ simple-build.ts/cjs/js
โ โโโ webpack-optimized-build.js
โ
โโโ ๐ website/ # React Dashboard
โโโ ๐ฆ package.json # Monorepo configuration
- Bun (recommended) or Node.js 18+
- At least one AI provider API key (OpenAI, Anthropic, Groq, etc.)
# Clone the repository
git clone https://github.com/SYMBaiEX/symindx.git
cd symindx
# Install dependencies
bun install
# Copy configuration
cp mind-agents/src/core/config/runtime.example.json mind-agents/src/core/config/runtime.jsonEdit mind-agents/src/core/config/runtime.json with your API keys:
{
"portals": {
"apiKeys": {
"openai": "sk-...",
"groq": "gsk_...",
"anthropic": "sk-ant-...",
"google": "your-google-api-key"
},
"default": "groq",
"models": {
"chat": "llama-3.3-70b-versatile",
"tools": "llama-3.3-70b-versatile"
}
}
}# Start the agent system
bun start
# Development mode (with auto-reload)
bun dev
# Interactive CLI
bun cli
# Web dashboard
bun dev:website- Modular Skills: Each extension composed of specialized, reusable skills
- Skill Manager: Centralized skill orchestration and lifecycle management
- Base Skill Classes: Standardized interfaces for consistent behavior
- Hot-swappable Skills: Add/remove skills without system restart
- JWT Authentication: Secure token-based auth system
- HTTPS Server: Production-ready secure server implementation
- Input Validation: Comprehensive request validation
- Config Management: Secure configuration handling
- Rate Limiting: Built-in rate limiting and DDoS protection
- Core Emotions: Happy, Sad, Angry, Confident, Neutral
- Composite Management: Advanced emotion blending and transitions
- Context-Aware: Emotions influenced by conversation context
- Skill Integration: Emotions affect skill execution
- Unified Architecture: Single, powerful cognition system
- Context Integration: Deep context awareness across all operations
- Learning Engine: Cross-platform learning capabilities
- Goal Management: Hierarchical goal planning and execution
- Agentic RAG: New Retrieval-Augmented Generation provider
- Multi-Provider: SQLite, PostgreSQL, Supabase, Neon support
- Vector Search: Semantic memory capabilities
- Context Preservation: Long-term conversation memory
- Channel and workspace management
- Thread-based conversations
- Reaction handling
- Rich message formatting
- Tweet composition and scheduling
- Engagement tracking and analytics
- Relationship management
- Trend analysis
- Group management and moderation
- Content sharing with rich media
- Community building tools
- Direct messaging with personality
- Skill training automation
- Quest assistance
- Economic analysis
- PvP strategies
- Social features
- Context management across platforms
- Expression engine for natural responses
- Style adaptation per platform
- Response enhancement
- Unified Manager: Single point of control for all AI providers
- 15+ Providers: OpenAI, Anthropic, Groq, Google, XAI, and more
- Automatic Failover: Seamless provider switching on errors
- Performance Monitoring: Track provider performance and costs
# Root level commands
bun dev # Start development environment
bun build # Build all components
bun test # Run test suite
bun lint # Run linting
bun typecheck # TypeScript checking
# Component-specific
bun dev:agent # Agent system only
bun dev:website # Dashboard only
bun build:agent # Build agent system
bun build:website # Build dashboard// 1. Create skill class
export class MyCustomSkill extends BaseSkill {
async execute(context: SkillContext): Promise<SkillResult> {
// Skill implementation
}
}
// 2. Register with extension
extension.skillManager.registerSkill('mySkill', new MyCustomSkill());
// 3. Use in agent responses
agent.useSkill('mySkill', { parameters });// 1. Create extension directory
src/extensions/my-extension/
โโโ index.ts # Extension entry point
โโโ package.json # Extension metadata
โโโ skills/ # Extension skills
โ โโโ index.ts
โ โโโ my-skill.ts
โโโ types.ts # Type definitions
// 2. Implement extension
export class MyExtension implements Extension {
private skillManager: SkillManager;
async init(agent: Agent): Promise<void> {
this.skillManager = new SkillManager(agent);
// Register skills
}
}
// 3. Auto-discovery handles registration!// Agent Management
const agent = await runtime.createAgent({
character: 'nyx',
memory: { type: 'sqlite' },
emotion: { type: 'composite' },
cognition: { type: 'unified' }
});
// Skill Execution
const result = await agent.executeSkill('tweet', {
content: 'Hello from SYMindX!',
media: ['image.png']
});
// Context Management
const context = await agent.getContext();
context.addMemory('user_preference', preference);GET /api/agents # List all agents
POST /api/agents # Create new agent
GET /api/agents/:id # Get agent details
POST /api/agents/:id/chat # Send message
GET /api/agents/:id/skills # List agent skills
POST /api/agents/:id/skills/:skillId # Execute skill
GET /api/system/health # System health
GET /api/system/metrics # Performance metrics
// Connect to WebSocket
const ws = new WebSocket('ws://localhost:8000/ws');
// Listen for events
ws.on('message', (data) => {
const event = JSON.parse(data);
switch(event.type) {
case 'agent_message':
case 'skill_executed':
case 'emotion_changed':
case 'goal_completed':
// Handle events
}
});# Unit tests
bun test:unit # Fast unit tests
# Integration tests
bun test:integration # Full integration tests
# Skill tests
bun test:skills # Test individual skills
# Security tests
bun test:security # Security validation
# Performance tests
bun test:performance # Performance benchmarks- Unit Tests: 80% minimum
- Integration Tests: 70% minimum
- Critical Paths: 95% minimum
- Security Tests: 100% required
# Environment variables
NODE_ENV=production
LOG_LEVEL=info
PORT=8000
# Security
JWT_SECRET=your-secret-key
HTTPS_CERT=/path/to/cert.pem
HTTPS_KEY=/path/to/key.pem
# Database
DATABASE_URL=postgresql://user:pass@host/db
# AI Providers (configure multiple for failover)
OPENAI_API_KEY=sk-...
ANTHROPIC_API_KEY=sk-ant-...
GROQ_API_KEY=gsk_...# Build image
docker build -t symindx:latest .
# Run container
docker run -d \
-p 8000:8000 \
-v ./data:/app/data \
--env-file .env \
symindx:latest- Horizontal Scaling: Agent instances can be distributed
- Load Balancing: Built-in support for multiple instances
- Caching: Redis support for distributed caching
- Message Queue: RabbitMQ/Kafka for event distribution
We welcome contributions! Please see our Contributing Guide for details.
- Fork the repository
- Create feature branch (
git checkout -b feature/amazing-feature) - Implement with tests
- Ensure all tests pass (
bun test) - Submit pull request
- TypeScript strict mode enforced
- Comprehensive JSDoc comments
- Unit tests for all new features
- Follow existing patterns
MIT License - see LICENSE file for details.
Get Started โข Documentation โข API Reference โข Contributing
SYMindX v2.1.0 | Skill-Based Architecture | Enterprise Security | Production Ready