Aidbox is one of the most capable FHIR servers in production today — broad version support, ONC certification, element-level access control, and proven scale. bonfire bets on a different shape: a TypeScript/Postgres backend optimized for one team shipping an outpatient or AI app fast, with semantic search and an agent boundary built in rather than assembled.
Aidbox (Health Samurai) is a production-grade, commercial FHIR server: FHIR stored as JSONB in Postgres (so you get SQL, joins, aggregates, and strong read-after-write), STU3 through R6, AccessPolicy + Security Labels with element-level masking, topic-based subscriptions, a Reactive API, automatic BALP AuditEvents, and an ONC (g)(10) certification path. It is closed-source and license-gated — the cheapest production tier is ~$19K/yr before support and add-on modules — and it ships no built-in semantic/vector search or agent/LLM layer; you build that yourself on top. bonfire is early-stage and largely a design direction, so its column describes intended positioning, not shipped maturity: Apache-2.0 TypeScript/Postgres core with typed clinical primitives, an app-frontend reactive live-query cache, ABAC-enforced pgvector semantic search, and a build-your-own-MCP agent surface — with FHIR generated underneath rather than as the primary API. For teams needing certified, battle-tested FHIR breadth today, Aidbox is the safer choice; for founders who want an open, AI-native app backend and accept early-stage risk, bonfire is the fit.
Aidbox is a mature, certified, proprietary FHIR-on-Postgres platform you license; bonfire is an early-stage, open-source, app-and-agent-native clinical backend that generates FHIR underneath.
| Aidbox (Health Samurai) | bonfireDB | |
|---|---|---|
| Type | Commercial production-grade FHIR server + data platform | Agent-native clinical backend; FHIR generated underneath |
| Language / stack | Clojure/JVM core; PostgreSQL JSONB storage | TypeScript + Postgres + pgvector |
| License / cost | Proprietary; Dev free (no PHI), Base from ~$19K/yr (verify current pricing, 2026) | Apache-2.0 core (free) + managed tier |
| Hosting | Both — self-hosted (Docker/K8s) or managed cloud | Your AWS (OSS) or managed |
| App-native typed API | FHIR-first; custom resources, but not typed app primitives | Yes — typed clinical primitives |
| Fresh-on-commit app reads | Yes — Postgres ACID gives strong read-after-write | Yes — committed operational read models |
| Reactive realtime cache | Server-push subscriptions + $watch API; no frontend live-query cache | Yes — useClinicalQuery |
| Built-in semantic search | None built in — you add pgvector/embeddings yourself | Built in — pgvector, ABAC-enforced |
| Agent / MCP layer | No native MCP/agent layer; SQL-on-FHIR/GraphQL building blocks only | Build-your-own-MCP over clean projections |
| Clinical authorization (write-enforced) | Strong — AccessPolicy RBAC/ABAC + element-level Security Labels | Read + write enforced ABAC, auto-audit |
| Automatic audit / provenance | Automatic BALP AuditEvents (opt-in setting; $import/GraphQL gaps) | Automatic |
| FHIR conformance / export | Broad — STU3–R6, 500+ IGs, ONC (g)(10) certified, Bulk export | FHIR R4 generated underneath; scoped conformance (honest: not a full enterprise FHIR server) |
| Best for | Teams needing certified, broad, scalable FHIR today | Builders of AI-native health apps (scribes, copilots, agents) |
Choose Aidbox if you need a mature, certified, broadly-conformant FHIR server today — multi-version support (STU3–R6), element-level access control, ONC (g)(10) certification, proven scale, and enterprise compliance (ISO 27001, BAA) — and you're comfortable with a proprietary, license-gated platform and building any AI/agent layer yourself.
Choose bonfire if you're a founder shipping an outpatient or AI-native healthcare app and want an open-source TypeScript/Postgres backend with typed primitives, a reactive frontend cache, built-in ABAC-enforced semantic search, and an owned MCP/agent surface — and you accept that bonfire is early-stage with scoped (not full enterprise) FHIR conformance, where Aidbox is the safer pick for certified breadth.
Open source. Runs in your AWS. The clinical layer is handled.
bonfireDB is an early-access, open-source (Apache-2.0) alternative positioned differently from Aidbox: a TypeScript/Postgres backend for one team shipping an outpatient or AI app, with built-in pgvector semantic search and an agent boundary, generating FHIR underneath. Aidbox is the safer pick if you need certified, broad FHIR breadth today; bonfire fits founders who want an open, AI-native app backend and accept early-stage risk.
As of 2026, Aidbox offers a free Development license that forbids real PHI and caps the DB at 5GB; the cheapest production tier with PHI (Aidbox Base) starts around $19K/yr before support and add-on modules. Verify current Health Samurai pricing before deciding. bonfireDB's design is an Apache-2.0 core you run on your own AWS at no license cost, with a managed tier optional.
No. Aidbox's core is proprietary and closed-source (its own FAQ confirms it is not open source) and is license-gated by JWT keys with max-instance counting. bonfireDB's core is designed to be Apache-2.0, so you can read, patch, and self-host the backend rather than depending on paid vendor support for deep bugs.
No. As of 2026 Aidbox ships no built-in vector/semantic search or embeddings — it's a structured FHIR platform, so you build the entire embedding/RAG layer yourself on top. bonfireDB is designed to bake pgvector semantic search into the backend under the same ABAC authorization boundary.
Choose Aidbox if you need a mature, ONC (g)(10)-certified FHIR server today with multi-version support (STU3–R6), element-level access control, and proven scale, and you're fine with a proprietary platform. Choose bonfireDB if you're a founder shipping an outpatient or AI app and want an open TypeScript/Postgres backend with typed primitives, a reactive frontend cache, built-in semantic search, and an owned MCP/agent surface — accepting it is early-stage with scoped FHIR conformance.