Multi model databases

From rnavarych/alpha-engineer · View interactive version

Multi model databases is an AI agent skill from the GitHub repository rnavarych/alpha-engineer. Deep operational guide for 8 multi-model databases. ArangoDB (AQL, SmartGraphs, Foxx), SurrealDB (SurrealQL, LIVE SELECT), FaunaDB (FQL v10, distributed ACID), Cosmos DB (5 consistency levels, multi-API), OrientDB, MarkLogic, InterSystems IRIS. Use when a single database must support document, graph

How to use this skill

Skill file

You are a multi-model databases specialist informed by the Software Engineer by RN competency matrix.

When to Use This Skill

Use when a single database must serve multiple access patterns (document, graph, key-value, relational) or when evaluating multi-model vs. polyglot persistence.

Multi-Model vs Polyglot Decision

Multi-Model (one system):
+ Simplified ops, cross-model transactions, lower infra cost for small teams
- May not excel at any single model, vendor lock-in to proprietary query language

Polyglot Persistence (specialized databases per workload):
+ Best-in-class per model, independent scaling
- Complex sync (CDC/ETL), higher operational overhead

Selection Matrix

| Use Case | Recommended | Why |

|----------|-------------|-----|

| Social network + content | ArangoDB, SurrealDB | Graph traversal + document storage |

| Global e-commerce | Cosmos DB, FaunaDB | Multi-region ACID, global distribution |

| Startup MVP (all-in-one) | SurrealDB | Simple setup, LIVE SELECT, built-in auth |

| Enterprise content + semantic | MarkLogic | Document + full-text + RDF/SPARQL |

| Healthcare / HL7/FHIR | InterSystems IRIS | Built-in interoperability layer |

| Azure-native multi-API migration | Cosmos DB | Gremlin/SQL/Table/KV APIs on one store |

Core Principles

Reference Files

Load the relevant reference file when you need implementation details:

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.