惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Jina AI
Jina AI
博客园 - Franky
Apple Machine Learning Research
Apple Machine Learning Research
酷 壳 – CoolShell
酷 壳 – CoolShell
阮一峰的网络日志
阮一峰的网络日志
量子位
雷峰网
雷峰网
宝玉的分享
宝玉的分享
V
Visual Studio Blog
博客园_首页
小众软件
小众软件
The Cloudflare Blog
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
大猫的无限游戏
大猫的无限游戏
博客园 - 聂微东
S
SegmentFault 最新的问题
博客园 - 【当耐特】
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
博客园 - 叶小钗
月光博客
月光博客
博客园 - 三生石上(FineUI控件)
人人都是产品经理
人人都是产品经理
WordPress大学
WordPress大学

Hacker News: Show HN

PurrrrrFocus: Pomodoro Timer App - App Store Workflow Engine — Multi-Step Orchestration for Bun RapidPhoto: Pro Photo Editor App - App Store GitHub - DheerG/swarms: Achieve extraordinary results with claude code across a variety of tasks SPICE simulation → oscilloscope → verification with Claude Code — Lucas Gerads Show HN: VCoding – A 5 MB native Windows IDE with no dynamic dependencies Show HN: LLMs don't hallucinate because they're bad at math, it's the format GitHub - Agent-FM/agentfm-core: AgentFM is a peer-to-peer network that turns everyday computers into a decentralized AI supercomputer. AgentFM lets you run massive AI workloads directly across a global mesh of idle CPUs and GPUs. Show HN: Tracking Top US Science Olympiad Alumni over Last 25 Years GitHub - Potarix/agent-hub: One place to talk to all your agents Show HN: Runtime security for AI agents(injection,tool abuse, data exfiltration) GitHub - dubeyKartikay/lazyspotify: Terminal Spotify client for macOS and Linux GitHub - the-banana-tool/king-louie: Easy to use GUI Personal AI Assistant. Win/Linux/Mac. Show HN I made my vacation rental bookable by AI agents–no Airbnb, 0% commission GitHub - basteez/jsf-autoreload: maven plugin to enable hot reload on jsf projects uvm32/hosts/host-gdbstub at main · ringtailsoftware/uvm32 GitHub - labsai/EDDI: Config-driven engine that turns JSON into production-grade AI agents. Multi-agent orchestration, 12+ LLM providers, MCP/A2A protocols, RAG, persistent memory, and enterprise compliance (EU AI Act, GDPR, HIPAA). Built on Quarkus. GitHub - glitchnsec/fortyone-oss: AI Executive Assistant Platform Quickstart | Alien GitHub - muxshed/shed: One stream in, or many. Every destination, simultaneously. No cloud middleman, no per-channel fees, no limits. GitHub - ocrbase-hq/ocrbase: 📄 PDF/IMG ->.MD/JSON Document OCR API for PaddleOCR and GLMOCR. Self-hostable. GitHub - impactjo/home-memory: MCP server that lets your AI assistant remember everything about your home. GitHub - Sets88/dbcls: DbCls is a powerful terminal database client that supports various databases GitHub - neptun2000/heor-agent-mcp GitHub - SeanFDZ/macmind: Single-layer transformer in HyperTalk for the classic Macintosh RollQuation: Math Puzzles - Apps on Google Play GitHub - dropbox/witchcraft Show HN: Agent-cache – Multi-tier LLM/tool/session caching for Valkey and Redis GitHub - opentalon/opentalon: OpenTalon is an open-source platform built from the ground up in Go as a robust alternative to OpenClaw LinkedIn™ 职位抓取工具 - Chrome 应用商店
GitHub - githappens/busybee: Queued runner for resource-h...
playfultones · 2026-04-20 · via Hacker News: Show HN

A queued runner for resource-heavy tasks, with a live CPU + queue TUI.

busybee monitor TUI — per-core CPU gauges with a single-line queue status at the bottom

Why

Running several agentic dev sessions in parallel is great — until they all fire off a cmake --build, cargo build, or big test suite at the same time. Saturating every core simultaneously means every session gets slower, agents time out, and the fans scream. There's no coordination between them, and yet the work is trivially serializable: one build finishes, the next starts.

busybee is a thin tool that enforces that coordination. You prefix the heavy command with busybee --, it gets added to a shared local queue, your shell blocks until the queue has a slot for you, and then the command runs with full stdout and exit-code passthrough — as if you'd just typed it directly. Other busybee invocations from other sessions see you're running and wait their turn.

