Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

132 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿง  SYMindX - Next-Generation AI Agent Framework

License: MIT TypeScript React Bun AI SDK

Build intelligent AI agents with skill-based architecture, emotional awareness, and enterprise-grade security

Documentation โ€ข Quick Start โ€ข Features โ€ข Architecture โ€ข API Reference


โœจ Overview

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

๐Ÿ—๏ธ Architecture

๐ŸŽฏ Skill-Based Extension System

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

๐Ÿ“ Project Structure

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

๐Ÿš€ Quick Start

Prerequisites

  • Bun (recommended) or Node.js 18+
  • At least one AI provider API key (OpenAI, Anthropic, Groq, etc.)

Installation

# 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.json

Configuration

Edit 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"
    }
  }
}

Running

# Start the agent system
bun start

# Development mode (with auto-reload)
bun dev

# Interactive CLI
bun cli

# Web dashboard
bun dev:website

๐ŸŽฏ Key Features

๐Ÿ—๏ธ Skill-Based Architecture

  • 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

๐Ÿ›ก๏ธ Enterprise Security

  • 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

๐ŸŽญ Streamlined Emotion System

  • 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

๐Ÿง  Enhanced Cognition

  • 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

๐Ÿ’พ Advanced Memory

  • 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

๐Ÿ”Œ Production Extensions

Slack Integration ๐Ÿ’ฌ

  • Channel and workspace management
  • Thread-based conversations
  • Reaction handling
  • Rich message formatting

Twitter Bot ๐Ÿฆ

  • Tweet composition and scheduling
  • Engagement tracking and analytics
  • Relationship management
  • Trend analysis

Telegram Bot ๐Ÿ“ฑ

  • Group management and moderation
  • Content sharing with rich media
  • Community building tools
  • Direct messaging with personality

RuneLite Integration ๐ŸŽฎ

  • Skill training automation
  • Quest assistance
  • Economic analysis
  • PvP strategies
  • Social features

Communication System ๐Ÿ’ฌ

  • Context management across platforms
  • Expression engine for natural responses
  • Style adaptation per platform
  • Response enhancement

๐ŸŒ Streamlined Portal System

  • 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

๐Ÿ”ง Development

Development Commands

# 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

Creating Custom Skills

// 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 });

Creating Custom Extensions

// 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!

๐Ÿ“Š API Reference

Core APIs

// 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);

REST Endpoints

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

WebSocket Events

// 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
  }
});

๐Ÿงช Testing

Test Structure

# 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

Coverage Requirements

  • Unit Tests: 80% minimum
  • Integration Tests: 70% minimum
  • Critical Paths: 95% minimum
  • Security Tests: 100% required

๐Ÿš€ Deployment

Production Configuration

# 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_...

Docker Deployment

# Build image
docker build -t symindx:latest .

# Run container
docker run -d \
  -p 8000:8000 \
  -v ./data:/app/data \
  --env-file .env \
  symindx:latest

Scaling Considerations

  • 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

๐Ÿค Contributing

We welcome contributions! Please see our Contributing Guide for details.

Development Process

  1. Fork the repository
  2. Create feature branch (git checkout -b feature/amazing-feature)
  3. Implement with tests
  4. Ensure all tests pass (bun test)
  5. Submit pull request

Code Standards

  • TypeScript strict mode enforced
  • Comprehensive JSDoc comments
  • Unit tests for all new features
  • Follow existing patterns

๐Ÿ“„ License

MIT License - see LICENSE file for details.


Build the future of AI agents with skill-based architecture!

Get Started โ€ข Documentation โ€ข API Reference โ€ข Contributing

SYMindX v2.1.0 | Skill-Based Architecture | Enterprise Security | Production Ready

About

A modular, agent-based AI runtime designed to simulate intelligent, emotionally reactive characters that can operate autonomously in games, on the web, and across social platforms.

Resources

Contributing

Stars

9 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages