Skip to content

toobutta/Auterity-Dream

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

112 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Auterity Unified AI Platform

Production Ready Services Architecture Documentation

🎯 Enterprise AI Platform with Three-System Integration

Auterity is a production-ready unified AI platform featuring three integrated systems: AutoMatrix (workflow automation), RelayCore (AI routing), and NeuroWeaver (model management) with 26 enterprise services for intelligent operations.

πŸ—οΈ Three-System Architecture

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚                        AUTERITY UNIFIED AI PLATFORM                        β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚                                                                             β”‚
β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”        β”‚
β”‚  β”‚   AutoMatrix    │◄──►│   RelayCore     │◄──►│ NeuroWeaver     β”‚        β”‚
β”‚  β”‚   (Core Engine) β”‚    β”‚   (AI Router)   β”‚    β”‚ (Model Mgmt)    β”‚        β”‚
β”‚  β”‚   Port: 8000    β”‚    β”‚   Port: 3001    β”‚    β”‚ Port: 3002      β”‚        β”‚
β”‚  β”‚   Python/React  β”‚    β”‚   Node.js/TS    β”‚    β”‚   Python/React  β”‚        β”‚
β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜        β”‚
β”‚           β”‚                       β”‚                       β”‚                β”‚
β”‚           β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜                β”‚
β”‚                                   β”‚                                        β”‚
β”‚              β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”                       β”‚
β”‚              β”‚        Shared Infrastructure        β”‚                       β”‚
β”‚              β”‚   Auth β€’ Monitoring β€’ Database     β”‚                       β”‚
β”‚              β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜                       β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

⚑ Quick Start

# Clone and deploy complete platform
git clone https://github.com/toobutta/auterity-error-iq.git
cd auterity-error-iq

# Setup environment
cp .env.example .env
# Edit .env with your API keys and configuration

# Install dependencies
npm install
cd frontend && npm install
cd ../backend && pip install -r requirements-dev.txt

# Start development environment (all 26 services)
npm run dev

# Production deployment
npm run prod

🌐 Access Points:

πŸ—οΈ System Components

AutoMatrix - Core Workflow Engine (Port 8000)

  • Visual Workflow Builder: Drag-and-drop interface with React Flow
  • Execution Engine: Parallel processing with retry mechanisms
  • Template Library: Pre-built workflow templates
  • Real-time Monitoring: WebSocket-based progress tracking
  • API Integration: RESTful API with OpenAPI documentation

RelayCore - AI Request Router (Port 3001)

  • Intelligent Routing: Cost-optimized AI model selection
  • Budget Management: Real-time cost tracking and limits
  • Performance Analytics: Latency and accuracy metrics
  • Multi-Provider Support: OpenAI, Anthropic, custom models
  • Steering Rules: Configurable routing logic

NeuroWeaver - Model Management (Port 3002)

  • Custom Model Training: Automated fine-tuning pipeline
  • Model Registry: Centralized catalog with versioning
  • Performance Monitoring: Model accuracy and speed tracking
  • Automotive Specialization: Pre-built automotive AI templates
  • Deployment Automation: One-click model deployment

πŸ—οΈ Service Architecture

Core Services (Production Ready)

  • Authentication: JWT, OAuth2, SSO integration
  • Database: PostgreSQL with clustering
  • Cache: Redis with persistence
  • Queue: RabbitMQ + Celery workers

Communication Services (Production Ready)

  • Twilio: SMS, voice, campaigns, IVR
  • WhatsApp: Business API, templates, interactive messages
  • Email: SMTP integration with MailHog development server
  • Notifications: Multi-channel (Email, Slack, SMS, WhatsApp, webhooks)

Automation Services (Production Ready)

  • Playwright: Web scraping, form automation, testing
  • Puppeteer: Browser automation, PDF generation, screenshots
  • Workflow Engine: Visual workflow builder with AI integration

AI/ML Services (Production Ready)

  • Vector Databases: Pinecone, Weaviate integration
  • LLM Providers: OpenAI, Anthropic, Azure OpenAI
  • MLflow: Experiment tracking, model registry
  • Embeddings: Automated text embedding generation

Infrastructure Services (Production Ready)

  • API Gateway: Kong with rate limiting, CORS
  • Load Balancer: Nginx with SSL termination
  • Monitoring: Prometheus, Grafana, Jaeger tracing, Alertmanager
  • Logging: Loki centralized logging with Promtail collection
  • Secrets: HashiCorp Vault integration
  • Event Streaming: Apache Kafka with Zookeeper
  • Object Storage: MinIO S3-compatible storage
  • System Monitoring: Node, Redis, Postgres exporters

πŸ“Š Complete Service List (26 Services)

