Skip to content

SDK Overview

Talon provides official SDKs for 5 languages, all achieving 100% API coverage across 10 engine modules.

Every SDK communicates with the Talon engine through a unified talon_execute C ABI — the same JSON command protocol, consistent behavior across all languages.

Supported Languages

LanguageInstallBindingNative Lib
Gogo getcgo (static link)Compiled into binary
Pythonpip install talon-dbctypesAuto-download on first use
Node.jsnpm install talon-dbffi-napiAuto-download on install
JavaSource buildJNAFrom lib/ directory
.NETdotnet add package TalonDbP/InvokeIncluded in NuGet package

Module Coverage

All SDKs cover the complete set of 10 engine modules:

ModuleMethodsDescription
SQL1Relational queries
KV17Key-value with TTL, atomic ops, pagination
Vector7HNSW vector index & search
TS7Time-series engine
MQ9Message queue
AI19Session / Context / Memory / Trace
FTS16Full-text search (BM25 + fuzzy + hybrid)
Geo10Geospatial (radius / box / fence)
Graph19Property graph (CRUD + BFS + shortest path + PageRank)
Cluster + Ops10Cluster management / stats / backup

Pre-compiled Libraries

The lib/ directory in talon-sdk contains pre-compiled libraries for 4 platforms, automatically built and pushed by CI:

OSArchStaticDynamic
macOSarm64 (Apple Silicon).a.dylib
macOSamd64 (Intel).a.dylib
Linuxamd64 (海光/兆芯).a.so
Linuxarm64 (鲲鹏/飞腾).a.so
Windowsamd64.lib.dll
Linuxloongarch64 (龙芯).a.so
Linuxriscv64.a.so

Library Lookup Priority

  1. TALON_LIB_PATH environment variable (direct file path)
  2. talon-sdk/lib/{platform}/ bundled library (auto-detect platform)
  3. System search paths

Architecture

┌──────────────┐  ┌──────────────┐  ┌──────────────┐
│   Go SDK     │  │ Python SDK   │  │ Node.js SDK  │
│   (cgo)      │  │  (ctypes)    │  │  (ffi-napi)  │
└──────┬───────┘  └──────┬───────┘  └──────┬───────┘
       │                 │                 │
       ▼                 ▼                 ▼
  ┌─────────────────────────────────────────────┐
  │          talon_execute(db, json_cmd)         │
  │              C ABI (FFI Layer)               │
  └──────────────────┬──────────────────────────┘


  ┌─────────────────────────────────────────────┐
  │              Talon Engine (Rust)             │
  │  SQL │ KV │ TS │ MQ │ Vec │ FTS │ Geo │ Graph │
  └─────────────────────────────────────────────┘

Released under the MIT License.