synq-core-os/README.md
2026-05-07 19:28:50 -07:00

1.2 KiB
Executable file

Synq Core Runtime

Single persistent conversation surface (the Stream) with deterministic PHI classification, hybrid backend routing, and tamper-evident audit logging.

Architecture

Stream UI → Intent Encoder + PHI Classifier → Backend Router → Scheduler → Capability Agents → Manifold/Shadow Log

Stack

  • Rust 1.85+
  • Tauri v2 (fullscreen kiosk UI)
  • PostgreSQL 16 + pgvector
  • sqlx 0.8, tokio 1.40

Workspace Crates

Crate Purpose
synq-protocol Shared types (Vector, Backend, Intent, StreamMessage)
synq-security PHI classifier (<10ms deterministic), ed25519 signing
synq-backend Kimi Cloud + Local Ollama clients, backend router
synq-core Manifold (pgvector), ShadowLog, Scheduler, VectorBus
synq-agents EMR agent skeleton
synq-cli Testing & debugging CLI
ui/stream Tauri v2 + React fullscreen kiosk

Quick Start

# Setup (creates .env, starts Postgres, runs migrations)
./scripts/init.sh

# Run CLI
cargo run --bin synq-cli chat

# Run tests
./scripts/test.sh

# Run Tauri UI
cd ui/stream && npm install && npm run tauri dev

Environment Variables

Copy .env.example to .env and fill in your API keys.

License

MIT