Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

I rebuilt my AI coding agent workspace in Rust. It uses 1/15 the memory of the Electron app I replaced

Описание и применение

Krill — рабочее пространство для кода на Rust, использующее 1/15 памяти и 1/27 CPU по сравнению с Electron‑приложением Orca, обеспечивает устойчивость сессий и низкие ресурсы.

Задача

Running multiple coding agents in an Electron app caused excessive memory and CPU usage on a Mac.

Результат

Krill uses 1/15 the memory and 1/27 the idle CPU of Orca for 10 terminals, with comparable install size and session persistence.

Рабочий процесс

  • Create a new session with krill new
  • Open a repository and spawn worktrees
  • Start agents via CLI (Claude Code, Codex, etc.)
  • Monitor agent status hooks to queue approvals
  • Reconnect to sessions after app restart using krill attach

Доказательства

Krill uses 1/15 the memory of Orca's memory at 10 terminals

Источник

At 10 terminals: Memory (phys_footprint) 85.9 MiB for Krill, 1,274.9 MiB for Orca

Krill took 7.5 s to finish the burst versus Orca's 4.0 s at 20 terminals

The agent workspace I was using did the job, but it was an Electron app, and with a dozen terminals open it had quietly become the heaviest thing on my Mac.

  • Дата записи: 2026-10-27T00:11:09.263Z