Taerae is an embedded, lightweight graph database project for Dart and Flutter.
It is designed to run without an external GraphDB server (for example, no Neo4j dependency),
so apps can model and query graph relations fully on-device.
Build graph-powered apps in Dart/Flutter without running a graph server.
Use local-first graph queries with durability controls for real app data.
Extend naturally into on-device AI and GraphRAG workflows.
- Build with pure Dart core:
packages/taerae_core - Build Flutter apps:
packages/flutter_taerae - Run practical examples:
examples - Dive into full docs:
DEVELOPER_DOCS.md
Taerae is optimized for app-embedded graph workloads, not server-cluster workloads.
| Perspective | Typical server GraphDB usage | Taerae |
|---|---|---|
| Infrastructure | Separate DB server and operations | In-app embedded graph runtime |
| Connectivity | Usually network-dependent | Local-first, offline-capable |
| Flutter UX | Custom adapter required | TaeraeGraphController ready for UI state |
| AI extension | External wiring required | Built-in GraphRAG extension points |
| Operational cost | DB hosting and maintenance overhead | Lower infra/ops burden for app-local use cases |
No Neo4j required: run graph features without external GraphDB infrastructure.Import and use: single Dart/Flutter stack for graph modeling and querying.Offline-ready: graph queries keep working without network dependency.Flutter-native DX:ChangeNotifier-based controller for immediate UI integration.GraphRAG ready: embedder/index/chunker/filter/reranker hooks included.Durability control: WAL + snapshot with configurable flush/atomicity strategy.Prototype-to-product: consistent API from local prototype to production app features.
packages/taerae_core: pure Dart graph engine and query core.packages/flutter_taerae: Flutter plugin/package that wrapstaeraewith Flutter-friendly APIs.examples/: standalone example projects for common usage patterns.
- Detailed docs index:
DEVELOPER_DOCS.md - Core guide:
packages/taerae_core/DEVELOPER_GUIDE.md - Flutter guide:
packages/flutter_taerae/DEVELOPER_GUIDE.md - Flutter API reference:
packages/flutter_taerae/API_REFERENCE.md
- Local-first graph modeling for mobile, desktop, and web.
- Expand toward on-device AI workflows and GraphRAG pipelines.
- Keep the core lightweight so it can run in resource-constrained environments.
- Required toolchains:
- Dart SDK
>=3.11.0 - Flutter SDK
>=3.3.0
- Dart SDK
- Verify local setup:
dart --version
flutter --version
flutter doctor- Bootstrap dependencies:
cd packages/taerae_core
dart pub get
cd ../flutter_taerae
flutter pub get
for dir in ../../examples/*; do
(cd "$dir" && dart pub get)
doneSee examples/README.md for a complete example list and runnable scenarios.
Standard local checks from repository root:
./scripts/dev-checks.shFast loop (skip example dependency bootstrap):
./scripts/dev-checks.sh --skip-examplesEquivalent manual commands:
cd packages/taerae_core
dart test
cd ../flutter_taerae
flutter testcd examples/basic_graph_queries
dart pub get
dart runSee examples/README.md for all sample projects.
Real-life scenario samples include:
examples/real_life_city_commuteexamples/real_life_delivery_opsexamples/real_life_personal_notes_ragexamples/real_life_social_recommendation
- Publish
taeraefirst. - Update
flutter_taeraedependency from local path to the publishedtaeraeversion. - Publish
flutter_taerae.