Service Type Status Port Description
kong Gateway βœ… Production 8000, 8001 API Gateway & Admin
nginx Load Balancer βœ… Production 80, 443 Load Balancer & SSL
backend API βœ… Production 8080 FastAPI Backend
frontend Web βœ… Production 3000 React Frontend
postgres Database βœ… Production 5432 Primary Database
redis Cache βœ… Production 6379 Cache & Sessions
rabbitmq Queue βœ… Production 5672, 15672 Message Queue
kafka Streaming βœ… Production 9092 Event Streaming
zookeeper Coordination βœ… Production 2181 Kafka Dependency
vault Secrets βœ… Production 8200 Secrets Management
mlflow ML βœ… Production 5000 ML Experiment Tracking
weaviate Vector DB βœ… Production 8081 Vector Database
puppeteer Automation βœ… Production 3000 Browser Automation
mailhog Email βœ… Development 1025, 8025 SMTP Development
celery-worker Workers βœ… Production - Task Processing
prometheus Metrics βœ… Production 9090 Metrics Collection
grafana Monitoring βœ… Production 3001 Monitoring Dashboard
alertmanager Alerts βœ… Production 9093 Alert Management
jaeger Tracing βœ… Production 16686 Distributed Tracing
loki Logging βœ… Production 3100 Log Aggregation
promtail Logs βœ… Production 9080 Log Collection
node-exporter Metrics βœ… Production 9100 System Metrics
redis-exporter Metrics βœ… Production 9121 Redis Metrics
postgres-exporter Metrics βœ… Production 9187 Postgres Metrics
minio Storage βœ… Production 9000, 9001 Object Storage

πŸ”§ Configuration

Environment Variables

# Core Services
POSTGRES_PASSWORD=your_secure_password
REDIS_URL=redis://redis:6379
RABBITMQ_PASSWORD=your_rabbitmq_password

# AI Services
OPENAI_API_KEY=your_openai_key
ANTHROPIC_API_KEY=your_anthropic_key
PINECONE_API_KEY=your_pinecone_key

# Communication Services
TWILIO_ACCOUNT_SID=your_twilio_sid
WHATSAPP_ACCESS_TOKEN=your_whatsapp_token

# Infrastructure
VAULT_TOKEN=your_vault_token
KAFKA_BOOTSTRAP_SERVERS=kafka:9092

Service Health Checks

# Check all services
curl http://localhost:8001/status

# Individual service health
curl http://localhost:8080/api/health (Backend)
curl http://localhost:8081/v1/meta (Weaviate)
curl http://localhost:5000/health (MLflow)
curl http://localhost:8200/v1/sys/health (Vault)

πŸš€ Deployment Options

Development

docker-compose -f docker-compose.unified.yml up -d

Production

# With load balancing and clustering
docker-compose -f docker-compose.unified.yml -f docker-compose.production.yml up -d

Kubernetes

kubectl apply -f kubernetes/

πŸ“ˆ Monitoring & Observability

  • Metrics: Prometheus + Grafana dashboards
  • Tracing: Jaeger distributed tracing
  • Logging: Loki centralized logging
  • Health Checks: Automated service monitoring
  • Alerts: Multi-channel alerting system

πŸ”’ Security Features

  • API Gateway: Rate limiting, CORS, authentication
  • Secrets Management: HashiCorp Vault integration
  • SSL/TLS: End-to-end encryption
  • Input Validation: SQL injection and XSS protection
  • Audit Logging: Complete audit trail

πŸ§ͺ Testing

# Run all tests
docker-compose exec backend python -m pytest

# Integration tests
python -m pytest tests/integration/

# Load testing
python -m pytest tests/load/

# Security testing
python -m pytest tests/security/

πŸ“š Comprehensive Documentation

πŸ“– For AI Coding Tools

πŸ”§ Development & Technical

πŸš€ Deployment & Operations

πŸ“Š Project Status & Planning

πŸ§ͺ Testing & Quality

# Complete test suite
npm run test                       # All tests across systems
npm run test:frontend              # React component tests
npm run test:backend               # Python API tests
npm run test:integration           # Cross-system integration tests
npm run test:e2e                   # End-to-end Playwright tests

# Code quality pipeline
npm run quality-gate               # Full CI/CD quality check
npm run lint                       # ESLint + Flake8 linting
npm run type-check                 # TypeScript compliance
npm run security-scan              # Dependency vulnerability scan

πŸ”’ Security & Compliance

  • πŸ” Authentication: JWT with refresh tokens, OAuth2, SAML integration
  • πŸ›‘οΈ API Security: Rate limiting, CORS, input validation
  • πŸ”‘ Secrets Management: HashiCorp Vault integration
  • πŸ“Š Audit Logging: Comprehensive audit trail with structured logging
  • πŸ” Security Scanning: Automated dependency and vulnerability scanning

🀝 Contributing

  1. Fork the repository
  2. Create feature branch: git checkout -b feature/amazing-feature
  3. Commit changes: git commit -m 'Add amazing feature'
  4. Push to branch: git push origin feature/amazing-feature
  5. Open Pull Request

πŸ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.


🎯 Enterprise-ready AI platform with 25+ integrated services, production deployment, and comprehensive monitoring.

About

Resources

Contributing

Stars

1 star

Watchers

0 watching

Forks

Packages

 
 
 

Contributors