• z released this 2026-07-16 06:27:48 +00:00 | 3867 commits to main since this release

    Native flags engine + unified insights surface

    Feature flags (native, stateless, scalable)

    • native/flags: embedded Rust evaluator (FFI) — PostHog-compatible rollout hash, full property-operator set, variants, payloads
    • Definitions in per-org/project SQLite, encrypted at rest (cek/KMS); no external flags service, no KV on the hot path
    • POST /v1/flags (+/decide), GET/PUT/DELETE /v1/flags/defs[/:key], GET /v1/flags/activity|health
    • Platform switchboard: GET /v1/admin/flags + PUT /v1/admin/flags/:key (SuperAdmin) — waitlist/signup/invite/gateway switches apply hot within one TTL, no redeploy

    Unified insights surface

    • POST /v1/insights/e — PostHog-wire ingest onto the ONE analytics engine (tenant-gated, scrubbed, into Datastore)
    • GET /v1/insights/events — console recent-events read; GET /v1/insights/health

    SDKs: hanzoai/flags — TypeScript (@hanzo/flags), Go, Python, Rust, C FFI. Docs: https://docs.hanzo.ai/docs/flags

    Downloads