bivor README

The project's README from github.com/ryanlab/bivor. As one markdown file: README.md.

Bivor

Bivor

A macOS desktop workbench based on the pi coding agent.

Release CI License Stars

Electron React TypeScript pnpm macOS

English | 简体中文

Features · Install · Develop · Architecture · License

Bivor (from beaver — the industrious builder) is a macOS desktop workbench based on the pi coding agent, built to match the experience of Codex / Claude desktop apps — and go further with visual harness orchestration, guardrails, cloud VM sandboxes, and parallel git-worktree tasks.

Each chat runs the pi SDK (AgentSessionRuntime) inside its own isolated Electron utility process. Sessions, auth, skills, prompts, and MCP config are fully shared with the pi CLI under ~/.pi/agent/, so you can move between the terminal and the desktop app freely.

Features

Core chat & multitasking

Runtime presets

Pick how much power each chat gets — presets gate tools and UI surfaces:

Preset What it is
Daily Chat / writing assistant. No coding side effects; web search, web fetch, memory
Coding Full agent: all tools, worktrees, sandbox, harness
Review Read/search only; guardrails deny write/edit/bash
Minimal Just bash + read + edit

Harness orchestration & governance

Agent capabilities

Resources & interop

Sessions, models & auth

Scheduler & UX

Install

Download the latest DMG from Releases — arm64 for Apple Silicon, x64 for Intel Macs.

[!WARNING] Builds are currently unsigned (no Apple Developer certificate yet). On first launch, right-click the app → Open, or clear the quarantine flag: xattr -cr /Applications/Bivor.app.

Developing from source

Requirements: macOS (Apple Silicon or Intel), Node.js ≥ 20, pnpm.

git clone https://github.com/ryanlab/bivor.git
cd bivor
pnpm install
pnpm dev          # electron-vite dev with HMR
pnpm typecheck
pnpm build        # build to out/
pnpm dist:mac     # package DMG + ZIP into dist/

Configuration

What Where
Model API keys / OAuth (shared with pi CLI) ~/.pi/agent/auth.json — manage from Settings
Custom providers / relays models.json (pi CLI-compatible)
Sessions (shared with pi CLI) ~/.pi/agent/sessions/
App config (optional keys below) Electron userData/bivor-config.json

Optional integrations, each enabling extra tools when configured in Settings:

Architecture

┌─────────────┐  IPC   ┌──────────────┐  postMessage  ┌────────────────────┐
│  Renderer    │◄──────►│ Main process │◄─────────────►│ Utility process ×N │
│  React 19    │        │ windows/menu │               │ pi SDK             │
│  zustand     │        │ global svcs  │               │ AgentSessionRuntime│
└─────────────┘        └──────────────┘               └────────────────────┘

Testing

node scripts/sdk-smoke.mjs <provider>    # SDK-level smoke test
node scripts/e2e-cdp.mjs full "task"     # real end-to-end UI run driven over CDP
node scripts/e2e-harness.mjs             # resources center + hot harness orchestration
node scripts/shot.mjs out.png "js expr"  # CDP screenshot / state injection

E2E scripts require the app to be started with --remote-debugging-port=9223.

Contributing

See CONTRIBUTING.md.

License

MIT

bivor (ryanlab/bivor)

Searching Database…

207 ·GitHub
这是什么?Bivor 是一个基于 pi 编程 agent 构建的 macOS 桌面工作台,旨在对标 Codex/Claude 桌面应用,并通过可视化编排框架、防护栏、云 VM 沙箱和并行 git-worktree 任务走得更远。
这是独立应用,还是绑定 pi CLI?它是一个原生 Electron 桌面应用,但每个会话、API 密钥、技能、提示和 MCP 配置都与 ~/.pi/agent/ 下的 pi CLI 完全共享,因此你可以在终端和桌面之间自由切换。
使用它需要 API 密钥吗?模型 API 密钥或 OAuth 登录(Claude Pro、ChatGPT、Copilot)存储在 ~/.pi/agent/auth.json 中,与 pi CLI 共享。可选的 E2B、Tavily 和 Vercel 密钥分别解锁云 VM 沙箱、网页搜索和部署工具。
DMG 拿来就能直接运行吗?还不行——由于还没有 Apple 开发者证书,构建目前未签名,因此首次启动时你需要右键点击应用并选择“打开”,或者手动清除隔离属性。
它能在 Intel Mac 上运行,还是只支持 Apple Silicon?都可以——Bivor 为 arm64(Apple Silicon)和 x64(Intel Mac)提供单独的构建。
Bivor 中的 Mission Control 是什么?它是一个所有运行中任务的实时网格视图(⌘O),显示状态、当前工具、内联审批、子 agent 以及 token/成本用量。
什么是 git-worktree 任务?一键即可在它自己的 git worktree 和分支(pi/task-*)中生成一个 agent,让多个 agent 并行编辑代码而互不冲突,之后通过内置的合并面板合并回来。
云 VM 沙箱究竟做什么?配置 E2B API 密钥后,bash/read/write/edit 工具可以在完整的远程桌面 VM 内运行而不是在本地机器上,并支持实时屏幕串流和鼠标/键盘控制。
这个应用为什么叫 Bivor?这个名字来源于“beaver”(河狸),体现了该应用专注于成为一个勤勉的建设者,用于编排编程 agent 的工作。
Creator
ryanlab
Size
2.2 MB
Stars
207
Age
2mo
Commits · 90 Days