Skip to main content Switch to mobile version alphasix-hexiom 1.2.9 Hexiom - the AI engine library behind QuantumDrive
pip install alphasix-hexiom==1.2.9 Copy PIP instructions
The AI engine library behind QuantumDrive, built on AgentFoundry.
Hexiom is an AlphaSix IP library that provides:
Q Assistant: Conversational AI with memory and tool access
Microsoft 365 Integration: SSO and Graph API access
Vector Storage: Semantic search via AgentFoundry's VectorStoreFactory, typically backed by Milvus
Knowledge Graph: Configurable AgentFoundry KGraph backend, using local DuckDB or hosted Postgres/Neo4j
Delivery Planning: Dependency-aware, multi-repo wave planning and execution primitives
AgentFoundry Integration: Leverages Syntheticore's AgentFoundry library
Hexiom is a library: it has no web server, no UI, and no application-specific secrets. A host application (QuantumDrive is the first one) imports core.*, supplies configuration, and owns everything user-facing.
pip install -r requirements.txt For packaging, license generation, and PQC-related tests, install the build extras:
Create configuration (choose one):
Option A: Project root (for development):
cp core/config/resources/default_hexiom.toml hexiom.toml Option B: User config directory (for production):
mkdir -p ~/.config/hexiom cp core/config/resources/default_hexiom.toml ~/.config/hexiom/hexiom.toml
Set environment variables:
export AF_OPENAI_API_KEY="sk-..." export QD_MS_TENANT_ID="..." export QD_MS_CLIENT_ID="..." export QD_MS_CLIENT_SECRET="..."
Generate a development license:
make generate-keys # one-time: vendor signing keypair make generate-license DAYS=365 UNBOUND=1
python -c "from core.config import QDConfig; print('Hexiom ready:', QDConfig().agentfoundry.llm.provider)" This imports core, which is where license enforcement runs, and resolves the config - so it fails loudly if either the licence or the TOML is wrong.
Library Usage (from a host application)
from core.config import QDConfig from core.ai.q_assistant import QAssistant # Load config from the host application config = QDConfig.from_dict(secrets_dict) # Initialize assistant assistant = QAssistant(user_id="user123", org_id="org789", config=config) # Ask questions response = assistant.answer_question( "What is Python?" ) Configuration
Hexiom uses the QDConfig Pydantic model, supporting:
TOML files: For non-sensitive defaults
Environment variables: For secrets and overrides
Dependency injection: For library usage
Config file search order (first hit wins):
An explicit path argument.
./hexiom.toml (project root / CWD).
~/.config/hexiom/hexiom.toml.
~/.config/quantumdrive/hexiom.toml.
./quantumdrive.toml — deprecated, warns (pre-split basename).
~/.config/quantumdrive/quantumdrive.toml — deprecated, warns.
Packaged default: core/config/resources/default_hexiom.toml.
A host application (like QuantumDrive) that needs its own basename and its own application-level defaults subclasses QDConfig, sets its own TOML_FILENAME, and ships its own resource file — that subclass lives in the host's repository, not here.
See Configuration Guide for complete documentation.
Knowledge graph deployment options:
Local deployments: leave AF_KGRAPH.BACKEND="duckdb_sqlite" for a local kgraph.duckdb
Hosted deployments: set AF_KGRAPH.BACKEND="postgres" and provide the Postgres DSN under [agentfoundry.kgraph.postgres], or "neo4j" for a Neo4j backend
GitLab integration: set AF_GITLAB.BASE_URL, AF_GITLAB.USERNAME, and AF_GITLAB.TOKEN to enable the GitLab API tools. Use a personal access token, not an account password.
Hexiom enforces a signed license at core import time by default.
HEXIOM_ENFORCE_LICENSE=0 disables enforcement for local development and tests (the deprecated QUANTUMDRIVE_ENFORCE_LICENSE spelling still works, with a warning)
HEXIOM_LICENSE_FILE overrides the resolved hexiom.lic path
Hexiom delegates PQC operations to AgentFoundry's kyber provider.
The current runtime stack is pure Python wheels plus native extensions distributed through pip: pqcrypto
liboqs-python / oqs is no longer required for Hexiom's PQC and license flows.
make install-build-deps make generate-license DAYS=365 UNBOUND=1 make build The wheel packages core/hexiom.lic and core/hexiom.pem, and core/__init__.py verifies the license on import. The bundled license is an unbound trial generated at build time (365 days by default) and can be overridden by placing a different signed hexiom.lic in a higher-priority lookup location (~/.config/hexiom/, ~/.config/quantumdrive/, or the working directory).
make release does not regenerate that license — only make check-and-release does. A plain release reuses whatever core/hexiom.lic is on disk, which is how 1.0.0 through 1.1.0 all shipped a license that had expired on 2026-07-29. _check-license now fails the build when the bundled license has under LICENSE_MIN_DAYS (30) left, so run make generate-license DAYS=365 first when it complains.
Microsoft 365 (QD_ prefix, core.auth)*:
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
AgentFoundry (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.)
┌─────────────────────────────────────────┐ │ Host application (e.g. QuantumDrive) │ │ - Web application / UI │ │ - Secrets management │ └──────────────┬──────────────────────────┘ │ config dict ↓ ┌─────────────────────────────────────────┐ │ Hexiom (AlphaSix IP) │ │ - Q Assistant │ │ - Microsoft 365 integration │ │ - Vector storage / knowledge graph │ │ - Configuration bridge │ └──────────────┬──────────────────────────┘ │ AF_* config ↓ ┌─────────────────────────────────────────┐ │ AgentFoundry (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
Configuration (core/config/)
Flexible configuration management:
Environment variable overrides
Dependency injection support
AgentFoundry config extraction
hexiom/ ├── core/ │ ├── ai/ # Q Assistant, agent catalog, prompt library │ ├── auth/ # Microsoft 365 authentication │ ├── aws/ # AWS Secrets Manager integration │ ├── config/ # QDConfig schema and packaged defaults │ ├── ingest/ # Document processing │ ├── integrations/ # Connected systems (REST, Postgres, Elasticsearch, ...) │ ├── kgraph/ # Knowledge graph service facade │ ├── license/ # PQC-signed license enforcement │ ├── memory/ # Layered memory (thread/user/org/global) │ ├── planning/ # Delivery planning and wave execution │ ├── vectorstore/ # Vector storage service facade │ └── ... # See docs/README.md for the full subsystem map ├── docs/ # Documentation ├── scripts/ # Operational one-off scripts ├── tools/ # Build/release tooling (release_version.py, etc.) └── tests/ # Test suite Running Tests
AGENTFOUNDRY_ENFORCE_LICENSE=0 HEXIOM_ENFORCE_LICENSE=0 python3 -m pytest tests/ Code Style
# Format code black core/ tests/ # Lint flake8 core/ tests/ # Type check mypy core/ Branches
Work on a feature branch (feature/ ), open a merge request, and delete the branch as soon as it is merged — both the remote (merge with the "delete source branch" option) and your local copy (git branch -d ). Merged branches should not linger; keeping the branch list to active work only makes it obvious what is still in flight. See AGENTS.md §7 for the full guideline.
Configuration Guide - Complete configuration reference
docs/README.md - Documentation map
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
For issues or questions, contact the AlphaSix development team.
LicenseRef-AlphSix-Proprietary
Operating System OS Independent
Programming Language Python :: 3.11
Release files for alphasix-hexiom 1.2.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
Release files / alphasix_hexiom-1.2.9-cp312-cp312-manylinux2014_x86_64.whl
Security for alphasix-hexiom 1.2.9
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.
Release history Release notifications | RSS feed
Dec 4, 2026 2 release files No provenance
Dec 3, 2026 2 release files No provenance
Dec 2, 2026 2 release files No provenance
Nov 30, 2026 2 release files No provenance
Nov 29, 2026 2 release files No provenance
Nov 24, 2026 2 release files No provenance
Nov 24, 2026 1 release file No provenance
Nov 23, 2026 1 release file No provenance
Nov 22, 2026 1 release file No provenance
Nov 21, 2026 1 release file No provenance
Nov 20, 2026 2 release files No provenance
Nov 20, 2026 1 release file No provenance
Nov 17, 2026 1 release file No provenance
Nov 16, 2026 1 release file No provenance
Nov 6, 2026 2 release files No provenance
Nov 6, 2026 1 release file No provenance
"PyPI", "Python Package Index", and the blocks logos are registered trademarks of the Python Software Foundation.
© 2026 Python Software Foundation