Under the hood it wraps pueue (a mature Rust task queue + daemon) via its pueue-lib crate, so all the queue semantics, persistence, and daemon lifecycle come for free. The novel piece is the integrated TUI: a live per-core CPU monitor next to the current busybee queue state, so you can see at a glance what's running, what's waiting, and how hot the box is.

Goals

  • Zero-ceremony coordination. busybee -- <cmd> is the whole API for the common case. No daemon to configure, no queue to name — busybee auto-starts pueued and manages its own group.
  • Faithful passthrough. Your command sees the same cwd and env (with color-forcing vars injected so compile output stays colored). busybee's exit code mirrors the task's exit code. Ctrl-C cancels cleanly.
  • Observability. busybee monitor is a single-screen TUI that gives you "what's the machine doing right now" at a glance, so you can tell whether you're waiting because the queue is long or because one task is chewing a core.
  • Opt-in. Only commands you prefix with busybee go through the queue. Ad-hoc shell commands are unaffected.

Usage

busybee -- cmake --build build --target MyProject
busybee --name "backend tests" -- cargo test --workspace
busybee --detach -- long-running-thing     # enqueue and return immediately
busybee monitor                             # live TUI

Press q in the monitor to quit. Press Ctrl-C while blocked to cancel — the queued or running task is killed and busybee exits 130.

Roadmap

  • Hardware-cost-aware scheduling. Today busybee is strictly one-at-a-time. The point of wrapping pueue was to leave room for a smarter admission policy: declare each task's rough cost — CPU cores, RAM, maybe GPU — and give busybee a budget for the box it's running on. The queue then admits a task only when running_cost + task_cost ≤ budget, which lets it pack a small cargo check alongside a big cmake --build, or schedule two RAM-light things together without OOMing. Same principle whether the bottleneck is cores, memory, or a single shared GPU. The goal is to keep hardware saturated from user-supplied estimates instead of idling behind one big task. Requires a small change to pueued's dispatcher — contributed upstream first, forked only if upstream declines.

Install

Both channels install two executables — busybee (the full name) and bzb (a short alias) — and both depend on pueue's pueued binary being on your PATH. busybee auto-starts pueued on demand if it isn't already running, but it doesn't bundle it.

End users

Homebrew (macOS arm64):

brew install githappens/tap/busybee
brew install pueue               # prerequisite

crates.io (any Rust target):

cargo install bzb

Nix profile (pueue as a prerequisite):

nix profile add nixpkgs#pueue

From source

Build under nix develop and install into your nix profile:

./scripts/buildanddeploy.sh

Or build directly with cargo:

nix develop --command cargo install --path crates/bzb

Use with agentic dev workflows

busybee exists to fix a specific problem: multiple Claude Code / Cursor / Windsurf sessions running against different projects on the same machine, each happily firing off cargo build or cmake --build whenever it feels like it. Without coordination you get four parallel builds fighting for the same cores — everyone's slower, fans max out. You don't want the agents to stop building, you just want them to serialise.

Teach every agent session in one place by dropping a CLAUDE.md (or AGENTS.md, .cursorrules, whatever your tool looks for) at the root of your work tree. Mine lives at ~/Work/CLAUDE.md and looks roughly like this:

# Work-tree-wide conventions

## Gate heavy commands through `busybee`

This machine runs multiple agentic dev sessions in parallel. Route
heavy commands (compilation, linking, large test suites) through
`busybee` — a FIFO-gated runner that lets one heavy task run at a
time across all sessions and blocks the rest with a friendly
"N ahead" message.

### What counts as heavy
- `cmake --build …`, `ninja …`, `make -j …`
- `cargo build`, `cargo test`, `cargo check` on non-trivial crates
- `go build ./…`, `go test ./…` on large modules
- Any local Docker/image build
- Long test suites (`pytest`, `npm test`, slow `jest --runInBand`)

Trivial one-shots (`cargo check -p small-crate`, `cargo fmt`, `rg`,
`ls`, most git commands) do not need busybee.

### Usage
Always use blocking mode so you wait your turn and see the command
finish:

    busybee -- cmake --build build --target MyProject
    busybee --name "backend tests" -- cargo test --workspace

`busybee -- <cmd>` blocks until your turn, then runs in the current
directory, streams stdout, and exits with the same exit code. Ctrl-C
while blocked cancels (exit 130).

The details of what counts as heavy on your machine are yours to set — busybee just provides the gate.

License

MIT OR Apache-2.0.