syni 0.1.0 copy "syni: ^0.1.0" to clipboard
syni: ^0.1.0 copied to clipboard

Flutter SDK for Syni — adaptive on-device LLM inference with hybrid local/cloud chat, structured persona conditioning, and a streaming chat API designed for the UI thread.

0.1.0 #

First public release.

Agent layer (package:syni/agent.dart) #

  • SyniAgent — install lifecycle, model catalog, persona binding, chat / chatStream orchestration, hybrid local/cloud routing via SyniExecutionMode.
  • SyniInstaller — model download, tokenizer fetch, SHA-256 verification, cold-start restore from disk.
  • SyniCloudClient — HTTP + SSE client for the Syni cloud chat endpoint, sticky session id, HSI forwarded as request context.
  • SyniSpecPersona.load(id) — resolves persona JSON from the bundled spec assets so the same persona id consistently produces the same behavior on both client and server.

Runtime layer (package:syni/runtime.dart) #

  • SyniRuntime — worker-isolate wrapper over the on-device inference engine. Engine load + token generation run on a worker so the UI thread is free.
  • SyniRuntimeRequest / SyniRuntimeResponse for direct inference.

Models #

  • SyniModels catalog with two pre-pinned entries:
    • qwen25_15bInstructQ4 (Qwen 2.5 1.5B Instruct Q4_K_M, ~1.1 GB).
    • gemma3_1bInstructQ4 (Gemma 3 1B Instruct Q4_K_M, ~770 MB, Synheart-hosted mirror).
  • Both ship with pinned SHA-256 verified by SyniInstaller at install time.

Personas (bundled assets) #

Five spec personas mirrored from syni-spec and bundled under assets/personas/prod/:

  • focus.coach.v1
  • stress.coach.v1
  • cognitive.companion.v1
  • performance.coach.v1
  • wellness.guide.v1

Refresh via tool/sync_personas.sh.

Notes #

  • The legacy Syni.initialize / Syni.generate platform-channel API remains exported for backwards compatibility but new code should use the agent layer.
0
likes
140
points
--
downloads

Documentation

API reference

Publisher

verified publishersynheart.ai

Weekly Downloads

Flutter SDK for Syni — adaptive on-device LLM inference with hybrid local/cloud chat, structured persona conditioning, and a streaming chat API designed for the UI thread.

Repository (GitHub)
View/report issues
Contributing

Topics

#ai #llm #on-device #inference #syni

License

unknown (license)

Dependencies

crypto, ffi, flutter, http, path_provider, rxdart

More

Packages that depend on syni

Packages that implement syni