Enables deploying the MCP server code to GitHub repositories with setup scripts for initialization, remote configuration, and code pushing
Optional integration for setting up CI/CD workflows to test and build the server
Provides configuration instructions for integrating with Claude Desktop app on macOS systems
Supports running the MCP server using Node.js runtime environment
Integrates with Python to access the NSAF framework capabilities
Neuro-Symbolic Autonomy Framework (NSAF) v1.0
The Complete, Unified Implementation of Advanced AI Autonomy
Author: Bolorerdene Bundgaa
Contact: bolor@ariunbolor.org
Website: https://bolor.me
A comprehensive Python framework that combines quantum computing, symbolic reasoning, neural networks, and foundation models into a unified autonomous AI system.
๐ What's New in v1.0
This is the unified, production-ready version that combines:
โ Complete 5-Module Architecture: All advanced NSAF components
โ Foundation Model Integration: OpenAI, Anthropic, Google APIs
โ MCP Protocol Support: AI assistant integration built-in
โ Web API Framework: Production deployment ready
โ Enterprise Features: Authentication, databases, monitoring
Related MCP server: CodeAlive MCP
๐๏ธ Architecture Overview
Core Modules
Quantum-Symbolic Task Clustering - Decompose complex problems using quantum-enhanced algorithms
Self-Constructing Meta-Agents (SCMA) - Evolve specialized AI agents automatically
Hyper-Symbolic Memory - RDF-based knowledge graphs with semantic reasoning
Recursive Intent Projection (RIP) - Multi-step planning and optimization
Human-AI Synergy - Cognitive state synchronization and collaboration
Integration Layers
Foundation Models - GPT-4, Claude, Gemini integration for embeddings and reasoning
MCP Interface - Model Context Protocol for AI assistant integration
Web APIs - FastAPI-based services with authentication
Distributed Computing - Ray-based scaling and quantum backends
๐ ๏ธ Installation
Prerequisites
Python 3.8+
8GB+ RAM recommended
GPU optional (for large models)
Quick Install
Dependencies Included
Quantum Computing: Qiskit, Cirq, PennyLane
Machine Learning: PyTorch, TensorFlow, Scikit-learn
Distributed: Ray, Redis
Web Framework: FastAPI, WebSockets
Databases: SQLAlchemy, PostgreSQL, Redis
Semantic Web: RDFlib, NetworkX
Foundation Models: OpenAI, Anthropic clients
๐ฏ Quick Start
Basic Usage
MCP Integration (AI Assistants)
โ๏ธ Configuration
Environment Variables
Configuration File
All settings in config/config.yaml:
Foundation model providers and settings
Quantum backend configuration
Distributed computing setup
Database connections
Security and authentication
Feature flags and optimization
๐งช Examples
Run Complete Demo
Shows all features working together with a complex predictive maintenance task.
Individual Components
๐ง Advanced Features
Quantum Computing
IBM Qiskit integration for quantum optimization
Configurable quantum backends (simulator/real hardware)
Quantum-enhanced similarity computation
Foundation Models
Multi-provider support (OpenAI, Anthropic, Google)
Automatic fallbacks and error handling
Task-specific model selection
Distributed Processing
Ray-based distributed computing
Auto-scaling worker management
GPU/CPU resource optimization
Enterprise Ready
FastAPI web services
JWT authentication
PostgreSQL/Redis support
Monitoring and logging
Docker deployment ready
๐ Performance
Component | Performance | Scalability |
Task Clustering | 1000+ tasks/sec | Quantum-enhanced |
Agent Evolution | 100 agents/gen | Distributed training |
Memory Graph | 1M+ nodes | RDF triple store |
Intent Planning | 10 steps/sec | Recursive optimization |
API Response | <100ms | Auto-scaling |
๐ Security
โ API Authentication: JWT tokens and API keys
โ Data Encryption: AES-256 encryption at rest
โ Secure Connections: HTTPS/WSS only in production
โ Access Control: Role-based permissions
โ Audit Logging: Comprehensive activity tracking
๐งฐ Development
Testing
Code Quality
Documentation
๐ Deployment
Local Development
Production
Cloud Platforms
AWS: Ray on EC2, RDS PostgreSQL, ElastiCache Redis
GCP: Compute Engine, Cloud SQL, Memorystore
Azure: Virtual Machines, Database, Cache
๐ Monitoring
Metrics: Prometheus integration
Logging: Structured JSON logs
Tracing: OpenTelemetry support
Health Checks: Built-in endpoint monitoring
Alerts: Custom threshold notifications
๐ค Contributing
Fork the repository
Create feature branch:
git checkout -b feature/amazing-featureRun tests:
pytest tests/Commit changes:
git commit -m 'Add amazing feature'Push branch:
git push origin feature/amazing-featureOpen Pull Request
๐ Documentation
API Reference:
/docsendpoint when running serverArchitecture Guide:
docs/architecture.mdDeployment Guide:
docs/deployment.mdExamples:
examples/directory
๐ Troubleshooting
Common Issues
Missing Dependencies
Quantum Backend Errors
Ray Connection Issues
Foundation Model API Errors
๐ License
MIT License - see LICENSE file for details.
๐ Acknowledgments
IBM Qiskit team for quantum computing framework
Ray team for distributed computing
OpenAI, Anthropic, Google for foundation model APIs
FastAPI team for web framework
All open source contributors
๐ Support
Issues: GitHub Issues tracker
Discussions: GitHub Discussions
Author Contact: bolor@ariunbolor.org
Website: https://bolor.me
Built with โค๏ธ for the future of AI autonomy
Created by Bolorerdene Bundgaa
NSAF v1.0 - The complete neuro-symbolic autonomy solution