Skip to main content

QuantumDrive platform and SDK

Project description

QuantumDrive

AI-powered assistant and data management platform built on AgentForge.

Overview

QuantumDrive is an AlphaSix IP product that provides:

  • Q Assistant: Conversational AI with memory and tool access
  • Microsoft 365 Integration: SSO and Graph API access
  • Vector Storage: Semantic search with ChromaDB
  • AgentForge Integration: Leverages Syntheticore's AgentForge library

Quick Start

Standalone Usage

  1. Install dependencies:

    pip install -r requirements.txt
    
  2. Create user configuration:

    mkdir -p ~/.config/quantumdrive
    cp resources/default_quantumdrive.toml ~/.config/quantumdrive/quantumdrive.toml
    
  3. Set environment variables:

    export AF_OPENAI_API_KEY="sk-..."
    export QD_MS_TENANT_ID="..."
    export QD_MS_CLIENT_ID="..."
    export QD_MS_CLIENT_SECRET="..."
    
  4. Run example:

    python examples/standalone_usage.py
    

Library Usage (from Quantify)

from quantumdrive.core.utils.qd_config import QDConfig
from quantumdrive.core.ai.q_assistant import QAssistant

# Load config from host application
config = QDConfig.from_dict(secrets_dict)

# Initialize assistant
assistant = QAssistant(config=config)

# Ask questions
response = assistant.answer_question(
    "What is Python?",
    user_id="user123",
    thread_id="thread456",
    org_id="org789"
)

Configuration

QuantumDrive uses a flexible configuration system supporting:

  • TOML files: For non-sensitive defaults
  • Environment variables: For secrets and overrides
  • Dependency injection: For library usage

See Configuration Guide for complete documentation.

Required Configuration

QuantumDrive (QD_ prefix)*:

  • QD_MS_TENANT_ID - Microsoft Entra ID tenant
  • QD_MS_CLIENT_ID - Application client ID
  • QD_MS_CLIENT_SECRET - Application secret
  • QD_MS_REDIRECT_URI - OAuth callback URL

AgentForge (AF_ prefix)*:

  • AF_OPENAI_API_KEY - OpenAI API key
  • AF_LLM_PROVIDER - LLM provider (openai, ollama, xai)
  • AF_OPENAI_MODEL - Model name (gpt-5.1, gpt-5.1-codex, etc.)

Architecture

┌─────────────────────────────────────────┐
│         Quantify (AlphaSix IP)          │
│  - Web application                      │
│  - Secrets management                   │
│  - User interface                       │
└──────────────┬──────────────────────────┘
               │ config dict
               ↓
┌─────────────────────────────────────────┐
│      QuantumDrive (AlphaSix IP)         │
│  - Q Assistant                          │
│  - Microsoft 365 integration            │
│  - Vector storage                       │
│  - Configuration bridge                 │
└──────────────┬──────────────────────────┘
               │ AF_* config
               ↓
┌─────────────────────────────────────────┐
│     AgentForge (Syntheticore IP)        │
│  - LLM orchestration                    │
│  - Tool registry                        │
│  - Memory management                    │
│  - Vector stores                        │
└─────────────────────────────────────────┘

Components

Q Assistant (core/ai/q_assistant.py)

Conversational AI assistant with:

  • Multi-turn conversations with memory
  • Tool access (search, calculations, APIs)
  • Identity-scoped memory (user, thread, org)
  • Crew-based multi-agent workflows

Microsoft 365 Provider (core/auth/microsoft_365_provider.py)

OAuth2 authentication and Graph API access:

  • SSO with Microsoft Entra ID
  • Token caching and refresh
  • User profile retrieval
  • Graph API requests

Configuration (core/utils/qd_config.py)

Flexible configuration management:

  • TOML file loading
  • Environment variable overrides
  • Dependency injection support
  • AgentForge config extraction

Development

Project Structure

quantumdrive/
├── core/
│   ├── ai/              # Q Assistant and agent configuration
│   ├── auth/            # Microsoft 365 authentication
│   ├── aws/             # AWS Secrets Manager integration
│   ├── ingest/          # Document processing
│   ├── user/            # User profiles
│   └── utils/           # Configuration and utilities
├── docs/                # Documentation
├── examples/            # Usage examples
├── resources/           # Default configuration files
├── tests/               # Test suite
└── webapp/              # Flask web application

Running Tests

pytest tests/

Code Style

# Format code
black core/ tests/

# Lint
flake8 core/ tests/

# Type check
mypy core/

Documentation

Security

Never commit secrets to version control!

  • Use environment variables for API keys and credentials
  • Use secrets managers (AWS Secrets Manager, Azure Key Vault) in production
  • Add .env files to .gitignore
  • Rotate exposed credentials immediately

See Configuration Guide for details.

License

Proprietary - AlphaSix IP

Support

For issues or questions, contact the AlphaSix development team.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

quantumdrive-1.3.73.tar.gz (482.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

quantumdrive-1.3.73-py3-none-any.whl (528.3 kB view details)

Uploaded Python 3

File details

Details for the file quantumdrive-1.3.73.tar.gz.

File metadata

  • Download URL: quantumdrive-1.3.73.tar.gz
  • Upload date:
  • Size: 482.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for quantumdrive-1.3.73.tar.gz
Algorithm Hash digest
SHA256 89c159136b0f57a63bf9390523906980fe3d32a5db4d527a23d950fc0d67ad00
MD5 acdec525cae47e0e80c6dd56f7b86ce5
BLAKE2b-256 2ca74cbd676be69cc09a78c45fd58d69cdb8d6488ac5ec5d542eda32e530d8a0

See more details on using hashes here.

File details

Details for the file quantumdrive-1.3.73-py3-none-any.whl.

File metadata

  • Download URL: quantumdrive-1.3.73-py3-none-any.whl
  • Upload date:
  • Size: 528.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for quantumdrive-1.3.73-py3-none-any.whl
Algorithm Hash digest
SHA256 cae4199baf322f7008d446400b12b9fa1026e887dcb3cec44c68c69fe4df66a8
MD5 ee5a6798fec3df292a3e36cb28716fdf
BLAKE2b-256 20f668b56b33529e0e447b874f568d101b7d2ba7227ef4ee24698a07fa688743

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page