Agent framework and test harness on LangGraph.js
An agent is a folder.
File-system routes, generated types, sandboxed execution and approvals on LangGraph.js, in TypeScript. The navlog example below plans a VFR flight and files the flight plan only after a person approves.
Open the live demo: b4.runSource: b4.run on GitHub 266 starsDocs: b4.runb4.run
npm create b4-app@latest -- --template navlog5,780 downloads a month
import { agent } from "@b4run/sdk"
export default agent({
model: "gpt-5-mini",
// …
description:
"A VFR flight planner for a Cessna 172N: briefs weather, looks up POH performance, computes the navlog in code, and files a flight plan on request.",
tools: { deny: ["runBash"], approve: [{ tool: "fileFlightPlan", allowAlways: false }] },
systemPrompt: `You are a VFR flight-planning assistant for a Cessna 172N. Given a request: …`,
})examples/navlog · Server and Workbench
You keep the graph
It runs on LangGraph.js, and you pick the shape per route.
Evals run without a key
navlog’s evals replay scripted model turns, so CI needs no API key.
Formerly Dawn
Same project, new name. The docs and the scaffold live at b4.run.

