Konnektr Graph is a high-performance, Azure Digital Twins-compatible digital twin platform built on PostgreSQL with Apache AGE. Deploy as a fully managed service or self-host in your own infrastructure.
→ Deploy in 60 seconds | Free tier + $99/mo production
- Deploy Graph Now - Start building in 60 seconds (recommended)
- Documentation - Complete guides and API reference
- Quickstart Guide - Get started in 5 minutes
- Self-Host Guide - Deploy in your infrastructure
- Drop-in replacement for Azure Digital Twins API
- Use standard Azure SDKs (.NET, Python, JavaScript)
- Easy migration from Azure with minimal code changes
- Full DTDL (Digital Twins Definition Language) support
- PostgreSQL + Apache AGE - Enterprise-grade graph database
- Powerful Cypher queries - Complex graph traversals
- Horizontal scaling - Handles millions of twins
- Real-time eventing - Stream state changes instantly
- Multiple sinks - Kafka, Azure Data Explorer, MQTT, and more
- CloudEvents standard - Industry-standard event format
- Flexible routing - Route events based on type and filters
- Durable & real-time - Both lifecycle and telemetry events
- Model Context Protocol (MCP) - Native LLM integration
- Semantic queries - AI-powered twin discovery
- Rich metadata - DTDL models provide structured context
Get started in minutes with our fully managed platform:
# Install the Azure Digital Twins SDK
# pip install azure-digitaltwins-core requests
import requests
# 1. Get access token from Auth0 (not Azure AD)
token_url = "https://auth.konnektr.io/oauth/token"
token_data = {
"client_id": "YOUR_CLIENT_ID",
"client_secret": "YOUR_CLIENT_SECRET",
"audience": "https://graph.konnektr.io",
"grant_type": "client_credentials"
}
token_response = requests.post(token_url, json=token_data)
access_token = token_response.json().get("access_token")
# 2. Use the Azure Digital Twins SDK with your Konnektr Graph endpoint
from azure.digitaltwins.core import DigitalTwinsClient
from azure.core.credentials import AccessToken
from datetime import datetime
class StaticTokenCredential:
def __init__(self, token):
self.token = token
def get_token(self, *scopes, **kwargs):
# Return token valid for 1 hour (adjust based on your token expiry)
expires_on = int(datetime.now().timestamp()) + 3600
return AccessToken(self.token, expires_on)
# Connect to your Konnektr Graph instance
client = DigitalTwinsClient(
"https://your-resource-id.api.graph.konnektr.io",
StaticTokenCredential(access_token)
)
# Use the standard Azure Digital Twins API
twin = client.get_digital_twin("my-twin-id")Deploy in your own infrastructure with Helm:
# Add Konnektr Helm repository
helm repo add konnektr https://konnektr-io.github.io/charts
# Install with your custom values
helm install my-graph konnektr/agedigitaltwins -f values.yaml- Smart Buildings - Model and manage building systems, sensors, and spaces
- Industrial IoT - Digital twins for manufacturing, supply chain, and logistics
- Smart Cities - Infrastructure monitoring and urban planning
- Healthcare - Patient monitoring and facility management
- Energy & Utilities - Grid management and renewable energy systems
- Automotive - Fleet management and connected vehicle platforms
| Hosted | Self-Hosted | |
|---|---|---|
| Setup Time | 5 minutes | 1-2 hours |
| Maintenance | Zero - fully managed | You manage updates |
| Scaling | Automatic | Manual configuration |
| Azure SDK Compatible | ✅ Yes | ✅ Yes |
| Direct DB Access | ❌ No | ✅ Yes |
| Custom Auth | Auth0 (managed) | BYO identity provider |
| Best For | Most users | Advanced users, compliance needs |
- Getting Started - Quickstart, setup, and first steps
- Core Concepts - DTDL, querying, components, validation
- How-To Guides - Migration, integration, troubleshooting
- API Reference - REST API documentation
- SDK Reference - Native SDK for self-hosted deployments
- Project Roadmap - Planned features and status
We welcome contributions! Whether you're fixing bugs, improving documentation, or proposing new features:
- Open an issue to discuss your idea
- Fork the repository and create a feature branch
- Make your changes with clear commit messages
- Submit a pull request
Please read our Contributing Guidelines for more details.
- GitHub Discussions - Ask questions, share ideas
- Issue Tracker - Report bugs, request features
- Documentation - Comprehensive guides and references
This project is licensed under the Apache License 2.0 - see the LICENSE file for details.
Open Source Foundation - Built on PostgreSQL and Apache AGE, trusted by enterprises worldwide
Azure Compatible - Use your existing Azure Digital Twins knowledge and code
Production Ready - Battle-tested event streaming, validation, and monitoring
Flexible Deployment - Choose hosted simplicity or self-hosted control
Active Development - Regular updates, responsive maintainers, growing community
Ready to build your digital twin solution?