Framework

HBForge (L6)

78 modules, 113,300+ lines, 1,280+ APIs. Batteries-included. Zero npm dependencies.

What is HBForge?

HBForge is a full-stack web framework designed for agent-native applications. Unlike traditional frameworks that treat agents as an afterthought, HBForge puts agents, delegation, and accountability at the center of every API.

32 production SaaS apps ship on HBForge today. AccountingOS, CinemaOS, HB-SchoolOS, and 29 others prove it works at scale with real revenue.

Core Philosophy

Batteries included. One mental model. No dependency hell.

Traditional frameworks push modules to npm — and you inherit their versions, security audits, and breaking changes. HBForge ships everything you need, tested together, versioned together. Tree-shake by import path; ship only what you use.

The 18 Modules

Core

  • client — UI framework (components, reactivity)
  • server — HTTP routing, middleware, auth
  • data — PostgreSQL ORM (typed, zero codegen)
  • auth — integrates Better-Auth
  • test — testing framework

Specialized

  • chart — SVG charts
  • pdf — PDF generation
  • mail — SMTP/email
  • 3d — WebGL2 engine (5.4K lines)
  • i18n — internationalization

UX

  • form — progressive forms
  • animate — FLIP + spring
  • notify — push/email/SMS
  • cli — CLI framework
  • search — full-text search

Web7 Native

  • prime — agent primitives
  • amp — delegation, settlement
  • auth → kynetraauth + SSI
  • data → infra-encrypted fields

Hello World

import { createApp } from "@hyperbridge/forge"
import { route } from "@hyperbridge/forge/server"
import { component } from "@hyperbridge/forge/client"

const app = createApp()
app.use(route("/", component(Home)))
app.use(route("/api/tasks", handler(getTasks)))
app.listen(3000)

Every module is tree-shakeable via import path. Import only what you use.

Agent Integration

import { prime } from "@hyperbridge/forge/prime"
import { amp } from "@hyperbridge/forge/amp"

// Define an agent-callable endpoint
app.use(route("/api/invoice", handler(async (req) => {
  const result = await prime.delegate({
    to: "skill:accounting",
    intent: { type: "invoice", amount: req.body.amount },
    budget: 10.USD,
  })
  return result
})))

prime: agent routing. amp: settlement + attestation. Both first-class, no glue code.

Why Zero Dependencies?

Status

v1.0.0: Shipped. Live in 32 production apps.

v2.0.0: Target 2H 2026. Every module 3× feature set.