Quality score 70Cb4.run#agents#no-code#video

B4.run: Build TypeScript Agents

B4.run is a framework for building TypeScript agents where tools, planning, memory, skills, subagents, and evals are organized as files. It provides workspaces, sandbox execution, and approval gates, and scaffolds an app with one command.

Visit website

About this tool

B4.run is aimed at TypeScript developers and AI agent builders for building TypeScript agents. Its core idea is that files are features: tools, planning, memory, skills, subagents, and evals are all organized as files. Key capabilities include: - Tools: each tool is one file with a default-exported function that receives parsed args and a read-only ctx (toolName, routeId, threadId, signal, params), and can be async. - Routes and agents: define agents with the agent() descriptor, supporting four route kinds, and generate a type module .b4/b4.generated.d.ts that maps each route pathname to that route's tool signatures. - Workspaces and sandbox execution: supports workspaces and sandbox execution. - Approval gates: can ask a person before each call to certain tools. - Subagents: the parent gets the child's final text back as the tool result. - Retry and reasoning: supports retry configuration (e.g. maxAttempts, baseDelay) and reasoning effort (e.g. effort: high). - Recording and replay: supports recording and replaying model responses. - Offline agent test: provides an offline agent test. Usage: scaffold an app with npm create b4-app@latest my-agent. Running b4 run looks up the route's <routeId>#<kind> assistant id, creates a thread for the call, sends the input through Agent Protocol, and prints the final state. --dry-run creates no model and performs no write.

Best for
  • TypeScript developers
  • software engineers
  • AI agent builders
  • agent workflows requiring approval gates
  • multi-agent orchestration scenarios
Use cases
  • recording and replaying model responses
  • agent approval workflows
  • multi-agent orchestration
  • building TypeScript agents
  • sandboxed code execution
Strengths
  • organizes tools, planning, memory, skills, subagents, and evals as files
  • supports workspaces and sandbox execution
  • supports approval gates
  • supports subagents
  • supports recording and replaying model responses
  • provides an offline agent test
Limitations
  • pricing model is undisclosed
  • requires a Node.js environment and scaffolding via npm create b4-app
  • requires running b4 run and executing through Agent Protocol

Features & use cases

tools as files with a default-exported functionagent() descriptor and four route kindsgenerated type module .b4/b4.generated.d.tsworkspaces and sandbox executionapproval gatessubagentsretry and reasoning configurationrecording and replaying model responsesoffline agent testone-command app scaffolding

Sources

Every profile keeps its sources and latest verification date.

Similar tools

OpenTypeless
opentypeless.com
95

OpenTypeless is an open-source desktop voice input tool that turns speech into AI-polished, formatted text typed directly into any desktop app.

Freemium · $4.99+/mo

Open details
TuyaOpen
tuyaopen.ai
95

TuyaOpen is an open source AI+IoT development framework: a cross-platform C/C++ SDK for Tuya T-Series MCU, Raspberry Pi, ESP32, and more, paired with Tuya Cloud multimodal AI and leading LLMs to build devices with voice, vision, and sensor features.

Paid · $0.69+/mo

Open details
Frontman
frontman.sh
87

Frontman lets designers and PMs click any element in a running app, describe a change in natural language, and have it applied directly to source files. It supports Next.js, Astro, Vite, and WordPress, can be self-hosted, and offers a public API.

Paid · €15+/mo

Open details
P
Probe
probelabs.com
87

Probe is an AI code intelligence tool designed for multi-million line codebases, enabling automated code reviews, issue triage, and cross-team code intelligence.

Freemium · $40/yr

Open details