Fetching latest headlinesโ€ฆ
I built an open-source tool to query on-prem databases and DynamoDB in plain English
NORTH AMERICA
๐Ÿ‡บ๐Ÿ‡ธ United Statesโ€ขMarch 22, 2026

I built an open-source tool to query on-prem databases and DynamoDB in plain English

1 views0 likes0 comments
Originally published byDev.to

The Problem

If you've ever worked in a hybrid cloud environment, you know the pain.

You've got legacy data sitting on-premise โ€” MySQL, PostgreSQL, Oracle, SQL Server โ€” and you need it in AWS. So you write a custom sync script. Then another one. Then a cron job breaks at 2am. Then someone changes a schema and the whole pipeline falls apart.

I've been in that situation too many times. So I built IntelliHybrid.

What is IntelliHybrid?

IntelliHybrid is an open-source Python framework that creates a secure, bidirectional sync between your on-premise databases and AWS DynamoDB โ€” with an AI layer on top that lets you query your data in plain English.

No more writing FilterExpression and KeyConditionExpression by hand. Just ask.

result = await assistant.chat("Show me all orders from customer C-001")
result = await assistant.chat("How many products have stock below 10?")
result = await assistant.chat("Find users who signed up this month")

It figures out the right DynamoDB operation โ€” query, scan, or get_item โ€” and returns live data.

Core Features

๐Ÿ”„ Bidirectional Sync

Data flows both ways โ€” on-prem โ†’ DynamoDB and DynamoDB โ†’ on-prem โ€” on a configurable schedule.

intellihybrid sync --mode bidirectional --interval 60

๐Ÿ” Security First

  • KMS-encrypted DynamoDB tables by default
  • TLS 1.3 for all data in transit
  • Least-privilege IAM roles auto-generated per table
  • Secrets via environment variables or AWS Secrets Manager โ€” never in config files

โšก Auto-Provisioning

Define your tables in a simple YAML config and IntelliHybrid creates everything in AWS for you.

dynamodb:
  tables:
    - name: orders-table
      partition_key: { name: orderId, type: S }
      sort_key: { name: customerId, type: S }
      billing_mode: PAY_PER_REQUEST

๐Ÿค– AI-Generated Schema Docs

One call produces a full data dictionary โ€” useful for onboarding, compliance, or just understanding what's in a table.

dictionary = await intel.generate_data_dictionary("orders-table")

Output:

# Data Dictionary: `orders-table`

| Attribute       | Type | Description                                       |
|-----------------|------|---------------------------------------------------|
| orderId ๐Ÿ”‘ PK   | S    | Unique identifier for each order transaction      |
| customerId ๐Ÿ”‘ SK| S    | References the customer โ€” links to users-table PK |
| status          | S    | Fulfillment state: processing, shipped, delivered |
| total           | N    | Order value in USD cents                          |
| createdAt       | N    | Unix timestamp, used for date-range queries       |

Getting Started

pip install intellihybrid
intellihybrid init --config config/config.yaml
intellihybrid sync --mode bidirectional

Setup takes about 5 minutes.

Try the Live Demo

If you want to see the AI query interface without setting anything up, there's a fully interactive browser demo:

๐Ÿ‘‰ Live AI Demo

No backend, no AWS account needed โ€” runs entirely in the browser.

What's Next

  • MongoDB connector (coming soon)
  • Web UI dashboard
  • CDC real-time streaming
  • Terraform module

Links

If this solves a pain point you've had, a โญ on GitHub goes a long way. And I'd love to hear feedback โ€” what database or feature would make this useful for your setup?

Comments (0)

Sign in to join the discussion

Be the first to comment!